playcademy 0.14.11-alpha.1 → 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.
Files changed (2) hide show
  1. package/dist/index.js +19 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -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) {
@@ -10779,7 +10786,18 @@ async function runDeployment(options) {
10779
10786
  displayCurrentConfiguration(context2);
10780
10787
  const didPrompt = await promptForMissingConfig(context2);
10781
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}`);
10782
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();
10783
10801
  }
10784
10802
  if (didPrompt) logger.newLine();
10785
10803
  await validateDeployConfig(context2.config).catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playcademy",
3
- "version": "0.14.11-alpha.1",
3
+ "version": "0.14.11-alpha.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {