@nx/vitest 23.2.0-beta.11 → 23.2.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.
|
@@ -62,12 +62,11 @@ exports.createNodes = [
|
|
|
62
62
|
if (!cached) {
|
|
63
63
|
return { projects: {} };
|
|
64
64
|
}
|
|
65
|
-
const {
|
|
65
|
+
const { metadata, targets } = cached;
|
|
66
66
|
const project = {
|
|
67
67
|
root: projectRoot,
|
|
68
68
|
targets,
|
|
69
69
|
metadata,
|
|
70
|
-
projectType,
|
|
71
70
|
};
|
|
72
71
|
return {
|
|
73
72
|
projects: {
|
|
@@ -228,7 +227,7 @@ async function buildVitestTargets(configFilePath, projectRoot, options, context,
|
|
|
228
227
|
}
|
|
229
228
|
}
|
|
230
229
|
}
|
|
231
|
-
return { targets, metadata
|
|
230
|
+
return { targets, metadata };
|
|
232
231
|
}
|
|
233
232
|
async function testTarget(namedInputs, outputs, projectRoot, testMode = 'watch', pmc, isTypecheckEnabled, tsconfigInputs) {
|
|
234
233
|
const command = testMode === 'run' ? 'vitest run' : 'vitest';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/vitest",
|
|
3
3
|
"description": "The Nx Plugin for Vitest to enable fast unit testing with Vitest.",
|
|
4
|
-
"version": "23.2.0-beta.
|
|
4
|
+
"version": "23.2.0-beta.12",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -81,13 +81,13 @@
|
|
|
81
81
|
"tslib": "^2.3.0",
|
|
82
82
|
"semver": "^7.6.3",
|
|
83
83
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
84
|
-
"@nx/
|
|
85
|
-
"@nx/
|
|
84
|
+
"@nx/devkit": "23.2.0-beta.12",
|
|
85
|
+
"@nx/js": "23.2.0-beta.12"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"vitest": "^3.0.0 || ^4.0.0",
|
|
89
89
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
90
|
-
"@nx/eslint": "23.2.0-beta.
|
|
90
|
+
"@nx/eslint": "23.2.0-beta.12"
|
|
91
91
|
},
|
|
92
92
|
"peerDependenciesMeta": {
|
|
93
93
|
"@nx/eslint": {
|
|
@@ -101,6 +101,6 @@
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"nx": "23.2.0-beta.
|
|
104
|
+
"nx": "23.2.0-beta.12"
|
|
105
105
|
}
|
|
106
106
|
}
|