aurasu 0.1.4 → 0.1.7
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/aura.package-integrity.json +4 -54
- package/aura.package-integrity.sig +1 -1
- package/bin/play.js +47 -1
- package/package.json +1 -1
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": [
|
|
3
|
-
{
|
|
4
|
-
"path": ".logs/publish-2026-03-10T01-02-46-481Z.log",
|
|
5
|
-
"sha256": "0929ee3ff8fe27f4c5600762d9bcbfd9edbf36440ab6b2f240b81f6e1381055f",
|
|
6
|
-
"size": 370
|
|
7
|
-
},
|
|
8
3
|
{
|
|
9
4
|
"path": "assets/approachcircle.png",
|
|
10
5
|
"sha256": "2c6d82c7143992d6f5c6069faec95d1b8eb272f6c05317f993a1da65391b179c",
|
|
@@ -182,53 +177,8 @@
|
|
|
182
177
|
},
|
|
183
178
|
{
|
|
184
179
|
"path": "bin/play.js",
|
|
185
|
-
"sha256": "
|
|
186
|
-
"size":
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"path": "build/mac/assets-manifest.json",
|
|
190
|
-
"sha256": "5174022540cddd4cc11b2e791267376d00bb1ef90dab695edb6d2fe6b29ec7e4",
|
|
191
|
-
"size": 7035
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
"path": "build/mac/assets/asset-pack.pak",
|
|
195
|
-
"sha256": "e9493c11c042f84b0c211ebbadc3b5e6dfe5beb49e025679c0c80b2bef274797",
|
|
196
|
-
"size": 37326050
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"path": "build/mac/aurasu",
|
|
200
|
-
"sha256": "3b94851f5e9789a46951b08634167593ae402f71704d4b56875e7649e51c2add",
|
|
201
|
-
"size": 53212504
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"path": "build/mac/aurasu.app/Contents/Info.plist",
|
|
205
|
-
"sha256": "12a5cb044ab4b9a3a0e43c0827896a11662eca29a18b29ffa23ba0dec07e4bfd",
|
|
206
|
-
"size": 832
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"path": "build/mac/aurasu.app/Contents/MacOS/aurasu",
|
|
210
|
-
"sha256": "3b94851f5e9789a46951b08634167593ae402f71704d4b56875e7649e51c2add",
|
|
211
|
-
"size": 53212504
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"path": "build/mac/aurasu.app/Contents/Resources/AppIcon.icns",
|
|
215
|
-
"sha256": "02171500adb3fc2fc965b2c4d25e167ce3b4125edd19fab7023d02430ba5338a",
|
|
216
|
-
"size": 3222641
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"path": "build/mac/build-manifest.json",
|
|
220
|
-
"sha256": "46abba00ed8b885f03dea8354fa02d813219bfaa09095a8d04d7f633b93fd02b",
|
|
221
|
-
"size": 633
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"path": "build/mac/js/game.bundle.js",
|
|
225
|
-
"sha256": "32278be0508a48e869c035646031f4b2047477be62d09b26125f5afb76f8f7c9",
|
|
226
|
-
"size": 210434
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"path": "build/mac/meta/icon.png",
|
|
230
|
-
"sha256": "f63784b866f19e3e2373304fd30c9ea119418d8b074b4a12a5ece00b766f4c87",
|
|
231
|
-
"size": 574673
|
|
180
|
+
"sha256": "9b444ba23f1ea908c16a2266b223f987386966a0248bad0e56f4d2d1beafee46",
|
|
181
|
+
"size": 40778
|
|
232
182
|
},
|
|
233
183
|
{
|
|
234
184
|
"path": "config/gameplay/game.config.js",
|
|
@@ -242,7 +192,7 @@
|
|
|
242
192
|
},
|
|
243
193
|
{
|
|
244
194
|
"path": "package.json",
|
|
245
|
-
"sha256": "
|
|
195
|
+
"sha256": "d211b5fd827554a8baa78e1ca4ec03a9e343e4747e5772d0f329b18db0cd94bc",
|
|
246
196
|
"size": 568
|
|
247
197
|
},
|
|
248
198
|
{
|
|
@@ -329,7 +279,7 @@
|
|
|
329
279
|
"description": "A hit-circle rhythm game built with AuraJS.",
|
|
330
280
|
"name": "aurasu",
|
|
331
281
|
"type": "module",
|
|
332
|
-
"version": "0.1.
|
|
282
|
+
"version": "0.1.7"
|
|
333
283
|
},
|
|
334
284
|
"publishedMetadata": {
|
|
335
285
|
"authored": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
O5bkJ0iWLdUelqYfyb8NY2J6Jug9Gl4w1LYuEJlnKiNLcQ6si5Gi8Q4tYvO9QesttU7qw8Boa+HYFCp6zWZDAg==
|
package/bin/play.js
CHANGED
|
@@ -61,6 +61,14 @@ const FORK_EXCLUDED_TOP_LEVEL = new Set(['.aura', '.git', '.logs', 'build', 'dis
|
|
|
61
61
|
function resolveLocalAuraCli(startRoot) {
|
|
62
62
|
let current = resolve(startRoot);
|
|
63
63
|
while (true) {
|
|
64
|
+
const monorepoCandidate = resolve(current, 'packages', 'aurascript', 'src', 'cli', 'src', 'cli.mjs');
|
|
65
|
+
if (existsSync(monorepoCandidate)) {
|
|
66
|
+
return monorepoCandidate;
|
|
67
|
+
}
|
|
68
|
+
const packageSourceCandidate = resolve(current, 'src', 'cli', 'src', 'cli.mjs');
|
|
69
|
+
if (existsSync(packageSourceCandidate)) {
|
|
70
|
+
return packageSourceCandidate;
|
|
71
|
+
}
|
|
64
72
|
const candidate = resolve(current, 'node_modules', '@auraindustry', 'aurajs', 'src', 'cli.mjs');
|
|
65
73
|
if (existsSync(candidate)) {
|
|
66
74
|
return candidate;
|
|
@@ -495,6 +503,41 @@ function parseArgs(argv) {
|
|
|
495
503
|
};
|
|
496
504
|
}
|
|
497
505
|
|
|
506
|
+
function parsePublishArgs(args) {
|
|
507
|
+
const passthroughArgs = [];
|
|
508
|
+
let npmToken = null;
|
|
509
|
+
|
|
510
|
+
for (let index = 0; index < args.length; index += 1) {
|
|
511
|
+
const token = String(args[index] || '');
|
|
512
|
+
if (token === '--token') {
|
|
513
|
+
if ((index + 1) >= args.length) {
|
|
514
|
+
throw createCliError('publish requires a token value after --token.');
|
|
515
|
+
}
|
|
516
|
+
npmToken = String(args[index + 1] || '').trim();
|
|
517
|
+
index += 1;
|
|
518
|
+
continue;
|
|
519
|
+
}
|
|
520
|
+
if (token.startsWith('--token=')) {
|
|
521
|
+
npmToken = token.slice('--token='.length).trim();
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
passthroughArgs.push(token);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
if (npmToken !== null && npmToken.length === 0) {
|
|
528
|
+
throw createCliError('publish requires a non-empty token value after --token.');
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
return {
|
|
532
|
+
commandArgs: passthroughArgs,
|
|
533
|
+
env: npmToken
|
|
534
|
+
? {
|
|
535
|
+
NODE_AUTH_TOKEN: npmToken,
|
|
536
|
+
}
|
|
537
|
+
: null,
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
|
|
498
541
|
function readJsonIfExists(filePath) {
|
|
499
542
|
if (!existsSync(filePath)) {
|
|
500
543
|
return null;
|
|
@@ -1145,8 +1188,11 @@ async function main() {
|
|
|
1145
1188
|
printSection(toDisplayTitle(packageName), 'Publish lifecycle detected, skipping wrapper recursion.');
|
|
1146
1189
|
return;
|
|
1147
1190
|
}
|
|
1191
|
+
const publish = parsePublishArgs(commandArgs);
|
|
1148
1192
|
printSection(toDisplayTitle(packageName), 'Publishing npm package (source + assets)...');
|
|
1149
|
-
await runCommand('publish', resolveAuraCliInvocation(['publish', ...commandArgs])
|
|
1193
|
+
await runCommand('publish', resolveAuraCliInvocation(['publish', ...publish.commandArgs]), {
|
|
1194
|
+
env: publish.env,
|
|
1195
|
+
});
|
|
1150
1196
|
return;
|
|
1151
1197
|
}
|
|
1152
1198
|
|