@nx/workspace 20.4.0-canary.20250117-cba25da → 20.4.0-canary.20250118-ee135b2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/workspace",
3
- "version": "20.4.0-canary.20250117-cba25da",
3
+ "version": "20.4.0-canary.20250118-ee135b2",
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,12 +38,12 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@nx/devkit": "20.4.0-canary.20250117-cba25da",
41
+ "@nx/devkit": "20.4.0-canary.20250118-ee135b2",
42
42
  "chalk": "^4.1.0",
43
43
  "enquirer": "~2.3.6",
44
44
  "tslib": "^2.3.0",
45
45
  "yargs-parser": "21.1.1",
46
- "nx": "20.4.0-canary.20250117-cba25da"
46
+ "nx": "20.4.0-canary.20250118-ee135b2"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -12,9 +12,11 @@ function updateEslintConfig(tree, schema, project) {
12
12
  if (!tree.exists('.eslintrc.json') &&
13
13
  !tree.exists('eslint.config.js') &&
14
14
  !tree.exists('eslint.config.cjs') &&
15
+ !tree.exists('eslint.config.mjs') &&
15
16
  !tree.exists('.eslintrc.base.json') &&
16
17
  !tree.exists('eslint.base.config.js') &&
17
- !tree.exists('eslint.base.config.cjs')) {
18
+ !tree.exists('eslint.base.config.cjs') &&
19
+ !tree.exists('eslint.base.config.mjs')) {
18
20
  return;
19
21
  }
20
22
  try {
@@ -11,7 +11,7 @@ export interface Schema {
11
11
  standaloneConfig?: boolean;
12
12
  framework?: string;
13
13
  packageManager?: PackageManager;
14
- bundler?: 'vite' | 'webpack' | 'rspack' | 'esbuild';
14
+ bundler?: 'vite' | 'rsbuild' | 'webpack' | 'rspack' | 'esbuild';
15
15
  docker?: boolean;
16
16
  nextAppDir?: boolean;
17
17
  nextSrcDir?: boolean;
@@ -72,7 +72,7 @@
72
72
  "bundler": {
73
73
  "description": "The bundler to use for building the application.",
74
74
  "type": "string",
75
- "enum": ["webpack", "vite", "rspack", "esbuild"],
75
+ "enum": ["vite", "rspack", "rsbuild", "esbuild", "webpack"],
76
76
  "default": "vite"
77
77
  },
78
78
  "docker": {