@nx/angular 21.0.0-canary.20250426-da4f55b → 21.0.0-canary.20250430-07b881d

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/angular",
3
- "version": "21.0.0-canary.20250426-da4f55b",
3
+ "version": "21.0.0-canary.20250430-07b881d",
4
4
  "private": false,
5
5
  "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, Tailwind CSS, 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.",
6
6
  "repository": {
@@ -67,14 +67,14 @@
67
67
  "semver": "^7.5.3",
68
68
  "tslib": "^2.3.0",
69
69
  "webpack-merge": "^5.8.0",
70
- "@nx/devkit": "21.0.0-canary.20250426-da4f55b",
71
- "@nx/js": "21.0.0-canary.20250426-da4f55b",
72
- "@nx/eslint": "21.0.0-canary.20250426-da4f55b",
73
- "@nx/webpack": "21.0.0-canary.20250426-da4f55b",
74
- "@nx/rspack": "21.0.0-canary.20250426-da4f55b",
75
- "@nx/module-federation": "21.0.0-canary.20250426-da4f55b",
76
- "@nx/web": "21.0.0-canary.20250426-da4f55b",
77
- "@nx/workspace": "21.0.0-canary.20250426-da4f55b",
70
+ "@nx/devkit": "21.0.0-canary.20250430-07b881d",
71
+ "@nx/js": "21.0.0-canary.20250430-07b881d",
72
+ "@nx/eslint": "21.0.0-canary.20250430-07b881d",
73
+ "@nx/webpack": "21.0.0-canary.20250430-07b881d",
74
+ "@nx/rspack": "21.0.0-canary.20250430-07b881d",
75
+ "@nx/module-federation": "21.0.0-canary.20250430-07b881d",
76
+ "@nx/web": "21.0.0-canary.20250430-07b881d",
77
+ "@nx/workspace": "21.0.0-canary.20250430-07b881d",
78
78
  "piscina": "^4.4.0"
79
79
  },
