sonolus-bandori-engine 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -24
- package/dist/EnginePlayData +0 -0
- package/dist/index.cjs +2 -9
- package/dist/index.d.cts +1 -7
- package/package.json +21 -11
package/README.md
CHANGED
|
@@ -53,33 +53,22 @@ Package version.
|
|
|
53
53
|
|
|
54
54
|
Partial database engine item compatible with [sonolus-express](https://github.com/NonSpicyBurrito/sonolus-express).
|
|
55
55
|
|
|
56
|
-
### `engineConfigurationPath`
|
|
57
|
-
|
|
58
|
-
Path to Engine Configuration file.
|
|
59
|
-
|
|
60
|
-
### `enginePlayDataPath`
|
|
61
|
-
|
|
62
|
-
Path to Engine Play Data file.
|
|
63
|
-
|
|
64
|
-
### `engineWatchDataPath`
|
|
65
|
-
|
|
66
|
-
Path to Engine Watch Data file.
|
|
67
|
-
|
|
68
|
-
### `enginePreviewDataPath`
|
|
69
|
-
|
|
70
|
-
Path to Engine Preview Data file.
|
|
71
|
-
|
|
72
|
-
### `engineTutorialDataPath`
|
|
73
|
-
|
|
74
|
-
Path to Engine Tutorial Data file.
|
|
75
|
-
|
|
76
|
-
### `engineThumbnailPath`
|
|
77
|
-
|
|
78
|
-
Path to Engine Thumbnail file.
|
|
79
|
-
|
|
80
56
|
### `bestdoriToLevelData(chart, offset?)`
|
|
81
57
|
|
|
82
58
|
Converts Bestdori chart to Level Data.
|
|
83
59
|
|
|
84
60
|
- `chart`: Bestdori chart.
|
|
85
61
|
- `offset`: offset (default: `0`).
|
|
62
|
+
|
|
63
|
+
### Assets
|
|
64
|
+
|
|
65
|
+
The following assets are exposed as package entry points:
|
|
66
|
+
|
|
67
|
+
- `EngineConfiguration`
|
|
68
|
+
- `EnginePlayData`
|
|
69
|
+
- `EngineWatchData`
|
|
70
|
+
- `EnginePreviewData`
|
|
71
|
+
- `EngineTutorialData`
|
|
72
|
+
- `EngineThumbnail`
|
|
73
|
+
|
|
74
|
+
In Node.js, you can obtain path to assets using `require.resolve('sonolus-bandori-engine/EngineConfiguration')` or `import.meta.resolve('sonolus-bandori-engine/EngineConfiguration')`.
|
package/dist/EnginePlayData
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -14,12 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
const node_path_1 = require("node:path");
|
|
17
|
+
exports.databaseEngineItem = exports.version = exports.bestdoriToLevelData = void 0;
|
|
19
18
|
var convert_cjs_1 = require("./bestdori/convert.cjs");
|
|
20
19
|
Object.defineProperty(exports, "bestdoriToLevelData", { enumerable: true, get: function () { return convert_cjs_1.bestdoriToLevelData; } });
|
|
21
20
|
__exportStar(require("./bestdori/index.cjs"), exports);
|
|
22
|
-
exports.version = '1.
|
|
21
|
+
exports.version = '1.5.0';
|
|
23
22
|
exports.databaseEngineItem = {
|
|
24
23
|
name: 'bandori',
|
|
25
24
|
version: 12,
|
|
@@ -52,9 +51,3 @@ exports.databaseEngineItem = {
|
|
|
52
51
|
].join('\n'),
|
|
53
52
|
},
|
|
54
53
|
};
|
|
55
|
-
exports.engineConfigurationPath = (0, node_path_1.resolve)(__dirname, 'EngineConfiguration');
|
|
56
|
-
exports.enginePlayDataPath = (0, node_path_1.resolve)(__dirname, 'EnginePlayData');
|
|
57
|
-
exports.engineWatchDataPath = (0, node_path_1.resolve)(__dirname, 'EngineWatchData');
|
|
58
|
-
exports.enginePreviewDataPath = (0, node_path_1.resolve)(__dirname, 'EnginePreviewData');
|
|
59
|
-
exports.engineTutorialDataPath = (0, node_path_1.resolve)(__dirname, 'EngineTutorialData');
|
|
60
|
-
exports.engineThumbnailPath = (0, node_path_1.resolve)(__dirname, 'thumbnail.png');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { bestdoriToLevelData } from './bestdori/convert.cjs';
|
|
2
2
|
export * from './bestdori/index.cjs';
|
|
3
|
-
export declare const version = "1.
|
|
3
|
+
export declare const version = "1.5.0";
|
|
4
4
|
export declare const databaseEngineItem: {
|
|
5
5
|
readonly name: "bandori";
|
|
6
6
|
readonly version: 12;
|
|
@@ -25,9 +25,3 @@ export declare const databaseEngineItem: {
|
|
|
25
25
|
readonly en: string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare const engineConfigurationPath: string;
|
|
29
|
-
export declare const enginePlayDataPath: string;
|
|
30
|
-
export declare const engineWatchDataPath: string;
|
|
31
|
-
export declare const enginePreviewDataPath: string;
|
|
32
|
-
export declare const engineTutorialDataPath: string;
|
|
33
|
-
export declare const engineThumbnailPath: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonolus-bandori-engine",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "A recreation of BanG Dream! Girls Band Party engine in Sonolus",
|
|
5
5
|
"author": "NonSpicyBurrito",
|
|
6
6
|
"repository": "github:NonSpicyBurrito/sonolus-bandori-engine",
|
|
@@ -8,31 +8,41 @@
|
|
|
8
8
|
"keywords": [
|
|
9
9
|
"Sonolus"
|
|
10
10
|
],
|
|
11
|
-
"main": "dist/index.cjs",
|
|
12
11
|
"files": [
|
|
13
12
|
"dist"
|
|
14
13
|
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": "./dist/index.cjs",
|
|
16
|
+
"./EngineConfiguration": "./dist/EngineConfiguration",
|
|
17
|
+
"./EnginePlayData": "./dist/EnginePlayData",
|
|
18
|
+
"./EngineWatchData": "./dist/EngineWatchData",
|
|
19
|
+
"./EnginePreviewData": "./dist/EnginePreviewData",
|
|
20
|
+
"./EngineTutorialData": "./dist/EngineTutorialData",
|
|
21
|
+
"./EngineThumbnail": "./dist/thumbnail.png"
|
|
22
|
+
},
|
|
15
23
|
"scripts": {
|
|
16
24
|
"dev:play": "sonolus-cli --dev ./play",
|
|
17
25
|
"dev:watch": "sonolus-cli --dev ./watch",
|
|
18
26
|
"dev:preview": "sonolus-cli --dev ./preview",
|
|
19
27
|
"dev:tutorial": "sonolus-cli --dev ./tutorial",
|
|
20
|
-
"
|
|
28
|
+
"check-type": "tsc -p ./lib --noEmit && tsc -p ./shared --noEmit && tsc -p ./play --noEmit && tsc -p ./watch --noEmit && tsc -p ./preview --noEmit && tsc -p ./tutorial --noEmit",
|
|
29
|
+
"check-lint": "eslint .",
|
|
30
|
+
"check-format": "prettier . --check",
|
|
21
31
|
"build": "tsc -p ./lib && sonolus-cli --build ./play && sonolus-cli --build ./watch && sonolus-cli --build ./preview && sonolus-cli --build ./tutorial && node ./lib/build.mjs"
|
|
22
32
|
},
|
|
23
33
|
"dependencies": {
|
|
24
|
-
"@sonolus/core": "~7.9.
|
|
34
|
+
"@sonolus/core": "~7.9.1"
|
|
25
35
|
},
|
|
26
36
|
"devDependencies": {
|
|
27
|
-
"@eslint/js": "^9.
|
|
28
|
-
"@sonolus/sonolus.js": "~9.
|
|
37
|
+
"@eslint/js": "^9.12.0",
|
|
38
|
+
"@sonolus/sonolus.js": "~9.5.0",
|
|
29
39
|
"@types/eslint__js": "^8.42.3",
|
|
30
|
-
"@types/node": "^20.16.
|
|
31
|
-
"eslint": "^9.
|
|
40
|
+
"@types/node": "^20.16.11",
|
|
41
|
+
"eslint": "^9.12.0",
|
|
32
42
|
"eslint-config-prettier": "^9.1.0",
|
|
33
43
|
"prettier": "^3.3.3",
|
|
34
|
-
"prettier-plugin-organize-imports": "^4.
|
|
35
|
-
"typescript": "~5.
|
|
36
|
-
"typescript-eslint": "^8.
|
|
44
|
+
"prettier-plugin-organize-imports": "^4.1.0",
|
|
45
|
+
"typescript": "~5.6.3",
|
|
46
|
+
"typescript-eslint": "^8.8.1"
|
|
37
47
|
}
|
|
38
48
|
}
|