@growthub/cli 0.9.17 → 0.9.18

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 +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9027,6 +9027,13 @@ function toListItem(resolved) {
9027
9027
  }
9028
9028
  function resolveOutputPaths(resolved, outDir) {
9029
9029
  const outputRoot = resolveRequestedOutputRoot(outDir);
9030
+ if (outDir?.trim() && resolved.manifest.kit.id === "growthub-custom-workspace-starter-v1") {
9031
+ return {
9032
+ outputRoot,
9033
+ folderPath: outputRoot,
9034
+ zipPath: path24.resolve(path24.dirname(outputRoot), `${path24.basename(outputRoot)}.zip`)
9035
+ };
9036
+ }
9030
9037
  const folderPath = path24.resolve(outputRoot, resolved.bundleManifest.export.folderName);
9031
9038
  const zipPath = path24.resolve(outputRoot, resolved.bundleManifest.export.zipFileName);
9032
9039
  return { outputRoot, folderPath, zipPath };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@growthub/cli",
3
- "version": "0.9.17",
3
+ "version": "0.9.18",
4
4
  "description": "CLI control plane for Growthub Local and Agent Workspace as Code: export, fork, inspect, operate, sync, and optionally activate governed AI workspaces.",
5
5
  "type": "module",
6
6
  "bin": {