@nx/js 24.0.0-rc.1 → 24.0.1

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.
@@ -121,7 +121,9 @@ async function libraryGeneratorInternal(tree, schema) {
121
121
  (0, devkit_1.updateJson)(tree, (0, devkit_1.joinPathFragments)(options.projectRoot, 'tsconfig.spec.json'), (json) => {
122
122
  // add project reference to the runtime tsconfig.lib.json file
123
123
  json.references ??= [];
124
- json.references.push({ path: './tsconfig.lib.json' });
124
+ if (!json.references.some((r) => r.path === './tsconfig.lib.json')) {
125
+ json.references.push({ path: './tsconfig.lib.json' });
126
+ }
125
127
  const compilerOptions = getCompilerOptions(options);
126
128
  // respect the module and moduleResolution set by the test runner generator
127
129
  if (json.compilerOptions.module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "24.0.0-rc.1",
3
+ "version": "24.0.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -162,8 +162,8 @@
162
162
  "@babel/preset-env": "^7.23.2",
163
163
  "@babel/preset-typescript": "^7.22.5",
164
164
  "@babel/runtime": "^7.22.6",
165
- "@nx/devkit": "24.0.0-rc.1",
166
- "@nx/workspace": "24.0.0-rc.1",
165
+ "@nx/devkit": "24.0.1",
166
+ "@nx/workspace": "24.0.1",
167
167
  "@zkochan/js-yaml": "0.0.7",
168
168
  "babel-plugin-const-enum": "^1.0.1",
169
169
  "babel-plugin-macros": "^3.1.0",
@@ -183,14 +183,14 @@
183
183
  "tslib": "^2.3.0"
184
184
  },
185
185
  "devDependencies": {
186
- "@nx/esbuild": "24.0.0-rc.1",
187
- "@nx/eslint": "24.0.0-rc.1",
188
- "@nx/jest": "24.0.0-rc.1",
189
- "@nx/oxlint": "24.0.0-rc.1",
190
- "@nx/rollup": "24.0.0-rc.1",
191
- "@nx/vite": "24.0.0-rc.1",
192
- "@nx/vitest": "24.0.0-rc.1",
193
- "nx": "24.0.0-rc.1"
186
+ "@nx/esbuild": "24.0.1",
187
+ "@nx/eslint": "24.0.1",
188
+ "@nx/jest": "24.0.1",
189
+ "@nx/oxlint": "24.0.1",
190
+ "@nx/rollup": "24.0.1",
191
+ "@nx/vite": "24.0.1",
192
+ "@nx/vitest": "24.0.1",
193
+ "nx": "24.0.1"
194
194
  },
195
195
  "peerDependencies": {
196
196
  "@swc/cli": ">=0.6.0 <0.9.0",