wp-typia 0.22.7 → 0.22.8

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.
@@ -8,7 +8,7 @@ import {
8
8
  SHARED_REST_HELPER_TEMPLATE_ROOT,
9
9
  SHARED_WORKSPACE_TEMPLATE_ROOT,
10
10
  getTemplateById
11
- } from "./cli-tke8twkn.js";
11
+ } from "./cli-qse6myha.js";
12
12
  import {
13
13
  createManagedTempRoot
14
14
  } from "./cli-t73q5aqz.js";
@@ -1,9 +1,4 @@
1
1
  // @bun
2
- // ../wp-typia-project-tools/src/runtime/template-registry.ts
3
- import fs from "fs";
4
- import path from "path";
5
- import { fileURLToPath } from "url";
6
-
7
2
  // ../wp-typia-project-tools/src/runtime/template-defaults.ts
8
3
  var BUILTIN_BLOCK_METADATA_VERSION = "0.1.0";
9
4
  var BUILTIN_TEMPLATE_METADATA_DEFAULTS = Object.freeze({
@@ -44,6 +39,9 @@ function getRemovedBuiltInTemplateMessage(templateId) {
44
39
  }
45
40
 
46
41
  // ../wp-typia-project-tools/src/runtime/template-registry.ts
42
+ import fs from "fs";
43
+ import path from "path";
44
+ import { fileURLToPath } from "url";
47
45
  var __dirname2 = path.dirname(fileURLToPath(import.meta.url));
48
46
  var PROJECT_TOOLS_PACKAGE_ROOT_ENV = "WP_TYPIA_PROJECT_TOOLS_PACKAGE_ROOT";
49
47
  var PROJECT_TOOLS_PACKAGE_NAME = "@wp-typia/project-tools";
@@ -189,4 +187,4 @@ function getTemplateSelectOptions() {
189
187
 
190
188
  export { BUILTIN_BLOCK_METADATA_VERSION, COMPOUND_CHILD_BLOCK_METADATA_DEFAULTS, getBuiltInTemplateMetadataDefaults, isRemovedBuiltInTemplateId, getRemovedBuiltInTemplateMessage, PROJECT_TOOLS_PACKAGE_ROOT, SHARED_BASE_TEMPLATE_ROOT, SHARED_COMPOUND_TEMPLATE_ROOT, SHARED_PERSISTENCE_TEMPLATE_ROOT, SHARED_PRESET_TEMPLATE_ROOT, SHARED_REST_HELPER_TEMPLATE_ROOT, SHARED_MIGRATION_UI_TEMPLATE_ROOT, SHARED_WORKSPACE_TEMPLATE_ROOT, SHARED_TEST_PRESET_TEMPLATE_ROOT, SHARED_WP_ENV_PRESET_TEMPLATE_ROOT, BUILTIN_TEMPLATE_IDS, OFFICIAL_WORKSPACE_TEMPLATE_PACKAGE, OFFICIAL_WORKSPACE_TEMPLATE_ALIAS, TEMPLATE_IDS, isBuiltInTemplateId, normalizeTemplateLookupId, getUserFacingTemplateId, listTemplates, getTemplateById, getTemplateSelectOptions };
191
189
 
192
- //# debugId=C41A77AFBA98E24E64756E2164756E21
190
+ //# debugId=8BD9AE3B3C43E68464756E2164756E21
@@ -9,6 +9,7 @@ import {
9
9
  getOptionalOnboardingShortNote,
10
10
  getOptionalOnboardingSteps,
11
11
  getPrimaryDevelopmentScript,
12
+ isCompoundPersistenceEnabled,
12
13
  isDataStorageMode,
13
14
  isPersistencePolicy,
14
15
  normalizeOptionalCliString,
@@ -19,17 +20,18 @@ import {
19
20
  resolvePackageManagerId,
20
21
  resolveTemplateId,
21
22
  scaffoldProject
22
- } from "./cli-8snabymq.js";
23
- import"./cli-2hsp17nd.js";
24
- import"./cli-27v2qpjg.js";
23
+ } from "./cli-fa7g1aqm.js";
24
+ import"./cli-arz4rcye.js";
25
+ import"./cli-mzvzbpnz.js";
26
+ import"./cli-bwwssctv.js";
25
27
  import"./cli-2rqf6t0b.js";
26
28
  import"./cli-bq2v559b.js";
27
- import"./cli-10pe4mf8.js";
29
+ import"./cli-pnjx2e2h.js";
28
30
  import {
29
31
  OFFICIAL_WORKSPACE_TEMPLATE_PACKAGE,
30
32
  isBuiltInTemplateId
31
- } from "./cli-tke8twkn.js";
32
- import"./cli-ta3y0hp2.js";
33
+ } from "./cli-qse6myha.js";
34
+ import"./cli-bbj0kn1e.js";
33
35
  import {
34
36
  createManagedTempRoot
35
37
  } from "./cli-t73q5aqz.js";
@@ -521,7 +523,7 @@ async function runScaffoldFlow({
521
523
  availableScripts,
522
524
  packageManager: resolvedPackageManager,
523
525
  templateId: resolvedTemplateId,
524
- compoundPersistenceEnabled: resolvedResult.result.variables.compoundPersistenceEnabled === "true"
526
+ compoundPersistenceEnabled: isCompoundPersistenceEnabled(resolvedResult.result.variables)
525
527
  }),
526
528
  plan: resolvedResult.plan,
527
529
  projectDir,
@@ -557,4 +559,4 @@ export {
557
559
  getNextSteps
558
560
  };
559
561
 
560
- //# debugId=B0B154A223C91D5164756E2164756E21
562
+ //# debugId=8FDC4D734EED3CDC64756E2164756E21
@@ -7,7 +7,7 @@ import {
7
7
  getUserFacingTemplateId,
8
8
  isBuiltInTemplateId,
9
9
  listTemplates
10
- } from "./cli-tke8twkn.js";
10
+ } from "./cli-qse6myha.js";
11
11
  import"./cli-xnn9xjcy.js";
12
12
 
13
13
  // ../wp-typia-project-tools/src/runtime/cli-templates.ts
package/dist-bunli/cli.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  package_default,
23
23
  validateCliOutputFormatArgv,
24
24
  writeStructuredCliDiagnosticError
25
- } from "./cli-cjygr56g.js";
25
+ } from "./cli-e7n7hbvr.js";
26
26
  import"./cli-03j0axbt.js";
