@holo-js/cli 0.2.0 → 0.2.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 (36) hide show
  1. package/dist/bin/holo.mjs +34 -20
  2. package/dist/{broadcast-WI6PJS5P.mjs → broadcast-B6CPVMYN.mjs} +8 -8
  3. package/dist/{broadcast-YWS4N5QU.mjs → broadcast-PY56C7D6.mjs} +8 -8
  4. package/dist/{cache-KWNQECAA.mjs → cache-HUQPA6QN.mjs} +4 -4
  5. package/dist/{cache-QARFSW4F.mjs → cache-XN3YO6B3.mjs} +4 -4
  6. package/dist/{cache-migrations-3OXR4FN5.mjs → cache-migrations-LBX6QVA2.mjs} +5 -5
  7. package/dist/{cache-migrations-MDFMDVTK.mjs → cache-migrations-SPPABVD6.mjs} +5 -5
  8. package/dist/{chunk-KWRIBHC3.mjs → chunk-5HHYM7UA.mjs} +51 -51
  9. package/dist/{chunk-EWYXSN2C.mjs → chunk-7OQLMDIN.mjs} +40 -10
  10. package/dist/{chunk-QA7TP5EO.mjs → chunk-AKUNREVI.mjs} +40 -10
  11. package/dist/{chunk-2DKQKZML.mjs → chunk-J76GH2DR.mjs} +41 -13
  12. package/dist/{chunk-IUDD5FYL.mjs → chunk-KS5TWO75.mjs} +5 -3
  13. package/dist/{chunk-UPZH6KCF.mjs → chunk-RP2K5N7W.mjs} +51 -51
  14. package/dist/{chunk-2RGJTPYF.mjs → chunk-VP2E62DF.mjs} +1 -1
  15. package/dist/{chunk-ONKESAQA.mjs → chunk-YEFJBN56.mjs} +1 -1
  16. package/dist/{config-TWEO2R4N.mjs → config-MD27U4FM.mjs} +2 -2
  17. package/dist/{dev-2OULECTU.mjs → dev-G3MHQQOY.mjs} +9 -7
  18. package/dist/{dev-PJMEGTAC.mjs → dev-LMUEQXFZ.mjs} +9 -7
  19. package/dist/{discovery-7FXND7Y6.mjs → discovery-GWTBF5RZ.mjs} +2 -2
  20. package/dist/{generators-Z4XLSMC7.mjs → generators-FY6IFXHB.mjs} +8 -8
  21. package/dist/{generators-4BP7B47W.mjs → generators-OICUDXO2.mjs} +8 -8
  22. package/dist/index.mjs +34 -20
  23. package/dist/{media-migrations-BFEL7NFG.mjs → media-migrations-3TEETGWU.mjs} +5 -5
  24. package/dist/{media-migrations-VR7DLLR6.mjs → media-migrations-GCLWLC3N.mjs} +5 -5
  25. package/dist/{queue-SVOJPTRO.mjs → queue-3EU62AMG.mjs} +6 -6
  26. package/dist/{queue-YCBQTCYI.mjs → queue-LWKVPNC4.mjs} +6 -6
  27. package/dist/{queue-migrations-HPXOO3NA.mjs → queue-migrations-6N67JOV3.mjs} +6 -6
  28. package/dist/{queue-migrations-X4P7FZKJ.mjs → queue-migrations-D7KTW6BK.mjs} +6 -6
  29. package/dist/{runtime-CPKR663Y.mjs → runtime-HVPH3GVK.mjs} +5 -5
  30. package/dist/{runtime-GIE56H47.mjs → runtime-MPLZ46TJ.mjs} +5 -5
  31. package/dist/runtime-worker.mjs +42 -8
  32. package/dist/{scaffold-3QPGYQEQ.mjs → scaffold-2VXB4DBD.mjs} +3 -3
  33. package/dist/{scaffold-RGAAHC6I.mjs → scaffold-MH5NVE5O.mjs} +3 -3
  34. package/dist/{security-7H5TNHZY.mjs → security-DZHYTKX6.mjs} +4 -4
  35. package/dist/{security-BZGD6ONY.mjs → security-N2GXRBVR.mjs} +4 -4
  36. package/package.json +8 -8
