@tsed/cli-plugin-jest
Advanced tools
Comparing version 6.1.8 to 6.1.9
@@ -18,4 +18,3 @@ import { __decorate, __metadata } from "tslib"; | ||
this.packageJson.addScripts({ | ||
test: `${runtime.run("test:lint")} && ${runtime.run("test:coverage")} `, | ||
"test:unit": "cross-env NODE_ENV=test jest", | ||
"test:unit": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest", | ||
"test:coverage": `${runtime.run("test:unit")} ` | ||
@@ -27,4 +26,4 @@ }); | ||
"@types/jest": "latest", | ||
jest: "latest", | ||
"ts-jest": "latest" | ||
"@swc/jest": "latest", | ||
jest: "latest" | ||
}); | ||
@@ -31,0 +30,0 @@ } |
@@ -10,3 +10,3 @@ import { __decorate, __metadata } from "tslib"; | ||
task: (ctx) => { | ||
return this.rootRenderer.renderAll(["jest.config.js.hbs"], ctx, { | ||
return this.rootRenderer.renderAll(["jest.config.ts.hbs"], ctx, { | ||
templateDir: `${TEMPLATE_DIR}/init` | ||
@@ -13,0 +13,0 @@ }); |
{ | ||
"name": "@tsed/cli-plugin-jest", | ||
"description": "Ts.ED CLI plugin. Add Jest support", | ||
"version": "6.1.8", | ||
"version": "6.1.9", | ||
"type": "module", | ||
@@ -24,5 +24,5 @@ "main": "./lib/esm/index.js", | ||
"devDependencies": { | ||
"@tsed/cli": "6.1.8", | ||
"@tsed/cli-core": "6.1.8", | ||
"@tsed/typescript": "6.1.8", | ||
"@tsed/cli": "6.1.9", | ||
"@tsed/cli-core": "6.1.9", | ||
"@tsed/typescript": "6.1.9", | ||
"cross-env": "7.0.3", | ||
@@ -29,0 +29,0 @@ "typescript": "5.6.2", |
16229
184