Skip to content

Commit 7dfef71

Browse files
committed
refactor: deprecate transform option isolatedModules
Deprecate the option in favor of https://www.typescriptlang.org/tsconfig/#isolatedModules
1 parent 3ed6a4f commit 7dfef71

File tree

80 files changed

+348
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+348
-86
lines changed

e2e/const-enum/jest-transpiler-cjs.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export default {
66
[TS_JS_TRANSFORM_PATTERN]: [
77
'ts-jest',
88
{
9-
tsconfig: '<rootDir>/tsconfig-cjs.spec.json',
10-
isolatedModules: true,
9+
tsconfig: '<rootDir>/tsconfig-cjs-transpiler.spec.json',
1110
},
1211
],
1312
},

e2e/const-enum/jest-transpiler-esm.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export default {
77
[TS_JS_TRANSFORM_PATTERN]: [
88
'ts-jest',
99
{
10-
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
11-
isolatedModules: true,
10+
tsconfig: '<rootDir>/tsconfig-esm-transpiler.spec.json',
1211
useESM: true,
1312
},
1413
],
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig-cjs.spec.json",
3+
"compilerOptions": {
4+
"isolatedModules": true,
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig-esm.spec.json",
3+
"compilerOptions": {
4+
"isolatedModules": true,
5+
}
6+
}

e2e/enum/jest-transpiler-cjs.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export default {
66
[ESM_TS_JS_TRANSFORM_PATTERN]: [
77
'ts-jest',
88
{
9-
tsconfig: '<rootDir>/tsconfig-cjs.spec.json',
10-
isolatedModules: true,
9+
tsconfig: '<rootDir>/tsconfig-cjs-transpiler.spec.json',
1110
},
1211
],
1312
},

e2e/enum/jest-transpiler-esm.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export default {
77
[TS_JS_TRANSFORM_PATTERN]: [
88
'ts-jest',
99
{
10-
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
11-
isolatedModules: true,
10+
tsconfig: '<rootDir>/tsconfig-esm-transpiler.spec.json',
1211
useESM: true,
1312
},
1413
],
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig-cjs.spec.json",
3+
"compilerOptions": {
4+
"isolatedModules": true
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig-esm.spec.json",
3+
"compilerOptions": {
4+
"isolatedModules": true
5+
}
6+
}

e2e/esm-features/jest-compiler-esm.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
[TS_TRANSFORM_PATTERN]: [
88
'ts-jest',
99
{
10-
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
10+
tsconfig: '<rootDir>/tsconfig-esm-transpiler.spec.json',
1111
useESM: true,
1212
},
1313
],

e2e/esm-features/jest-transpiler-esm.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export default {
77
[TS_TRANSFORM_PATTERN]: [
88
'ts-jest',
99
{
10-
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
11-
isolatedModules: true,
10+
tsconfig: '<rootDir>/tsconfig-esm-transpiler.spec.json',
1211
useESM: true,
1312
},
1413
],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy