Skip to content

Commit

Permalink
fix(js): fix inconsistent tsconfig module casing (#9320)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Mar 14, 2022
1 parent 7af7157 commit 5c0da2f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
@@ -1,7 +1,7 @@
{
"extends": "<%= rootTsConfigPath %>",
"compilerOptions": {
"module": "CommonJS"<% if (js) { %>,
"module": "commonjs"<% if (js) { %>,
"allowJs": true<% } %>
},
"files": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/generators/library/library.spec.ts
Expand Up @@ -140,7 +140,7 @@ describe('lib', () => {
Object {
"compilerOptions": Object {
"forceConsistentCasingInFileNames": true,
"module": "CommonJS",
"module": "commonjs",
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
Expand Down
Expand Up @@ -40,7 +40,7 @@ exports[`lib --testEnvironment should set target jest testEnvironment to node by
exports[`lib --unit-test-runner none should not generate test configuration 1`] = `
Object {
"compilerOptions": Object {
"module": "CommonJS",
"module": "commonjs",
},
"extends": "../../tsconfig.base.json",
"files": Array [],
Expand Down Expand Up @@ -70,7 +70,7 @@ Object {
exports[`lib nested should create a local tsconfig.json 1`] = `
Object {
"compilerOptions": Object {
"module": "CommonJS",
"module": "commonjs",
},
"extends": "../../../tsconfig.base.json",
"files": Array [],
Expand Down Expand Up @@ -102,7 +102,7 @@ export class MyLibModule {}
exports[`lib not nested should create a local tsconfig.json 1`] = `
Object {
"compilerOptions": Object {
"module": "CommonJS",
"module": "commonjs",
},
"extends": "../../tsconfig.base.json",
"files": Array [],
Expand Down

0 comments on commit 5c0da2f

Please sign in to comment.