@nx/react 24.0.0-canary.20261020-e7ffd79 → 24.0.0-rc.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/dist/src/generators/application/lib/add-e2e.js +2 -3
- package/dist/src/generators/application/lib/add-linting.js +1 -1
- package/dist/src/generators/application/lib/create-application-files.d.ts +0 -1
- package/dist/src/generators/application/schema.d.ts +0 -4
- package/dist/src/generators/application/schema.json +0 -6
- package/dist/src/generators/library/lib/add-linting.js +1 -1
- package/dist/src/generators/library/schema.d.ts +0 -4
- package/dist/src/generators/library/schema.json +0 -6
- package/package.json +16 -16
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.addE2e = addE2e;
|
|
4
|
-
const internal_1 = require("@nx/eslint/internal");
|
|
5
4
|
const devkit_1 = require("@nx/devkit");
|
|
6
5
|
const web_1 = require("@nx/web");
|
|
7
6
|
const versions_1 = require("../../../utils/versions");
|
|
@@ -95,7 +94,7 @@ async function addE2e(tree, options) {
|
|
|
95
94
|
baseUrl: e2eWebServerInfo.e2eWebServerAddress,
|
|
96
95
|
jsx: true,
|
|
97
96
|
rootProject: options.rootProject,
|
|
98
|
-
enableTypedLinting:
|
|
97
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
99
98
|
webServerCommands: {
|
|
100
99
|
default: e2eWebServerInfo.e2eWebServerCommand,
|
|
101
100
|
production: e2eWebServerInfo.e2eCiWebServerCommand,
|
|
@@ -137,7 +136,7 @@ async function addE2e(tree, options) {
|
|
|
137
136
|
directory: 'src',
|
|
138
137
|
js: false,
|
|
139
138
|
linter: options.linter,
|
|
140
|
-
enableTypedLinting:
|
|
139
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
141
140
|
webServerCommand: e2eWebServerInfo.e2eWebServerCommand,
|
|
142
141
|
webServerAddress: e2eWebServerInfo.e2eWebServerAddress,
|
|
143
142
|
ciWebServerCommand: e2eWebServerInfo.e2eCiWebServerCommand,
|
|
@@ -21,7 +21,7 @@ async function addLinting(host, options) {
|
|
|
21
21
|
unitTestRunner: options.unitTestRunner,
|
|
22
22
|
rootProject: options.rootProject,
|
|
23
23
|
skipPackageJson: options.skipPackageJson,
|
|
24
|
-
enableTypedLinting:
|
|
24
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
25
25
|
}));
|
|
26
26
|
// Predefined configs, `extends` and ignore entries are ESLint concepts with
|
|
27
27
|
// no equivalent in other linters.
|
|
@@ -19,7 +19,6 @@ export declare function getDefaultTemplateVariables(host: Tree, options: Normali
|
|
|
19
19
|
globalCss?: boolean;
|
|
20
20
|
strict?: boolean;
|
|
21
21
|
enableTypedLinting?: boolean;
|
|
22
|
-
setParserOptionsProject?: boolean;
|
|
23
22
|
compiler?: 'babel' | 'swc';
|
|
24
23
|
remotes?: string[];
|
|
25
24
|
devServerPort?: number;
|
|
@@ -20,10 +20,6 @@ export interface Schema {
|
|
|
20
20
|
globalCss?: boolean;
|
|
21
21
|
strict?: boolean;
|
|
22
22
|
enableTypedLinting?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
25
|
-
*/
|
|
26
|
-
setParserOptionsProject?: boolean;
|
|
27
23
|
compiler?: 'babel' | 'swc';
|
|
28
24
|
remotes?: string[];
|
|
29
25
|
/** @deprecated Use {@link Schema.port} instead. This option will be removed in Nx v25. */
|
|
@@ -158,12 +158,6 @@
|
|
|
158
158
|
"description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
|
|
159
159
|
"default": false
|
|
160
160
|
},
|
|
161
|
-
"setParserOptionsProject": {
|
|
162
|
-
"type": "boolean",
|
|
163
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
164
|
-
"default": false,
|
|
165
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
166
|
-
},
|
|
167
161
|
"compiler": {
|
|
168
162
|
"type": "string",
|
|
169
163
|
"description": "The compiler to use.",
|
|
@@ -19,7 +19,7 @@ async function addLinting(host, options) {
|
|
|
19
19
|
],
|
|
20
20
|
unitTestRunner: options.unitTestRunner,
|
|
21
21
|
skipPackageJson: options.skipPackageJson,
|
|
22
|
-
enableTypedLinting:
|
|
22
|
+
enableTypedLinting: options.enableTypedLinting,
|
|
23
23
|
}));
|
|
24
24
|
// Predefined configs, `extends` and ignore entries are ESLint concepts with
|
|
25
25
|
// no equivalent in other linters.
|
|
@@ -17,10 +17,6 @@ export interface Schema {
|
|
|
17
17
|
publishable?: boolean;
|
|
18
18
|
routing?: boolean;
|
|
19
19
|
enableTypedLinting?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24.
|
|
22
|
-
*/
|
|
23
|
-
setParserOptionsProject?: boolean;
|
|
24
20
|
skipFormat?: boolean;
|
|
25
21
|
skipPackageJson?: boolean;
|
|
26
22
|
skipTsConfig?: boolean;
|
|
@@ -148,12 +148,6 @@
|
|
|
148
148
|
"description": "Whether to enable typed linting. For flat configs, this configures the recommended `parserOptions.projectService` and `tsconfigRootDir`. For legacy `.eslintrc` configs, this configures `parserOptions.project`. We do not enable this by default for lint performance reasons.",
|
|
149
149
|
"default": false
|
|
150
150
|
},
|
|
151
|
-
"setParserOptionsProject": {
|
|
152
|
-
"type": "boolean",
|
|
153
|
-
"description": "Deprecated alias for `enableTypedLinting`.",
|
|
154
|
-
"default": false,
|
|
155
|
-
"x-deprecated": "Use `enableTypedLinting` instead. This option will be removed in Nx v24."
|
|
156
|
-
},
|
|
157
151
|
"compiler": {
|
|
158
152
|
"type": "string",
|
|
159
153
|
"enum": ["babel", "swc"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/react",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-rc.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -105,26 +105,26 @@
|
|
|
105
105
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
106
106
|
"minimatch": "10.2.5",
|
|
107
107
|
"tslib": "^2.3.0",
|
|
108
|
-
"@nx/devkit": "24.0.0-
|
|
109
|
-
"@nx/js": "24.0.0-
|
|
110
|
-
"@nx/eslint": "24.0.0-
|
|
111
|
-
"@nx/web": "24.0.0-
|
|
108
|
+
"@nx/devkit": "24.0.0-rc.0",
|
|
109
|
+
"@nx/js": "24.0.0-rc.0",
|
|
110
|
+
"@nx/eslint": "24.0.0-rc.0",
|
|
111
|
+
"@nx/web": "24.0.0-rc.0",
|
|
112
112
|
"semver": "^7.6.3"
|
|
113
113
|
},
|
|
114
114
|
"devDependencies": {
|
|
115
|
-
"@nx/cypress": "24.0.0-
|
|
116
|
-
"@nx/playwright": "24.0.0-
|
|
117
|
-
"@nx/rollup": "24.0.0-
|
|
118
|
-
"@nx/rsbuild": "24.0.0-
|
|
119
|
-
"@nx/rspack": "24.0.0-
|
|
120
|
-
"@nx/vite": "24.0.0-
|
|
121
|
-
"@nx/vitest": "24.0.0-
|
|
122
|
-
"@nx/webpack": "24.0.0-
|
|
123
|
-
"@nx/storybook": "24.0.0-
|
|
124
|
-
"nx": "24.0.0-
|
|
115
|
+
"@nx/cypress": "24.0.0-rc.0",
|
|
116
|
+
"@nx/playwright": "24.0.0-rc.0",
|
|
117
|
+
"@nx/rollup": "24.0.0-rc.0",
|
|
118
|
+
"@nx/rsbuild": "24.0.0-rc.0",
|
|
119
|
+
"@nx/rspack": "24.0.0-rc.0",
|
|
120
|
+
"@nx/vite": "24.0.0-rc.0",
|
|
121
|
+
"@nx/vitest": "24.0.0-rc.0",
|
|
122
|
+
"@nx/webpack": "24.0.0-rc.0",
|
|
123
|
+
"@nx/storybook": "24.0.0-rc.0",
|
|
124
|
+
"nx": "24.0.0-rc.0"
|
|
125
125
|
},
|
|
126
126
|
"optionalDependencies": {
|
|
127
|
-
"@nx/vite": "24.0.0-
|
|
127
|
+
"@nx/vite": "24.0.0-rc.0"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": {
|
|
130
130
|
"access": "public"
|