@angular/core 19.0.0-next.5 → 19.0.0-next.7
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 +434 -136
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
- package/fesm2022/primitives/signals.mjs +1 -1
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +25 -4
- package/fesm2022/rxjs-interop.mjs.map +1 -1
- package/fesm2022/testing.mjs +12 -11
- package/fesm2022/testing.mjs.map +1 -1
- package/index.d.ts +199 -94
- 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 +3 -1
- package/schematics/bundles/{compiler_host-ca7ba733.js → checker-637eee78.js} +322 -426
- package/schematics/bundles/compiler_host-1e62b899.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 +10 -29
- package/schematics/bundles/leading_space-6e7a8ec6.js +30 -0
- package/schematics/bundles/{nodes-0e7d45ca.js → nodes-b12e919a.js} +2 -2
- package/schematics/bundles/pending-tasks.js +103 -0
- package/schematics/bundles/program-893e3fe7.js +20819 -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 +32976 -0
- package/schematics/bundles/standalone-migration.js +47 -20481
- package/schematics/collection.json +6 -0
- package/schematics/migrations.json +5 -0
- package/schematics/ng-generate/signal-input-migration/schema.json +30 -0
- package/testing/index.d.ts +3 -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
|
}
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
"version": "19.0.0",
|
|
5
5
|
"description": "Updates non-standalone Directives, Component and Pipes to standalone:false",
|
|
6
6
|
"factory": "./bundles/explicit-standalone-flag#migrate"
|
|
7
|
+
},
|
|
8
|
+
"pending-tasks": {
|
|
9
|
+
"version": "19.0.0",
|
|
10
|
+
"description": "Updates ExperimentalPendingTasks to PendingTasks",
|
|
11
|
+
"factory": "./bundles/pending-tasks#migrate"
|
|
7
12
|
}
|
|
8
13
|
}
|
|
9
14
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
"insertTodos": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether the migration should add TODOs for inputs that could not be migrated",
|
|
27
|
+
"default": false
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.0.0-next.
|
|
2
|
+
* @license Angular v19.0.0-next.7
|
|
3
3
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -69,6 +69,8 @@ export declare class ComponentFixture<T> {
|
|
|
69
69
|
private readonly appErrorHandler;
|
|
70
70
|
private readonly zonelessEnabled;
|
|
71
71
|
private readonly scheduler;
|
|
72
|
+
private readonly rootEffectScheduler;
|
|
73
|
+
private readonly microtaskEffectScheduler;
|
|
72
74
|
private readonly autoDetectDefault;
|
|
73
75
|
private autoDetect;
|
|
74
76
|
private subscriptions;
|