@nx/jest 17.2.0-beta.2 → 17.2.0-beta.4
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/migrations.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "17.2.0-beta.
|
|
3
|
+
"version": "17.2.0-beta.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"jest-util": "^29.4.1",
|
|
45
45
|
"resolve.exports": "1.1.0",
|
|
46
46
|
"tslib": "^2.3.0",
|
|
47
|
-
"@nx/devkit": "17.2.0-beta.
|
|
48
|
-
"@nx/js": "17.2.0-beta.
|
|
49
|
-
"@nrwl/jest": "17.2.0-beta.
|
|
47
|
+
"@nx/devkit": "17.2.0-beta.4",
|
|
48
|
+
"@nx/js": "17.2.0-beta.4",
|
|
49
|
+
"@nrwl/jest": "17.2.0-beta.4"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
@@ -10,9 +10,11 @@ const path_1 = require("path");
|
|
|
10
10
|
const devkit_1 = require("@nx/devkit");
|
|
11
11
|
const summary_1 = require("./summary");
|
|
12
12
|
const fs_1 = require("fs");
|
|
13
|
+
const js_1 = require("@nx/js");
|
|
13
14
|
process.env.NODE_ENV ??= 'test';
|
|
14
15
|
async function jestExecutor(options, context) {
|
|
15
16
|
const config = await jestConfigParser(options, context);
|
|
17
|
+
process.env['TS_NODE_PROJECT'] ??= (0, js_1.getRootTsConfigPath)();
|
|
16
18
|
const { results } = await (0, jest_1.runCLI)(config, [options.jestConfig]);
|
|
17
19
|
return { success: results.success };
|
|
18
20
|
}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export declare const jestTypesVersion = "^29.4.0";
|
|
|
5
5
|
export declare const tsJestVersion = "^29.1.0";
|
|
6
6
|
export declare const tslibVersion = "^2.3.0";
|
|
7
7
|
export declare const swcJestVersion = "0.2.20";
|
|
8
|
-
export declare const typesNodeVersion = "16.
|
|
8
|
+
export declare const typesNodeVersion = "18.16.9";
|
|
9
9
|
export declare const tsNodeVersion = "10.9.1";
|
package/src/utils/versions.js
CHANGED