Commit 185b780
Migrates `packages/core/schematics` to `ts_project`. As part of this,
this commit cleans up some of the mixed module types and tsconfigs in
the folder. A single tsconfig (and it's test variant) are now used.
For the shipped schematics, we explicitly use the `.cjs` extension, so
that the bundles are properly recognized as CommonJS; even if they are
part of the `type: module` `@angular/core` package.
The `package.json` with `type: commonjs` is removed from
`packages/core/schematics` as it's no longer needed given the explicit
extension & caused issues as schematics are compiled with ESM but are
only later bundled for shipping & some tests as ESM.
PR Close #61420
1 parent f07ef54 commit 185b780Copy full SHA for 185b780
File tree
Expand file treeCollapse file tree
40 files changed
+266
-362
lines changedOpen diff view settings
Filter options
- packages
- common/http/test
- core/schematics
- migrations
- explicit-standalone-flag
- output-migration
- pending-tasks
- provide-initializer
- self-closing-tags-migration
- signal-migration
- src
- test
- ts-versions
- signal-queries-migration
- ng-generate
- cleanup-unused-imports
- control-flow-migration
- inject-migration
- output-migration
- route-lazy-loading
- self-closing-tags-migration
- signal-input-migration
- signal-queries-migration
- signals
- standalone-migration
- test
- utils
- tsurge
- helpers
- angular_devkit
- ast
- test
- tools
Expand file treeCollapse file tree
40 files changed
+266
-362
lines changedOpen diff view settings
Collapse file
packages/common/http/test/BUILD.bazel
Copy file name to clipboardExpand all lines: packages/common/http/test/BUILD.bazel+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
|
Collapse file
packages/core/schematics/BUILD.bazel
Copy file name to clipboardExpand all lines: packages/core/schematics/BUILD.bazel+18-6Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | 1 | |
3 | 2 | |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
15 | 28 | |
16 | 29 | |
17 | 30 | |
18 | 31 | |
19 | 32 | |
20 | 33 | |
21 | 34 | |
22 | | - |
23 | 35 | |
24 | 36 | |
25 | 37 | |
|
Collapse file
packages/core/schematics/collection.json
Copy file name to clipboardExpand all lines: packages/core/schematics/collection.json+10-10Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | 22 | |
23 | | - |
| 23 | + |
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
| 29 | + |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | | - |
| 52 | + |
53 | 53 | |
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | 60 | |
|
Collapse file
packages/core/schematics/migrations.json
Copy file name to clipboardExpand all lines: packages/core/schematics/migrations.json+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
Collapse file
packages/core/schematics/migrations/explicit-standalone-flag/BUILD.bazel
Copy file name to clipboard+5-7Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | 13 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
19 | 17 | |
20 | 18 | |
Collapse file
packages/core/schematics/migrations/output-migration/BUILD.bazel
Copy file name to clipboardExpand all lines: packages/core/schematics/migrations/output-migration/BUILD.bazel+15-11Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
| 10 | + |
14 | 11 | |
15 | 12 | |
16 | 13 | |
| ||
21 | 18 | |
22 | 19 | |
23 | 20 | |
24 | | - |
25 | | - |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
26 | 29 | |
27 | 30 | |
28 | 31 | |
29 | | - |
| 32 | + |
30 | 33 | |
31 | 34 | |
32 | 35 | |
33 | 36 | |
34 | 37 | |
35 | | - |
| 38 | + |
36 | 39 | |
37 | 40 | |
38 | 41 | |
39 | 42 | |
40 | 43 | |
| 44 | + |
41 | 45 | |
42 | 46 | |
43 | 47 | |
|
Collapse file
packages/core/schematics/migrations/pending-tasks/BUILD.bazel
Copy file name to clipboard+5-7Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | 13 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
19 | 17 | |
20 | 18 | |
Collapse file
packages/core/schematics/migrations/provide-initializer/BUILD.bazel
Copy file name to clipboard+5-7Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | 3 | |
4 | 4 | |
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | 13 | |
15 | | - |
16 | | - |
17 | | - |
18 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
19 | 17 | |
20 | 18 | |
Collapse file
packages/core/schematics/migrations/self-closing-tags-migration/BUILD.bazel
Copy file name to clipboardExpand all lines: packages/core/schematics/migrations/self-closing-tags-migration/BUILD.bazel+15-11Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
| 10 | + |
14 | 11 | |
15 | 12 | |
16 | 13 | |
| ||
22 | 19 | |
23 | 20 | |
24 | 21 | |
25 | | - |
26 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
27 | 30 | |
28 | 31 | |
29 | 32 | |
30 | | - |
| 33 | + |
31 | 34 | |
32 | 35 | |
33 | 36 | |
34 | 37 | |
35 | 38 | |
36 | | - |
| 39 | + |
37 | 40 | |
38 | 41 | |
39 | 42 | |
40 | 43 | |
41 | 44 | |
| 45 | + |
42 | 46 | |
43 | 47 | |
44 | 48 | |
|
Collapse file
packages/core/schematics/migrations/signal-migration/src/BUILD.bazel
Copy file name to clipboardExpand all lines: packages/core/schematics/migrations/signal-migration/src/BUILD.bazel+18-15Lines changed: 18 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
| 4 | + |
4 | 5 | |
5 | 6 | |
6 | 7 | |
7 | 8 | |
8 | 9 | |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 10 | + |
17 | 11 | |
18 | 12 | |
19 | 13 | |
| ||
38 | 32 | |
39 | 33 | |
40 | 34 | |
41 | | - |
42 | | - |
43 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
44 | 47 | |
45 | 48 | |
46 | 49 | |
47 | 50 | |
48 | 51 | |
49 | 52 | |
50 | | - |
| 53 | + |
51 | 54 | |
52 | 55 | |
53 | 56 | |
54 | 57 | |
55 | 58 | |
56 | 59 | |
57 | | - |
| 60 | + |
58 | 61 | |
59 | 62 | |
0 commit comments