@nx/vitest 0.0.0-pr-33435-8aff8f5 → 0.0.0-pr-33440-4f75d1c
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": "0.0.0-pr-
|
|
4
|
+
"version": "0.0.0-pr-33440-4f75d1c",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"executors": "./executors.json",
|
|
49
49
|
"generators": "./generators.json",
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@nx/devkit": "0.0.0-pr-
|
|
52
|
-
"@nx/js": "0.0.0-pr-
|
|
51
|
+
"@nx/devkit": "0.0.0-pr-33440-4f75d1c",
|
|
52
|
+
"@nx/js": "0.0.0-pr-33440-4f75d1c",
|
|
53
53
|
"tslib": "^2.3.0",
|
|
54
54
|
"semver": "^7.6.3",
|
|
55
55
|
"@phenomnomnominal/tsquery": "~5.0.1"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"nx": "0.0.0-pr-
|
|
70
|
+
"nx": "0.0.0-pr-33440-4f75d1c"
|
|
71
71
|
},
|
|
72
72
|
"types": "./src/index.d.ts"
|
|
73
73
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/vitest/src/generators/configuration/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EASjB,IAAI,EAGL,MAAM,YAAY,CAAC;AAcpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQjD;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,qBAAqB,EAC7B,SAAS,UAAQ,8BAOlB;AAED,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,qBAAqB,EAC7B,SAAS,UAAQ,8BAqLlB;
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../../../packages/vitest/src/generators/configuration/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,iBAAiB,EASjB,IAAI,EAGL,MAAM,YAAY,CAAC;AAcpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAQjD;;GAEG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,qBAAqB,EAC7B,SAAS,UAAQ,8BAOlB;AAED,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,qBAAqB,EAC7B,SAAS,UAAQ,8BAqLlB;AAgMD,eAAe,sBAAsB,CAAC"}
|
|
@@ -279,6 +279,10 @@ function isAngularV20(tree) {
|
|
|
279
279
|
return true;
|
|
280
280
|
}
|
|
281
281
|
const cleanedAngularVersion = (0, semver_1.clean)(angularVersion) ?? (0, semver_1.coerce)(angularVersion).version;
|
|
282
|
+
if (typeof cleanedAngularVersion !== 'string') {
|
|
283
|
+
// assume the latest version will be installed,
|
|
284
|
+
return true;
|
|
285
|
+
}
|
|
282
286
|
return (0, semver_1.major)(cleanedAngularVersion) >= 20;
|
|
283
287
|
}
|
|
284
288
|
exports.default = configurationGenerator;
|