@nx/angular 17.2.0-beta.5 → 17.2.0-beta.8

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": "17.2.0-beta.5",
3
+ "version": "17.2.0-beta.8",
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, 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- Upgrading AngularJS applications \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
@@ -78,15 +78,15 @@
78
78
  "tslib": "^2.3.0",
79
79
  "webpack": "^5.80.0",
80
80
  "webpack-merge": "^5.8.0",
81
- "@nx/devkit": "17.2.0-beta.5",
82
- "@nx/cypress": "17.2.0-beta.5",
83
- "@nx/jest": "17.2.0-beta.5",
84
- "@nx/js": "17.2.0-beta.5",
85
- "@nx/eslint": "17.2.0-beta.5",
86
- "@nx/webpack": "17.2.0-beta.5",
87
- "@nx/web": "17.2.0-beta.5",
88
- "@nx/workspace": "17.2.0-beta.5",
89
- "@nrwl/angular": "17.2.0-beta.5"
81
+ "@nx/devkit": "17.2.0-beta.8",
82
+ "@nx/cypress": "17.2.0-beta.8",
83
+ "@nx/jest": "17.2.0-beta.8",
84
+ "@nx/js": "17.2.0-beta.8",
85
+ "@nx/eslint": "17.2.0-beta.8",
86
+ "@nx/webpack": "17.2.0-beta.8",
87
+ "@nx/web": "17.2.0-beta.8",
88
+ "@nx/workspace": "17.2.0-beta.8",
89
+ "@nrwl/angular": "17.2.0-beta.8"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.addLintingGenerator = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
5
  const eslint_1 = require("@nx/eslint");
6
- const lint_project_1 = require("@nx/eslint/src/generators/lint-project/lint-project");
7
6
  const add_angular_eslint_dependencies_1 = require("./lib/add-angular-eslint-dependencies");
8
7
  const eslint_file_1 = require("@nx/eslint/src/generators/utils/eslint-file");
9
8
  const string_utils_1 = require("@nx/devkit/src/utils/string-utils");
@@ -17,10 +16,6 @@ async function addLintingGenerator(tree, options) {
17
16
  (0, devkit_1.joinPathFragments)(options.projectRoot, 'tsconfig.app.json'),
18
17
  ],
19
18
  unitTestRunner: options.unitTestRunner,
20
- eslintFilePatterns: [
21
- (0, lint_project_1.mapLintPattern)(options.projectRoot, 'ts', rootProject),
22
- (0, lint_project_1.mapLintPattern)(options.projectRoot, 'html', rootProject),
23
- ],
24
19
  setParserOptionsProject: options.setParserOptionsProject,
25
20
  skipFormat: true,
26
21
  rootProject: rootProject,
@@ -1,5 +1,4 @@
1
1
  export * from './add-files';
2
2
  export * from './add-path-mapping';
3
3
  export * from './normalize-options';
4
- export * from './update-linting-file-patterns';
5
4
  export * from './update-tsconfig-included-files';
@@ -4,5 +4,4 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./add-files"), exports);
5
5
  tslib_1.__exportStar(require("./add-path-mapping"), exports);
6
6
  tslib_1.__exportStar(require("./normalize-options"), exports);
7
- tslib_1.__exportStar(require("./update-linting-file-patterns"), exports);
8
7
  tslib_1.__exportStar(require("./update-tsconfig-included-files"), exports);
@@ -8,7 +8,6 @@ async function librarySecondaryEntryPointGenerator(tree, rawOptions) {
8
8
  (0, lib_1.addFiles)(tree, options);
9
9
  (0, lib_1.addPathMapping)(tree, options);
10
10
  (0, lib_1.updateTsConfigIncludedFiles)(tree, options);
11
- (0, lib_1.updateLintingFilePatterns)(tree, options);
12
11
  await (0, devkit_1.formatFiles)(tree);
13
12
  }
14
13
  exports.librarySecondaryEntryPointGenerator = librarySecondaryEntryPointGenerator;
@@ -217,7 +217,6 @@ class E2eMigrator extends project_migrator_1.ProjectMigrator {
217
217
  await (0, eslint_1.lintProjectGenerator)(this.tree, {
218
218
  project: this.project.name,
219
219
  linter: eslint_1.Linter.EsLint,
220
- eslintFilePatterns: [`${this.project.newRoot}/**/*.{js,ts}`],
221
220
  unitTestRunner: this.options.unitTestRunner,
222
221
  tsConfigPaths: [
223
222
  (0, devkit_1.joinPathFragments)(this.project.newRoot, 'tsconfig.json'),
@@ -1,3 +0,0 @@
1
- import { Tree } from '@nx/devkit';
2
- import { NormalizedGeneratorOptions } from '../schema';
3
- export declare function updateLintingFilePatterns(tree: Tree, options: NormalizedGeneratorOptions): void;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.updateLintingFilePatterns = void 0;
4
- const devkit_1 = require("@nx/devkit");
5
- function updateLintingFilePatterns(tree, options) {
6
- const { libraryProject } = options;
7
- if (libraryProject.targets?.lint?.options?.lintFilePatterns) {
8
- libraryProject.targets.lint.options.lintFilePatterns.push(...[
9
- `${libraryProject.root}/${options.name}/**/*.ts`,
10
- `${libraryProject.root}/${options.name}/**/*.html`,
11
- ]);
12
- (0, devkit_1.updateProjectConfiguration)(tree, options.library, libraryProject);
13
- }
14
- }
15
- exports.updateLintingFilePatterns = updateLintingFilePatterns;