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.
- package/dist/{check-US6EQLNS.js → check-3NGQ4NR5.js} +2 -2
- package/dist/chunk-ORQHKDT2.js +10 -0
- package/dist/chunk-ORQHKDT2.js.map +1 -0
- package/dist/cli.js +5 -5
- package/dist/{diff-72ZUEZ6A.js → diff-Y6QTAW4O.js} +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{setup-TSFCHD2D.js → setup-RR4M334C.js} +2 -2
- package/dist/{upgrade-XDPQFSMC.js → upgrade-6AR3DHUV.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-Z2SOGTNJ.js +0 -7
- package/dist/chunk-Z2SOGTNJ.js.map +0 -1
- /package/dist/{check-US6EQLNS.js.map → check-3NGQ4NR5.js.map} +0 -0
- /package/dist/{diff-72ZUEZ6A.js.map → diff-Y6QTAW4O.js.map} +0 -0
- /package/dist/{setup-TSFCHD2D.js.map → setup-RR4M334C.js.map} +0 -0
- /package/dist/{upgrade-XDPQFSMC.js.map → upgrade-6AR3DHUV.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-W66Z3C5H.js";
|
|
4
4
|
import {
|
|
5
5
|
VERSION
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
129
|
+
//# sourceMappingURL=check-3NGQ4NR5.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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
166
|
+
//# sourceMappingURL=diff-Y6QTAW4O.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
134
|
+
//# sourceMappingURL=upgrade-6AR3DHUV.js.map
|
package/package.json
CHANGED
package/dist/chunk-Z2SOGTNJ.js
DELETED
|
@@ -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":[]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|