Skip to content

Commit

Permalink
fix: use NodeNext in ng-schematics default tsconfig (#12622)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN authored Jun 19, 2024
1 parent c6d0fd0 commit 8d40b27
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "<%= tsConfigPath %>",
"compilerOptions": {
"module": "CommonJS",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"rootDir": "tests/",
"outDir": "build/",
"types": ["<%= testRunner %>"]
Expand Down
6 changes: 4 additions & 2 deletions packages/ng-schematics/test/src/ng-add.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ void describe('@puppeteer/ng-schematics: ng-add', () => {
expect(tsConfig).toMatchObject({
extends: '../tsconfig.json',
compilerOptions: {
module: 'CommonJS',
module: 'NodeNext',
moduleResolution: 'NodeNext',
},
});
});
Expand Down Expand Up @@ -222,7 +223,8 @@ void describe('@puppeteer/ng-schematics: ng-add', () => {
expect(tsConfig).toMatchObject({
extends: '../../../tsconfig.json',
compilerOptions: {
module: 'CommonJS',
module: 'NodeNext',
moduleResolution: 'NodeNext',
},
});
});
Expand Down

0 comments on commit 8d40b27

Please sign in to comment.