playcademy 0.18.3 → 0.18.4

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 CHANGED
@@ -3015,7 +3015,7 @@ import { existsSync as existsSync11, mkdirSync as mkdirSync5, readFileSync as re
3015
3015
  import { join as join13 } from "node:path";
3016
3016
 
3017
3017
  // src/version.ts
3018
- var cliVersion = false ? "0.0.0-dev" : "0.18.3";
3018
+ var cliVersion = false ? "0.0.0-dev" : "0.18.4";
3019
3019
 
3020
3020
  // src/lib/init/database.ts
3021
3021
  var drizzleConfigTemplate = loadTemplateString("database/drizzle-config.ts");
package/dist/index.d.ts CHANGED
@@ -1054,6 +1054,7 @@ interface DeploymentContext {
1054
1054
  isDryRun: boolean;
1055
1055
  deployBackend: boolean;
1056
1056
  forceBackend: boolean;
1057
+ minify: boolean;
1057
1058
  verbose: boolean;
1058
1059
  debug: boolean;
1059
1060
  }
package/dist/index.js CHANGED
@@ -4014,7 +4014,7 @@ import { existsSync as existsSync9, mkdirSync as mkdirSync2, readFileSync as rea
4014
4014
  import { join as join13 } from "node:path";
4015
4015
 
4016
4016
  // src/version.ts
4017
- var cliVersion = false ? "0.0.0-dev" : "0.18.3";
4017
+ var cliVersion = false ? "0.0.0-dev" : "0.18.4";
4018
4018
 
4019
4019
  // src/lib/init/database.ts
4020
4020
  var drizzleConfigTemplate = loadTemplateString("database/drizzle-config.ts");
@@ -9052,6 +9052,7 @@ async function prepareDeploymentContext(options) {
9052
9052
  isDryRun: options.dryRun ?? false,
9053
9053
  deployBackend: options.backend !== false,
9054
9054
  forceBackend: options.forceBackend ?? false,
9055
+ minify: options.minify ?? true,
9055
9056
  verbose: options.verbose ?? false,
9056
9057
  debug: options.debug ?? false,
9057
9058
  localSecrets,
@@ -9079,7 +9080,7 @@ async function detectIntegrationMetadataChanges(context2) {
9079
9080
  async function bundleAndHash(context2) {
9080
9081
  try {
9081
9082
  await ensurePlaycademyTypes();
9082
- const bundle = await bundleBackend(context2.fullConfig);
9083
+ const bundle = await bundleBackend(context2.fullConfig, { minify: context2.minify });
9083
9084
  const bundleHash = hashContent(bundle.code);
9084
9085
  const [serverSize, dbSize] = await Promise.all([
9085
9086
  getDirectorySize(join34(context2.projectPath, SERVER_ROOT_DIRECTORY)),
@@ -9435,7 +9436,7 @@ async function deployGame(context2, shouldUploadBuild, shouldDeployBackend) {
9435
9436
  await ensurePlaycademyTypes();
9436
9437
  const bundle = await runStep(
9437
9438
  "Bundling backend",
9438
- async () => context2.currentBackendBundle ?? bundleBackend(fullConfig),
9439
+ async () => context2.currentBackendBundle ?? bundleBackend(fullConfig, { minify: context2.minify }),
9439
9440
  "Backend bundled"
9440
9441
  );
9441
9442
  const deploymentPrep = await runStep(
@@ -5,3 +5,4 @@ bucket
5
5
  node_modules/
6
6
  package.json
7
7
  *.lock
8
+ worker-bundle.js
package/dist/utils.js CHANGED
@@ -2472,7 +2472,7 @@ import { existsSync as existsSync7, mkdirSync as mkdirSync2, writeFileSync as wr
2472
2472
  import { dirname as dirname4, join as join12 } from "node:path";
2473
2473
 
2474
2474
  // src/version.ts
2475
- var cliVersion = false ? "0.0.0-dev" : "0.18.3";
2475
+ var cliVersion = false ? "0.0.0-dev" : "0.18.4";
2476
2476
 
2477
2477
  // src/lib/build/embed.ts
2478
2478
  function writeFileTree(baseDir, files) {
package/dist/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var cliVersion = false ? "0.0.0-dev" : "0.18.3";
2
+ var cliVersion = false ? "0.0.0-dev" : "0.18.4";
3
3
  export {
4
4
  cliVersion
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "playcademy",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {