@nx/angular 17.3.0-beta.1 → 17.3.0-beta.3
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 +9 -0
- package/package.json +10 -10
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.d.ts +2 -1
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js +2 -0
- package/src/generators/add-linting/add-linting.js +2 -0
- package/src/generators/application/files/ng-module/src/app/nx-welcome.component.ts__tpl__ +1 -1
- package/src/generators/application/files/standalone-components/src/app/nx-welcome.component.ts__tpl__ +1 -1
- package/src/generators/application/lib/add-unit-test-runner.js +1 -0
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.js +1 -1
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.
|
|
3
|
+
"version": "17.3.0-beta.3",
|
|
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.
|
|
82
|
-
"@nx/cypress": "17.3.0-beta.
|
|
83
|
-
"@nx/jest": "17.3.0-beta.
|
|
84
|
-
"@nx/js": "17.3.0-beta.
|
|
85
|
-
"@nx/eslint": "17.3.0-beta.
|
|
86
|
-
"@nx/webpack": "17.3.0-beta.
|
|
87
|
-
"@nx/web": "17.3.0-beta.
|
|
88
|
-
"@nx/workspace": "17.3.0-beta.
|
|
89
|
-
"@nrwl/angular": "17.3.0-beta.
|
|
81
|
+
"@nx/devkit": "17.3.0-beta.3",
|
|
82
|
+
"@nx/cypress": "17.3.0-beta.3",
|
|
83
|
+
"@nx/jest": "17.3.0-beta.3",
|
|
84
|
+
"@nx/js": "17.3.0-beta.3",
|
|
85
|
+
"@nx/eslint": "17.3.0-beta.3",
|
|
86
|
+
"@nx/webpack": "17.3.0-beta.3",
|
|
87
|
+
"@nx/web": "17.3.0-beta.3",
|
|
88
|
+
"@nx/workspace": "17.3.0-beta.3",
|
|
89
|
+
"@nrwl/angular": "17.3.0-beta.3"
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
695
|
+
Nx Cloud
|
|
696
696
|
<span>
|
|
697
697
|
Enable faster CI & better DX
|
|
698
698
|
</span>
|
|
@@ -7,6 +7,7 @@ const test_runners_1 = require("../../../utils/test-runners");
|
|
|
7
7
|
async function addUnitTestRunner(host, options) {
|
|
8
8
|
if (options.unitTestRunner === test_runners_1.UnitTestRunner.Jest) {
|
|
9
9
|
await (0, jest_1.configurationGenerator)(host, {
|
|
10
|
+
...options,
|
|
10
11
|
project: options.name,
|
|
11
12
|
setupFile: 'angular',
|
|
12
13
|
supportTsx: false,
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -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.
|
|
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";
|
package/src/utils/versions.js
CHANGED
|
@@ -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.
|
|
27
|
+
exports.typesNodeVersion = '18.16.9';
|
|
28
28
|
exports.jasmineMarblesVersion = '^0.9.2';
|
|
29
29
|
exports.jsoncEslintParserVersion = '^2.1.0';
|