Skip to content

Commit

Permalink
feat: pp rework
Browse files Browse the repository at this point in the history
  • Loading branch information
KotRikD authored and cyperdark committed Oct 19, 2024
1 parent e704572 commit 2018683
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@tosu/common": "workspace:*",
"@tosu/updater": "workspace:*",
"rosu-pp-js": "^1.0.2",
"@kotrikd/rosu-pp": "1.2.0",
"semver": "^7.5.4",
"ws": "^8.16.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/server/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import rosu from '@kotrikd/rosu-pp';
import {
downloadFile,
getCachePath,
Expand All @@ -12,7 +13,6 @@ import { autoUpdater } from '@tosu/updater';
import { exec } from 'child_process';
import fs from 'fs';
import path from 'path';
import rosu from 'rosu-pp-js';

import { Server, sendJson } from '../index';
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/tosu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"osu-standard-stable": "^5.0.0",
"osu-taiko-stable": "^5.0.0",
"resedit": "^2.0.0",
"rosu-pp-js": "^1.0.2",
"@kotrikd/rosu-pp": "1.2.0",
"semver": "^7.5.4",
"tsprocess": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tosu/src/entities/BeatmapPpData/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import rosu from '@kotrikd/rosu-pp';
import { config, wLogger } from '@tosu/common';
import fs from 'fs';
import { Beatmap as ParsedBeatmap } from 'osu-classes';
import { BeatmapDecoder } from 'osu-parsers';
import path from 'path';
import rosu from 'rosu-pp-js';

import { BeatmapStrains } from '@/api/types/v1';
import { AbstractEntity } from '@/entities/AbstractEntity';
Expand Down
2 changes: 1 addition & 1 deletion packages/tosu/src/entities/GamePlayData/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import rosu from '@kotrikd/rosu-pp';
import { config, wLogger } from '@tosu/common';
import rosu from 'rosu-pp-js';
import { Process } from 'tsprocess/dist/process';

import { AbstractEntity } from '@/entities/AbstractEntity';
Expand Down
2 changes: 1 addition & 1 deletion packages/tosu/src/entities/ResultsScreenData/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import rosu from '@kotrikd/rosu-pp';
import { wLogger } from '@tosu/common';
import rosu from 'rosu-pp-js';

import { AbstractEntity } from '@/entities/AbstractEntity';
import { OsuInstance } from '@/objects/instanceManager/osuInstance';
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2018683

Please sign in to comment.