@nx/jest 21.0.0-beta.2 → 21.0.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/package.json +3 -3
- package/src/plugins/plugin.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "21.0.0-beta.
|
|
3
|
+
"version": "21.0.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": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@jest/reporters": "^29.4.1",
|
|
39
39
|
"@jest/test-result": "^29.4.1",
|
|
40
|
-
"@nx/devkit": "21.0.0-beta.
|
|
41
|
-
"@nx/js": "21.0.0-beta.
|
|
40
|
+
"@nx/devkit": "21.0.0-beta.4",
|
|
41
|
+
"@nx/js": "21.0.0-beta.4",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"identity-obj-proxy": "3.0.0",
|
|
44
44
|
"jest-config": "^29.4.1",
|
package/src/plugins/plugin.js
CHANGED
|
@@ -124,11 +124,7 @@ async function buildJestTargets(configFilePath, projectRoot, options, context, p
|
|
|
124
124
|
const rawConfig = await (0, config_utils_1.loadConfigFile)(absConfigFilePath);
|
|
125
125
|
const targets = {};
|
|
126
126
|
const namedInputs = (0, get_named_inputs_1.getNamedInputs)(projectRoot, context);
|
|
127
|
-
const existingTsNodeCompilerOptions = process.env['TS_NODE_COMPILER_OPTIONS'];
|
|
128
127
|
const tsNodeCompilerOptions = JSON.stringify({
|
|
129
|
-
...(existingTsNodeCompilerOptions
|
|
130
|
-
? JSON.parse(existingTsNodeCompilerOptions)
|
|
131
|
-
: {}),
|
|
132
128
|
moduleResolution: 'node10',
|
|
133
129
|
module: 'commonjs',
|
|
134
130
|
customConditions: null,
|