@nx/workspace 21.1.0-beta.0 → 21.1.0-beta.2

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/workspace",
3
- "version": "21.1.0-beta.0",
3
+ "version": "21.1.0-beta.2",
4
4
  "private": false,
5
5
  "description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
6
6
  "repository": {
@@ -38,14 +38,14 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@nx/devkit": "21.1.0-beta.0",
41
+ "@nx/devkit": "21.1.0-beta.2",
42
42
  "@zkochan/js-yaml": "0.0.7",
43
43
  "chalk": "^4.1.0",
44
44
  "enquirer": "~2.3.6",
45
45
  "picomatch": "4.0.2",
46
46
  "tslib": "^2.3.0",
47
47
  "yargs-parser": "21.1.1",
48
- "nx": "21.1.0-beta.0"
48
+ "nx": "21.1.0-beta.2"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
@@ -40,3 +40,5 @@ Thumbs.db
40
40
 
41
41
  .nx/cache
42
42
  .nx/workspace-data
43
+ .cursor/rules/nx-rules.mdc
44
+ .github/instructions/nx.instructions.md
@@ -40,3 +40,5 @@ Thumbs.db
40
40
 
41
41
  .nx/cache
42
42
  .nx/workspace-data
43
+ .cursor/rules/nx-rules.mdc
44
+ .github/instructions/nx.instructions.md
@@ -40,3 +40,5 @@ Thumbs.db
40
40
 
41
41
  .nx/cache
42
42
  .nx/workspace-data
43
+ .cursor/rules/nx-rules.mdc
44
+ .github/instructions/nx.instructions.md
@@ -103,6 +103,8 @@ function getPresetDependencies({ preset, presetVersion, bundler, e2eTestRunner,
103
103
  dev: {
104
104
  '@angular-devkit/core': versions_1.angularCliVersion,
105
105
  '@nx/angular': versions_1.nxVersion,
106
+ '@nx/rspack': bundler === 'rspack' ? versions_1.nxVersion : undefined,
107
+ '@nx/angular-rspack': bundler === 'rspack' ? versions_1.angularRspackVersion : undefined,
106
108
  typescript: versions_1.typescriptVersion,
107
109
  },
108
110
  };
@@ -14,7 +14,7 @@ interface Schema {
14
14
  nextAppDir?: boolean;
15
15
  nextSrcDir?: boolean;
16
16
  linter?: Linter | LinterType;
17
- bundler?: 'vite' | 'webpack';
17
+ bundler?: 'vite' | 'webpack' | 'rspack';
18
18
  standaloneApi?: boolean;
19
19
  routing?: boolean;
20
20
  useReactRouter?: boolean;
@@ -1,3 +1,4 @@
1
1
  export declare const nxVersion: any;
2
2
  export declare const typescriptVersion = "~5.7.2";
3
3
  export declare const angularCliVersion = "~19.2.0";
4
+ export declare const angularRspackVersion = "^21.0.1";
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.angularCliVersion = exports.typescriptVersion = exports.nxVersion = void 0;
3
+ exports.angularRspackVersion = exports.angularCliVersion = exports.typescriptVersion = exports.nxVersion = void 0;
4
4
  exports.nxVersion = require('../../package.json').version;
5
5
  exports.typescriptVersion = '~5.7.2';
6
6
  // TODO: remove when preset generation is reworked and
7
7
  // deps are not installed from workspace
8
8
  exports.angularCliVersion = '~19.2.0';
9
+ exports.angularRspackVersion = '^21.0.1';