@nx/jest 23.0.0-beta.11 → 23.0.0-beta.12
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": "@nx/jest",
|
|
3
|
-
"version": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.0-beta.12",
|
|
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": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@jest/reporters": "^30.0.2",
|
|
40
40
|
"@jest/test-result": "^30.0.2",
|
|
41
|
-
"@nx/devkit": "23.0.0-beta.
|
|
42
|
-
"@nx/js": "23.0.0-beta.
|
|
41
|
+
"@nx/devkit": "23.0.0-beta.12",
|
|
42
|
+
"@nx/js": "23.0.0-beta.12",
|
|
43
43
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
44
44
|
"identity-obj-proxy": "3.0.0",
|
|
45
45
|
"jest-config": "^30.0.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"yargs-parser": "21.1.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"nx": "23.0.0-beta.
|
|
56
|
+
"nx": "23.0.0-beta.12"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -214,7 +214,6 @@ async function buildJestTargets(rawConfig, needsDtsInputs, configFilePath, proje
|
|
|
214
214
|
const targetName = `${options.ciTargetName}--${relativePath}`;
|
|
215
215
|
dependsOn.push({
|
|
216
216
|
target: targetName,
|
|
217
|
-
projects: 'self',
|
|
218
217
|
params: 'forward',
|
|
219
218
|
options: 'forward',
|
|
220
219
|
});
|
|
@@ -318,7 +317,6 @@ async function buildJestTargets(rawConfig, needsDtsInputs, configFilePath, proje
|
|
|
318
317
|
const targetName = `${options.ciTargetName}--${relativePath}`;
|
|
319
318
|
dependsOn.push({
|
|
320
319
|
target: targetName,
|
|
321
|
-
projects: 'self',
|
|
322
320
|
params: 'forward',
|
|
323
321
|
options: 'forward',
|
|
324
322
|
});
|
|
@@ -4,7 +4,7 @@ exports.getJestProjectsAsync = getJestProjectsAsync;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
6
|
const path_1 = require("path");
|
|
7
|
-
const
|
|
7
|
+
const yargs_parser_1 = tslib_1.__importDefault(require("yargs-parser"));
|
|
8
8
|
function getJestConfigProjectPath(projectJestConfigPath) {
|
|
9
9
|
return (0, path_1.join)('<rootDir>', projectJestConfigPath);
|
|
10
10
|
}
|
|
@@ -98,7 +98,7 @@ function collectJestConfigFromCommand(command, cwd, jestConfigurations) {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
for (const match of matches) {
|
|
101
|
-
const parsed =
|
|
101
|
+
const parsed = (0, yargs_parser_1.default)(match, {
|
|
102
102
|
configuration: { 'strip-dashed': true },
|
|
103
103
|
string: ['config'],
|
|
104
104
|
});
|