@percepta/create 4.1.9 → 4.1.10

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
@@ -186,10 +186,9 @@ function derivePlaceholders(appName, appTitle, repoName = appName, customerSlug
186
186
  __MOSAIC_DESIGN_THEME__: designTheme
187
187
  };
188
188
  }
189
- function resolveMosaicTemplatePath(options) {
190
- if (options.mosaicTemplatePath) return path.resolve(options.mosaicTemplatePath);
191
- if (process.env.MOSAIC_TEMPLATE_PATH) return path.resolve(process.env.MOSAIC_TEMPLATE_PATH);
192
- throw new Error("Mosaic repo path required. Use --mosaic-template-path or set MOSAIC_TEMPLATE_PATH.");
189
+ function resolveMosaicRepoPath(options) {
190
+ if (options.mosaicRepoPath) return path.resolve(options.mosaicRepoPath);
191
+ throw new Error("Mosaic repo path required. Use --mosaic-repo-path.");
193
192
  }
194
193
  //#endregion
195
194
  //#region src/utils/package-metadata.ts
@@ -1364,31 +1363,31 @@ program.command("add").description("Add a Mosaic package to the current monorepo
1364
1363
  });
1365
1364
  const infra = program.command("infra").description("Manage Mosaic infra glue");
1366
1365
  infra.command("register-os-blueprint").description("Register this customer monorepo's OS blueprint in infra").action(async () => {
1367
- const { registerOsBlueprintCommand } = await import("./register-os-blueprint-Gdyn0pN1.js");
1366
+ const { registerOsBlueprintCommand } = await import("./register-os-blueprint-Byf69wrl.js");
1368
1367
  await registerOsBlueprintCommand();
1369
1368
  });
1370
1369
  infra.command("register-app").description("Register a webapp database in this customer OS blueprint").argument("<app>", "Webapp package name").action(async (appName) => {
1371
- const { registerAppCommand } = await import("./register-app-B9vKTkoI.js");
1370
+ const { registerAppCommand } = await import("./register-app-Dmnocuuy.js");
1372
1371
  await registerAppCommand(appName);
1373
1372
  });
1374
- program.command("status").description("Show template sync status for current app").option("--mosaic-template-path <path>", "Path to local mosaic repo checkout").action(async (options) => {
1375
- const { statusCommand } = await import("./status-BrK9v1yb.js");
1376
- await statusCommand(options);
1373
+ program.command("status").description("Show template sync status for current app").action(async () => {
1374
+ const { statusCommand } = await import("./status-C8SBzB-K.js");
1375
+ await statusCommand();
1377
1376
  });
1378
- program.command("sync").description("Generate downstream sync context (template app)").option("--mosaic-template-path <path>", "Path to local mosaic repo checkout").option("--to <version>", "Target template version (default: latest)").action(async (options) => {
1379
- const { syncCommand } = await import("./sync-DC5DhIBT.js");
1380
- await syncCommand(options);
1377
+ program.command("sync").description("Generate downstream sync context for the current workspace").action(async () => {
1378
+ const { syncCommand } = await import("./sync-Lsfz8ZH4.js");
1379
+ await syncCommand();
1381
1380
  });
1382
- program.command("upstream").description("Generate upstream context (app → template)").option("--mosaic-template-path <path>", "Path to local mosaic repo checkout").option("--files <patterns...>", "Specific files to propose upstream").action(async (options) => {
1383
- const { upstreamCommand } = await import("./upstream-PNL6DGtl.js");
1381
+ program.command("upstream").description("Generate upstream context (app → template)").option("--mosaic-repo-path <path>", "Path to local mosaic repo checkout").option("--files <patterns...>", "Specific files to propose upstream").action(async (options) => {
1382
+ const { upstreamCommand } = await import("./upstream-R8YDvUue.js");
1384
1383
  await upstreamCommand(options);
1385
1384
  });
1386
1385
  program.command("init").description("Add .mosaic-template.json to an existing app").option("-t, --type <type>", "Template type (e.g., webapp, library)").option("--template-version <version>", "Template version to set").action(async (options) => {
1387
- const { initCommand } = await import("./init-CsuO_mu2.js");
1386
+ const { initCommand } = await import("./init-CP3IzRa6.js");
1388
1387
  await initCommand(options);
1389
1388
  });
1390
1389
  program.parse();
1391
1390
  //#endregion
1392
- export { validateProjectName as a, readManifest as c, detectMonorepo as d, toKebabCase as f, isValidProjectType as i, resolveMosaicTemplatePath as l, toTitleCase as m, getTemplateVersion as n, derivePlaceholders as o, toSnakeCase as p, VALID_PROJECT_TYPES as r, manifestExists as s, readWorkspaceManifest as t, writeManifest as u };
1391
+ export { isValidProjectType as a, manifestExists as c, writeManifest as d, detectMonorepo as f, toTitleCase as h, VALID_PROJECT_TYPES as i, readManifest as l, toSnakeCase as m, readWorkspaceManifest as n, validateProjectName as o, toKebabCase as p, getTemplateVersion as r, derivePlaceholders as s, getWorkspaceManifestPath as t, resolveMosaicRepoPath as u };
1393
1392
 
1394
1393
  //# sourceMappingURL=index.js.map