@@ -1035,17 +1035,7 @@ function renderFrameworkRunner(options) {
1035
1035
  "const manifest = JSON.parse(readFileSync(manifestPath, 'utf8'))",
1036
1036
  "const framework = String(manifest.framework ?? '')",
1037
1037
  `const commandName = ${JSON.stringify(commandName)}`,
1038
- "const commandArgs = mode === 'dev'",
1039
- " ? ['dev']",
1040
- " : mode === 'build'",
1041
- " ? framework === 'sveltekit' ? ['build', '--logLevel', 'error'] : ['build']",
1042
- " : undefined",
1043
- "",
1044
- "if (!commandArgs) {",
1045
- " console.error(`[holo] Unknown framework runner mode: ${String(mode)}`)",
1046
- " process.exit(1)",
1047
- "}",
1048
- "",
1038
+ "const passthroughArgs = process.argv.slice(3)",
1049
1039
  "const binaryPath = resolve(",
1050
1040
  " projectRoot,",
1051
1041
  " 'node_modules',",
@@ -1053,6 +1043,39 @@ function renderFrameworkRunner(options) {
1053
1043
  " process.platform === 'win32' ? `${commandName}.cmd` : commandName,",
1054
1044
  ")",
1055
1045
  "",
1046
+ "function resolveCommandInvocation() {",
1047
+ " if (mode === 'dev') {",
1048
+ " return { command: binaryPath, args: ['dev'] }",
1049
+ " }",
1050
+ "",
1051
+ " if (mode === 'build') {",
1052
+ " return { command: binaryPath, args: framework === 'sveltekit' ? ['build', '--logLevel', 'error'] : ['build'] }",
1053
+ " }",
1054
+ "",
1055
+ " if (mode === 'start') {",
1056
+ " if (framework === 'next') {",
1057
+ " return { command: binaryPath, args: ['start', ...passthroughArgs] }",
1058
+ " }",
1059
+ "",
1060
+ " if (framework === 'nuxt') {",
1061
+ " return { command: process.execPath, args: [resolve(projectRoot, '.output/server/index.mjs'), ...passthroughArgs] }",
1062
+ " }",
1063
+ "",
1064
+ " if (framework === 'sveltekit') {",
1065
+ " return { command: process.execPath, args: [resolve(projectRoot, 'build/index.js'), ...passthroughArgs] }",
1066
+ " }",
1067
+ " }",
1068
+ "",
1069
+ " return undefined",
1070
+ "}",
1071
+ "",
1072
+ "const commandInvocation = resolveCommandInvocation()",
1073
+ "",
1074
+ "if (!commandInvocation) {",
1075
+ " console.error(`[holo] Unknown framework runner mode: ${String(mode)}`)",
1076
+ " process.exit(1)",
1077
+ "}",
1078
+ "",
1056
1079
  "const suppressedOutput = framework === 'sveltekit'",
1057
1080
  " ? new Set([",
1058
1081
  ` '"try_get_request_store" is imported from external module "@sveltejs/kit/internal/server" but never used in ".svelte-kit/adapter-node/index.js".',`,
@@ -1209,11 +1232,16 @@ function renderFrameworkRunner(options) {
1209
1232
  " return waitForProcessExit(pid)",
1210
1233
  "}",
1211
1234
  "",
1212
- "if (!existsSync(binaryPath)) {",
1235
+ "if ((mode !== 'start' || framework === 'next') && !existsSync(binaryPath)) {",
1213
1236
  ' console.error(`[holo] Missing framework binary "${commandName}" for "${framework}". Run your package manager install first.`)',
1214
1237
  " process.exit(1)",
1215
1238
  "}",
1216
1239
  "",
1240
+ "if (mode === 'start' && framework !== 'next' && !existsSync(commandInvocation.args[0])) {",
1241
+ ' console.error(`[holo] Missing production server entry "${commandInvocation.args[0]}". Run "holo build" before "holo start".`)',
1242
+ " process.exit(1)",
1243
+ "}",
1244
+ "",
1217
1245
  "let child = null",
1218
1246
  "let forwardedSignal = null",
1219
1247
  "",
@@ -1267,7 +1295,7 @@ function renderFrameworkRunner(options) {
1267
1295
  " ? `${childEnv.NODE_OPTIONS} ${preload}`",
1268
1296
  " : preload",
1269
1297
  " }",
1270
- " child = spawn(binaryPath, commandArgs, {",
1298
+ " child = spawn(commandInvocation.command, commandInvocation.args, {",
1271
1299
  " cwd: projectRoot,",
1272
1300
  " env: childEnv,",
1273
1301
  " stdio: ['inherit', 'pipe', 'pipe'],",
@@ -3,16 +3,17 @@ import {
3
3
  } from "./chunk-LBJAJLKU.mjs";
4
4
  import {
5
5
  prepareProjectDiscovery
6
- } from "./chunk-2RGJTPYF.mjs";
6
+ } from "./chunk-VP2E62DF.mjs";
7
7
  import {
8
8
  loadProjectConfig,
9
9
  resolveGeneratedSchemaPath
10
- } from "./chunk-ONKESAQA.mjs";
10
+ } from "./chunk-YEFJBN56.mjs";
11
11
  import {
12
12
  loadGeneratedProjectRegistry
13
- } from "./chunk-2DKQKZML.mjs";
13
+ } from "./chunk-J76GH2DR.mjs";
14
14
  import {
15
15
  CLI_RUNTIME_ROOT,
16
+ GENERATED_SCHEMA_RUNTIME_PATH,
16
17
  bundleProjectModule
17
18
  } from "./chunk-ILU426CF.mjs";
18
19
 
@@ -377,6 +378,7 @@ async function withRuntimeEnvironment(projectRoot, kind, options, callback) {
377
378
  seeders: environment.bundledSeeders.map((entry) => pathToFileURL(entry).href),
378
379
  generatedSchema: environment.bundledGeneratedSchema ? pathToFileURL(environment.bundledGeneratedSchema).href : void 0,
379
380
  generatedSchemaOutputPath: resolveGeneratedSchemaPath(projectRoot, environment.project.config),
381
+ generatedSchemaRuntimeOutputPath: resolve(projectRoot, GENERATED_SCHEMA_RUNTIME_PATH),
380
382
  options
381
383
  });