27
27
  import {
28
28
  GLOBAL_FLAGS,
@@ -38,7 +38,10 @@ import {
38
38
  import"./cli-ac2ebaf8.js";
39
39
  import"./cli-6v0pcxw6.js";
40
40
  import"./cli-fys8vm2t.js";
41
- import"./cli-p95wr1q8.js";
41
+ import {
42
+ CLI_DIAGNOSTIC_CODES,
43
+ createCliDiagnosticCodeError
44
+ } from "./cli-p95wr1q8.js";
42
45
  import {
43
46
  __require
44
47
  } from "./cli-xnn9xjcy.js";
@@ -2337,10 +2340,10 @@ function looksLikeStructuredProjectInput(value) {
2337
2340
  function assertPositionalAliasProjectDir(projectDir) {
2338
2341
  const normalizedProjectDir = path.normalize(projectDir).replace(/[\\/]+$/u, "") || path.normalize(projectDir);
2339
2342
  if (normalizedProjectDir === "." || normalizedProjectDir === "..") {
2340
- throw new Error(`The positional alias does not scaffold into \`${projectDir}\`. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` with an explicit child directory instead.`);
2343
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, `The positional alias does not scaffold into \`${projectDir}\`. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` with an explicit child directory instead.`);
2341
2344
  }
2342
2345
  if (looksLikeStructuredProjectInput(projectDir)) {
2343
- throw new Error(`The positional alias only accepts unambiguous local project directories. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` for \`${projectDir}\`.`);
2346
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, `The positional alias only accepts unambiguous local project directories. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` for \`${projectDir}\`.`);
2344
2347
  }
2345
2348
  }
2346
2349
  function normalizeWpTypiaArgv(argv) {
@@ -2354,7 +2357,7 @@ function normalizeWpTypiaArgv(argv) {
2354
2357
  return argv;
2355
2358
  }
2356
2359
  if (firstPositional === "migrations") {
2357
- throw new Error("`wp-typia migrations` was removed in favor of `wp-typia migrate`. Use `wp-typia migrate <subcommand>` instead.");
2360
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, "`wp-typia migrations` was removed in favor of `wp-typia migrate`. Use `wp-typia migrate <subcommand>` instead.");
2358
2361
  }
2359
2362
  if (isReservedTopLevelCommandName(firstPositional)) {
2360
2363
  assertStringOptionValues(argv);
@@ -2362,7 +2365,7 @@ function normalizeWpTypiaArgv(argv) {
2362
2365
  }
2363
2366
  if (positionalIndexes.length > 1) {
2364
2367
  const extraPositionals = positionalIndexes.slice(1).map((index) => argv[index]).filter((value) => typeof value === "string" && value.length > 0);
2365
- throw new Error(`The positional alias only accepts a single project directory. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` for scaffold invocations with additional positional arguments, or check the command spelling if you meant another top-level command. Extra positional arguments: ${extraPositionals.map((value) => `\`${value}\``).join(", ")}.`);
2368
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, `The positional alias only accepts a single project directory. Use \`${WP_TYPIA_CANONICAL_CREATE_USAGE}\` for scaffold invocations with additional positional arguments, or check the command spelling if you meant another top-level command. Extra positional arguments: ${extraPositionals.map((value) => `\`${value}\``).join(", ")}.`);
2366
2369
  }
2367
2370
  assertPositionalAliasProjectDir(firstPositional);
2368
2371
  const normalizedArgv = [
@@ -2457,7 +2460,7 @@ async function formatCliError(error) {
2457
2460
  }
2458
2461
  async function createWpTypiaCli(options = {}) {
2459
2462
  applyStandaloneSupportLayoutEnv();
2460
- const { wpTypiaCommands } = await import("./command-list-6zr1tj96.js");
2463
+ const { wpTypiaCommands } = await import("./command-list-hbcv3bz6.js");
2461
2464
  const cli = await createCLI({
2462
2465
  ...bunliConfig,
2463
2466
  description: package_default.description,
@@ -2517,4 +2520,4 @@ export {
2517
2520
  createWpTypiaCli
2518
2521
  };
2519
2522
 
2520
- //# debugId=8055E7CFBE8C705564756E2164756E21
2523
+ //# debugId=C2A72BC9D07456AF64756E2164756E21
@@ -17,7 +17,7 @@ import {
17
17
  package_default,
18
18
  prefersStructuredCliOutput,
19
19
  resolveCommandOptionValues
20
- } from "./cli-cjygr56g.js";
20
+ } from "./cli-e7n7hbvr.js";
21
21
  import {
22
22
  Result,
23
23
  TaggedError,
@@ -1384,14 +1384,15 @@ async function executeSyncCommand({
1384
1384
  }
1385
1385
 
1386
1386
  // src/runtime-bridge.ts
1387
- var loadCliAddRuntime = () => import("./cli-add-8jpdnz1r.js");
1387
+ var loadCliAddRuntime = () => import("./cli-add-1xvw17yg.js");
1388
1388
  var loadCliDiagnosticsRuntime = () => import("./cli-diagnostics-5dvztm7q.js");
1389
- var loadCliDoctorRuntime = () => import("./cli-doctor-h5tq4ztr.js");
1390
- var loadCliInitRuntime = () => import("./cli-init-w9p558th.js");
1389
+ var loadCliDoctorRuntime = () => import("./cli-doctor-bjv6z74k.js");
1390
+ var loadCliInitRuntime = () => import("./cli-init-zdfrmp3y.js");
1391
1391
  var loadCliPromptRuntime = () => import("./cli-prompt-614tq57c.js");
1392
- var loadCliScaffoldRuntime = () => import("./cli-scaffold-qve8rqja.js");
1393
- var loadCliTemplatesRuntime = () => import("./cli-templates-9t2a7zqd.js");
1394
- var loadMigrationsRuntime = () => import("./migrations-v0avgyg6.js");
1392
+ var loadCliScaffoldRuntime = () => import("./cli-scaffold-pbb67zxg.js");
1393
+ var loadCliTemplatesRuntime = () => import("./cli-templates-hc71dfc2.js");
1394
+ var loadCreateTemplateValidationRuntime = () => import("./create-template-validation-7k2752mz.js");
1395
+ var loadMigrationsRuntime = () => import("./migrations-ads3j14z.js");
1395
1396
  async function wrapCliCommandError(command, error) {
1396
1397
  const { createCliCommandError } = await loadCliDiagnosticsRuntime();
1397
1398
  return createCliCommandError({ command, error });
@@ -1504,20 +1505,24 @@ async function executeCreateCommand({
1504
1505
  prompt,
1505
1506
  warnLine = console.warn
1506
1507
  }) {
1507
- const [
1508
- { createReadlinePrompt },
1509
- { runScaffoldFlow },
1510
- { getTemplateSelectOptions }
1511
- ] = await Promise.all([
1512
- loadCliPromptRuntime(),
1513
- loadCliScaffoldRuntime(),
1514
- loadCliTemplatesRuntime()
1515
- ]);
1516
- const shouldPrompt = interactive ?? (!Boolean(flags.yes) && isInteractiveTerminal());
1517
- const activePrompt = shouldPrompt ? prompt ?? createReadlinePrompt() : undefined;
1518
- const shouldPromptForExternalLayerSelection = Boolean(activePrompt) && activePrompt !== prompt;
1519
- const effectiveYes = Boolean(flags.yes) || Boolean(flags["dry-run"]) && !Boolean(activePrompt);
1508
+ let activePrompt;
1520
1509
  try {
1510
+ const requestedTemplateId = readOptionalLooseStringFlag(flags, "template");
1511
+ const resolvedTemplateId = requestedTemplateId ? (await loadCreateTemplateValidationRuntime()).validateExplicitCreateTemplateId(requestedTemplateId) : undefined;
1512
+ const [
1513
+ { createReadlinePrompt },
1514
+ { runScaffoldFlow },
1515
+ { getTemplateSelectOptions }
1516
+ ] = await Promise.all([
1517
+ loadCliPromptRuntime(),
1518
+ loadCliScaffoldRuntime(),
1519
+ loadCliTemplatesRuntime()
1520
+ ]);
1521
+ const shouldPrompt = interactive ?? (!Boolean(flags.yes) && isInteractiveTerminal());
1522
+ activePrompt = shouldPrompt ? prompt ?? createReadlinePrompt() : undefined;
1523
+ const scaffoldPrompt = activePrompt;
1524
+ const shouldPromptForExternalLayerSelection = Boolean(scaffoldPrompt) && scaffoldPrompt !== prompt;
1525
+ const effectiveYes = Boolean(flags.yes) || Boolean(flags["dry-run"]) && !Boolean(scaffoldPrompt);
1521
1526
  const flow = await runScaffoldFlow({
1522
1527
  alternateRenderTargets: readOptionalLooseStringFlag(flags, "alternate-render-targets"),
1523
1528
  cwd,
@@ -1526,7 +1531,7 @@ async function executeCreateCommand({
1526
1531
  externalLayerId: readOptionalLooseStringFlag(flags, "external-layer-id"),
1527
1532
  externalLayerSource: readOptionalLooseStringFlag(flags, "external-layer-source"),
1528
1533
  innerBlocksPreset: readOptionalLooseStringFlag(flags, "inner-blocks-preset"),
1529
- isInteractive: Boolean(activePrompt),
1534
+ isInteractive: Boolean(scaffoldPrompt),
1530
1535
  namespace: readOptionalLooseStringFlag(flags, "namespace"),
1531
1536
  noInstall: Boolean(flags["no-install"]),
1532
1537
  packageManager: readOptionalLooseStringFlag(flags, "package-manager"),
@@ -1543,17 +1548,17 @@ async function executeCreateCommand({
1543
1548
  printLine(formatCreateProgressLine(payload2));
1544
1549
  }
1545
1550
  },
1546
- promptText: activePrompt ? (message, defaultValue, validate) => activePrompt.text(message, defaultValue, validate) : undefined,
1551
+ promptText: scaffoldPrompt ? (message, defaultValue, validate) => scaffoldPrompt.text(message, defaultValue, validate) : undefined,
1547
1552
  queryPostType: readOptionalLooseStringFlag(flags, "query-post-type"),
1548
- selectDataStorage: activePrompt ? () => activePrompt.select("Select a data storage mode", [...DATA_STORAGE_PROMPT_OPTIONS], 1) : undefined,
1549
- selectExternalLayerId: shouldPromptForExternalLayerSelection && activePrompt ? (options) => activePrompt.select("Select an external layer", toExternalLayerPromptOptions(options), 1) : undefined,
1550
- selectPackageManager: activePrompt ? () => activePrompt.select("Select a package manager", [...PACKAGE_MANAGER_PROMPT_OPTIONS], 1) : undefined,
1551
- selectPersistencePolicy: activePrompt ? () => activePrompt.select("Select a persistence policy", [...PERSISTENCE_POLICY_PROMPT_OPTIONS], 1) : undefined,
1552
- selectTemplate: activePrompt ? () => activePrompt.select("Select a template", getTemplateSelectOptions(), 1) : undefined,
1553
- selectWithMigrationUi: activePrompt ? async () => await activePrompt.select("Enable migration UI support?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1554
- selectWithTestPreset: activePrompt ? async () => await activePrompt.select("Include the Playwright test preset?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1555
- selectWithWpEnv: activePrompt ? async () => await activePrompt.select("Include a local wp-env preset?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1556
- templateId: readOptionalLooseStringFlag(flags, "template"),
1553
+ selectDataStorage: scaffoldPrompt ? () => scaffoldPrompt.select("Select a data storage mode", [...DATA_STORAGE_PROMPT_OPTIONS], 1) : undefined,
1554
+ selectExternalLayerId: shouldPromptForExternalLayerSelection && scaffoldPrompt ? (options) => scaffoldPrompt.select("Select an external layer", toExternalLayerPromptOptions(options), 1) : undefined,
1555
+ selectPackageManager: scaffoldPrompt ? () => scaffoldPrompt.select("Select a package manager", [...PACKAGE_MANAGER_PROMPT_OPTIONS], 1) : undefined,
1556
+ selectPersistencePolicy: scaffoldPrompt ? () => scaffoldPrompt.select("Select a persistence policy", [...PERSISTENCE_POLICY_PROMPT_OPTIONS], 1) : undefined,
1557
+ selectTemplate: scaffoldPrompt ? () => scaffoldPrompt.select("Select a template", getTemplateSelectOptions(), 1) : undefined,
1558
+ selectWithMigrationUi: scaffoldPrompt ? async () => await scaffoldPrompt.select("Enable migration UI support?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1559
+ selectWithTestPreset: scaffoldPrompt ? async () => await scaffoldPrompt.select("Include the Playwright test preset?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1560
+ selectWithWpEnv: scaffoldPrompt ? async () => await scaffoldPrompt.select("Include a local wp-env preset?", [...BOOLEAN_PROMPT_OPTIONS], 2) === "yes" : undefined,
1561
+ templateId: resolvedTemplateId,
1557
1562
  textDomain: readOptionalLooseStringFlag(flags, "text-domain"),
1558
1563
  variant: readOptionalLooseStringFlag(flags, "variant"),
1559
1564
  withMigrationUi: flags["with-migration-ui"],
@@ -2339,7 +2344,7 @@ var doctorCommand = defineCommand({
2339
2344
  const prefersStructuredOutput = prefersStructuredCliOutput(args);
2340
2345
  if (prefersStructuredOutput) {
2341
2346
  const [{ getDoctorChecks }, { getDoctorFailureDetailLines }] = await Promise.all([
2342
- import("./cli-doctor-h5tq4ztr.js"),
2347
+ import("./cli-doctor-bjv6z74k.js"),
2343
2348
  import("./cli-diagnostics-5dvztm7q.js")
2344
2349
  ]);
2345
2350
  const checks = await getDoctorChecks(args.cwd);
@@ -2925,10 +2930,21 @@ function isTool(value) {
2925
2930
  function isToolGroup(value) {
2926
2931
  return isObject(value) && typeof value.namespace === "string" && Array.isArray(value.tools) && value.tools.every(isTool);
2927
2932
  }
2933
+ function getErrorMessage(error) {
2934
+ return error instanceof Error ? error.message : String(error);
2935
+ }
2936
+ function getErrorCauseOptions(error) {
2937
+ return error instanceof Error ? { cause: error } : undefined;
2938
+ }
2928
2939
  async function readSchemaSource(cwd, source) {
2929
2940
  const schemaPath = path3.resolve(cwd, source.path);
2930
2941
  const raw = await fs4.readFile(schemaPath, "utf8");
2931
- const parsed = JSON.parse(raw);
2942
+ let parsed;
2943
+ try {
2944
+ parsed = JSON.parse(raw);
2945
+ } catch (error) {
2946
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, `Schema source "${source.path}" must contain valid JSON. ${getErrorMessage(error)}`, getErrorCauseOptions(error));
2947
+ }
2932
2948
  if (isToolGroup(parsed)) {
2933
2949
  return parsed;
2934
2950
  }
@@ -2938,7 +2954,7 @@ async function readSchemaSource(cwd, source) {
2938
2954
  tools: parsed
2939
2955
  };
2940
2956
  }
2941
- throw new Error(`Schema source "${source.path}" must contain either one MCPToolGroup object or an array of MCP tools.`);
2957
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, `Schema source "${source.path}" must contain either one MCPToolGroup object or an array of MCP tools.`);
2942
2958
  }
2943
2959
  async function loadMcpToolGroups(cwd, schemaSources) {
2944
2960
  return Promise.all(schemaSources.map((source) => readSchemaSource(cwd, source)));
@@ -2950,7 +2966,7 @@ async function syncMcpSchemas(cwd, schemaSources, outputDir = path3.join(cwd, ".
2950
2966
  tools: groups
2951
2967
  });
2952
2968
  if (Result.isError(result)) {
2953
- throw result.error;
2969
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, getErrorMessage(result.error), getErrorCauseOptions(result.error));
2954
2970
  }
2955
2971
  const registry = groups.map((group) => ({
2956
2972
  namespace: group.namespace,
@@ -2962,7 +2978,7 @@ async function syncMcpSchemas(cwd, schemaSources, outputDir = path3.join(cwd, ".
2962
2978
  namespace: group.namespace
2963
2979
  });
2964
2980
  if (Result.isError(convert)) {
2965
- throw convert.error;
2981
+ throw createCliDiagnosticCodeError(CLI_DIAGNOSTIC_CODES.INVALID_ARGUMENT, getErrorMessage(convert.error), getErrorCauseOptions(convert.error));
2966
2982
  }
2967
2983
  }
2968
2984
  await fs4.mkdir(outputDir, { recursive: true });
@@ -3155,7 +3171,7 @@ var templatesCommand = defineCommand({
3155
3171
  return;
3156
3172
  }
3157
3173
  if (effectiveSubcommand === "inspect" && id) {
3158
- const { getTemplateById } = await import("./cli-templates-9t2a7zqd.js");
3174
+ const { getTemplateById } = await import("./cli-templates-hc71dfc2.js");
3159
3175
  let template;
3160
3176
  try {
3161
3177
  template = getTemplateById(id);
@@ -3205,4 +3221,4 @@ export {
3205
3221
  wpTypiaCommands
3206
3222
  };
3207
3223
 
3208
- //# debugId=2AA06F030398E13464756E2164756E21
3224
+ //# debugId=C86915DD4AD0BB9C64756E2164756E21
@@ -0,0 +1,14 @@
1
+ // @bun
2
+ import {
3
+ CREATE_TEMPLATE_SELECTION_HINT,
4
+ validateExplicitCreateTemplateId
5
+ } from "./cli-mzvzbpnz.js";
6
+ import"./cli-qse6myha.js";
7
+ import"./cli-p95wr1q8.js";
8
+ import"./cli-xnn9xjcy.js";
9
+ export {
10
+ validateExplicitCreateTemplateId,
11
+ CREATE_TEMPLATE_SELECTION_HINT
12
+ };
13
+
14
+ //# debugId=D573E8895747977A64756E2164756E21
@@ -15,11 +15,12 @@ import {
15
15
  snapshotProjectVersion,
16
16
  verifyProjectMigrations,
17
17
  wizardProjectMigrations
18
- } from "./cli-27v2qpjg.js";
18
+ } from "./cli-bwwssctv.js";
19
19
  import"./cli-2rqf6t0b.js";
20
20
  import"./cli-bq2v559b.js";
21
- import"./cli-ta3y0hp2.js";
21
+ import"./cli-bbj0kn1e.js";
22
22
  import"./cli-fys8vm2t.js";
23
+ import"./cli-p95wr1q8.js";
23
24
  import"./cli-hhp1d348.js";
24
25
  import"./cli-52ke0ptp.js";
25
26
  import"./cli-xnn9xjcy.js";
@@ -41,4 +42,4 @@ export {
41
42
  diffProjectMigrations
42
43
  };
43
44
 
44
- //# debugId=6C9410F9A5F336C364756E2164756E21
45
+ //# debugId=50CEC6B2F1D7030464756E2164756E21