@nx/vite 22.6.0-rc.1 → 22.6.0
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 +5 -5
- package/src/plugins/plugin.js +3 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/vite",
|
|
3
|
-
"version": "22.6.0
|
|
3
|
+
"version": "22.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for building and testing applications using Vite",
|
|
6
6
|
"repository": {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"migrations": "./migrations.json"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nx/devkit": "22.6.0
|
|
33
|
+
"@nx/devkit": "22.6.0",
|
|
34
34
|
"@phenomnomnominal/tsquery": "~6.1.4",
|
|
35
35
|
"enquirer": "~2.3.6",
|
|
36
|
-
"@nx/js": "22.6.0
|
|
37
|
-
"@nx/vitest": "22.6.0
|
|
36
|
+
"@nx/js": "22.6.0",
|
|
37
|
+
"@nx/vitest": "22.6.0",
|
|
38
38
|
"picomatch": "4.0.2",
|
|
39
39
|
"tsconfig-paths": "^4.1.2",
|
|
40
40
|
"semver": "^7.6.3",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"ajv": "^8.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"nx": "22.6.0
|
|
45
|
+
"nx": "22.6.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
|
package/src/plugins/plugin.js
CHANGED
|
@@ -280,7 +280,6 @@ async function buildViteTargets(configFilePath, projectRoot, options, tsConfigFi
|
|
|
280
280
|
];
|
|
281
281
|
targets[options.typecheckTargetName].syncGenerators = [
|
|
282
282
|
'@nx/js:typescript-sync',
|
|
283
|
-
'@nx/js:deps-sync',
|
|
284
283
|
];
|
|
285
284
|
}
|
|
286
285
|
}
|
|
@@ -321,7 +320,7 @@ async function buildTarget(buildTargetName, namedInputs, outputs, projectRoot, i
|
|
|
321
320
|
},
|
|
322
321
|
};
|
|
323
322
|
if (isUsingTsSolutionSetup) {
|
|
324
|
-
buildTarget.syncGenerators = ['@nx/js:typescript-sync'
|
|
323
|
+
buildTarget.syncGenerators = ['@nx/js:typescript-sync'];
|
|
325
324
|
}
|
|
326
325
|
return buildTarget;
|
|
327
326
|
}
|
|
@@ -346,10 +345,7 @@ function serveTarget(projectRoot, isUsingTsSolutionSetup) {
|
|
|
346
345
|
},
|
|
347
346
|
};
|
|
348
347
|
if (isUsingTsSolutionSetup) {
|
|
349
|
-
targetConfig.syncGenerators = [
|
|
350
|
-
'@nx/js:typescript-sync',
|
|
351
|
-
'@nx/js:deps-sync',
|
|
352
|
-
];
|
|
348
|
+
targetConfig.syncGenerators = ['@nx/js:typescript-sync'];
|
|
353
349
|
}
|
|
354
350
|
return targetConfig;
|
|
355
351
|
}
|
|
@@ -416,10 +412,7 @@ function serveStaticTarget(options, isUsingTsSolutionSetup) {
|
|
|
416
412
|
},
|
|
417
413
|
};
|
|
418
414
|
if (isUsingTsSolutionSetup) {
|
|
419
|
-
targetConfig.syncGenerators = [
|
|
420
|
-
'@nx/js:typescript-sync',
|
|
421
|
-
'@nx/js:deps-sync',
|
|
422
|
-
];
|
|
415
|
+
targetConfig.syncGenerators = ['@nx/js:typescript-sync'];
|
|
423
416
|
}
|
|
424
417
|
return targetConfig;
|
|
425
418
|
}
|