80
80
  "peerDependencies": {
@@ -13,7 +13,7 @@ async function addLintingGenerator(tree, options) {
13
13
  const tasks = [];
14
14
  const rootProject = options.projectRoot === '.' || options.projectRoot === '';
15
15
  const lintTask = await (0, eslint_1.lintProjectGenerator)(tree, {
16
- linter: eslint_1.Linter.EsLint,
16
+ linter: 'eslint',
17
17
  project: options.projectName,
18
18
  tsConfigPaths: [
19
19
  (0, devkit_1.joinPathFragments)(options.projectRoot, 'tsconfig.app.json'),
@@ -2,10 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addLinting = addLinting;
4
4
  const tslib_1 = require("tslib");
5
- const eslint_1 = require("@nx/eslint");
6
5
  const add_linting_1 = tslib_1.__importDefault(require("../../add-linting/add-linting"));
7
6
  async function addLinting(host, options) {
8
- if (options.linter === eslint_1.Linter.None) {
7
+ if (options.linter === 'none') {
9
8
  return;
10
9
  }
11
10
  await (0, add_linting_1.default)(host, {
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
- const eslint_1 = require("@nx/eslint");
7
6
  const test_runners_1 = require("../../../utils/test-runners");
8
7
  function arePluginsExplicitlyDisabled(host) {
9
8
  const { useInferencePlugins } = (0, devkit_1.readNxJson)(host);
@@ -36,7 +35,7 @@ async function normalizeOptions(host, options, isRspack) {
36
35
  skipTests: options.unitTestRunner === test_runners_1.UnitTestRunner.None,
37
36
  skipFormat: false,
38
37
  e2eTestRunner: test_runners_1.E2eTestRunner.Playwright,
39
- linter: eslint_1.Linter.EsLint,
38
+ linter: 'eslint',
40
39
  strict: true,
41
40
  standalone: true,
42
41
  directory: appProjectRoot,
@@ -3,14 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
6
- const eslint_1 = require("@nx/eslint");
7
6
  const test_runners_1 = require("../../../utils/test-runners");
8
7
  async function normalizeOptions(host, schema) {
9
8
  schema.standalone = schema.standalone ?? true;
10
9
  // Create a schema with populated default values
11
10
  const options = {
12
11
  buildable: false,
13
- linter: eslint_1.Linter.EsLint,
12
+ linter: 'eslint',
14
13
  publishable: false,
15
14
  simpleName: false,
16
15
  skipFormat: false,
@@ -40,7 +39,7 @@ async function normalizeOptions(host, schema) {
40
39
  const ngCliSchematicLibRoot = projectName;
41
40
  const allNormalizedOptions = {
42
41
  ...options,
43
- linter: options.linter ?? eslint_1.Linter.EsLint,
42
+ linter: options.linter ?? 'eslint',
44
43
  unitTestRunner: options.unitTestRunner ?? test_runners_1.UnitTestRunner.Jest,
45
44
  prefix: options.prefix ?? 'lib',
46
45
  name: projectName,
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.libraryGenerator = libraryGenerator;
4
4
  const tslib_1 = require("tslib");
5
5
  const devkit_1 = require("@nx/devkit");
6
- const eslint_1 = require("@nx/eslint");
7
6
  const js_1 = require("@nx/js");
8
7
  const init_1 = tslib_1.__importDefault(require("../../generators/init/init"));
9
8
  const add_linting_1 = tslib_1.__importDefault(require("../add-linting/add-linting"));
@@ -126,7 +125,7 @@ function setStrictMode(host, options) {
126
125
  }
127
126
  }
128
127
  async function addLinting(host, options) {
129
- if (options.linter === eslint_1.Linter.None) {
128
+ if (options.linter === 'none') {
130
129
  return;
131
130
  }
132
131
  await (0, add_linting_1.default)(host, {
@@ -215,7 +215,7 @@ class E2eMigrator extends project_migrator_1.ProjectMigrator {
215
215
  if (this.isProjectUsingEsLint) {
216
216
  await (0, eslint_1.lintProjectGenerator)(this.tree, {
217
217
  project: this.project.name,
218
- linter: eslint_1.Linter.EsLint,
218
+ linter: 'eslint',
219
219
  unitTestRunner: this.options.unitTestRunner,
220
220
  tsConfigPaths: [
221
221
  (0, devkit_1.joinPathFragments)(this.project.newRoot, 'tsconfig.json'),
@@ -240,7 +240,7 @@ class E2eMigrator extends project_migrator_1.ProjectMigrator {
240
240
  const { configurationGenerator } = (require('@nx/cypress'));
241
241
  await configurationGenerator(this.tree, {
242
242
  project: this.project.name,
243
- linter: this.isProjectUsingEsLint ? eslint_1.Linter.EsLint : eslint_1.Linter.None,
243
+ linter: this.isProjectUsingEsLint ? 'eslint' : 'none',
244
244
  skipFormat: true,
245
245
  // any target would do, we replace it later with the target existing in the project being migrated
246
246
  devServerTarget: `${this.appName}:serve`,
@@ -7,7 +7,6 @@ exports.generateTestLibrary = generateTestLibrary;
7
7
  exports.createStorybookTestWorkspaceForLib = createStorybookTestWorkspaceForLib;
8
8
  const devkit_1 = require("@nx/devkit");
9
9
  const testing_1 = require("@nx/devkit/testing");
10
- const eslint_1 = require("@nx/eslint");
11
10
  const test_runners_1 = require("../../utils/test-runners");
12
11
  const application_1 = require("../application/application");
13
12
  const component_1 = require("../component/component");
@@ -40,7 +39,7 @@ async function createStorybookTestWorkspaceForLib(libName) {
40
39
  await (0, library_1.libraryGenerator)(tree, {
41
40
  directory: libName,
42
41
  buildable: false,
43
- linter: eslint_1.Linter.EsLint,
42
+ linter: 'eslint',
44
43
  publishable: false,
45
44
  simpleName: false,
46
45
  skipFormat: true,