@nx/react 23.2.0-beta.8 → 23.2.0-beta.9

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.
@@ -40,7 +40,6 @@ async function applicationGeneratorInternal(tree, schema) {
40
40
  tsConfigName: schema.rootProject ? 'tsconfig.json' : 'tsconfig.base.json',
41
41
  skipFormat: true,
42
42
  addTsPlugin,
43
- formatter: schema.formatter,
44
43
  platform: 'web',
45
44
  });
46
45
  tasks.push(jsInitTask);
@@ -29,7 +29,7 @@ export declare function getDefaultTemplateVariables(host: Tree, options: Normali
29
29
  minimal?: boolean;
30
30
  nxCloudToken?: string;
31
31
  useTsSolution?: boolean;
32
- formatter?: 'prettier' | 'none';
32
+ formatter?: 'prettier' | 'oxfmt' | 'none';
33
33
  useProjectJson?: boolean;
34
34
  linter: import("@nx/js").LinterType;
35
35
  projectName: string;
@@ -35,7 +35,7 @@ export interface Schema {
35
35
  addPlugin?: boolean;
36
36
  nxCloudToken?: string;
37
37
  useTsSolution?: boolean;
38
- formatter?: 'prettier' | 'none';
38
+ formatter?: 'prettier' | 'oxfmt' | 'none';
39
39
  useProjectJson?: boolean;
40
40
  port?: number;
41
41
  }
@@ -102,6 +102,11 @@
102
102
  "enum": ["eslint", "oxlint", "none"],
103
103
  "x-priority": "important"
104
104
  },
105
+ "formatter": {
106
+ "description": "The tool to use for code formatting.",
107
+ "type": "string",
108
+ "enum": ["none", "prettier", "oxfmt"]
109
+ },
105
110
  "unitTestRunner": {
106
111
  "type": "string",
107
112
  "enum": ["vitest", "jest", "none"],
@@ -17,7 +17,7 @@ module.exports = {
17
17
  */
18
18
  remotes: [
19
19
  <%_ if (static) {
20
- remotes.forEach(function(r) { %>
20
+ remotes.forEach(function(r) { _%>
21
21
  "<%= r.fileName %>",
22
22
  <%_ }); } _%>
23
23
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "23.2.0-beta.8",
3
+ "version": "23.2.0-beta.9",
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": {
@@ -96,7 +96,7 @@
96
96
  "react-dom": ">=18.0.0 <20.0.0",
97
97
  "express": "^4.21.2",
98
98
  "http-proxy-middleware": "^3.0.7",
99
- "@nx/module-federation": "23.2.0-beta.8"
99
+ "@nx/module-federation": "23.2.0-beta.9"
100
100
  },
101
101
  "peerDependenciesMeta": {
102
102
  "babel-plugin-react-compiler": {
@@ -118,27 +118,27 @@
118
118
  "minimatch": "10.2.5",
119
119
  "tslib": "^2.3.0",
120
120
  "semver": "^7.6.3",
121
- "@nx/devkit": "23.2.0-beta.8",
122
- "@nx/js": "23.2.0-beta.8",
123
- "@nx/eslint": "23.2.0-beta.8",
124
- "@nx/web": "23.2.0-beta.8"
121
+ "@nx/devkit": "23.2.0-beta.9",
122
+ "@nx/js": "23.2.0-beta.9",
123
+ "@nx/eslint": "23.2.0-beta.9",
124
+ "@nx/web": "23.2.0-beta.9"
125
125
  },
126
126
  "devDependencies": {
127
127
  "express": "^4.21.2",
128
128
  "http-proxy-middleware": "^3.0.7",
129
- "@nx/cypress": "23.2.0-beta.8",
130
- "@nx/module-federation": "23.2.0-beta.8",
131
- "@nx/playwright": "23.2.0-beta.8",
132
- "@nx/rollup": "23.2.0-beta.8",
133
- "@nx/rsbuild": "23.2.0-beta.8",
134
- "@nx/vite": "23.2.0-beta.8",
135
- "@nx/vitest": "23.2.0-beta.8",
136
- "@nx/webpack": "23.2.0-beta.8",
137
- "@nx/storybook": "23.2.0-beta.8",
138
- "nx": "23.2.0-beta.8"
129
+ "@nx/cypress": "23.2.0-beta.9",
130
+ "@nx/module-federation": "23.2.0-beta.9",
131
+ "@nx/playwright": "23.2.0-beta.9",
132
+ "@nx/rollup": "23.2.0-beta.9",
133
+ "@nx/rsbuild": "23.2.0-beta.9",
134
+ "@nx/vite": "23.2.0-beta.9",
135
+ "@nx/vitest": "23.2.0-beta.9",
136
+ "@nx/webpack": "23.2.0-beta.9",
137
+ "@nx/storybook": "23.2.0-beta.9",
138
+ "nx": "23.2.0-beta.9"
139
139
  },
140
140
  "optionalDependencies": {
141
- "@nx/vite": "23.2.0-beta.8"
141
+ "@nx/vite": "23.2.0-beta.9"
142
142
  },
143
143
  "publishConfig": {
144
144
  "access": "public"