@nx/angular 23.2.0-canary.20260814-d9c21b2 → 23.2.0-pr.36527.2252709

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.
@@ -34,4 +34,5 @@ export interface Schema {
34
34
  nxCloudToken?: string;
35
35
  addPlugin?: boolean;
36
36
  zoneless?: boolean;
37
+ formatter?: 'prettier' | 'oxfmt' | 'none';
37
38
  }
@@ -178,6 +178,11 @@
178
178
  "zoneless": {
179
179
  "description": "Generate an application that does not use `zone.js`. It defaults to `true`. _Note: this is only supported in Angular versions >= 21.0.0_",
180
180
  "type": "boolean"
181
+ },
182
+ "formatter": {
183
+ "description": "The tool to use for code formatting.",
184
+ "type": "string",
185
+ "enum": ["none", "prettier", "oxfmt"]
181
186
  }
182
187
  },
183
188
  "additionalProperties": false,
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.convertToRspack = convertToRspack;
4
4
  const internal_1 = require("@nx/devkit/internal");
5
5
  const devkit_1 = require("@nx/devkit");
6
- const enquirer_1 = require("enquirer");
7
6
  const path_1 = require("path");
8
7
  const posix_1 = require("path/posix");
9
8
  const assert_supported_angular_version_1 = require("../../utils/assert-supported-angular-version");
@@ -226,13 +225,10 @@ async function getProjectToConvert(tree) {
226
225
  projects.add(project);
227
226
  });
228
227
  }
229
- const { project } = await (0, enquirer_1.prompt)({
230
- type: 'select',
231
- name: 'project',
228
+ return (0, internal_1.selectPrompt)({
232
229
  message: 'Which project would you like to convert to rspack?',
233
230
  choices: Array.from(projects),
234
231
  });
235
- return project;
236
232
  }
237
233
  async function convertToRspack(tree, schema) {
238
234
  (0, assert_supported_angular_version_1.assertSupportedAngularVersion)(tree);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "23.2.0-canary.20260814-d9c21b2",
3
+ "version": "23.2.0-pr.36527.2252709",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
@@ -73,22 +73,21 @@
73
73
  "dependencies": {
74
74
  "@phenomnomnominal/tsquery": "~6.2.0",
75
75
  "@typescript-eslint/type-utils": "^8.0.0",
76
- "enquirer": "~2.3.6",
77
76
  "jsonc-parser": "^3.2.0",
78
77
  "magic-string": "~0.30.2",
79
78
  "picocolors": "^1.1.0",
80
79
  "picomatch": "4.0.4",
81
80
  "semver": "^7.6.3",
82
81
  "tslib": "^2.3.0",
83
- "@nx/eslint": "23.2.0-canary.20260814-d9c21b2",
84
- "@nx/devkit": "23.2.0-canary.20260814-d9c21b2",
85
- "@nx/js": "23.2.0-canary.20260814-d9c21b2",
86
- "@nx/web": "23.2.0-canary.20260814-d9c21b2"
82
+ "@nx/eslint": "23.2.0-pr.36527.2252709",
83
+ "@nx/devkit": "23.2.0-pr.36527.2252709",
84
+ "@nx/js": "23.2.0-pr.36527.2252709",
85
+ "@nx/web": "23.2.0-pr.36527.2252709"
87
86
  },
88
87
  "devDependencies": {
89
- "@nx/storybook": "23.2.0-canary.20260814-d9c21b2",
90
- "@nx/vitest": "23.2.0-canary.20260814-d9c21b2",
91
- "nx": "23.2.0-canary.20260814-d9c21b2"
88
+ "@nx/storybook": "23.2.0-pr.36527.2252709",
89
+ "nx": "23.2.0-pr.36527.2252709",
90
+ "@nx/vitest": "23.2.0-pr.36527.2252709"
92
91
  },
93
92
  "peerDependencies": {
94
93
  "@angular/build": ">= 20.0.0 < 23.0.0",
@@ -99,11 +98,11 @@
99
98
  "ng-packagr": ">= 20.0.0 < 23.0.0",
100
99
  "rxjs": "^6.5.3 || ^7.5.0",
101
100
  "webpack-merge": "^5.8.0",
102
- "@nx/playwright": "23.2.0-canary.20260814-d9c21b2",
103
- "@nx/cypress": "23.2.0-canary.20260814-d9c21b2",
104
- "@nx/module-federation": "23.2.0-canary.20260814-d9c21b2",
105
- "@nx/webpack": "23.2.0-canary.20260814-d9c21b2",
106
- "@nx/rspack": "23.2.0-canary.20260814-d9c21b2"
101
+ "@nx/module-federation": "23.2.0-pr.36527.2252709",
102
+ "@nx/playwright": "23.2.0-pr.36527.2252709",
103
+ "@nx/rspack": "23.2.0-pr.36527.2252709",
104
+ "@nx/cypress": "23.2.0-pr.36527.2252709",
105
+ "@nx/webpack": "23.2.0-pr.36527.2252709"
107
106
  },
108
107
  "peerDependenciesMeta": {
109
108
  "@angular/build": {