safeword 0.2.1 → 0.2.3

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.
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-W66Z3C5H.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-Z2SOGTNJ.js";
6
+ } from "./chunk-ORQHKDT2.js";
7
7
  import {
8
8
  exists,
9
9
  header,
@@ -126,4 +126,4 @@ Upgrade available for project config`);
126
126
  export {
127
127
  check
128
128
  };
129
- //# sourceMappingURL=check-US6EQLNS.js.map
129
+ //# sourceMappingURL=check-3NGQ4NR5.js.map
@@ -0,0 +1,10 @@
1
+ // src/version.ts
2
+ import { createRequire } from "module";
3
+ var require2 = createRequire(import.meta.url);
4
+ var pkg = require2("../package.json");
5
+ var VERSION = pkg.version;
6
+
7
+ export {
8
+ VERSION
9
+ };
10
+ //# sourceMappingURL=chunk-ORQHKDT2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/version.ts"],"sourcesContent":["import { createRequire } from 'node:module';\n\nconst require = createRequire(import.meta.url);\nconst pkg = require('../package.json') as { version: string };\n\nexport const VERSION = pkg.version;\n"],"mappings":";AAAA,SAAS,qBAAqB;AAE9B,IAAMA,WAAU,cAAc,YAAY,GAAG;AAC7C,IAAM,MAAMA,SAAQ,iBAAiB;AAE9B,IAAM,UAAU,IAAI;","names":["require"]}
package/dist/cli.js CHANGED
@@ -1,26 +1,26 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  VERSION
4
- } from "./chunk-Z2SOGTNJ.js";
4
+ } from "./chunk-ORQHKDT2.js";
5
5
 
6
6
  // src/cli.ts
7
7
  import { Command } from "commander";
8
8
  var program = new Command();
9
9
  program.name("safeword").description("CLI for setting up and managing safeword development environments").version(VERSION);
10
10
  program.command("setup").description("Set up safeword in the current project").option("-y, --yes", "Accept all defaults (non-interactive mode)").action(async (options) => {
11
- const { setup } = await import("./setup-TSFCHD2D.js");
11
+ const { setup } = await import("./setup-RR4M334C.js");
12
12
  await setup(options);
13
13
  });
14
14
  program.command("check").description("Check project health and versions").option("--offline", "Skip remote version check").action(async (options) => {
15
- const { check } = await import("./check-US6EQLNS.js");
15
+ const { check } = await import("./check-3NGQ4NR5.js");
16
16
  await check(options);
17
17
  });
18
18
  program.command("upgrade").description("Upgrade safeword configuration to latest version").action(async () => {
19
- const { upgrade } = await import("./upgrade-XDPQFSMC.js");
19
+ const { upgrade } = await import("./upgrade-6AR3DHUV.js");
20
20
  await upgrade();
21
21
  });
22
22
  program.command("diff").description("Preview changes that would be made by upgrade").option("-v, --verbose", "Show full diff output").action(async (options) => {
23
- const { diff } = await import("./diff-72ZUEZ6A.js");
23
+ const { diff } = await import("./diff-Y6QTAW4O.js");
24
24
  await diff(options);
25
25
  });
26
26
  program.command("reset").description("Remove safeword configuration from project").option("-y, --yes", "Skip confirmation prompt").action(async (options) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-Z2SOGTNJ.js";
3
+ } from "./chunk-ORQHKDT2.js";
4
4
  import {
5
5
  error,
6
6
  exists,
@@ -163,4 +163,4 @@ ${file.path}: (new file)`);
163
163
  export {
164
164
  diff
165
165
  };
166
- //# sourceMappingURL=diff-72ZUEZ6A.js.map
166
+ //# sourceMappingURL=diff-Y6QTAW4O.js.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const VERSION = "0.2.0";
1
+ declare const VERSION: string;
2
2
 
3
3
  interface ProjectType {
4
4
  typescript: boolean;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-Z2SOGTNJ.js";
3
+ } from "./chunk-ORQHKDT2.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-Z2SOGTNJ.js";
3
+ } from "./chunk-ORQHKDT2.js";
4
4
  import {
5
5
  PRETTIERRC,
6
6
  SETTINGS_HOOKS,
@@ -263,4 +263,4 @@ Safeword ${VERSION} installed successfully!`);
263
263
  export {
264
264
  setup
265
265
  };
266
- //# sourceMappingURL=setup-TSFCHD2D.js.map
266
+ //# sourceMappingURL=setup-RR4M334C.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-W66Z3C5H.js";
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-Z2SOGTNJ.js";
6
+ } from "./chunk-ORQHKDT2.js";
7
7
  import {
8
8
  SETTINGS_HOOKS,
9
9
  ensureAgentsMdLink,
@@ -131,4 +131,4 @@ Safeword upgraded to v${VERSION}`);
131
131
  export {
132
132
  upgrade
133
133
  };
134
- //# sourceMappingURL=upgrade-XDPQFSMC.js.map
134
+ //# sourceMappingURL=upgrade-6AR3DHUV.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "safeword",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "CLI for setting up and managing safeword development environments",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,7 +0,0 @@
1
- // src/version.ts
2
- var VERSION = "0.2.0";
3
-
4
- export {
5
- VERSION
6
- };
7
- //# sourceMappingURL=chunk-Z2SOGTNJ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/version.ts"],"sourcesContent":["// Version is read from package.json at build time\n// This will be replaced by tsup or read dynamically\nexport const VERSION = '0.2.0';\n"],"mappings":";AAEO,IAAM,UAAU;","names":[]}