angular-doctor 1.0.2 → 1.2.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/README.md +219 -199
- package/bin/angular-doctor.js +2 -2
- package/dist/cli.mjs +49 -26
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +48 -25
- package/dist/index.mjs.map +1 -1
- package/install-skill.sh +181 -0
- package/package.json +58 -53
- package/skills/angular-doctor/SKILL.md +19 -0
package/package.json
CHANGED
|
@@ -1,53 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "angular-doctor",
|
|
3
|
-
"version": "1.0
|
|
4
|
-
"author": "Antony Giomar <antonygiomarx@gmail.com>",
|
|
5
|
-
"description": "Diagnose and fix issues in your Angular app",
|
|
6
|
-
"
|
|
7
|
-
"angular"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "angular-doctor",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"author": "Antony Giomar <antonygiomarx@gmail.com>",
|
|
5
|
+
"description": "Diagnose and fix issues in your Angular app",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/antonygiomarxdev/angular-doctor"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"angular",
|
|
11
|
+
"diagnostics",
|
|
12
|
+
"linter",
|
|
13
|
+
"performance"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"bin": "bin/angular-doctor.js",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"bin",
|
|
20
|
+
"skills",
|
|
21
|
+
"install-skill.sh"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/cli.d.mts",
|
|
27
|
+
"default": "./dist/cli.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./api": {
|
|
30
|
+
"types": "./dist/index.d.mts",
|
|
31
|
+
"default": "./dist/index.mjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "tsdown --watch",
|
|
36
|
+
"build": "rimraf dist && tsdown",
|
|
37
|
+
"prepublishOnly": "npm run build",
|
|
38
|
+
"typecheck": "tsc --noEmit",
|
|
39
|
+
"test": "vitest run"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@angular-eslint/eslint-plugin": "^21.2.0",
|
|
43
|
+
"commander": "^14.0.3",
|
|
44
|
+
"eslint": "^9.39.2",
|
|
45
|
+
"knip": "^5.84.1",
|
|
46
|
+
"ora": "^9.3.0",
|
|
47
|
+
"picocolors": "^1.1.1",
|
|
48
|
+
"prompts": "^2.4.2",
|
|
49
|
+
"typescript": ">=5.0.4 <6",
|
|
50
|
+
"typescript-eslint": "^8.56.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/prompts": "^2.4.9",
|
|
54
|
+
"rimraf": "^6.0.1",
|
|
55
|
+
"tsdown": "^0.20.3",
|
|
56
|
+
"vitest": "^4.0.18"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: angular-doctor
|
|
3
|
+
description: Run after making Angular changes to catch issues early. Use when reviewing code, finishing a feature, or fixing bugs in an Angular project.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Angular Doctor
|
|
8
|
+
|
|
9
|
+
Scans your Angular codebase for performance, correctness, and architecture issues. Outputs a 0-100 score with actionable diagnostics.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx -y angular-doctor@latest . --verbose --diff
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Workflow
|
|
18
|
+
|
|
19
|
+
Run after making changes to catch issues early. Fix errors first, then re-run to verify the score improved.
|