From c578679373daaf99a527005006744028e7cc3588 Mon Sep 17 00:00:00 2001 From: zanminkian Date: Tue, 26 Sep 2023 08:20:55 +0000 Subject: [PATCH] feat(tsconfig): set `moduleDetection` to be `force` --- .changeset/dry-pigs-heal.md | 6 ++++++ packages/git-validator/tsconfig/cjs.json | 1 + packages/git-validator/tsconfig/esm.json | 1 + packages/git-validator/tsconfig/legacy.json | 1 + packages/tsconfig/cjs.json | 1 + packages/tsconfig/esm.json | 1 + packages/tsconfig/legacy.json | 1 + 7 files changed, 12 insertions(+) create mode 100644 .changeset/dry-pigs-heal.md diff --git a/.changeset/dry-pigs-heal.md b/.changeset/dry-pigs-heal.md new file mode 100644 index 00000000..08826e39 --- /dev/null +++ b/.changeset/dry-pigs-heal.md @@ -0,0 +1,6 @@ +--- +"git-validator": patch +"@git-validator/tsconfig": patch +--- + +feat(tsconfig): set `moduleDetection` to be `force` diff --git a/packages/git-validator/tsconfig/cjs.json b/packages/git-validator/tsconfig/cjs.json index 89dea58f..5ddab52b 100644 --- a/packages/git-validator/tsconfig/cjs.json +++ b/packages/git-validator/tsconfig/cjs.json @@ -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", diff --git a/packages/git-validator/tsconfig/esm.json b/packages/git-validator/tsconfig/esm.json index 3aeecb87..7d28b189 100644 --- a/packages/git-validator/tsconfig/esm.json +++ b/packages/git-validator/tsconfig/esm.json @@ -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", diff --git a/packages/git-validator/tsconfig/legacy.json b/packages/git-validator/tsconfig/legacy.json index 690dfc17..cb7fa2f2 100644 --- a/packages/git-validator/tsconfig/legacy.json +++ b/packages/git-validator/tsconfig/legacy.json @@ -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", diff --git a/packages/tsconfig/cjs.json b/packages/tsconfig/cjs.json index 89dea58f..5ddab52b 100644 --- a/packages/tsconfig/cjs.json +++ b/packages/tsconfig/cjs.json @@ -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", diff --git a/packages/tsconfig/esm.json b/packages/tsconfig/esm.json index 3aeecb87..7d28b189 100644 --- a/packages/tsconfig/esm.json +++ b/packages/tsconfig/esm.json @@ -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", diff --git a/packages/tsconfig/legacy.json b/packages/tsconfig/legacy.json index 690dfc17..cb7fa2f2 100644 --- a/packages/tsconfig/legacy.json +++ b/packages/tsconfig/legacy.json @@ -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",