@tsed/cli-plugin-vitest 5.2.9 → 5.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/cli-plugin-vitest",
3
- "version": "5.2.9",
3
+ "version": "5.3.0",
4
4
  "description": "Ts.ED CLI plugin. Add Jest support",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/cjs/index.js",
@@ -20,11 +20,11 @@
20
20
  "test": "cross-env NODE_ENV=test yarn jest --max-workers=2 --passWithNoTests && jest-coverage-thresholds-bumper"
21
21
  },
22
22
  "devDependencies": {
23
- "@tsed/cli": "5.2.9",
24
- "@tsed/cli-core": "5.2.9",
25
- "@tsed/eslint": "5.2.9",
26
- "@tsed/jest-config": "5.2.9",
27
- "@tsed/typescript": "5.2.9",
23
+ "@tsed/cli": "5.3.0",
24
+ "@tsed/cli-core": "5.3.0",
25
+ "@tsed/eslint": "5.3.0",
26
+ "@tsed/jest-config": "5.3.0",
27
+ "@tsed/typescript": "5.3.0",
28
28
  "cross-env": "7.0.3",
29
29
  "eslint": "8.22.0",
30
30
  "jest": "29.5.0"
@@ -10,7 +10,12 @@ export default defineConfig({
10
10
  // This is required to build the test files with SWC
11
11
  swc.vite({
12
12
  // Explicitly set the module type to avoid inheriting this value from a `.swcrc` config file
13
- module: {type: "es6"}
13
+ module: {type: "es6"},
14
+ jsc: {
15
+ transform: {
16
+ useDefineForClassFields: false
17
+ }
18
+ }
14
19
  })
15
20
  ]
16
21
  });