mirror of
https://github.com/maxswa/osrs-json-hiscores.git
synced 2025-10-15 10:19:04 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
175f945ab8 | ||
|
|
6b31e8b08c | ||
|
|
d097567a3c | ||
|
|
be5c093cf7 | ||
|
|
db72f0c57d | ||
|
|
bd2ea21980 | ||
|
|
d67837c161 | ||
|
|
4aa6ad2752 |
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: borales/actions-yarn@v2.0.0
|
||||||
|
with:
|
||||||
|
cmd: install
|
||||||
|
- uses: borales/actions-yarn@v2.0.0
|
||||||
|
with:
|
||||||
|
cmd: build
|
||||||
|
- uses: borales/actions-yarn@v2.0.0
|
||||||
|
with:
|
||||||
|
cmd: test
|
||||||
@@ -152,6 +152,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
|
|||||||
| Sarachnis | `sarachnis` |
|
| Sarachnis | `sarachnis` |
|
||||||
| Scorpia | `scorpia` |
|
| Scorpia | `scorpia` |
|
||||||
| Skotizo | `skotizo` |
|
| Skotizo | `skotizo` |
|
||||||
|
| Tempoross | `tempoross` |
|
||||||
| Gauntlet | `gauntlet` |
|
| Gauntlet | `gauntlet` |
|
||||||
| Corrupted Gauntlet | `corruptedGauntlet` |
|
| Corrupted Gauntlet | `corruptedGauntlet` |
|
||||||
| Theatre Of Blood | `theatreOfBlood` |
|
| Theatre Of Blood | `theatreOfBlood` |
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ test('Parse CSV to json', () => {
|
|||||||
169,99,43127930
|
169,99,43127930
|
||||||
810,99,37688883
|
810,99,37688883
|
||||||
92,99,32005622
|
92,99,32005622
|
||||||
-1,-1
|
23423,478
|
||||||
-1,-1
|
99831,23
|
||||||
-1,-1
|
89912,37
|
||||||
32,12148
|
32,12148
|
||||||
3105,76
|
3105,76
|
||||||
1997,505
|
1997,505
|
||||||
@@ -76,6 +76,7 @@ test('Parse CSV to json', () => {
|
|||||||
201,1101
|
201,1101
|
||||||
82,3404
|
82,3404
|
||||||
5085,61
|
5085,61
|
||||||
|
18823,23
|
||||||
63,375
|
63,375
|
||||||
2870,6
|
2870,6
|
||||||
6984,138
|
6984,138
|
||||||
@@ -116,10 +117,10 @@ test('Parse CSV to json', () => {
|
|||||||
hunter: { rank: 810, level: 99, xp: 37688883 },
|
hunter: { rank: 810, level: 99, xp: 37688883 },
|
||||||
construction: { rank: 92, level: 99, xp: 32005622 },
|
construction: { rank: 92, level: 99, xp: 32005622 },
|
||||||
},
|
},
|
||||||
leaguePoints: { rank: -1, score: -1 },
|
leaguePoints: { rank: 23423, score: 478 },
|
||||||
bountyHunter: {
|
bountyHunter: {
|
||||||
rogue: { rank: -1, score: -1 },
|
hunter: { rank: 99831, score: 23 },
|
||||||
hunter: { rank: -1, score: -1 },
|
rogue: { rank: 89912, score: 37 },
|
||||||
},
|
},
|
||||||
lastManStanding: { rank: 4814, score: 898 },
|
lastManStanding: { rank: 4814, score: 898 },
|
||||||
soulWarsZeal: { rank: 37, score: 225 },
|
soulWarsZeal: { rank: 37, score: 225 },
|
||||||
@@ -165,6 +166,7 @@ test('Parse CSV to json', () => {
|
|||||||
sarachnis: { rank: 201, score: 1101 },
|
sarachnis: { rank: 201, score: 1101 },
|
||||||
scorpia: { rank: 82, score: 3404 },
|
scorpia: { rank: 82, score: 3404 },
|
||||||
skotizo: { rank: 5085, score: 61 },
|
skotizo: { rank: 5085, score: 61 },
|
||||||
|
tempoross: { rank: 18823, score: 23 },
|
||||||
gauntlet: { rank: 63, score: 375 },
|
gauntlet: { rank: 63, score: 375 },
|
||||||
corruptedGauntlet: { rank: 2870, score: 6 },
|
corruptedGauntlet: { rank: 2870, score: 6 },
|
||||||
theatreOfBlood: { rank: 6984, score: 138 },
|
theatreOfBlood: { rank: 6984, score: 138 },
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "osrs-json-hiscores",
|
"name": "osrs-json-hiscores",
|
||||||
"version": "2.3.1",
|
"version": "2.4.0",
|
||||||
"description": "The Oldschool Runescape API wrapper that does more!",
|
"description": "The Oldschool Runescape API wrapper that does more!",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@@ -44,7 +44,7 @@
|
|||||||
"@types/jest": "^26.0.20",
|
"@types/jest": "^26.0.20",
|
||||||
"@types/jsdom": "^16.2.3",
|
"@types/jsdom": "^16.2.3",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"np": "^5.0.3",
|
"np": "6.5.0",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.4.4",
|
||||||
"tslint": "^5.17.0",
|
"tslint": "^5.17.0",
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ export type Boss =
|
|||||||
| 'sarachnis'
|
| 'sarachnis'
|
||||||
| 'scorpia'
|
| 'scorpia'
|
||||||
| 'skotizo'
|
| 'skotizo'
|
||||||
|
| 'tempoross'
|
||||||
| 'gauntlet'
|
| 'gauntlet'
|
||||||
| 'corruptedGauntlet'
|
| 'corruptedGauntlet'
|
||||||
| 'theatreOfBlood'
|
| 'theatreOfBlood'
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export const CLUES: ClueType[] = [
|
|||||||
'elite',
|
'elite',
|
||||||
'master',
|
'master',
|
||||||
];
|
];
|
||||||
export const BH_MODES: BHType[] = ['rogue', 'hunter'];
|
export const BH_MODES: BHType[] = ['hunter', 'rogue'];
|
||||||
export const GAMEMODES: Gamemode[] = [
|
export const GAMEMODES: Gamemode[] = [
|
||||||
'main',
|
'main',
|
||||||
'ironman',
|
'ironman',
|
||||||
@@ -102,6 +102,7 @@ export const BOSSES: Boss[] = [
|
|||||||
'sarachnis',
|
'sarachnis',
|
||||||
'scorpia',
|
'scorpia',
|
||||||
'skotizo',
|
'skotizo',
|
||||||
|
'tempoross',
|
||||||
'gauntlet',
|
'gauntlet',
|
||||||
'corruptedGauntlet',
|
'corruptedGauntlet',
|
||||||
'theatreOfBlood',
|
'theatreOfBlood',
|
||||||
@@ -168,6 +169,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
|
|||||||
sarachnis: 'Sarachnis',
|
sarachnis: 'Sarachnis',
|
||||||
scorpia: 'Scorpia',
|
scorpia: 'Scorpia',
|
||||||
skotizo: 'Skotizo',
|
skotizo: 'Skotizo',
|
||||||
|
tempoross: 'Tempoross',
|
||||||
gauntlet: 'The Gauntlet',
|
gauntlet: 'The Gauntlet',
|
||||||
corruptedGauntlet: 'The Corrupted Gauntlet',
|
corruptedGauntlet: 'The Corrupted Gauntlet',
|
||||||
theatreOfBlood: 'Theatre of Blood',
|
theatreOfBlood: 'Theatre of Blood',
|
||||||
|
|||||||
Reference in New Issue
Block a user