tcsetup 1.3.1 → 1.5.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/bin/cli.js +2 -0
- package/package.json +1 -1
- package/src/installer.js +10 -0
- package/src/updater.js +12 -0
package/bin/cli.js
CHANGED
|
@@ -29,6 +29,8 @@ Options (init):
|
|
|
29
29
|
--skip-adr Skip ADR System init
|
|
30
30
|
--skip-mermaid Skip Mermaid Workbench init
|
|
31
31
|
--skip-lifecycle Skip Feature Lifecycle Tracker init
|
|
32
|
+
--skip-knowledge Skip Knowledge System init
|
|
33
|
+
--skip-product Skip Product Manager init
|
|
32
34
|
`;
|
|
33
35
|
|
|
34
36
|
switch (command) {
|
package/package.json
CHANGED
package/src/installer.js
CHANGED
|
@@ -37,6 +37,16 @@ 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
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "Product Manager",
|
|
47
|
+
flag: "--skip-product",
|
|
48
|
+
cmd: "npx @tcanaud/product-manager init --yes",
|
|
49
|
+
},
|
|
40
50
|
];
|
|
41
51
|
|
|
42
52
|
export function install(flags = []) {
|
package/src/updater.js
CHANGED
|
@@ -31,6 +31,18 @@ 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
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: "Product Manager",
|
|
42
|
+
marker: ".product",
|
|
43
|
+
pkg: "@tcanaud/product-manager",
|
|
44
|
+
cmd: "npx @tcanaud/product-manager update",
|
|
45
|
+
},
|
|
34
46
|
];
|
|
35
47
|
|
|
36
48
|
const COMMAND_FILES = ["tcsetup.onboard.md", "feature.workflow.md"];
|