tcsetup 1.3.0 → 1.4.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 +25 -3
- package/bin/cli.js +1 -0
- package/package.json +1 -1
- package/src/installer.js +5 -0
- package/src/updater.js +6 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# tcsetup
|
|
2
2
|
|
|
3
|
-
Bootstrap a
|
|
3
|
+
Bootstrap and update a project with the full TC toolchain in one command.
|
|
4
4
|
|
|
5
5
|
## What it installs
|
|
6
6
|
|
|
@@ -9,21 +9,43 @@ Bootstrap a new project with the full TC toolchain in one command.
|
|
|
9
9
|
| 1 | [BMAD Method](https://github.com/bmad-code-org/BMAD-METHOD) | `npx bmad-method install` |
|
|
10
10
|
| 2 | [Spec Kit](https://github.com/github/spec-kit) | `specify init --here --ai claude` |
|
|
11
11
|
| 3 | [Agreement System](https://github.com/tcanaud/agreement-system) | `npx agreement-system init --yes` |
|
|
12
|
-
| 4 | [
|
|
12
|
+
| 4 | [ADR System](https://github.com/tcanaud/adr-system) | `npx adr-system init --yes` |
|
|
13
|
+
| 5 | [Mermaid Workbench](https://github.com/tcanaud/mermaid-workbench) | `npx mermaid-workbench init` |
|
|
14
|
+
| 6 | [Feature Lifecycle](https://github.com/tcanaud/feature-lifecycle) | `npx feature-lifecycle init --yes` |
|
|
13
15
|
|
|
14
16
|
## Usage
|
|
15
17
|
|
|
18
|
+
### Init (onboard a new project)
|
|
19
|
+
|
|
16
20
|
```bash
|
|
17
21
|
npx tcsetup
|
|
22
|
+
# or explicitly:
|
|
23
|
+
npx tcsetup init
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Update (refresh an existing project)
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx tcsetup update
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Detects which tools are installed (by marker directories), updates their npm packages to latest, runs each tool's update command to refresh commands/templates, and refreshes tcsetup's own Claude Code command files. User data is never touched.
|
|
33
|
+
|
|
34
|
+
### Help
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx tcsetup help
|
|
18
38
|
```
|
|
19
39
|
|
|
20
|
-
### Skip specific steps
|
|
40
|
+
### Skip specific steps (init only)
|
|
21
41
|
|
|
22
42
|
```bash
|
|
23
43
|
npx tcsetup --skip-bmad
|
|
24
44
|
npx tcsetup --skip-speckit
|
|
25
45
|
npx tcsetup --skip-agreements
|
|
46
|
+
npx tcsetup --skip-adr
|
|
26
47
|
npx tcsetup --skip-mermaid
|
|
48
|
+
npx tcsetup --skip-lifecycle
|
|
27
49
|
```
|
|
28
50
|
|
|
29
51
|
Multiple flags can be combined:
|
package/bin/cli.js
CHANGED
package/package.json
CHANGED
package/src/installer.js
CHANGED
|
@@ -37,6 +37,11 @@ const steps = [
|
|
|
37
37
|
flag: "--skip-lifecycle",
|
|
38
38
|
cmd: "npx feature-lifecycle init --yes",
|
|
39
39
|
},
|
|
40
|
+
{
|
|
41
|
+
name: "Knowledge System",
|
|
42
|
+
flag: "--skip-knowledge",
|
|
43
|
+
cmd: "npx @tcanaud/knowledge-system init --yes",
|
|
44
|
+
},
|
|
40
45
|
];
|
|
41
46
|
|
|
42
47
|
export function install(flags = []) {
|
package/src/updater.js
CHANGED
|
@@ -31,6 +31,12 @@ const TOOLS = [
|
|
|
31
31
|
pkg: "mermaid-workbench",
|
|
32
32
|
cmd: "npx mermaid-workbench init",
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
name: "Knowledge System",
|
|
36
|
+
marker: ".knowledge",
|
|
37
|
+
pkg: "@tcanaud/knowledge-system",
|
|
38
|
+
cmd: "npx @tcanaud/knowledge-system update && npx @tcanaud/knowledge-system refresh",
|
|
39
|
+
},
|
|
34
40
|
];
|
|
35
41
|
|
|
36
42
|
const COMMAND_FILES = ["tcsetup.onboard.md", "feature.workflow.md"];
|