playcademy 0.14.29 → 0.14.30-alpha.2
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/dist/cli.js +1 -1
- package/dist/index.js +23 -6
- package/dist/utils.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1421,9 +1421,16 @@ function getErrorMessage(error) {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
function logAndExit(error, options = {}) {
|
|
1423
1423
|
const { code = 1, prefix } = options;
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1424
|
+
if (process.env.DEBUG) {
|
|
1425
|
+
if (prefix) {
|
|
1426
|
+
logger.error(prefix);
|
|
1427
|
+
}
|
|
1428
|
+
formatError(error);
|
|
1429
|
+
} else {
|
|
1430
|
+
const message = getErrorMessage(error);
|
|
1431
|
+
const fullMessage = prefix ? `${prefix}: ${message}` : message;
|
|
1432
|
+
logger.error(fullMessage);
|
|
1433
|
+
}
|
|
1427
1434
|
logger.newLine();
|
|
1428
1435
|
process.exit(code);
|
|
1429
1436
|
}
|
|
@@ -3539,7 +3546,7 @@ import { join as join12 } from "path";
|
|
|
3539
3546
|
// package.json with { type: 'json' }
|
|
3540
3547
|
var package_default2 = {
|
|
3541
3548
|
name: "playcademy",
|
|
3542
|
-
version: "0.14.
|
|
3549
|
+
version: "0.14.30",
|
|
3543
3550
|
type: "module",
|
|
3544
3551
|
exports: {
|
|
3545
3552
|
".": {
|
|
@@ -9726,7 +9733,7 @@ var getStatusCommand = new Command12("status").description("Check your developer
|
|
|
9726
9733
|
});
|
|
9727
9734
|
|
|
9728
9735
|
// package.json
|
|
9729
|
-
var version2 = "0.14.
|
|
9736
|
+
var version2 = "0.14.30";
|
|
9730
9737
|
|
|
9731
9738
|
// src/commands/dev/server.ts
|
|
9732
9739
|
function setupCleanupHandlers(workspace, getServer) {
|
|
@@ -10417,7 +10424,17 @@ async function runDbSeedRemote(seedFile, options) {
|
|
|
10417
10424
|
logger.newLine();
|
|
10418
10425
|
process.exit(1);
|
|
10419
10426
|
}
|
|
10420
|
-
const
|
|
10427
|
+
const games2 = await client.games.list({ force: true });
|
|
10428
|
+
const game = games2.find((g) => g.id === deployedGame.gameId);
|
|
10429
|
+
if (!game) {
|
|
10430
|
+
logger.newLine();
|
|
10431
|
+
logger.admonition("warning", "Game Not Found", [
|
|
10432
|
+
`Could not find game with ID \`${deployedGame.gameId}\``,
|
|
10433
|
+
`Try redeploying your project: \`playcademy deploy\``
|
|
10434
|
+
]);
|
|
10435
|
+
logger.newLine();
|
|
10436
|
+
process.exit(1);
|
|
10437
|
+
}
|
|
10421
10438
|
const willReset = options.reset !== false;
|
|
10422
10439
|
logger.newLine();
|
|
10423
10440
|
if (willReset) {
|
package/dist/utils.js
CHANGED
package/dist/version.js
CHANGED