382
384
  const runtime = createRuntimeInvocation();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadProjectConfig,
3
3
  resolveGeneratedSchemaPath
4
- } from "./chunk-ONKESAQA.mjs";
4
+ } from "./chunk-YEFJBN56.mjs";
5
5
  import {
6
6
  loadGeneratedProjectRegistry,
7
7
  relativeImportPath,
@@ -20,7 +20,7 @@ import {
20
20
  renderNextRuntimeBootstrap,
21
21
  renderSvelteHoloHelper,
22
22
  renderSvelteViteConfig
23
- } from "./chunk-2DKQKZML.mjs";
23
+ } from "./chunk-J76GH2DR.mjs";
24
24
  import {
25
25
  AUTH_CONFIG_FILE_NAMES,
26
26
  AUTH_SOCIAL_PROVIDER_PACKAGE_NAMES,
@@ -64,7 +64,7 @@ import { loadConfigDirectory } from "@holo-js/config";
64
64
  // package.json
65
65
  var package_default = {
66
66
  name: "@holo-js/cli",
67
- version: "0.2.0",
67
+ version: "0.2.2",
68
68
  description: "Holo-JS Framework - project creation, discovery, and operational CLI",
69
69
  type: "module",
70
70
  license: "MIT",
@@ -118,49 +118,49 @@ var WORKSPACE_CATALOG = Object.freeze({
118
118
  "@clerk/backend": "^3.4.7",
119
119
  "@clack/prompts": "^1.5.1",
120
120
  "@eslint/js": "^9.17.0",
121
- "@holo-js/adapter-next": "^0.2.0",
122
- "@holo-js/adapter-nuxt": "^0.2.0",
123
- "@holo-js/adapter-sveltekit": "^0.2.0",
124
- "@holo-js/auth": "^0.2.0",
125
- "@holo-js/auth-clerk": "^0.2.0",
126
- "@holo-js/auth-social": "^0.2.0",
127
- "@holo-js/auth-social-apple": "^0.2.0",
128
- "@holo-js/auth-social-discord": "^0.2.0",
129
- "@holo-js/auth-social-facebook": "^0.2.0",
130
- "@holo-js/auth-social-github": "^0.2.0",
131
- "@holo-js/auth-social-google": "^0.2.0",
132
- "@holo-js/auth-social-linkedin": "^0.2.0",
133
- "@holo-js/auth-workos": "^0.2.0",
134
- "@holo-js/authorization": "^0.2.0",
135
- "@holo-js/broadcast": "^0.2.0",
136
- "@holo-js/cache": "^0.2.0",
137
- "@holo-js/cache-db": "^0.2.0",
138
- "@holo-js/cache-redis": "^0.2.0",
139
- "@holo-js/cli": "^0.2.0",
140
- "@holo-js/config": "^0.2.0",
141
- "@holo-js/core": "^0.2.0",
142
- "@holo-js/db": "^0.2.0",
143
- "@holo-js/db-mysql": "^0.2.0",
144
- "@holo-js/db-postgres": "^0.2.0",
145
- "@holo-js/db-sqlite": "^0.2.0",
146
- "@holo-js/events": "^0.2.0",
147
- "@holo-js/flux": "^0.2.0",
148
- "@holo-js/flux-react": "^0.2.0",
149
- "@holo-js/flux-svelte": "^0.2.0",
150
- "@holo-js/flux-vue": "^0.2.0",
151
- "@holo-js/forms": "^0.2.0",
152
- "@holo-js/mail": "^0.2.0",
153
- "@holo-js/media": "^0.2.0",
154
- "@holo-js/notifications": "^0.2.0",
155
- "@holo-js/queue": "^0.2.0",
156
- "@holo-js/queue-db": "^0.2.0",
157
- "@holo-js/queue-redis": "^0.2.0",
158
- "@holo-js/realtime": "^0.2.0",
159
- "@holo-js/security": "^0.2.0",
160
- "@holo-js/session": "^0.2.0",
161
- "@holo-js/storage": "^0.2.0",
162
- "@holo-js/storage-s3": "^0.2.0",
163
- "@holo-js/validation": "^0.2.0",
121
+ "@holo-js/adapter-next": "^0.2.2",
122
+ "@holo-js/adapter-nuxt": "^0.2.2",
123
+ "@holo-js/adapter-sveltekit": "^0.2.2",
124
+ "@holo-js/auth": "^0.2.2",
125
+ "@holo-js/auth-clerk": "^0.2.2",
126
+ "@holo-js/auth-social": "^0.2.2",
127
+ "@holo-js/auth-social-apple": "^0.2.2",
128
+ "@holo-js/auth-social-discord": "^0.2.2",
129
+ "@holo-js/auth-social-facebook": "^0.2.2",
130
+ "@holo-js/auth-social-github": "^0.2.2",
131
+ "@holo-js/auth-social-google": "^0.2.2",
132
+ "@holo-js/auth-social-linkedin": "^0.2.2",
133
+ "@holo-js/auth-workos": "^0.2.2",
134
+ "@holo-js/authorization": "^0.2.2",
135
+ "@holo-js/broadcast": "^0.2.2",
136
+ "@holo-js/cache": "^0.2.2",
137
+ "@holo-js/cache-db": "^0.2.2",
138
+ "@holo-js/cache-redis": "^0.2.2",
139
+ "@holo-js/cli": "^0.2.2",
140
+ "@holo-js/config": "^0.2.2",
141
+ "@holo-js/core": "^0.2.2",
142
+ "@holo-js/db": "^0.2.2",
143
+ "@holo-js/db-mysql": "^0.2.2",
144
+ "@holo-js/db-postgres": "^0.2.2",
145
+ "@holo-js/db-sqlite": "^0.2.2",
146
+ "@holo-js/events": "^0.2.2",
147
+ "@holo-js/flux": "^0.2.2",
148
+ "@holo-js/flux-react": "^0.2.2",
149
+ "@holo-js/flux-svelte": "^0.2.2",
150
+ "@holo-js/flux-vue": "^0.2.2",
151
+ "@holo-js/forms": "^0.2.2",
152
+ "@holo-js/mail": "^0.2.2",
153
+ "@holo-js/media": "^0.2.2",
154
+ "@holo-js/notifications": "^0.2.2",
155
+ "@holo-js/queue": "^0.2.2",
156
+ "@holo-js/queue-db": "^0.2.2",
157
+ "@holo-js/queue-redis": "^0.2.2",
158
+ "@holo-js/realtime": "^0.2.2",
159
+ "@holo-js/security": "^0.2.2",
160
+ "@holo-js/session": "^0.2.2",
161
+ "@holo-js/storage": "^0.2.2",
162
+ "@holo-js/storage-s3": "^0.2.2",
163
+ "@holo-js/validation": "^0.2.2",
164
164
  "@nuxt/kit": "^4.4.4",
165
165
  "@nuxt/module-builder": "^1.0.2",
166
166
  "@sveltejs/adapter-node": "^5.5.4",
@@ -177,7 +177,7 @@ var WORKSPACE_CATALOG = Object.freeze({
177
177
  "@vitest/coverage-v8": "^4.1.5",
178
178
  "better-sqlite3": "^11.7.0",
179
179
  "bullmq": "^5.71.0",
180
- "create-holo-js": "^0.2.0",
180
+ "create-holo-js": "^0.2.2",
181
181
  "esbuild": "^0.27.4",
182
182
  "eslint": "^9.17.0",
183
183
  "fast-check": "^4.5.3",
@@ -2209,6 +2209,7 @@ function renderScaffoldGitignore() {
2209
2209
  ".env.*.local",
2210
2210
  "",
2211
2211
  "# Holo",
2212
+ ".holo-js/framework",
2212
2213
  ".holo-js/generated",
2213
2214
  ".holo-js/runtime",
2214
2215
  ".holo-cli",
@@ -2418,12 +2419,11 @@ function renderScaffoldPackageJson(options) {
2418
2419
  prepare: "holo key:generate && holo prepare",
2419
2420
  dev: "holo dev",
2420
2421
  build: "holo build",
2422
+ start: "holo start",
2421
2423
  lint: options.framework === "nuxt" ? "eslint app config server shared tests *.d.ts --fix --no-warn-ignored --no-error-on-unmatched-pattern" : options.framework === "next" ? "eslint app config server tests --fix --no-warn-ignored --no-error-on-unmatched-pattern" : "eslint src config server tests --fix --no-warn-ignored --no-error-on-unmatched-pattern",
2422
2424
  typecheck: options.framework === "nuxt" ? "nuxt typecheck" : options.framework === "next" ? "tsc -p tsconfig.json --noEmit" : "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
2423
2425
  ["config:cache"]: "holo config:cache",
2424
- ["config:clear"]: "holo config:clear",
2425
- ["holo:dev"]: "node ./.holo-js/framework/run.mjs dev",
2426
- ["holo:build"]: "node ./.holo-js/framework/run.mjs build"
2426
+ ["config:clear"]: "holo config:clear"
2427
2427
  },
2428
2428
  dependencies,
2429
2429
  devDependencies
@@ -3092,7 +3092,7 @@ async function installMediaIntoProject(projectRoot) {
3092
3092
  if (!mediaConfigPath) {
3093
3093
  await writeTextFile(resolve4(projectRoot, "config/media.ts"), renderMediaConfig());
3094
3094
  }
3095
- const { createMediaTableMigration } = await import("./media-migrations-VR7DLLR6.mjs");
3095
+ const { createMediaTableMigration } = await import("./media-migrations-3TEETGWU.mjs");
3096
3096
  const migrationFilePath = await createMediaTableMigration(projectRoot, {
3097
3097
  skipIfExists: true
3098
3098
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  loadGeneratedProjectRegistry,
3
3
  writeGeneratedProjectRegistry
4
- } from "./chunk-2DKQKZML.mjs";
4
+ } from "./chunk-J76GH2DR.mjs";
5
5
  import {
6
6
  COMMAND_FILE_PATTERN,
7
7
  MIGRATION_NAME_PATTERN,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadGeneratedProjectRegistry
3
- } from "./chunk-2DKQKZML.mjs";
3
+ } from "./chunk-J76GH2DR.mjs";
4
4
  import {
5
5
  APP_CONFIG_FILE_NAMES,
6
6
  DATABASE_CONFIG_FILE_NAMES,
@@ -7,8 +7,8 @@ import {
7
7
  serializeDatabaseConfig,
8
8
  serializeProjectConfig,
9
9
  writeProjectConfig
10
- } from "./chunk-ONKESAQA.mjs";
11
- import "./chunk-2DKQKZML.mjs";
10
+ } from "./chunk-YEFJBN56.mjs";
11
+ import "./chunk-J76GH2DR.mjs";
12
12
  import {
13
13
  readTextFile
14
14
  } from "./chunk-ILU426CF.mjs";
@@ -8,20 +8,21 @@ import {
8
8
  resolvePackageManagerCommand,
9
9
  resolvePackageManagerInstallInvocation,
10
10
  resolveProjectPackageManager,
11
+ runProjectBuild,
11
12
  runProjectDependencyInstall,
12
13
  runProjectDevServer,
13
- runProjectLifecycleScript,
14
14
  runProjectPrepare,
15
+ runProjectStartServer,
15
16
  toPosixSlashes
16
- } from "./chunk-EWYXSN2C.mjs";
17
+ } from "./chunk-7OQLMDIN.mjs";
17
18
  import {
18
19
  hasProjectDependency
19
20
  } from "./chunk-FGQ2I2YH.mjs";
20
21
  import "./chunk-D7O4SU6N.mjs";
21
- import "./chunk-2RGJTPYF.mjs";
22
- import "./chunk-UPZH6KCF.mjs";
23
- import "./chunk-ONKESAQA.mjs";
24
- import "./chunk-2DKQKZML.mjs";
22
+ import "./chunk-VP2E62DF.mjs";
23
+ import "./chunk-RP2K5N7W.mjs";
24
+ import "./chunk-YEFJBN56.mjs";
25
+ import "./chunk-J76GH2DR.mjs";
25
26
  import "./chunk-ILU426CF.mjs";
26
27
  export {
27
28
  collectDirectoryTree,
@@ -34,9 +35,10 @@ export {
34
35
  resolvePackageManagerCommand,
35
36
  resolvePackageManagerInstallInvocation,
36
37
  resolveProjectPackageManager,
38
+ runProjectBuild,
37
39
  runProjectDependencyInstall,
38
40
  runProjectDevServer,
39
- runProjectLifecycleScript,
40
41
  runProjectPrepare,
42
+ runProjectStartServer,
41
43
  toPosixSlashes
42
44
  };
@@ -8,20 +8,21 @@ import {
8
8
  resolvePackageManagerCommand,
9
9
  resolvePackageManagerInstallInvocation,
10
10
  resolveProjectPackageManager,
11
+ runProjectBuild,
11
12
  runProjectDependencyInstall,
12
13
  runProjectDevServer,
13
- runProjectLifecycleScript,
14
14
  runProjectPrepare,
15
+ runProjectStartServer,
15
16
  toPosixSlashes
16
- } from "./chunk-QA7TP5EO.mjs";
17
+ } from "./chunk-AKUNREVI.mjs";
17
18
  import {
18
19
  hasProjectDependency
19
20
  } from "./chunk-FGQ2I2YH.mjs";
20
21
  import "./chunk-D7O4SU6N.mjs";
21
- import "./chunk-2RGJTPYF.mjs";
22
- import "./chunk-KWRIBHC3.mjs";
23
- import "./chunk-ONKESAQA.mjs";
24
- import "./chunk-2DKQKZML.mjs";
22
+ import "./chunk-VP2E62DF.mjs";
23
+ import "./chunk-5HHYM7UA.mjs";
24
+ import "./chunk-YEFJBN56.mjs";
25
+ import "./chunk-J76GH2DR.mjs";
25
26
  import "./chunk-ILU426CF.mjs";
26
27
  export {
27
28
  collectDirectoryTree,
@@ -34,9 +35,10 @@ export {
34
35
  resolvePackageManagerCommand,
35
36
  resolvePackageManagerInstallInvocation,
36
37
  resolveProjectPackageManager,
38
+ runProjectBuild,
37
39
  runProjectDependencyInstall,
38
40
  runProjectDevServer,
39
- runProjectLifecycleScript,
40
41
  runProjectPrepare,
42
+ runProjectStartServer,
41
43
  toPosixSlashes
42
44
  };
@@ -10,8 +10,8 @@ import {
10
10
  resolveListenerEventNamesFromSource,
11
11
  resolveNamedExport,
12
12
  resolveNamedExportEntry
13
- } from "./chunk-2RGJTPYF.mjs";
14
- import "./chunk-2DKQKZML.mjs";
13
+ } from "./chunk-VP2E62DF.mjs";
14
+ import "./chunk-J76GH2DR.mjs";
15
15
  import "./chunk-ILU426CF.mjs";
16
16
  export {
17
17
  collectImportedBindingsBySource,
@@ -3,30 +3,30 @@ import {
3
3
  } from "./chunk-VRGB6DIS.mjs";
4
4
  import {
5
5
  runProjectPrepare
6
- } from "./chunk-QA7TP5EO.mjs";
6
+ } from "./chunk-AKUNREVI.mjs";
7
7
  import "./chunk-FGQ2I2YH.mjs";
8
8
  import {
9
9
  hasRegisteredCreateTableMigration,
10
10
  hasRegisteredMigrationSlug,
11
11
  nextMigrationTemplate
12
12
  } from "./chunk-LXGQCG56.mjs";
13
+ import {
14
+ writeLine
15
+ } from "./chunk-I7QBCEV7.mjs";
13
16
  import {
14
17
  ensureAbsent,
15
18
  fileExists
16
19
  } from "./chunk-LBJAJLKU.mjs";
17
- import {
18
- writeLine
19
- } from "./chunk-I7QBCEV7.mjs";
20
20
  import "./chunk-D7O4SU6N.mjs";
21
21
  import {
22
22
  collectFiles,
23
23
  prepareProjectDiscovery
24
- } from "./chunk-2RGJTPYF.mjs";
25
- import "./chunk-KWRIBHC3.mjs";
24
+ } from "./chunk-VP2E62DF.mjs";
25
+ import "./chunk-5HHYM7UA.mjs";
26
26
  import {
27
27
  ensureGeneratedSchemaPlaceholder,
28
28
  ensureProjectConfig
29
- } from "./chunk-ONKESAQA.mjs";
29
+ } from "./chunk-YEFJBN56.mjs";
30
30
  import {
31
31
  ensureSuffix,
32
32
  loadGeneratedProjectRegistry,
@@ -48,7 +48,7 @@ import {
48
48
  toKebabCase,
49
49
  toPascalCase,
50
50
  toSnakeCase
51
- } from "./chunk-2DKQKZML.mjs";
51
+ } from "./chunk-J76GH2DR.mjs";
52
52
  import {
53
53
  makeProjectRelativePath,
54
54
  resolveDefaultArtifactPath,
@@ -3,30 +3,30 @@ import {
3
3
  } from "./chunk-VRGB6DIS.mjs";
4
4
  import {
5
5
  runProjectPrepare
6
- } from "./chunk-EWYXSN2C.mjs";
6
+ } from "./chunk-7OQLMDIN.mjs";
7
7
  import "./chunk-FGQ2I2YH.mjs";
8
8
  import {
9
9
  hasRegisteredCreateTableMigration,
10
10
  hasRegisteredMigrationSlug,
11
11
  nextMigrationTemplate
12
12
  } from "./chunk-LXGQCG56.mjs";
13
- import {
14
- writeLine
15
- } from "./chunk-I7QBCEV7.mjs";
16
13
  import {
17
14
  ensureAbsent,
18
15
  fileExists
19
16
  } from "./chunk-LBJAJLKU.mjs";
17
+ import {
18
+ writeLine
19
+ } from "./chunk-I7QBCEV7.mjs";
20
20
  import "./chunk-D7O4SU6N.mjs";
21
21
  import {
22
22
  collectFiles,
23
23
  prepareProjectDiscovery
24
- } from "./chunk-2RGJTPYF.mjs";
25
- import "./chunk-UPZH6KCF.mjs";
24
+ } from "./chunk-VP2E62DF.mjs";
25
+ import "./chunk-RP2K5N7W.mjs";
26
26
  import {
27
27
  ensureGeneratedSchemaPlaceholder,
28
28
  ensureProjectConfig
29
- } from "./chunk-ONKESAQA.mjs";
29
+ } from "./chunk-YEFJBN56.mjs";
30
30
  import {
31
31
  ensureSuffix,
32
32
  loadGeneratedProjectRegistry,
@@ -48,7 +48,7 @@ import {
48
48
  toKebabCase,
49
49
  toPascalCase,
50
50
  toSnakeCase
51
- } from "./chunk-2DKQKZML.mjs";
51
+ } from "./chunk-J76GH2DR.mjs";
52
52
  import {
53
53
  makeProjectRelativePath,
54
54
  resolveDefaultArtifactPath,
package/dist/index.mjs CHANGED
@@ -28,10 +28,10 @@ import {
28
28
  writeLine
29
29
  } from "./chunk-I7QBCEV7.mjs";
30
30
  import "./chunk-D7O4SU6N.mjs";
31
- import "./chunk-2RGJTPYF.mjs";
32
- import "./chunk-KWRIBHC3.mjs";
33
- import "./chunk-ONKESAQA.mjs";
34
- import "./chunk-2DKQKZML.mjs";
31
+ import "./chunk-VP2E62DF.mjs";
32
+ import "./chunk-RP2K5N7W.mjs";
33
+ import "./chunk-YEFJBN56.mjs";
34
+ import "./chunk-J76GH2DR.mjs";
35
35
  import {
36
36
  SUPPORTED_AUTH_SOCIAL_PROVIDERS
37
37
  } from "./chunk-ILU426CF.mjs";
@@ -131,51 +131,51 @@ var projectDiscoveryModulePromise;
131
131
  var projectRuntimeModulePromise;
132
132
  var projectScaffoldModulePromise;
133
133
  function loadRuntimeModule() {
134
- runtimeModulePromise ??= import("./runtime-GIE56H47.mjs");
134
+ runtimeModulePromise ??= import("./runtime-MPLZ46TJ.mjs");
135
135
  return runtimeModulePromise;
136
136
  }
137
137
  function loadQueueModule() {
138
- queueModulePromise ??= import("./queue-YCBQTCYI.mjs");
138
+ queueModulePromise ??= import("./queue-LWKVPNC4.mjs");
139
139
  return queueModulePromise;
140
140
  }
141
141
  function loadCacheModule() {
142
- cacheModulePromise ??= import("./cache-KWNQECAA.mjs");
142
+ cacheModulePromise ??= import("./cache-HUQPA6QN.mjs");
143
143
  return cacheModulePromise;
144
144
  }
145
145
  function loadQueueMigrationsModule() {
146
- queueMigrationsModulePromise ??= import("./queue-migrations-X4P7FZKJ.mjs");
146
+ queueMigrationsModulePromise ??= import("./queue-migrations-6N67JOV3.mjs");
147
147
  return queueMigrationsModulePromise;
148
148
  }
149
149
  function loadCacheMigrationsModule() {
150
- cacheMigrationsModulePromise ??= import("./cache-migrations-MDFMDVTK.mjs");
150
+ cacheMigrationsModulePromise ??= import("./cache-migrations-SPPABVD6.mjs");
151
151
  return cacheMigrationsModulePromise;
152
152
  }
153
153
  function loadMediaMigrationsModule() {
154
- mediaMigrationsModulePromise ??= import("./media-migrations-BFEL7NFG.mjs");
154
+ mediaMigrationsModulePromise ??= import("./media-migrations-3TEETGWU.mjs");
155
155
  return mediaMigrationsModulePromise;
156
156
  }
157
157
  function loadGeneratorsModule() {
158
- generatorsModulePromise ??= import("./generators-Z4XLSMC7.mjs");
158
+ generatorsModulePromise ??= import("./generators-OICUDXO2.mjs");
159
159
  return generatorsModulePromise;
160
160
  }
161
161
  function loadBroadcastModule() {
162
- broadcastModulePromise ??= import("./broadcast-WI6PJS5P.mjs");
162
+ broadcastModulePromise ??= import("./broadcast-PY56C7D6.mjs");
163
163
  return broadcastModulePromise;
164
164
  }
165
165
  function loadSecurityModule() {
166
- securityModulePromise ??= import("./security-BZGD6ONY.mjs");
166
+ securityModulePromise ??= import("./security-DZHYTKX6.mjs");
167
167
  return securityModulePromise;
168
168
  }
169
169
  function loadDevModule() {
170
- devModulePromise ??= import("./dev-PJMEGTAC.mjs");
170
+ devModulePromise ??= import("./dev-G3MHQQOY.mjs");
171
171
  return devModulePromise;
172
172
  }
173
173
  function loadProjectConfigModule() {
174
- projectConfigModulePromise ??= import("./config-TWEO2R4N.mjs");
174
+ projectConfigModulePromise ??= import("./config-MD27U4FM.mjs");
175
175
  return projectConfigModulePromise;
176
176
  }
177
177
  function loadProjectDiscoveryModule() {
178
- projectDiscoveryModulePromise ??= import("./discovery-7FXND7Y6.mjs");
178
+ projectDiscoveryModulePromise ??= import("./discovery-GWTBF5RZ.mjs");
179
179
  return projectDiscoveryModulePromise;
180
180
  }
181
181
  function loadProjectRuntimeModule() {
@@ -183,7 +183,7 @@ function loadProjectRuntimeModule() {
183
183
  return projectRuntimeModulePromise;
184
184
  }
185
185
  function loadProjectScaffoldModule() {
186
- projectScaffoldModulePromise ??= import("./scaffold-RGAAHC6I.mjs");
186
+ projectScaffoldModulePromise ??= import("./scaffold-2VXB4DBD.mjs");
187
187
  return projectScaffoldModulePromise;
188
188
  }
189
189
  async function resolveRuntimeExecutor(runtimeExecutor) {
@@ -192,7 +192,8 @@ async function resolveRuntimeExecutor(runtimeExecutor) {
192
192
  var projectExecutorLoaders = {
193
193
  runProjectPrepare: async () => (await loadDevModule()).runProjectPrepare,
194
194
  runProjectDevServer: async () => (await loadDevModule()).runProjectDevServer,
195
- runProjectLifecycleScript: async () => (await loadDevModule()).runProjectLifecycleScript,
195
+ runProjectBuild: async () => (await loadDevModule()).runProjectBuild,
196
+ runProjectStartServer: async () => (await loadDevModule()).runProjectStartServer,
196
197
  runProjectDependencyInstall: async () => (await loadDevModule()).runProjectDependencyInstall
197
198
  };
198
199
  async function resolveExecutor(executors, loaders, key) {
@@ -744,9 +745,22 @@ function createInternalCommands(context, runtimeExecutor, queueExecutors = {}, p
744
745
  },
745
746
  async run() {
746
747
  const runProjectPrepare = await resolveProjectExecutor(projectExecutors, "runProjectPrepare");
747
- const runProjectLifecycleScript = await resolveProjectExecutor(projectExecutors, "runProjectLifecycleScript");
748
+ const runProjectBuild = await resolveProjectExecutor(projectExecutors, "runProjectBuild");
748
749
  await runProjectPrepare(context.projectRoot, context);
749
- await runProjectLifecycleScript(context, context.projectRoot, "holo:build");
750
+ await runProjectBuild(context, context.projectRoot);
751
+ }
752
+ },
753
+ {
754
+ name: "start",
755
+ description: "Run the production framework server with Holo runtime preloads.",
756
+ usage: "holo start",
757
+ source: "internal",
758
+ async prepare() {
759
+ return { args: [], flags: {} };
760
+ },
761
+ async run() {
762
+ const runProjectStartServer = await resolveProjectExecutor(projectExecutors, "runProjectStartServer");
763
+ await runProjectStartServer(context, context.projectRoot);
750
764
  }
751
765
  },
752
766
  {
@@ -10,14 +10,14 @@ import {
10
10
  import "./chunk-D7O4SU6N.mjs";
11
11
  import {
12
12
  prepareProjectDiscovery
13
- } from "./chunk-2RGJTPYF.mjs";
14
- import "./chunk-KWRIBHC3.mjs";
13
+ } from "./chunk-VP2E62DF.mjs";
14
+ import "./chunk-RP2K5N7W.mjs";
15
15
  import {
16
16
  ensureProjectConfig
17
- } from "./chunk-ONKESAQA.mjs";
17
+ } from "./chunk-YEFJBN56.mjs";
18
18
  import {
19
19
  loadGeneratedProjectRegistry
20
- } from "./chunk-2DKQKZML.mjs";
20
+ } from "./chunk-J76GH2DR.mjs";
21
21
  import {
22
22
  makeProjectRelativePath,
23
23
  resolveDefaultArtifactPath,
@@ -93,7 +93,7 @@ async function createMediaTableMigration(projectRoot, options = {}) {
93
93
  }
94
94
  async function runMediaTableCommand(io, projectRoot) {
95
95
  const migrationFilePath = await createMediaTableMigration(projectRoot);
96
- const { runProjectPrepare } = await import("./dev-PJMEGTAC.mjs");
96
+ const { runProjectPrepare } = await import("./dev-G3MHQQOY.mjs");
97
97
  await runProjectPrepare(projectRoot);
98
98
  writeLine(io.stdout, `Created migration: ${makeProjectRelativePath(projectRoot, migrationFilePath)}`);
99
99
  }