Skip to content

Commit

Permalink
feat(tsconfig): set moduleDetection to be force
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Sep 26, 2023
1 parent 061e0f6 commit c578679
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/dry-pigs-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"git-validator": patch
"@git-validator/tsconfig": patch
---

feat(tsconfig): set `moduleDetection` to be `force`
1 change: 1 addition & 0 deletions packages/git-validator/tsconfig/cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down
1 change: 1 addition & 0 deletions packages/git-validator/tsconfig/esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down
1 change: 1 addition & 0 deletions packages/git-validator/tsconfig/legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig/cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig/esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down
1 change: 1 addition & 0 deletions packages/tsconfig/legacy.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,

"moduleDetection": "force", // https://github.com/zanminkian/git-validator/issues/88#issuecomment-1734416707
"module": "Node16",
"target": "ES2022",
"moduleResolution": "node16",
Expand Down

0 comments on commit c578679

Please sign in to comment.