@nx/vite 22.6.3 → 22.6.5
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 +6 -6
- package/src/generators/configuration/schema.d.ts +1 -0
- package/src/generators/init/lib/utils.d.ts.map +1 -1
- package/src/generators/init/lib/utils.js +42 -12
- package/src/plugins/plugin.d.ts.map +1 -1
- package/src/plugins/plugin.js +16 -15
- package/src/utils/versions.d.ts +7 -7
- package/src/utils/versions.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/vite",
|
|
3
|
-
"version": "22.6.
|
|
3
|
+
"version": "22.6.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for building and testing applications using Vite",
|
|
6
6
|
"repository": {
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"migrations": "./migrations.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nx/devkit": "22.6.
|
|
33
|
+
"@nx/devkit": "22.6.5",
|
|
34
34
|
"@phenomnomnominal/tsquery": "~6.1.4",
|
|
35
35
|
"enquirer": "~2.3.6",
|
|
36
|
-
"@nx/js": "22.6.
|
|
37
|
-
"@nx/vitest": "22.6.
|
|
38
|
-
"picomatch": "4.0.
|
|
36
|
+
"@nx/js": "22.6.5",
|
|
37
|
+
"@nx/vitest": "22.6.5",
|
|
38
|
+
"picomatch": "4.0.4",
|
|
39
39
|
"tsconfig-paths": "^4.1.2",
|
|
40
40
|
"semver": "^7.6.3",
|
|
41
41
|
"tslib": "^2.3.0",
|
|
42
42
|
"ajv": "^8.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"nx": "22.6.
|
|
45
|
+
"nx": "22.6.5"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vite/src/generators/init/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../../packages/vite/src/generators/init/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,IAAI,EAGL,MAAM,YAAY,CAAC;AAWpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAyBhD,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,mBAAmB,mDAuD5B;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,cAgB/C"}
|
|
@@ -3,33 +3,63 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.checkDependenciesInstalled = checkDependenciesInstalled;
|
|
4
4
|
exports.moveToDevDependencies = moveToDevDependencies;
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
|
-
const versions_1 = require("
|
|
6
|
+
const versions_1 = require("@nx/js/src/utils/versions");
|
|
7
|
+
const semver_1 = require("semver");
|
|
8
|
+
const versions_2 = require("../../../utils/versions");
|
|
7
9
|
const version_utils_1 = require("../../../utils/version-utils");
|
|
10
|
+
function hasIncompatibleInstalledEsbuild(host) {
|
|
11
|
+
const installedEsbuildVersion = (0, devkit_1.getDependencyVersionFromPackageJson)(host, 'esbuild');
|
|
12
|
+
if (!installedEsbuildVersion) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
try {
|
|
16
|
+
return !(0, semver_1.intersects)(installedEsbuildVersion, versions_1.esbuildVersion, {
|
|
17
|
+
includePrerelease: true,
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
catch {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
8
24
|
async function checkDependenciesInstalled(host, schema) {
|
|
9
25
|
const { vitest } = await (0, version_utils_1.getVitestDependenciesVersionsToInstall)(host);
|
|
10
26
|
// Determine which vite version to install:
|
|
11
27
|
// 1. Explicit flags take priority (useViteV5/V6/V7)
|
|
12
28
|
// 2. If vite is already installed, keep the matching major version
|
|
13
|
-
// 3.
|
|
29
|
+
// 3. If esbuild is already installed but incompatible with Vite 8, use Vite 7
|
|
30
|
+
// 4. Otherwise, use the latest default (^8.0.0)
|
|
14
31
|
const installedMajor = (0, version_utils_1.getInstalledViteMajorVersion)(host);
|
|
32
|
+
const installedEsbuildVersion = (0, devkit_1.getDependencyVersionFromPackageJson)(host, 'esbuild');
|
|
33
|
+
const useViteV7ForEsbuildCompatibility = installedMajor == null && hasIncompatibleInstalledEsbuild(host);
|
|
34
|
+
if (useViteV7ForEsbuildCompatibility) {
|
|
35
|
+
devkit_1.output.warn({
|
|
36
|
+
title: 'Installed esbuild is incompatible with Vite 8. Using Vite 7.',
|
|
37
|
+
bodyLines: [
|
|
38
|
+
`Found esbuild version "${installedEsbuildVersion}" in the workspace root package.json.`,
|
|
39
|
+
`Update esbuild to a range compatible with ${versions_1.esbuildVersion} if you want newly generated Vite projects to use Vite 8 by default.`,
|
|
40
|
+
],
|
|
41
|
+
});
|
|
42
|
+
}
|
|
15
43
|
const viteVersionToInstall = schema.useViteV5
|
|
16
|
-
?
|
|
44
|
+
? versions_2.viteV5Version
|
|
17
45
|
: schema.useViteV6
|
|
18
|
-
?
|
|
19
|
-
: schema.useViteV7 ||
|
|
20
|
-
|
|
46
|
+
? versions_2.viteV6Version
|
|
47
|
+
: schema.useViteV7 ||
|
|
48
|
+
installedMajor === 7 ||
|
|
49
|
+
useViteV7ForEsbuildCompatibility
|
|
50
|
+
? versions_2.viteV7Version
|
|
21
51
|
: installedMajor === 6
|
|
22
|
-
?
|
|
52
|
+
? versions_2.viteV6Version
|
|
23
53
|
: installedMajor === 5
|
|
24
|
-
?
|
|
25
|
-
:
|
|
54
|
+
? versions_2.viteV5Version
|
|
55
|
+
: versions_2.viteVersion;
|
|
26
56
|
return (0, devkit_1.addDependenciesToPackageJson)(host, {}, {
|
|
27
|
-
'@nx/vite':
|
|
28
|
-
'@nx/web':
|
|
57
|
+
'@nx/vite': versions_2.nxVersion,
|
|
58
|
+
'@nx/web': versions_2.nxVersion,
|
|
29
59
|
vite: viteVersionToInstall,
|
|
30
60
|
vitest: vitest,
|
|
31
61
|
'@vitest/ui': vitest,
|
|
32
|
-
jiti:
|
|
62
|
+
jiti: versions_2.jitiVersion,
|
|
33
63
|
}, undefined, schema.keepExistingVersions);
|
|
34
64
|
}
|
|
35
65
|
function moveToDevDependencies(tree) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/vite/src/plugins/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAGlB,aAAa,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/vite/src/plugins/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAGlB,aAAa,EASd,MAAM,YAAY,CAAC;AAepB,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAiBD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAIF,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,iBAAiB,CAwGxD,CAAC;AAEF,eAAO,MAAM,aAAa,kCAAc,CAAC"}
|
package/src/plugins/plugin.js
CHANGED
|
@@ -14,7 +14,6 @@ const cache_directory_1 = require("nx/src/utils/cache-directory");
|
|
|
14
14
|
const plugins_1 = require("nx/src/utils/plugins");
|
|
15
15
|
const executor_utils_1 = require("../utils/executor-utils");
|
|
16
16
|
const picomatch = require("picomatch");
|
|
17
|
-
const pmc = (0, devkit_1.getPackageManagerCommand)();
|
|
18
17
|
function readTargetsCache(cachePath) {
|
|
19
18
|
return process.env.NX_CACHE_PROJECT_GRAPH !== 'false' && (0, node_fs_1.existsSync)(cachePath)
|
|
20
19
|
? (0, devkit_1.readJsonFile)(cachePath)
|
|
@@ -50,7 +49,9 @@ exports.createNodes = [
|
|
|
50
49
|
roots: [],
|
|
51
50
|
configFiles: [],
|
|
52
51
|
});
|
|
53
|
-
const
|
|
52
|
+
const detectedPackageManager = (0, devkit_1.detectPackageManager)(context.workspaceRoot);
|
|
53
|
+
const pmc = (0, devkit_1.getPackageManagerCommand)(detectedPackageManager);
|
|
54
|
+
const lockfile = (0, js_1.getLockFileName)(detectedPackageManager);
|
|
54
55
|
const hashes = await (0, calculate_hash_for_create_nodes_1.calculateHashesForCreateNodes)(projectRoots, { ...normalizedOptions, isUsingTsSolutionSetup }, context, projectRoots.map((r) => [lockfile]));
|
|
55
56
|
try {
|
|
56
57
|
return await (0, devkit_1.createNodesFromFiles)(async (configFile, _, context, idx) => {
|
|
@@ -70,7 +71,7 @@ exports.createNodes = [
|
|
|
70
71
|
// for different config files.
|
|
71
72
|
const hash = hashes[idx] + configFile;
|
|
72
73
|
const { projectType, metadata, targets } = (targetsCache[hash] ??=
|
|
73
|
-
await buildViteTargets(configFile, projectRoot, normalizedOptions, tsConfigFiles, hasReactRouterConfig, isUsingTsSolutionSetup, context));
|
|
74
|
+
await buildViteTargets(configFile, projectRoot, normalizedOptions, tsConfigFiles, hasReactRouterConfig, isUsingTsSolutionSetup, context, pmc));
|
|
74
75
|
const project = {
|
|
75
76
|
root: projectRoot,
|
|
76
77
|
targets,
|
|
@@ -94,7 +95,7 @@ exports.createNodes = [
|
|
|
94
95
|
},
|
|
95
96
|
];
|
|
96
97
|
exports.createNodesV2 = exports.createNodes;
|
|
97
|
-
async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFiles, hasReactRouterConfig, isUsingTsSolutionSetup, context) {
|
|
98
|
+
async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFiles, hasReactRouterConfig, isUsingTsSolutionSetup, context, pmc) {
|
|
98
99
|
const absoluteConfigFilePath = (0, devkit_1.joinPathFragments)(context.workspaceRoot, configFilePath);
|
|
99
100
|
// Workaround for the `build$3 is not a function` error that we sometimes see in agents.
|
|
100
101
|
// This should be removed later once we address the issue properly
|
|
@@ -141,7 +142,7 @@ async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFi
|
|
|
141
142
|
const targets = {};
|
|
142
143
|
// if file is vitest.config or vite.config has definition for test, create targets for test and/or atomized tests
|
|
143
144
|
if (configFilePath.includes('vitest.config') || hasTest) {
|
|
144
|
-
targets[options.testTargetName] = await testTarget(namedInputs, testOutputs, projectRoot);
|
|
145
|
+
targets[options.testTargetName] = await testTarget(namedInputs, testOutputs, projectRoot, pmc);
|
|
145
146
|
if (options.ciTargetName) {
|
|
146
147
|
const groupName = options.ciGroupName ?? (0, plugins_1.deriveGroupNameFromTarget)(options.ciTargetName);
|
|
147
148
|
const targetGroup = [];
|
|
@@ -224,10 +225,10 @@ async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFi
|
|
|
224
225
|
if (!configFilePath.includes('vitest.config') &&
|
|
225
226
|
!hasRemixPlugin &&
|
|
226
227
|
isBuildable) {
|
|
227
|
-
targets[options.buildTargetName] = await buildTarget(options.buildTargetName, namedInputs, buildOutputs, projectRoot, isUsingTsSolutionSetup);
|
|
228
|
+
targets[options.buildTargetName] = await buildTarget(options.buildTargetName, namedInputs, buildOutputs, projectRoot, isUsingTsSolutionSetup, pmc);
|
|
228
229
|
// If running in library mode, then there is nothing to serve.
|
|
229
230
|
if (!viteBuildConfig.build?.lib || hasServeConfig) {
|
|
230
|
-
const devTarget = serveTarget(projectRoot, isUsingTsSolutionSetup);
|
|
231
|
+
const devTarget = serveTarget(projectRoot, isUsingTsSolutionSetup, pmc);
|
|
231
232
|
targets[options.serveTargetName] = {
|
|
232
233
|
...devTarget,
|
|
233
234
|
metadata: {
|
|
@@ -236,7 +237,7 @@ async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFi
|
|
|
236
237
|
},
|
|
237
238
|
};
|
|
238
239
|
targets[options.devTargetName] = devTarget;
|
|
239
|
-
targets[options.previewTargetName] = previewTarget(projectRoot, options.buildTargetName);
|
|
240
|
+
targets[options.previewTargetName] = previewTarget(projectRoot, options.buildTargetName, pmc);
|
|
240
241
|
targets[options.serveStaticTargetName] = serveStaticTarget(options, isUsingTsSolutionSetup);
|
|
241
242
|
}
|
|
242
243
|
}
|
|
@@ -290,7 +291,7 @@ async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFi
|
|
|
290
291
|
projectType: viteBuildConfig.build?.lib ? 'library' : 'application',
|
|
291
292
|
};
|
|
292
293
|
}
|
|
293
|
-
async function buildTarget(buildTargetName, namedInputs, outputs, projectRoot, isUsingTsSolutionSetup) {
|
|
294
|
+
async function buildTarget(buildTargetName, namedInputs, outputs, projectRoot, isUsingTsSolutionSetup, pmc) {
|
|
294
295
|
const buildTarget = {
|
|
295
296
|
command: `vite build`,
|
|
296
297
|
options: { cwd: (0, devkit_1.joinPathFragments)(projectRoot) },
|
|
@@ -324,7 +325,7 @@ async function buildTarget(buildTargetName, namedInputs, outputs, projectRoot, i
|
|
|
324
325
|
}
|
|
325
326
|
return buildTarget;
|
|
326
327
|
}
|
|
327
|
-
function serveTarget(projectRoot, isUsingTsSolutionSetup) {
|
|
328
|
+
function serveTarget(projectRoot, isUsingTsSolutionSetup, pmc) {
|
|
328
329
|
const targetConfig = {
|
|
329
330
|
continuous: true,
|
|
330
331
|
command: `vite`,
|
|
@@ -349,7 +350,7 @@ function serveTarget(projectRoot, isUsingTsSolutionSetup) {
|
|
|
349
350
|
}
|
|
350
351
|
return targetConfig;
|
|
351
352
|
}
|
|
352
|
-
function previewTarget(projectRoot, buildTargetName) {
|
|
353
|
+
function previewTarget(projectRoot, buildTargetName, pmc) {
|
|
353
354
|
const targetConfig = {
|
|
354
355
|
continuous: true,
|
|
355
356
|
command: `vite preview`,
|
|
@@ -372,7 +373,7 @@ function previewTarget(projectRoot, buildTargetName) {
|
|
|
372
373
|
};
|
|
373
374
|
return targetConfig;
|
|
374
375
|
}
|
|
375
|
-
async function testTarget(namedInputs, outputs, projectRoot) {
|
|
376
|
+
async function testTarget(namedInputs, outputs, projectRoot, pmc) {
|
|
376
377
|
return {
|
|
377
378
|
command: `vitest`,
|
|
378
379
|
options: { cwd: (0, devkit_1.joinPathFragments)(projectRoot) },
|
|
@@ -453,10 +454,10 @@ function normalizeOutputPath(outputPath, projectRoot, workspaceRoot, path) {
|
|
|
453
454
|
}
|
|
454
455
|
else {
|
|
455
456
|
if (outputPath.startsWith('..')) {
|
|
456
|
-
return (0,
|
|
457
|
+
return (0, devkit_1.joinPathFragments)('{workspaceRoot}', projectRoot, outputPath);
|
|
457
458
|
}
|
|
458
459
|
else {
|
|
459
|
-
return (0,
|
|
460
|
+
return (0, devkit_1.joinPathFragments)('{projectRoot}', outputPath);
|
|
460
461
|
}
|
|
461
462
|
}
|
|
462
463
|
}
|
|
@@ -493,5 +494,5 @@ async function getTestPathsRelativeToProjectRoot(projectRoot, workspaceRoot) {
|
|
|
493
494
|
const relevantTestSpecifications = await vitest.getRelevantTestSpecifications();
|
|
494
495
|
return relevantTestSpecifications
|
|
495
496
|
.filter((ts) => projectRoot === '.' ? true : ts.moduleId.startsWith(fullProjectRoot))
|
|
496
|
-
.map((ts) => (0, node_path_1.relative)(projectRoot, ts.moduleId));
|
|
497
|
+
.map((ts) => (0, devkit_1.normalizePath)((0, node_path_1.relative)(projectRoot, ts.moduleId)));
|
|
497
498
|
}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ export declare const viteVersion = "^8.0.0";
|
|
|
3
3
|
export declare const viteV7Version = "^7.0.0";
|
|
4
4
|
export declare const viteV6Version = "^6.0.0";
|
|
5
5
|
export declare const viteV5Version = "^5.0.0";
|
|
6
|
-
export declare const vitestV4Version = "~4.
|
|
6
|
+
export declare const vitestV4Version = "~4.1.0";
|
|
7
7
|
export declare const vitestV3Version = "^3.0.0";
|
|
8
8
|
export declare const vitestV2Version = "^2.1.8";
|
|
9
|
-
export declare const vitestVersion = "~4.
|
|
9
|
+
export declare const vitestVersion = "~4.1.0";
|
|
10
10
|
export declare const vitestV1Version = "^1.3.1";
|
|
11
11
|
export declare const vitePluginReactVersion = "^6.0.0";
|
|
12
12
|
export declare const vitePluginReactV4Version = "^4.2.0";
|
|
13
|
-
export declare const vitePluginReactSwcVersion = "^3.
|
|
13
|
+
export declare const vitePluginReactSwcVersion = "^4.3.0";
|
|
14
14
|
export declare const jsdomVersion = "~22.1.0";
|
|
15
15
|
export declare const vitePluginDtsVersion = "~4.5.0";
|
|
16
16
|
export declare const ajvVersion = "^8.0.0";
|
|
@@ -18,14 +18,14 @@ export declare const happyDomVersion = "~9.20.3";
|
|
|
18
18
|
export declare const edgeRuntimeVmVersion = "~3.0.2";
|
|
19
19
|
export declare const jitiVersion = "2.4.2";
|
|
20
20
|
export declare const analogVitestAngular = "~2.1.2";
|
|
21
|
-
export declare const vitestV4CoverageV8Version = "~4.
|
|
21
|
+
export declare const vitestV4CoverageV8Version = "~4.1.0";
|
|
22
22
|
export declare const vitestV3CoverageV8Version = "^3.0.5";
|
|
23
23
|
export declare const vitestV2CoverageV8Version = "^2.1.8";
|
|
24
|
-
export declare const vitestCoverageV8Version = "~4.
|
|
25
|
-
export declare const vitestV4CoverageIstanbulVersion = "~4.
|
|
24
|
+
export declare const vitestCoverageV8Version = "~4.1.0";
|
|
25
|
+
export declare const vitestV4CoverageIstanbulVersion = "~4.1.0";
|
|
26
26
|
export declare const vitestV3CoverageIstanbulVersion = "^3.0.5";
|
|
27
27
|
export declare const vitestV2CoverageIstanbulVersion = "^2.1.8";
|
|
28
|
-
export declare const vitestCoverageIstanbulVersion = "~4.
|
|
28
|
+
export declare const vitestCoverageIstanbulVersion = "~4.1.0";
|
|
29
29
|
export declare const vitestV1CoverageV8Version = "^1.0.4";
|
|
30
30
|
export declare const vitestV1CoverageIstanbulVersion = "^1.0.4";
|
|
31
31
|
//# sourceMappingURL=versions.d.ts.map
|
package/src/utils/versions.js
CHANGED
|
@@ -8,14 +8,14 @@ exports.viteV7Version = '^7.0.0';
|
|
|
8
8
|
exports.viteV6Version = '^6.0.0';
|
|
9
9
|
exports.viteV5Version = '^5.0.0';
|
|
10
10
|
// TODO(v23): Remove vitest from here since once we drop vitest support in favor of @nx/vitest.
|
|
11
|
-
exports.vitestV4Version = '~4.
|
|
11
|
+
exports.vitestV4Version = '~4.1.0';
|
|
12
12
|
exports.vitestV3Version = '^3.0.0';
|
|
13
13
|
exports.vitestV2Version = '^2.1.8';
|
|
14
14
|
exports.vitestVersion = exports.vitestV4Version;
|
|
15
15
|
exports.vitestV1Version = '^1.3.1';
|
|
16
16
|
exports.vitePluginReactVersion = '^6.0.0';
|
|
17
17
|
exports.vitePluginReactV4Version = '^4.2.0';
|
|
18
|
-
exports.vitePluginReactSwcVersion = '^3.
|
|
18
|
+
exports.vitePluginReactSwcVersion = '^4.3.0';
|
|
19
19
|
exports.jsdomVersion = '~22.1.0';
|
|
20
20
|
exports.vitePluginDtsVersion = '~4.5.0';
|
|
21
21
|
exports.ajvVersion = '^8.0.0';
|
|
@@ -24,11 +24,11 @@ exports.edgeRuntimeVmVersion = '~3.0.2';
|
|
|
24
24
|
exports.jitiVersion = '2.4.2';
|
|
25
25
|
exports.analogVitestAngular = '~2.1.2';
|
|
26
26
|
// Coverage providers
|
|
27
|
-
exports.vitestV4CoverageV8Version = '~4.
|
|
27
|
+
exports.vitestV4CoverageV8Version = '~4.1.0';
|
|
28
28
|
exports.vitestV3CoverageV8Version = '^3.0.5';
|
|
29
29
|
exports.vitestV2CoverageV8Version = '^2.1.8';
|
|
30
30
|
exports.vitestCoverageV8Version = exports.vitestV4CoverageV8Version;
|
|
31
|
-
exports.vitestV4CoverageIstanbulVersion = '~4.
|
|
31
|
+
exports.vitestV4CoverageIstanbulVersion = '~4.1.0';
|
|
32
32
|
exports.vitestV3CoverageIstanbulVersion = '^3.0.5';
|
|
33
33
|
exports.vitestV2CoverageIstanbulVersion = '^2.1.8';
|
|
34
34
|
exports.vitestCoverageIstanbulVersion = exports.vitestV4CoverageIstanbulVersion;
|