@nx/vitest 22.3.0-canary.20251215-e864b6a → 22.3.0-canary.20251217-6323dba
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,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": "22.3.0-canary.
|
|
4
|
+
"version": "22.3.0-canary.20251217-6323dba",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"executors": "./executors.json",
|
|
53
53
|
"generators": "./generators.json",
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@nx/devkit": "22.3.0-canary.
|
|
56
|
-
"@nx/js": "22.3.0-canary.
|
|
55
|
+
"@nx/devkit": "22.3.0-canary.20251217-6323dba",
|
|
56
|
+
"@nx/js": "22.3.0-canary.20251217-6323dba",
|
|
57
57
|
"tslib": "^2.3.0",
|
|
58
58
|
"semver": "^7.6.3",
|
|
59
59
|
"@phenomnomnominal/tsquery": "~5.0.1"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"nx": "22.3.0-canary.
|
|
74
|
+
"nx": "22.3.0-canary.20251217-6323dba"
|
|
75
75
|
},
|
|
76
76
|
"types": "./src/index.d.ts"
|
|
77
77
|
}
|
|
@@ -13,7 +13,6 @@ These instructions guide you through migrating an Nx workspace containing multip
|
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
2. **Locate all Vitest configuration files**:
|
|
16
|
-
|
|
17
16
|
- Search for `vitest.config.{ts,js,mjs}`
|
|
18
17
|
- Search for `vitest.workspace.{ts,js,mjs}`
|
|
19
18
|
- Check `project.json` files for inline Vitest configuration
|
|
@@ -37,7 +37,7 @@ async function ignoreVitestTempFilesInEslintConfig(tree, projectRoot) {
|
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
// for flat config, we update the root config file
|
|
40
|
-
const directory = isUsingFlatConfig ? '' : projectRoot ?? '';
|
|
40
|
+
const directory = isUsingFlatConfig ? '' : (projectRoot ?? '');
|
|
41
41
|
addIgnoresToLintConfig(tree, directory, ['**/vitest.config.*.timestamp*']);
|
|
42
42
|
}
|
|
43
43
|
function isEslintInstalled(tree) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/vitest/src/utils/options-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAKhB,MAAM,YAAY,CAAC;AAGpB;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAgCpB;AAED,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"options-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/vitest/src/utils/options-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAKhB,MAAM,YAAY,CAAC;AAGpB;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,UAAU,CAAC,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAgCpB;AAED,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,GAClB,MAAM,GAAG,SAAS,CAcpB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,OAG1E"}
|