@angular/core 19.0.0-next.7 → 19.0.0-next.8
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/LICENSE +21 -0
- package/fesm2022/core.mjs +274 -147
- 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 +67 -52
- 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/{checker-637eee78.js → checker-e68dd7ce.js} +15 -5
- package/schematics/bundles/{compiler_host-1e62b899.js → compiler_host-9a4d0c2b.js} +2 -2
- package/schematics/bundles/control-flow-migration.js +3 -3
- package/schematics/bundles/explicit-standalone-flag.js +5 -5
- package/schematics/bundles/group_replacements-472b2387.js +31445 -0
- package/schematics/bundles/{imports-44987700.js → imports-4ac08251.js} +1 -1
- package/schematics/bundles/inject-migration.js +24 -8
- package/schematics/bundles/{leading_space-6e7a8ec6.js → leading_space-d190b83b.js} +1 -1
- package/schematics/bundles/{nodes-b12e919a.js → nodes-0e7d45ca.js} +2 -2
- package/schematics/bundles/pending-tasks.js +5 -5
- package/schematics/bundles/{program-893e3fe7.js → program-105283c5.js} +66 -24
- package/schematics/bundles/{project_tsconfig_paths-6c9cde78.js → project_tsconfig_paths-e9ccccbf.js} +1 -1
- package/schematics/bundles/route-lazy-loading.js +4 -4
- package/schematics/bundles/signal-input-migration.js +371 -31688
- package/schematics/bundles/signal-queries-migration.js +905 -0
- package/schematics/bundles/standalone-migration.js +8 -8
- package/schematics/collection.json +6 -0
- package/schematics/ng-generate/signal-queries-migration/schema.json +19 -0
- package/testing/index.d.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.0.0-next.
|
|
3
|
+
* @license Angular v19.0.0-next.8
|
|
4
4
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -11,14 +11,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
11
11
|
var schematics = require('@angular-devkit/schematics');
|
|
12
12
|
require('os');
|
|
13
13
|
var ts = require('typescript');
|
|
14
|
-
var checker = require('./checker-
|
|
14
|
+
var checker = require('./checker-e68dd7ce.js');
|
|
15
15
|
var p = require('path');
|
|
16
|
-
var program = require('./program-
|
|
16
|
+
var program = require('./program-105283c5.js');
|
|
17
17
|
var fs = require('fs');
|
|
18
|
-
var compiler_host = require('./compiler_host-
|
|
19
|
-
var project_tsconfig_paths = require('./project_tsconfig_paths-
|
|
20
|
-
var nodes = require('./nodes-
|
|
21
|
-
var imports = require('./imports-
|
|
18
|
+
var compiler_host = require('./compiler_host-9a4d0c2b.js');
|
|
19
|
+
var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
|
|
20
|
+
var nodes = require('./nodes-0e7d45ca.js');
|
|
21
|
+
var imports = require('./imports-4ac08251.js');
|
|
22
22
|
require('module');
|
|
23
23
|
require('url');
|
|
24
24
|
require('@angular-devkit/core');
|
|
@@ -32,7 +32,7 @@ var ts__default = /*#__PURE__*/_interopDefaultLegacy(ts);
|
|
|
32
32
|
* @description
|
|
33
33
|
* Entry point for all public APIs of the compiler-cli package.
|
|
34
34
|
*/
|
|
35
|
-
new checker.Version('19.0.0-next.
|
|
35
|
+
new checker.Version('19.0.0-next.8');
|
|
36
36
|
|
|
37
37
|
function createProgram({ rootNames, options, host, oldProgram, }) {
|
|
38
38
|
return new program.NgtscProgram(rootNames, options, host, oldProgram);
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
"factory": "./bundles/signal-input-migration#migrate",
|
|
30
30
|
"schema": "./ng-generate/signal-input-migration/schema.json",
|
|
31
31
|
"aliases": ["signal-inputs", "signal-input"]
|
|
32
|
+
},
|
|
33
|
+
"signal-queries-migration": {
|
|
34
|
+
"description": "Updates query declarations to signal queries, while also migrating all relevant references.",
|
|
35
|
+
"factory": "./bundles/signal-queries-migration#migrate",
|
|
36
|
+
"schema": "./ng-generate/signal-queries-migration/schema.json",
|
|
37
|
+
"aliases": ["signal-queries", "signal-query", "signal-query-migration"]
|
|
32
38
|
}
|
|
33
39
|
}
|
|
34
40
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "AngularSignalQueriesMigration",
|
|
4
|
+
"title": "Angular Signal Queries migration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Path to the directory where all queries 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 queries 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
|
+
}
|
|
19
|
+
}
|
package/testing/index.d.ts
CHANGED