@angular-modernizer/plugin-analyzer 1.2.0 → 2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +246 -0
  2. package/package.json +6 -5
package/CHANGELOG.md ADDED
@@ -0,0 +1,246 @@
1
+ # @angular-modernizer/plugin-analyzer
2
+
3
+ ## 2.1.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3f77a02]
8
+ - Updated dependencies [a7a2e6a]
9
+ - @angular-modernizer/api@2.1.0
10
+ - @angular-modernizer/core@2.1.0
11
+ - @angular-modernizer/plugin-system@2.1.0
12
+
13
+ ## 2.0.0
14
+
15
+ ### Patch Changes
16
+
17
+ - fe2e7e8: The published tarballs include `CHANGELOG.md`: no package listed it in `files`, so the release notes were missing from every installed package.
18
+ - f5a76d7: Package docs, agents and skills carry no hand-typed counts of tools, rules, transformation types, agents, skills or tests and no speedup figures any more; where a count stays it is generated from the code. Wrong facts are corrected: `IKernel` is an interface with `getProjectRoot()`, `ProgressStore` lives in adapter-mcp, plugin-solid has transform rules, the framework detector id is `analyzer:framework-detector`, the real-build scripts run in adapter-mcp, a build ends as a process group only on POSIX, and the README links the package changelogs.
19
+ - Updated dependencies [eeeed7c]
20
+ - Updated dependencies [21c9257]
21
+ - Updated dependencies [ead0a17]
22
+ - Updated dependencies [181c66d]
23
+ - Updated dependencies [fe2e7e8]
24
+ - Updated dependencies [d586220]
25
+ - Updated dependencies [87ec374]
26
+ - Updated dependencies [5cd8275]
27
+ - Updated dependencies [42633ec]
28
+ - Updated dependencies [72f6003]
29
+ - Updated dependencies [e9fe531]
30
+ - Updated dependencies [4d20728]
31
+ - Updated dependencies [97328a6]
32
+ - Updated dependencies [c49e790]
33
+ - Updated dependencies [0e3e0a3]
34
+ - Updated dependencies [f5a76d7]
35
+ - Updated dependencies [3948cd1]
36
+ - Updated dependencies [a1596d6]
37
+ - Updated dependencies [d5e0000]
38
+ - Updated dependencies [2e263fa]
39
+ - Updated dependencies [a094112]
40
+ - Updated dependencies [eb7742e]
41
+ - Updated dependencies [8ce8b28]
42
+ - Updated dependencies [91e6665]
43
+ - Updated dependencies [16aeab7]
44
+ - Updated dependencies [b00a62a]
45
+ - Updated dependencies [dfff988]
46
+ - Updated dependencies [1c51423]
47
+ - Updated dependencies [488ba42]
48
+ - Updated dependencies [b7d2a0e]
49
+ - Updated dependencies [55f42d8]
50
+ - Updated dependencies [7019870]
51
+ - Updated dependencies [3081384]
52
+ - Updated dependencies [b2b1579]
53
+ - Updated dependencies [5032186]
54
+ - Updated dependencies [4a04d06]
55
+ - Updated dependencies [693cde8]
56
+ - Updated dependencies [84e96b1]
57
+ - Updated dependencies [4813ace]
58
+ - Updated dependencies [8cc29ab]
59
+ - Updated dependencies [250f6c0]
60
+ - Updated dependencies [d9c0ba4]
61
+ - Updated dependencies [79a6c81]
62
+ - Updated dependencies [9c9e988]
63
+ - Updated dependencies [c7e11e2]
64
+ - Updated dependencies [2879e40]
65
+ - Updated dependencies [0fbc383]
66
+ - Updated dependencies [1356d8c]
67
+ - Updated dependencies [6d1bffb]
68
+ - Updated dependencies [9cffd06]
69
+ - Updated dependencies [26aaa50]
70
+ - Updated dependencies [86bcb5a]
71
+ - Updated dependencies [e1f909b]
72
+ - Updated dependencies [eb4e5dc]
73
+ - Updated dependencies [c9370cc]
74
+ - Updated dependencies [5de0344]
75
+ - Updated dependencies [122bf29]
76
+ - Updated dependencies [52bcc15]
77
+ - Updated dependencies [cdacd40]
78
+ - Updated dependencies [ac1f389]
79
+ - Updated dependencies [c79963d]
80
+ - Updated dependencies [3817f99]
81
+ - Updated dependencies [ac54287]
82
+ - Updated dependencies [e553870]
83
+ - Updated dependencies [0c8e82a]
84
+ - Updated dependencies [b96aafe]
85
+ - Updated dependencies [684ba35]
86
+ - Updated dependencies [96f89a4]
87
+ - Updated dependencies [237c3b3]
88
+ - Updated dependencies [77494f1]
89
+ - Updated dependencies [30a1b5a]
90
+ - Updated dependencies [ded8316]
91
+ - Updated dependencies [c015e16]
92
+ - Updated dependencies [f5b4016]
93
+ - Updated dependencies [92b1c8d]
94
+ - Updated dependencies [c015e16]
95
+ - Updated dependencies [92b1c8d]
96
+ - Updated dependencies [f5b4016]
97
+ - Updated dependencies [95ee304]
98
+ - Updated dependencies [f0f0717]
99
+ - Updated dependencies [767a08a]
100
+ - @angular-modernizer/core@2.0.0
101
+ - @angular-modernizer/api@2.0.0
102
+ - @angular-modernizer/plugin-system@2.0.0
103
+
104
+ ## 1.2.0
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies [7ac7db2]
109
+ - @angular-modernizer/core@1.2.0
110
+ - @angular-modernizer/api@1.2.0
111
+ - @angular-modernizer/plugin-system@1.2.0
112
+
113
+ ## 1.1.0
114
+
115
+ ### Patch Changes
116
+
117
+ - 73335c5: Every exported symbol and public member has a doc comment, and each package entry has a package overview, so the declaration files and the API reference at https://eiweiss.github.io/angular-modernizer-docs/ describe the whole public API. Descriptions that sat in file header comments, where tools did not attach them to anything, are now on the exported symbols. Doc comments that contradicted the code are corrected.
118
+
119
+ Types that public signatures already used are now exported (type-only): `I18nLayerGap` and `OutputSubscription` from api, `LegacyRecordShape` from core, `GraphFileSource` from plugin-architecture, `GodSwitchTransformConfig` from plugin-solid, and from adapter-mcp the result types of the MCP tools, the types nested in them, and the server, watcher and cache types (including `ProjectCache`). adapter-mcp is part of the API reference now.
120
+
121
+ The package READMEs match the code: rule IDs, counts, configuration examples that validate against the schema, real script names, and links to existing files only. The plugin-architecture and worker READMEs are rewritten, the orchestration README describes `WorkflowEngine` instead of an API that did not exist.
122
+
123
+ No change in behavior.
124
+
125
+ - 5ecaa3c: The package homepage is the API reference at https://eiweiss.github.io/angular-modernizer-docs/. The `repository` and `bugs` links are removed, since the source repository is not public.
126
+ - Updated dependencies [73335c5]
127
+ - Updated dependencies [50ba7ce]
128
+ - Updated dependencies [bcf228e]
129
+ - Updated dependencies [5ecaa3c]
130
+ - Updated dependencies [f2b624e]
131
+ - @angular-modernizer/core@1.1.0
132
+ - @angular-modernizer/api@1.1.0
133
+ - @angular-modernizer/plugin-system@1.1.0
134
+
135
+ ## 1.0.0
136
+
137
+ ### Major Changes
138
+
139
+ - a9a9d13: Release 1.0.0. The MCP server runs on the official MCP TypeScript SDK, serves the 2025 and the 2026-07-28 protocol eras over one stdio connection, validates every call against the tool's input schema and answers every one of its 41 tools with `structuredContent` that matches the tool's output schema. Long-running tools report progress and can be cancelled through the protocol. The Claude Code plugin is released as 1.0.0 too; its agents and skills read the 1.0 results and need a 1.0 server. The entries below describe each change in detail.
140
+
141
+ Breaking changes since 0.3.0:
142
+ - Node: all packages require `^20.19.0 || ^22.12.0 || >=24.0.0`, the Node versions supported by Angular 21.
143
+ - Packages: the tarballs contain the compiled output only, without `src` folders and source maps. `adapter-mcp`, `plugin-solid` and `plugin-analyzer` declare `exports`, so files inside them other than the entry point and `package.json` can no longer be imported. `adapter-mcp` now shares the version of the platform packages.
144
+ - MCP server: the export `JsonRpcHandler` is removed. An unknown tool is a JSON-RPC error `-32602`, and `initialize` requires `protocolVersion`, `capabilities` and `clientInfo`. The debug log `./mcp-server.log` and the health check on port 9999 start only with `ANGULAR_MODERNIZER_DEBUG=1`.
145
+ - Tool arguments: unknown argument names, wrong types and missing required arguments are rejected with an error result before the tool runs. Results with `success: false` or `status: "failed"` are sent with `isError: true`.
146
+ - Tool results: the text content is a short summary; the full result is in `structuredContent`. The statistics object `summary` is now `counts` with the same keys in `analyze-project`, `scan-architecture`, `scan-solid`, `scan-angular`, `scan-all`, `analyze-core-to-shared`, `extract-libraries`, `list-imports` and `orchestrate-migration`, and `summary` is the text. `orchestrate-migration` returns `workflowId` at the top level.
147
+ - Streaming: `streaming` defaults to `false` in `transform-code` and `scan-architecture`, and together with `get-operation-progress` it is deprecated (still available in 1.x). `get-operation-progress` returns an event's diff as `unifiedDiff` instead of `diff`.
148
+ - `transform-code`: `validateBuild` defaults to `false`; the transformed file is still type-checked and rolled back on new type errors.
149
+ - Feedback: the feedback tools store and read `<projectRoot>/.claude-feedback`. A platform-wide store is used only when `ANGULAR_MODERNIZER_PLATFORM_ROOT` is set, and `storageLocation: "platform"` fails without it.
150
+ - Project component decorators: the investigation tools treat a project's own class decorator as a component only when it is listed in `parser.componentDecorators`.
151
+ - `scan-architecture` scope paths match at folder boundaries: `features/orders` no longer includes `features/orders-shared`.
152
+ - Core API: `ValidationOrchestrator`, `ValidationConfig`, `AggregatedValidationResult`, `FalsePositiveDetector.isFalsePositiveBoolean()` and `StreamingProgressEvent.diff` are removed, as are the transform options `updateValidationPatterns`, `convertNgOnInitForms` and `autoCreateModules`, which had no effect. `validation.eslint` is deprecated.
153
+ - Claude Code plugin: the `ngm-decorator-remover` skill is removed. The skills and agents that move code into a shared layer take the target from the `layers` section of `.angular-modernizer.json` and ask when it is missing.
154
+
155
+ ### Minor Changes
156
+
157
+ - 8557b38: Every package ships its MIT license and names its author. `adapter-mcp` is now released together with the platform packages and shares their version.
158
+
159
+ Breaking changes:
160
+ - All packages declare the Node versions supported by Angular 21: `^20.19.0 || ^22.12.0 || >=24.0.0`. Older Node versions are no longer supported.
161
+ - The packages contain the compiled output only: `src` folders and source maps are no longer published.
162
+ - `adapter-mcp`, `plugin-solid` and `plugin-analyzer` declare `exports` and `types` like the other packages. Imports of files inside these packages other than the package entry point and `package.json` are no longer possible.
163
+ - The `ngm-decorator-remover` skill is no longer part of the Claude Code plugin. Skills and agents that move files into a shared layer (`ngm-model-mover`, `ngm-circular-breaker`, `ngm-consumer-updater`, `ngm-fix-layer-violation`, `ngm-provider-wirer`, `ngm-di-token-extractor`) take the target layer from the `layers` section of `.angular-modernizer.json` and ask when it is missing, instead of assuming a fixed folder.
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies [ed79448]
168
+ - Updated dependencies [c98e84e]
169
+ - Updated dependencies [f4bf55a]
170
+ - Updated dependencies [62119e2]
171
+ - Updated dependencies [43aad08]
172
+ - Updated dependencies [8557b38]
173
+ - Updated dependencies [34304d5]
174
+ - Updated dependencies [a9a9d13]
175
+ - Updated dependencies [b57c185]
176
+ - Updated dependencies [c01f1ce]
177
+ - Updated dependencies [64f63de]
178
+ - Updated dependencies [8f4c7e7]
179
+ - Updated dependencies [761b61a]
180
+ - Updated dependencies [f257f4f]
181
+ - @angular-modernizer/core@1.0.0
182
+ - @angular-modernizer/api@1.0.0
183
+ - @angular-modernizer/plugin-system@1.0.0
184
+
185
+ ## 0.3.0
186
+
187
+ ### Patch Changes
188
+
189
+ - Updated dependencies [f84eb9c]
190
+ - Updated dependencies [0a87b0d]
191
+ - Updated dependencies [8489f92]
192
+ - Updated dependencies [6789263]
193
+ - Updated dependencies [59303c3]
194
+ - Updated dependencies [e4c5788]
195
+ - Updated dependencies [ef1c0ec]
196
+ - Updated dependencies [c625af2]
197
+ - Updated dependencies [1ea9acc]
198
+ - Updated dependencies [d516473]
199
+ - Updated dependencies [2d2dc84]
200
+ - Updated dependencies [f3b60da]
201
+ - Updated dependencies [989f7cc]
202
+ - Updated dependencies [8445846]
203
+ - Updated dependencies [c415999]
204
+ - Updated dependencies [53b0086]
205
+ - Updated dependencies [4f611ab]
206
+ - Updated dependencies [94d7305]
207
+ - Updated dependencies [8f5fa37]
208
+ - @angular-modernizer/api@0.3.0
209
+ - @angular-modernizer/core@0.3.0
210
+ - @angular-modernizer/plugin-system@0.3.0
211
+
212
+ ## 0.2.0
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies
217
+ - @angular-modernizer/core@0.2.0
218
+ - @angular-modernizer/api@0.2.0
219
+ - @angular-modernizer/plugin-system@0.2.0
220
+
221
+ ## 0.1.3
222
+
223
+ ### Patch Changes
224
+
225
+ - Updated dependencies [062d5d0]
226
+ - @angular-modernizer/api@0.1.3
227
+ - @angular-modernizer/core@0.1.3
228
+ - @angular-modernizer/plugin-system@0.1.3
229
+
230
+ ## 0.1.2
231
+
232
+ ### Patch Changes
233
+
234
+ - Updated dependencies [a0eceb4]
235
+ - @angular-modernizer/core@0.1.2
236
+ - @angular-modernizer/api@0.1.2
237
+ - @angular-modernizer/plugin-system@0.1.2
238
+
239
+ ## 0.1.1
240
+
241
+ ### Patch Changes
242
+
243
+ - Updated dependencies [58851ce]
244
+ - @angular-modernizer/core@0.1.1
245
+ - @angular-modernizer/plugin-system@0.1.1
246
+ - @angular-modernizer/api@0.1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-modernizer/plugin-analyzer",
3
- "version": "1.2.0",
3
+ "version": "2.1.0",
4
4
  "description": "Analysis plugin for detecting project architecture, framework, and layers.",
5
5
  "keywords": [
6
6
  "angular",
@@ -15,14 +15,15 @@
15
15
  "homepage": "https://eiweiss.github.io/angular-modernizer-docs/",
16
16
  "main": "./dist/index.js",
17
17
  "files": [
18
+ "CHANGELOG.md",
18
19
  "dist",
19
20
  "!dist/**/__tests__/**",
20
21
  "!dist/**/*.map"
21
22
  ],
22
23
  "dependencies": {
23
- "@angular-modernizer/plugin-system": "1.2.0",
24
- "@angular-modernizer/api": "1.2.0",
25
- "@angular-modernizer/core": "1.2.0"
24
+ "@angular-modernizer/core": "2.1.0",
25
+ "@angular-modernizer/plugin-system": "2.1.0",
26
+ "@angular-modernizer/api": "2.1.0"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@types/jest": "^30.0.0",
@@ -53,7 +54,7 @@
53
54
  "scripts": {
54
55
  "build": "tsc --build",
55
56
  "test": "jest --passWithNoTests",
56
- "lint": "eslint src/**/*.ts",
57
+ "lint": "eslint src __tests__",
57
58
  "clean": "rm -rf dist tsconfig.tsbuildinfo"
58
59
  }
59
60
  }