@nx/vite 22.0.0-rc.0 → 22.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/vite",
3
- "version": "22.0.0-rc.0",
3
+ "version": "22.0.0",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for building and testing applications using Vite",
6
6
  "repository": {
@@ -30,10 +30,10 @@
30
30
  "migrations": "./migrations.json"
31
31
  },
32
32
  "dependencies": {
33
- "@nx/devkit": "22.0.0-rc.0",
33
+ "@nx/devkit": "22.0.0",
34
34
  "@phenomnomnominal/tsquery": "~5.0.1",
35
35
  "enquirer": "~2.3.6",
36
- "@nx/js": "22.0.0-rc.0",
36
+ "@nx/js": "22.0.0",
37
37
  "picomatch": "4.0.2",
38
38
  "tsconfig-paths": "^4.1.2",
39
39
  "semver": "^7.6.3",
@@ -41,7 +41,7 @@
41
41
  "ajv": "^8.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "nx": "22.0.0-rc.0"
44
+ "nx": "22.0.0"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0",
@@ -125,8 +125,8 @@ function nxViteTsPaths(options = {}) {
125
125
  return;
126
126
  const outDir = options.dir || 'dist';
127
127
  const src = (0, node_path_1.resolve)(projectRoot, 'package.json');
128
- if ((0, node_fs_1.existsSync)(src)) {
129
- const dest = (0, node_path_1.join)(outDir, 'package.json');
128
+ const dest = (0, node_path_1.join)(outDir, 'package.json');
129
+ if ((0, node_fs_1.existsSync)(src) && !(0, node_fs_1.existsSync)(dest)) {
130
130
  try {
131
131
  (0, node_fs_1.copyFileSync)(src, dest);
132
132
  }