playcademy 0.14.10 → 0.14.11-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/index.js CHANGED
@@ -7142,7 +7142,7 @@ import { join as join15 } from "path";
7142
7142
  // package.json
7143
7143
  var package_default2 = {
7144
7144
  name: "playcademy",
7145
- version: "0.14.9",
7145
+ version: "0.14.11",
7146
7146
  type: "module",
7147
7147
  exports: {
7148
7148
  ".": {
@@ -8383,6 +8383,7 @@ async function reportDryRun(plan, context2) {
8383
8383
  logger.data("Update Game", String(plan.shouldUpdateGame), 1);
8384
8384
  logger.data("Upload Build", String(plan.shouldUploadBuild), 1);
8385
8385
  logger.data("Deploy Backend", String(plan.shouldDeployBackend), 1);
8386
+ logger.newLine();
8386
8387
  const diff = plan.changes.config ? calculateConfigDiff(context2.existingGame, context2.config) : {};
8387
8388
  const currentIntegrationKeys = getIntegrationKeys(context2.fullConfig?.integrations);
8388
8389
  const schemaStatementCount = await getSchemaStatementCount(
@@ -8445,7 +8446,6 @@ async function reportDryRun(plan, context2) {
8445
8446
  } else {
8446
8447
  logger.remark("No changes detected");
8447
8448
  }
8448
- logger.newLine();
8449
8449
  logger.remark("Dry run complete");
8450
8450
  logger.newLine();
8451
8451
  }
@@ -8905,6 +8905,7 @@ init_src();
8905
8905
  init_config3();
8906
8906
  init_client();
8907
8907
  init_context();
8908
+ init_logger();
8908
8909
 
8909
8910
  // src/lib/games/storage.ts
8910
8911
  init_constants2();
@@ -9194,6 +9195,12 @@ async function analyzeChanges(context2) {
9194
9195
  let buildChanged;
9195
9196
  if (buildHash !== void 0 && previousBuildHash !== void 0) {
9196
9197
  buildChanged = buildHash !== previousBuildHash;
9198
+ if (context2.debug) {
9199
+ logger.debug(`[DEBUG] Build change detection:`);
9200
+ logger.debug(` Current hash: ${buildHash}`);
9201
+ logger.debug(` Previous hash: ${previousBuildHash}`);
9202
+ logger.debug(` Changed: ${buildChanged}`);
9203
+ }
9197
9204
  } else if (buildHash !== void 0 && previousBuildHash === void 0) {
9198
9205
  buildChanged = true;
9199
9206
  } else if (buildHash === void 0 && previousBuildHash !== void 0) {
@@ -9437,7 +9444,6 @@ async function checkTimebackSetup(context2, environment) {
9437
9444
  "",
9438
9445
  ` \`playcademy timeback setup --env ${environment}\``
9439
9446
  ]);
9440
- logger.newLine();
9441
9447
  }
9442
9448
  }
9443
9449
  }
@@ -10779,8 +10785,19 @@ async function runDeployment(options) {
10779
10785
  const context2 = await prepareDeploymentContext(options);
10780
10786
  displayCurrentConfiguration(context2);
10781
10787
  const didPrompt = await promptForMissingConfig(context2);
10782
- if (didPrompt && context2.config.buildPath && !context2.buildHash) {
10788
+ if (didPrompt && context2.config.buildPath) {
10789
+ logger.debug(`[DEBUG] Before updateBuildMetadata:`);
10790
+ logger.debug(` buildPath: ${context2.config.buildPath}`);
10791
+ logger.debug(` buildHash: ${context2.buildHash}`);
10792
+ logger.debug(` previousBuildHash: ${context2.previousBuildHash}`);
10793
+ logger.debug(` buildSize: ${context2.buildSize}`);
10794
+ logger.debug(` previousBuildSize: ${context2.previousBuildSize}`);
10783
10795
  await updateBuildMetadata(context2);
10796
+ logger.debug(`[DEBUG] After updateBuildMetadata:`);
10797
+ logger.debug(` buildHash: ${context2.buildHash}`);
10798
+ logger.debug(` buildSize: ${context2.buildSize}`);
10799
+ logger.debug(` Hash changed: ${context2.buildHash !== context2.previousBuildHash}`);
10800
+ logger.newLine();
10784
10801
  }
10785
10802
  if (didPrompt) logger.newLine();
10786
10803
  await validateDeployConfig(context2.config).catch((error) => {
package/dist/utils.js CHANGED
@@ -3829,7 +3829,7 @@ import { join as join8 } from "path";
3829
3829
  // package.json
3830
3830
  var package_default2 = {
3831
3831
  name: "playcademy",
3832
- version: "0.14.9",
3832
+ version: "0.14.11",
3833
3833
  type: "module",
3834
3834
  exports: {
3835
3835
  ".": {
package/dist/version.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "playcademy",
4
- version: "0.14.9",
4
+ version: "0.14.11",
5
5
  type: "module",
6
6
  exports: {
7
7
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playcademy",
3
- "version": "0.14.10",
3
+ "version": "0.14.11-alpha.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {