@hype-stack/cli 0.5.16 → 0.5.17

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.
@@ -13,7 +13,7 @@ import { Prompt as O } from "@clack/core";
13
13
  import { styleText as k } from "node:util";
14
14
  import { downloadTemplate as ee } from "giget";
15
15
  //#region src/constants/constants.ts
16
- var A = "0.5.16", te = "gh:BetterTyped/hype-stack", ne = "stack.json", re = "/schema/stack.json", j = "https://api.hype-stack.dev", M = "HYPE_STACK_API_URL", N = "https://www.hype-stack.dev", ie = /^[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?$/, P = [
16
+ var A = "0.5.17", te = "gh:BetterTyped/hype-stack", ne = "stack.json", re = "/schema/stack.json", j = "https://api.hype-stack.dev", M = "HYPE_STACK_API_URL", N = "https://www.hype-stack.dev", ie = /^[a-z0-9](?:[a-z0-9._-]*[a-z0-9])?$/, P = [
17
17
  {
18
18
  value: "cursor",
19
19
  label: "Cursor",
@@ -4243,8 +4243,8 @@ async function zo(e, t) {
4243
4243
  let n = await Bo(e);
4244
4244
  await Promise.all(n.map(async (e) => {
4245
4245
  let n = await y.readFile(e, "utf-8").catch(() => null);
4246
- if (!n || !/^name:[ \t]*hype-stack/m.test(n)) return;
4247
- let r = n.replace(/^(name:[ \t]*)hype-stack/gm, `$1${t}`);
4246
+ if (!n || !/^[ \t]*(?:name|container_name):[ \t]*hype-stack/m.test(n)) return;
4247
+ let r = n.replace(/^(name:[ \t]*)hype-stack/gm, `$1${t}`).replace(/^([ \t]*container_name:[ \t]*)hype-stack/gm, `$1${t}`);
4248
4248
  await y.writeFile(e, r, "utf-8");
4249
4249
  }));
4250
4250
  }
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { t as e } from "../cli-af9BUVrT.js";
2
+ import { t as e } from "../cli-CpvJkOtv.js";
3
3
  Object.freeze({ status: "aborted" });
4
4
  function t(e, t, n) {
5
5
  function r(n, r) {
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./cli-af9BUVrT.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./cli-CpvJkOtv.js";
2
2
  export { t as composeCommand, a as createCommand, o as createProgram, e as ensureInit, r as initCommand, i as loginCommand, n as logoutCommand };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hype-stack/cli",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",