@angular/core 15.2.0-next.0 → 15.2.0-next.2
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/esm2020/src/di/interface/provider.mjs +1 -1
- package/esm2020/src/di/provider_collection.mjs +1 -1
- package/esm2020/src/di/r3_injector.mjs +1 -1
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +2 -2
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +2 -2
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +2 -2
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +2 -2
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +4 -4
- package/package.json +2 -1
- package/schematics/collection.json +10 -0
- package/schematics/migrations/relative-link-resolution/bundle.js +13 -10
- package/schematics/migrations/relative-link-resolution/bundle.js.map +2 -2
- package/schematics/migrations/router-link-with-href/bundle.js +25 -20
- package/schematics/migrations/router-link-with-href/bundle.js.map +2 -2
- package/schematics/ng-generate/standalone-migration/bundle.js +35611 -0
- package/schematics/ng-generate/standalone-migration/bundle.js.map +7 -0
- package/schematics/ng-generate/standalone-migration/schema.json +37 -0
- package/testing/index.d.ts +1 -1
- package/schematics/migrations/relative-link-resolution/bundle_metadata.json +0 -1
- package/schematics/migrations/router-link-with-href/bundle_metadata.json +0 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "AngularStandaloneMigration",
|
|
4
|
+
"title": "Angular Standalone Migration Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"mode": {
|
|
8
|
+
"description": "Operation that should be performed by the migrator",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"default": "convert-to-standalone",
|
|
11
|
+
"x-prompt": {
|
|
12
|
+
"message": "Choose the type of migration:",
|
|
13
|
+
"type": "list",
|
|
14
|
+
"items": [
|
|
15
|
+
{
|
|
16
|
+
"value": "convert-to-standalone",
|
|
17
|
+
"label": "Convert all components, directives and pipes to standalone"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"value": "prune-ng-modules",
|
|
21
|
+
"label": "Remove unnecessary NgModule classes"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"path": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"$default": {
|
|
29
|
+
"$source": "workingDirectory"
|
|
30
|
+
},
|
|
31
|
+
"description": "Path relative to the project root which should be migrated",
|
|
32
|
+
"x-prompt": "Which path in your project should be migrated?",
|
|
33
|
+
"default": "./"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": ["mode", "path"]
|
|
37
|
+
}
|
package/testing/index.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytes":10701,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytes":3789,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytes":12420,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs":{"bytes":9829,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs":{"bytes":6980,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/bundle.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":18915},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/bundle.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/index.mjs":{"bytesInOutput":1636},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytesInOutput":2237},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytesInOutput":1527},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytesInOutput":779},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/relative-link-resolution/util.mjs":{"bytesInOutput":1815}},"bytes":10705}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytes":10701,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytes":3789,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytes":12420,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs":{"bytes":14180,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs":{"bytes":7202,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs":{"bytes":13955,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs":{"bytes":7157,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/bundle.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":28707},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/bundle.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/index.mjs":{"bytesInOutput":1659},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/project_tsconfig_paths.mjs":{"bytesInOutput":2237},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/compiler_host.mjs":{"bytesInOutput":1527},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/parse_tsconfig.mjs":{"bytesInOutput":779},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/migrations/router-link-with-href/util.mjs":{"bytesInOutput":2429},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/imports.mjs":{"bytesInOutput":1762},"bazel-out/darwin_arm64-fastbuild/bin/packages/core/schematics/utils/typescript/nodes.mjs":{"bytesInOutput":302}},"bytes":13693}}}
|