@nx/angular 17.3.0-beta.1 → 17.3.0-beta.2

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/migrations.json CHANGED
@@ -1527,6 +1527,15 @@
1527
1527
  "alwaysAddToPackageJson": false
1528
1528
  }
1529
1529
  }
1530
+ },
1531
+ "17.3.0": {
1532
+ "version": "17.3.0-beta.3",
1533
+ "packages": {
1534
+ "@types/node": {
1535
+ "version": "18.16.9",
1536
+ "alwaysAddToPackageJson": false
1537
+ }
1538
+ }
1530
1539
  }
1531
1540
  }
1532
1541
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/angular",
3
- "version": "17.3.0-beta.1",
3
+ "version": "17.3.0-beta.2",
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.3.0-beta.1",
82
- "@nx/cypress": "17.3.0-beta.1",
83
- "@nx/jest": "17.3.0-beta.1",
84
- "@nx/js": "17.3.0-beta.1",
85
- "@nx/eslint": "17.3.0-beta.1",
86
- "@nx/webpack": "17.3.0-beta.1",
87
- "@nx/web": "17.3.0-beta.1",
88
- "@nx/workspace": "17.3.0-beta.1",
89
- "@nrwl/angular": "17.3.0-beta.1"
81
+ "@nx/devkit": "17.3.0-beta.2",
82
+ "@nx/cypress": "17.3.0-beta.2",
83
+ "@nx/jest": "17.3.0-beta.2",
84
+ "@nx/js": "17.3.0-beta.2",
85
+ "@nx/eslint": "17.3.0-beta.2",
86
+ "@nx/webpack": "17.3.0-beta.2",
87
+ "@nx/web": "17.3.0-beta.2",
88
+ "@nx/workspace": "17.3.0-beta.2",
89
+ "@nrwl/angular": "17.3.0-beta.2"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
@@ -1,3 +1,4 @@
1
1
  import { type ExecutorContext } from '@nx/devkit';
2
2
  import { type Schema } from './schema';
3
- export default function moduleFederationDevServerExecutor(schema: Schema, context: ExecutorContext): AsyncGenerator<any, any, undefined>;
3
+ export declare function moduleFederationDevServerExecutor(schema: Schema, context: ExecutorContext): AsyncGenerator<any, any, undefined>;
4
+ export default moduleFederationDevServerExecutor;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.moduleFederationDevServerExecutor = void 0;
3
4
  const devkit_1 = require("@nx/devkit");
4
5
  const lib_1 = require("./lib");
5
6
  const rxjs_for_await_1 = require("@nx/devkit/src/utils/rxjs-for-await");
@@ -107,4 +108,5 @@ async function* moduleFederationDevServerExecutor(schema, context) {
107
108
  }
108
109
  }));
109
110
  }
111
+ exports.moduleFederationDevServerExecutor = moduleFederationDevServerExecutor;
110
112
  exports.default = moduleFederationDevServerExecutor;
@@ -6,6 +6,7 @@ const eslint_1 = require("@nx/eslint");
6
6
  const add_angular_eslint_dependencies_1 = require("./lib/add-angular-eslint-dependencies");
7
7
  const eslint_file_1 = require("@nx/eslint/src/generators/utils/eslint-file");
8
8
  const string_utils_1 = require("@nx/devkit/src/utils/string-utils");
9
+ const global_eslint_config_1 = require("@nx/eslint/src/generators/init/global-eslint-config");
9
10
  async function addLintingGenerator(tree, options) {
10
11
  const tasks = [];
11
12
  const rootProject = options.projectRoot === '.' || options.projectRoot === '';
@@ -28,6 +29,7 @@ async function addLintingGenerator(tree, options) {
28
29
  .read((0, devkit_1.joinPathFragments)(options.projectRoot, eslintFile), 'utf8')
29
30
  .includes(`${options.projectRoot}/tsconfig.*?.json`);
30
31
  (0, eslint_file_1.replaceOverridesInLintConfig)(tree, options.projectRoot, [
32
+ ...(rootProject ? [global_eslint_config_1.typeScriptOverride, global_eslint_config_1.javaScriptOverride] : []),
31
33
  {
32
34
  files: ['*.ts'],
33
35
  ...(hasParserOptions
@@ -689,7 +689,7 @@ import { Component, ViewEncapsulation } from '@angular/core';
689
689
  <path stroke-width="2" d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z" />
690
690
  </svg>
691
691
  <h2>
692
- NxCloud
692
+ Nx Cloud
693
693
  <span>
694
694
  Enable faster CI & better DX
695
695
  </span>
@@ -692,7 +692,7 @@ import { CommonModule } from '@angular/common';
692
692
  <path stroke-width="2" d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z" />
693
693
  </svg>
694
694
  <h2>
695
- NxCloud
695
+ Nx Cloud
696
696
  <span>
697
697
  Enable faster CI & better DX
698
698
  </span>
@@ -21,6 +21,6 @@ export declare const postcssUrlVersion = "~10.1.3";
21
21
  export declare const autoprefixerVersion = "^10.4.0";
22
22
  export declare const tsNodeVersion = "10.9.1";
23
23
  export declare const jestPresetAngularVersion = "~13.1.4";
24
- export declare const typesNodeVersion = "16.11.7";
24
+ export declare const typesNodeVersion = "18.16.9";
25
25
  export declare const jasmineMarblesVersion = "^0.9.2";
26
26
  export declare const jsoncEslintParserVersion = "^2.1.0";
@@ -24,6 +24,6 @@ exports.postcssUrlVersion = '~10.1.3';
24
24
  exports.autoprefixerVersion = '^10.4.0';
25
25
  exports.tsNodeVersion = '10.9.1';
26
26
  exports.jestPresetAngularVersion = '~13.1.4';
27
- exports.typesNodeVersion = '16.11.7';
27
+ exports.typesNodeVersion = '18.16.9';
28
28
  exports.jasmineMarblesVersion = '^0.9.2';
29
29
  exports.jsoncEslintParserVersion = '^2.1.0';