@angular/core 19.0.0-next.4 → 19.0.0-next.6
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/fesm2022/core.mjs +70 -20
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +4 -4
- package/index.d.ts +64 -19
- package/package.json +1 -1
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +1 -1
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{compiler_host-ca7ba733.js → checker-dcf9a14e.js} +303 -418
- package/schematics/bundles/compiler_host-6026cdf8.js +320 -0
- package/schematics/bundles/control-flow-migration.js +18 -17
- package/schematics/bundles/explicit-standalone-flag.js +25 -18
- package/schematics/bundles/{imports-4ac08251.js → imports-44987700.js} +1 -1
- package/schematics/bundles/inject-migration.js +5 -4
- package/schematics/bundles/{nodes-0e7d45ca.js → nodes-b12e919a.js} +2 -2
- package/schematics/bundles/program-4dc8c0fa.js +20485 -0
- package/schematics/bundles/{project_tsconfig_paths-e9ccccbf.js → project_tsconfig_paths-6c9cde78.js} +1 -1
- package/schematics/bundles/route-lazy-loading.js +4 -3
- package/schematics/bundles/signal-input-migration.js +32743 -0
- package/schematics/bundles/standalone-migration.js +43 -20477
- package/schematics/collection.json +6 -0
- package/schematics/ng-generate/signal-input-migration/schema.json +25 -0
- package/testing/index.d.ts +1 -1
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
"factory": "./bundles/route-lazy-loading#migrate",
|
|
24
24
|
"schema": "./ng-generate/route-lazy-loading/schema.json",
|
|
25
25
|
"aliases": ["route-lazy-loading"]
|
|
26
|
+
},
|
|
27
|
+
"signal-input-migration": {
|
|
28
|
+
"description": "Updates `@Input` declarations to signal inputs, while also migrating all relevant references.",
|
|
29
|
+
"factory": "./bundles/signal-input-migration#migrate",
|
|
30
|
+
"schema": "./ng-generate/signal-input-migration/schema.json",
|
|
31
|
+
"aliases": ["signal-inputs", "signal-input"]
|
|
26
32
|
}
|
|
27
33
|
}
|
|
28
34
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "AngularSignalInputMigration",
|
|
4
|
+
"title": "Angular Signal Input migration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Path to the directory where all inputs should be migrated.",
|
|
10
|
+
"x-prompt": "Which directory do you want to migrate?",
|
|
11
|
+
"default": "./"
|
|
12
|
+
},
|
|
13
|
+
"analysisDir": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Path to the directory that should be analyzed. References to migrated inputs are migrated based on this folder. Useful for larger projects if the analysis takes too long and the analysis scope can be narrowed.",
|
|
16
|
+
"default": "./"
|
|
17
|
+
},
|
|
18
|
+
"bestEffortMode": {
|
|
19
|
+
"type": "boolean",
|
|
20
|
+
"description": "Whether to eagerly migrate as much as possible, ignoring problematic patterns that would otherwise prevent migration.",
|
|
21
|
+
"x-prompt": "Do you want to migrate as much as possible, even if it may break your build?",
|
|
22
|
+
"default": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/testing/index.d.ts
CHANGED