@yalehwang/archguard 0.1.2 → 0.1.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 +2 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -421,7 +421,7 @@ Valid .mmd
|
|
|
421
421
|
|
|
422
422
|
### Prerequisites
|
|
423
423
|
|
|
424
|
-
- Node.js 18.
|
|
424
|
+
- Node.js >= 18.0.0
|
|
425
425
|
- npm or yarn
|
|
426
426
|
|
|
427
427
|
Optional, for enhanced features:
|
|
@@ -503,6 +503,7 @@ Quick fixes:
|
|
|
503
503
|
- **Go interface detection low** — install gopls: `go install golang.org/x/tools/gopls@latest`
|
|
504
504
|
- **Slow first run** — normal; subsequent runs use cache (80%+ hit rate)
|
|
505
505
|
- **Render errors** — the five-layer validator auto-repairs most issues; run with `-v` for details
|
|
506
|
+
- **Install fails on macOS arm64 + Node.js 25** — `tree-sitter` native addon compilation requires C++20; use `npm install -g @yalehwang/archguard --ignore-scripts` to skip native build (JS functionality unaffected), or use Node.js 22 LTS
|
|
506
507
|
|
|
507
508
|
## Documentation
|
|
508
509
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yalehwang/archguard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Automated architecture documentation generation tool with AI-powered Mermaid diagrams",
|
|
6
6
|
"keywords": [
|
|
@@ -42,15 +42,19 @@
|
|
|
42
42
|
"migrate": "node dist/scripts/migrate-to-mermaid.js"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": ">=18.0.0
|
|
45
|
+
"node": ">=18.0.0"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@anthropic-ai/sdk": "^0.20.0",
|
|
49
|
+
"chalk": "^5.6.2",
|
|
49
50
|
"cli-progress": "^3.12.0",
|
|
50
51
|
"commander": "^11.1.0",
|
|
51
52
|
"execa": "^8.0.1",
|
|
53
|
+
"fs-extra": "^11.3.3",
|
|
52
54
|
"glob": "^13.0.6",
|
|
53
55
|
"isomorphic-mermaid": "^0.1.1",
|
|
56
|
+
"ora": "^8.2.0",
|
|
57
|
+
"p-limit": "^5.0.0",
|
|
54
58
|
"p-map": "^7.0.4",
|
|
55
59
|
"pino": "^8.17.0",
|
|
56
60
|
"sharp": "^0.34.5",
|
|
@@ -68,14 +72,10 @@
|
|
|
68
72
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
69
73
|
"@typescript-eslint/parser": "^6.15.0",
|
|
70
74
|
"@vitest/coverage-v8": "^1.2.0",
|
|
71
|
-
"chalk": "^5.6.2",
|
|
72
75
|
"eslint": "^8.56.0",
|
|
73
76
|
"eslint-config-prettier": "^9.1.0",
|
|
74
77
|
"eslint-plugin-prettier": "^5.1.0",
|
|
75
|
-
"fs-extra": "^11.3.3",
|
|
76
78
|
"memfs": "^4.56.10",
|
|
77
|
-
"ora": "^8.2.0",
|
|
78
|
-
"p-limit": "^5.0.0",
|
|
79
79
|
"prettier": "^3.1.0",
|
|
80
80
|
"tsc-alias": "^1.8.16",
|
|
81
81
|
"typescript": "^5.3.0",
|