@workleap/swc-configs 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @workleap/swc-configs
2
2
 
3
+ ## 2.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#143](https://github.com/gsoft-inc/wl-web-configs/pull/143) [`334088f`](https://github.com/gsoft-inc/wl-web-configs/commit/334088fac63aad6cc245ee3300da076e5c201287) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Updated to SWC 1.3.85
8
+
3
9
  ## 2.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/build.js CHANGED
@@ -39,11 +39,7 @@ function defineBuildConfig(targets, options = {}) {
39
39
  },
40
40
  module: {
41
41
  // The output module resolution system that the code will be compiled for.
42
- type: "es6",
43
- // Prevent SWC from exporting the `__esModule` property.
44
- strict: true,
45
- // Preserve dynamic imports.
46
- ignoreDynamic: true
42
+ type: "es6"
47
43
  },
48
44
  env: {
49
45
  // jsc.target is not provided because the provided targets takes precedence.
package/dist/build.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { defineBuildConfig } from './chunk-PTGQ44ZX.mjs';
1
+ export { defineBuildConfig } from './chunk-5DI7IZIG.mjs';
2
2
  import './chunk-3UBBOKDF.mjs';
@@ -34,11 +34,7 @@ function defineBuildConfig(targets, options = {}) {
34
34
  },
35
35
  module: {
36
36
  // The output module resolution system that the code will be compiled for.
37
- type: "es6",
38
- // Prevent SWC from exporting the `__esModule` property.
39
- strict: true,
40
- // Preserve dynamic imports.
41
- ignoreDynamic: true
37
+ type: "es6"
42
38
  },
43
39
  env: {
44
40
  // jsc.target is not provided because the provided targets takes precedence.
@@ -29,11 +29,7 @@ function defineJestConfig(options = {}) {
29
29
  },
30
30
  module: {
31
31
  // The output module resolution system that the code will be compiled for.
32
- type: "es6",
33
- // Prevent SWC from exporting the `__esModule` property.
34
- strict: true,
35
- // Preserve dynamic imports.
36
- ignoreDynamic: true
32
+ type: "es6"
37
33
  }
38
34
  };
39
35
  const transformedConfig = applyTransformers(config, transformers, {
@@ -33,11 +33,7 @@ function defineDevConfig(targets, options = {}) {
33
33
  },
34
34
  module: {
35
35
  // The output module resolution system that the code will be compiled for.
36
- type: "es6",
37
- // Prevent SWC from exporting the `__esModule` property.
38
- strict: true,
39
- // Preserve dynamic imports.
40
- ignoreDynamic: true
36
+ type: "es6"
41
37
  },
42
38
  env: {
43
39
  // jsc.target is not provided because the provided targets takes precedence.
package/dist/dev.js CHANGED
@@ -38,11 +38,7 @@ function defineDevConfig(targets, options = {}) {
38
38
  },
39
39
  module: {
40
40
  // The output module resolution system that the code will be compiled for.
41
- type: "es6",
42
- // Prevent SWC from exporting the `__esModule` property.
43
- strict: true,
44
- // Preserve dynamic imports.
45
- ignoreDynamic: true
41
+ type: "es6"
46
42
  },
47
43
  env: {
48
44
  // jsc.target is not provided because the provided targets takes precedence.
package/dist/dev.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { defineDevConfig } from './chunk-HMVMGPPX.mjs';
1
+ export { defineDevConfig } from './chunk-IQX2HH4E.mjs';
2
2
  import './chunk-3UBBOKDF.mjs';
package/dist/index.js CHANGED
@@ -115,11 +115,7 @@ function defineBuildConfig(targets, options = {}) {
115
115
  },
116
116
  module: {
117
117
  // The output module resolution system that the code will be compiled for.
118
- type: "es6",
119
- // Prevent SWC from exporting the `__esModule` property.
120
- strict: true,
121
- // Preserve dynamic imports.
122
- ignoreDynamic: true
118
+ type: "es6"
123
119
  },
124
120
  env: {
125
121
  // jsc.target is not provided because the provided targets takes precedence.
@@ -165,11 +161,7 @@ function defineDevConfig(targets, options = {}) {
165
161
  },
166
162
  module: {
167
163
  // The output module resolution system that the code will be compiled for.
168
- type: "es6",
169
- // Prevent SWC from exporting the `__esModule` property.
170
- strict: true,
171
- // Preserve dynamic imports.
172
- ignoreDynamic: true
164
+ type: "es6"
173
165
  },
174
166
  env: {
175
167
  // jsc.target is not provided because the provided targets takes precedence.
@@ -211,11 +203,7 @@ function defineJestConfig(options = {}) {
211
203
  },
212
204
  module: {
213
205
  // The output module resolution system that the code will be compiled for.
214
- type: "es6",
215
- // Prevent SWC from exporting the `__esModule` property.
216
- strict: true,
217
- // Preserve dynamic imports.
218
- ignoreDynamic: true
206
+ type: "es6"
219
207
  }
220
208
  };
221
209
  const transformedConfig = applyTransformers(config, transformers, {
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { browserslistToSwc, createSwcTargetsFromBrowserslistEntries } from './chunk-MGMFB3UY.mjs';
2
- export { defineBuildConfig } from './chunk-PTGQ44ZX.mjs';
3
- export { defineDevConfig } from './chunk-HMVMGPPX.mjs';
4
- export { defineJestConfig } from './chunk-MYINGMHM.mjs';
2
+ export { defineBuildConfig } from './chunk-5DI7IZIG.mjs';
3
+ export { defineDevConfig } from './chunk-IQX2HH4E.mjs';
4
+ export { defineJestConfig } from './chunk-BAXEZBXT.mjs';
5
5
  import './chunk-3UBBOKDF.mjs';
package/dist/jest.js CHANGED
@@ -34,11 +34,7 @@ function defineJestConfig(options = {}) {
34
34
  },
35
35
  module: {
36
36
  // The output module resolution system that the code will be compiled for.
37
- type: "es6",
38
- // Prevent SWC from exporting the `__esModule` property.
39
- strict: true,
40
- // Preserve dynamic imports.
41
- ignoreDynamic: true
37
+ type: "es6"
42
38
  }
43
39
  };
44
40
  const transformedConfig = applyTransformers(config, transformers, {
package/dist/jest.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { defineJestConfig } from './chunk-MYINGMHM.mjs';
1
+ export { defineJestConfig } from './chunk-BAXEZBXT.mjs';
2
2
  import './chunk-3UBBOKDF.mjs';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workleap/swc-configs",
3
3
  "description": "Workleap recommended SWC configs.",
4
- "version": "2.1.1",
4
+ "version": "2.1.2",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
7
7
  "workleap",
@@ -32,17 +32,17 @@
32
32
  "directory": "packages/swc-configs"
33
33
  },
34
34
  "devDependencies": {
35
- "@swc/core": "1.3.82",
36
- "@swc/helpers": "0.5.1",
35
+ "@swc/core": "1.3.85",
36
+ "@swc/helpers": "0.5.2",
37
37
  "@swc/jest": "0.2.29",
38
- "@types/jest": "29.5.4",
38
+ "@types/jest": "29.5.5",
39
39
  "browserslist": "4.21.10",
40
- "jest": "29.6.4",
40
+ "jest": "29.7.0",
41
41
  "ts-node": "10.9.1",
42
42
  "tsup": "7.2.0",
43
43
  "typescript": "5.2.2",
44
- "@workleap/eslint-plugin": "2.1.0",
45
- "@workleap/tsup-configs": "3.0.0",
44
+ "@workleap/eslint-plugin": "2.1.1",
45
+ "@workleap/tsup-configs": "3.0.1",
46
46
  "@workleap/typescript-configs": "3.0.2"
47
47
  },
48
48
  "peerDependencies": {