sdtk-kit 1.0.0 → 1.1.0

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/README.md CHANGED
@@ -52,6 +52,18 @@ Use Option 2 if you only need one or two toolkits, or if you want granular versi
52
52
 
53
53
  Both options are permanently supported. `sdtk-kit` does not replace the standalone packages.
54
54
 
55
+ ## How the unified CLI works (maintainer note)
56
+
57
+ `sdtk-kit` declares the five sub-toolkits as dependencies AND ships thin bin
58
+ shims (`bin/sdtk-*.js`) that re-export each sub-package's CLI. This is required
59
+ because `npm install -g <pkg>` only links the bin entries of the top-level
60
+ package, never of its dependencies. A pure deps-only meta-package would install
61
+ the sub-toolkits but leave zero CLIs on PATH.
62
+
63
+ Do not remove the `bin` field or the `bin/` shims — they are the mechanism that
64
+ puts `sdtk-spec`, `sdtk-code`, `sdtk-ops`, `sdtk-design`, and `sdtk-wiki` on PATH
65
+ after a global install.
66
+
55
67
  ## Version pinning model
56
68
 
57
69
  `sdtk-kit` uses caret-range dependencies (`^X.Y.Z`) on each sub-toolkit. This means:
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Bin shim — re-exports the sdtk-code CLI from the sdtk-code-kit dependency.
5
+ // See bin/sdtk-spec.js for the rationale behind these shims.
6
+ require("sdtk-code-kit/bin/sdtk-code.js");
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Bin shim — re-exports the sdtk-design CLI from the sdtk-design-kit dependency.
5
+ // See bin/sdtk-spec.js for the rationale behind these shims.
6
+ require("sdtk-design-kit/bin/sdtk-design.js");
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Bin shim — re-exports the sdtk-ops CLI from the sdtk-ops-kit dependency.
5
+ // See bin/sdtk-spec.js for the rationale behind these shims.
6
+ require("sdtk-ops-kit/bin/sdtk-ops.js");
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Bin shim — re-exports the sdtk-spec CLI from the sdtk-spec-kit dependency.
5
+ //
6
+ // Why this exists: `npm install -g <pkg>` only links the bin entries of the
7
+ // top-level package, NOT of its dependencies. A pure meta-package (deps only,
8
+ // no bin) therefore installs the sub-packages but leaves no CLI on PATH.
9
+ //
10
+ // Each sub-toolkit CLI reads process.argv directly, so requiring its bin
11
+ // entry here runs it with the real arguments unchanged.
12
+ require("sdtk-spec-kit/bin/sdtk.js");
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ // Bin shim — re-exports the sdtk-wiki CLI from the sdtk-wiki-kit dependency.
5
+ // See bin/sdtk-spec.js for the rationale behind these shims.
6
+ require("sdtk-wiki-kit/bin/sdtk-wiki.js");
package/package.json CHANGED
@@ -1,52 +1,60 @@
1
- {
2
- "name": "sdtk-kit",
3
- "version": "1.0.0",
4
- "description": "Install all five SDTK toolkits in one command. Meta-package for sdtk-spec-kit, sdtk-code-kit, sdtk-ops-kit, sdtk-design-kit, and sdtk-wiki-kit.",
5
- "type": "commonjs",
6
- "files": [
7
- "scripts/",
8
- "README.md",
9
- "LICENSE"
10
- ],
11
- "scripts": {
12
- "postinstall": "node scripts/postinstall.js",
13
- "pack:smoke": "npm pack --dry-run"
14
- },
15
- "dependencies": {
16
- "sdtk-spec-kit": "^0.4.7",
17
- "sdtk-code-kit": "^0.1.3",
18
- "sdtk-ops-kit": "^0.2.4",
19
- "sdtk-design-kit": "^0.3.0",
20
- "sdtk-wiki-kit": "^0.1.4"
21
- },
22
- "engines": {
23
- "node": ">=18.13.0"
24
- },
25
- "keywords": [
26
- "sdtk",
27
- "sdtk-kit",
28
- "sdtk-spec",
29
- "sdtk-code",
30
- "sdtk-ops",
31
- "sdtk-design",
32
- "sdtk-wiki",
33
- "cli",
34
- "toolkit",
35
- "ai-workflow",
36
- "solo-founder",
37
- "mvp"
38
- ],
39
- "license": "MIT",
40
- "repository": {
41
- "type": "git",
42
- "url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
43
- "directory": "products/sdtk-kit/distribution/sdtk-kit"
44
- },
45
- "homepage": "https://sdtk.dev",
46
- "bugs": {
47
- "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
48
- },
49
- "publishConfig": {
50
- "access": "public"
51
- }
52
- }
1
+ {
2
+ "name": "sdtk-kit",
3
+ "version": "1.1.0",
4
+ "description": "Install all five SDTK toolkits in one command. Meta-package for sdtk-spec-kit, sdtk-code-kit, sdtk-ops-kit, sdtk-design-kit, and sdtk-wiki-kit.",
5
+ "type": "commonjs",
6
+ "bin": {
7
+ "sdtk-spec": "bin/sdtk-spec.js",
8
+ "sdtk-code": "bin/sdtk-code.js",
9
+ "sdtk-ops": "bin/sdtk-ops.js",
10
+ "sdtk-design": "bin/sdtk-design.js",
11
+ "sdtk-wiki": "bin/sdtk-wiki.js"
12
+ },
13
+ "files": [
14
+ "bin/",
15
+ "scripts/",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "scripts": {
20
+ "postinstall": "node scripts/postinstall.js",
21
+ "pack:smoke": "npm pack --dry-run"
22
+ },
23
+ "dependencies": {
24
+ "sdtk-spec-kit": "^0.4.7",
25
+ "sdtk-code-kit": "^0.2.0",
26
+ "sdtk-ops-kit": "^0.2.4",
27
+ "sdtk-design-kit": "^0.3.0",
28
+ "sdtk-wiki-kit": "^0.2.0"
29
+ },
30
+ "engines": {
31
+ "node": ">=18.13.0"
32
+ },
33
+ "keywords": [
34
+ "sdtk",
35
+ "sdtk-kit",
36
+ "sdtk-spec",
37
+ "sdtk-code",
38
+ "sdtk-ops",
39
+ "sdtk-design",
40
+ "sdtk-wiki",
41
+ "cli",
42
+ "toolkit",
43
+ "ai-workflow",
44
+ "solo-founder",
45
+ "mvp"
46
+ ],
47
+ "license": "MIT",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/codexsdtk/sdtk-toolkit.git",
51
+ "directory": "products/sdtk-kit/distribution/sdtk-kit"
52
+ },
53
+ "homepage": "https://sdtk.dev",
54
+ "bugs": {
55
+ "url": "https://github.com/codexsdtk/sdtk-toolkit/issues"
56
+ },
57
+ "publishConfig": {
58
+ "access": "public"
59
+ }
60
+ }