tcsetup 1.0.0 → 1.0.4
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 +42 -0
- package/bin/cli.js +12 -0
- package/package.json +5 -1
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# tcsetup
|
|
2
|
+
|
|
3
|
+
Bootstrap a new project with the full TC toolchain in one command.
|
|
4
|
+
|
|
5
|
+
## What it installs
|
|
6
|
+
|
|
7
|
+
| Step | Tool | Command |
|
|
8
|
+
|------|------|---------|
|
|
9
|
+
| 1 | [BMAD Method](https://github.com/bmad-code-org/BMAD-METHOD) | `npx bmad-method install` |
|
|
10
|
+
| 2 | [Spec Kit](https://github.com/github/spec-kit) | `specify init --here --ai claude` |
|
|
11
|
+
| 3 | [Agreement System](https://github.com/tcanaud/agreement-system) | `npx agreement-system init --yes` |
|
|
12
|
+
| 4 | [Mermaid Workbench](https://github.com/tcanaud/mermaid-workbench) | `npx mermaid-workbench init` |
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx tcsetup
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Skip specific steps
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx tcsetup --skip-bmad
|
|
24
|
+
npx tcsetup --skip-speckit
|
|
25
|
+
npx tcsetup --skip-agreements
|
|
26
|
+
npx tcsetup --skip-mermaid
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Multiple flags can be combined:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx tcsetup --skip-speckit --skip-mermaid
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Prerequisites
|
|
36
|
+
|
|
37
|
+
- Node.js >= 18
|
|
38
|
+
- `specify` CLI installed globally (for Spec Kit step)
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
MIT
|
package/bin/cli.js
CHANGED
|
@@ -16,7 +16,9 @@ Options:
|
|
|
16
16
|
--skip-bmad Skip BMAD Method install
|
|
17
17
|
--skip-speckit Skip Spec Kit init
|
|
18
18
|
--skip-agreements Skip Agreement System init
|
|
19
|
+
--skip-adr Skip ADR System init
|
|
19
20
|
--skip-mermaid Skip Mermaid Workbench init
|
|
21
|
+
--skip-lifecycle Skip Feature Lifecycle Tracker init
|
|
20
22
|
`;
|
|
21
23
|
|
|
22
24
|
if (flags.includes("help") || flags.includes("--help") || flags.includes("-h")) {
|
|
@@ -40,11 +42,21 @@ const steps = [
|
|
|
40
42
|
flag: "--skip-agreements",
|
|
41
43
|
cmd: "npx agreement-system init --yes",
|
|
42
44
|
},
|
|
45
|
+
{
|
|
46
|
+
name: "ADR System",
|
|
47
|
+
flag: "--skip-adr",
|
|
48
|
+
cmd: "npx adr-system init --yes",
|
|
49
|
+
},
|
|
43
50
|
{
|
|
44
51
|
name: "Mermaid Workbench",
|
|
45
52
|
flag: "--skip-mermaid",
|
|
46
53
|
cmd: "npx mermaid-workbench init",
|
|
47
54
|
},
|
|
55
|
+
{
|
|
56
|
+
name: "Feature Lifecycle Tracker",
|
|
57
|
+
flag: "--skip-lifecycle",
|
|
58
|
+
cmd: "npx feature-lifecycle init --yes",
|
|
59
|
+
},
|
|
48
60
|
];
|
|
49
61
|
|
|
50
62
|
console.log("\n tcsetup v1.0.0\n");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tcsetup",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bootstrap a new project with BMAD, Spec Kit, Agreement System, and Mermaid Workbench in one command.",
|
|
6
6
|
"bin": {
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
],
|
|
17
17
|
"author": "Thibaud Canaud",
|
|
18
18
|
"license": "MIT",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/tcanaud/tcsetup.git"
|
|
22
|
+
},
|
|
19
23
|
"files": [
|
|
20
24
|
"bin/"
|
|
21
25
|
],
|