unknot 0.1.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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +203 -0
- package/bin/unknot.mjs +5 -0
- package/dist/allow.js +46 -0
- package/dist/cli.js +189 -0
- package/dist/config.js +36 -0
- package/dist/hook.js +84 -0
- package/dist/init.js +46 -0
- package/dist/model.js +525 -0
- package/dist/projects.js +133 -0
- package/dist/report.js +58 -0
- package/dist/rules/classes.js +124 -0
- package/dist/rules/graph.js +203 -0
- package/dist/rules/index.js +28 -0
- package/dist/rules/react.js +63 -0
- package/dist/rules/shape.js +74 -0
- package/dist/rules/types.js +14 -0
- package/dist/score.js +34 -0
- package/dist/sfc.js +33 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unknot",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Architecture guard for TypeScript codebases written with AI agents: finds the knots (import cycles, tangled classes, leaked state, pass-through code, prop drilling) and makes the agent untie them.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"lint",
|
|
7
|
+
"architecture",
|
|
8
|
+
"typescript",
|
|
9
|
+
"nestjs",
|
|
10
|
+
"react",
|
|
11
|
+
"vue",
|
|
12
|
+
"angular",
|
|
13
|
+
"svelte",
|
|
14
|
+
"astro",
|
|
15
|
+
"import-cycle",
|
|
16
|
+
"circular-dependency",
|
|
17
|
+
"prop-drilling",
|
|
18
|
+
"ai",
|
|
19
|
+
"agents",
|
|
20
|
+
"claude-code",
|
|
21
|
+
"architecture-guard",
|
|
22
|
+
"codex",
|
|
23
|
+
"cursor",
|
|
24
|
+
"code-quality"
|
|
25
|
+
],
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"author": "Pattern Void",
|
|
28
|
+
"homepage": "https://github.com/PatternVoid/unknot#readme",
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "git+https://github.com/PatternVoid/unknot.git"
|
|
32
|
+
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/PatternVoid/unknot/issues"
|
|
35
|
+
},
|
|
36
|
+
"type": "module",
|
|
37
|
+
"bin": {
|
|
38
|
+
"unknot": "bin/unknot.mjs"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"bin/unknot.mjs",
|
|
42
|
+
"dist",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE",
|
|
45
|
+
"CHANGELOG.md"
|
|
46
|
+
],
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=20.11"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "tsc -p tsconfig.json",
|
|
52
|
+
"test": "node --test test/*.test.ts",
|
|
53
|
+
"check": "tsc --noEmit -p tsconfig.json && node --test test/*.test.ts && node bin/unknot.mjs .",
|
|
54
|
+
"prepare": "tsc -p tsconfig.json",
|
|
55
|
+
"prepublishOnly": "npm run check"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"typescript": "^5.9.3"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/node": "^24.0.0"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public",
|
|
65
|
+
"provenance": true
|
|
66
|
+
}
|
|
67
|
+
}
|