archrip 0.2.0 → 0.2.2
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/install/viewer.d.ts.map +1 -1
- package/dist/install/viewer.js +4 -2
- package/dist/install/viewer.js.map +1 -1
- package/dist/templates/slash-commands/claude/archrip-scan.md +1 -1
- package/dist/templates/slash-commands/codex/archrip-scan.md +1 -1
- package/dist/templates/slash-commands/gemini/archrip-scan.md +1 -1
- package/package.json +1 -1
- package/dist/viewer-template/package-lock.json +0 -2698
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewer.d.ts","sourceRoot":"","sources":["../../src/install/viewer.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"viewer.d.ts","sourceRoot":"","sources":["../../src/install/viewer.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAqBtD"}
|
package/dist/install/viewer.js
CHANGED
|
@@ -12,8 +12,10 @@ export function installViewer(archripDir) {
|
|
|
12
12
|
+ 'Please reinstall archrip: npm install -g archrip');
|
|
13
13
|
}
|
|
14
14
|
mkdirSync(viewerDest, { recursive: true });
|
|
15
|
-
// Copy viewer files recursively, skipping node_modules and
|
|
16
|
-
|
|
15
|
+
// Copy viewer files recursively, skipping node_modules, dist, and package-lock.json
|
|
16
|
+
// package-lock.json is excluded because it is generated by the user's `npm install`
|
|
17
|
+
// and should not be overwritten by the bundled template version.
|
|
18
|
+
copyDirRecursive(viewerSrc, viewerDest, ['node_modules', 'dist', '.tsbuildinfo', 'package-lock.json']);
|
|
17
19
|
// Write marker file to verify viewer origin in build/serve
|
|
18
20
|
writeFileSync(join(viewerDest, '.archrip-viewer'), 'archrip-official-viewer\n');
|
|
19
21
|
console.log(' + .archrip/viewer/ (viewer template)');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewer.js","sourceRoot":"","sources":["../../src/install/viewer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,UAAkB;IAC9C,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAE9C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CACb,yDAAyD;cACvD,kDAAkD,CACrD,CAAC;IACJ,CAAC;IAED,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAE3C,
|
|
1
|
+
{"version":3,"file":"viewer.js","sourceRoot":"","sources":["../../src/install/viewer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC1F,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,UAAkB;IAC9C,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;IAE9C,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CACb,yDAAyD;cACvD,kDAAkD,CACrD,CAAC;IACJ,CAAC;IAED,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|
|
102
102
|
Create `.archrip/` directory if it doesn't exist, then write the complete `.archrip/architecture.json` following the schema, incorporating developer feedback.
|
|
103
103
|
|
|
104
104
|
After writing the file:
|
|
105
|
-
1. Run `npx archrip serve` in the terminal
|
|
105
|
+
1. Run `npx archrip serve` in the terminal — it auto-builds and opens the browser. **Do NOT run `npx archrip build` separately or open the browser manually** (serve handles everything).
|
|
106
106
|
2. Tell the developer: Run `/archrip-update` to make further adjustments (add/remove nodes, fix relationships, etc.)
|
|
107
107
|
|
|
108
108
|
### Required structure (use EXACTLY these field names)
|
|
@@ -102,7 +102,7 @@ Only run this phase AFTER the developer has approved the draft in Phase 7.
|
|
|
102
102
|
Create `.archrip/` directory if it doesn't exist, then write the complete `.archrip/architecture.json` following the schema, incorporating developer feedback.
|
|
103
103
|
|
|
104
104
|
After writing the file:
|
|
105
|
-
1. Run `npx archrip serve` in the terminal
|
|
105
|
+
1. Run `npx archrip serve` in the terminal — it auto-builds and opens the browser. **Do NOT run `npx archrip build` separately or open the browser manually** (serve handles everything).
|
|
106
106
|
2. Tell the developer: Run `/archrip-update` to make further adjustments (add/remove nodes, fix relationships, etc.)
|
|
107
107
|
|
|
108
108
|
### Required structure (use EXACTLY these field names)
|
|
@@ -102,7 +102,7 @@ Only run this phase AFTER the developer has approved the draft in Phase 7.
|
|
|
102
102
|
Create `.archrip/` directory if it doesn't exist, then write the complete `.archrip/architecture.json` following the schema, incorporating developer feedback.
|
|
103
103
|
|
|
104
104
|
After writing the file:
|
|
105
|
-
1. Run `npx archrip serve` in the terminal
|
|
105
|
+
1. Run `npx archrip serve` in the terminal — it auto-builds and opens the browser. **Do NOT run `npx archrip build` separately or open the browser manually** (serve handles everything).
|
|
106
106
|
2. Tell the developer: Run `/archrip-update` to make further adjustments (add/remove nodes, fix relationships, etc.)
|
|
107
107
|
|
|
108
108
|
### Required structure (use EXACTLY these field names)
|