@nx/angular 19.0.0 → 19.0.1
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/executors.json +9 -9
- package/package.json +8 -8
- package/src/builders/dev-server/schema.json +1 -1
- package/src/builders/module-federation-dev-ssr/schema.json +1 -1
- package/src/builders/webpack-browser/schema.json +1 -1
- package/src/builders/webpack-server/schema.json +1 -1
- package/src/executors/application/schema.json +1 -1
- package/src/executors/browser-esbuild/schema.json +1 -1
- package/src/executors/module-federation-dev-server/schema.json +1 -1
- package/src/executors/ng-packagr-lite/schema.json +1 -1
- package/src/executors/package/schema.json +1 -1
package/executors.json
CHANGED
|
@@ -8,27 +8,27 @@
|
|
|
8
8
|
"ng-packagr-lite": {
|
|
9
9
|
"implementation": "./src/executors/ng-packagr-lite/ng-packagr-lite.impl",
|
|
10
10
|
"schema": "./src/executors/ng-packagr-lite/schema.json",
|
|
11
|
-
"description": "Builds
|
|
11
|
+
"description": "Builds an Angular library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16)."
|
|
12
12
|
},
|
|
13
13
|
"package": {
|
|
14
14
|
"implementation": "./src/executors/package/package.impl",
|
|
15
15
|
"schema": "./src/executors/package/schema.json",
|
|
16
|
-
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\nThis executor is
|
|
16
|
+
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is a drop-in replacement for the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds."
|
|
17
17
|
},
|
|
18
18
|
"browser-esbuild": {
|
|
19
19
|
"implementation": "./src/executors/browser-esbuild/browser-esbuild.impl",
|
|
20
20
|
"schema": "./src/executors/browser-esbuild/schema.json",
|
|
21
|
-
"description": "Builds
|
|
21
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/)."
|
|
22
22
|
},
|
|
23
23
|
"module-federation-dev-server": {
|
|
24
24
|
"implementation": "./src/executors/module-federation-dev-server/module-federation-dev-server.impl",
|
|
25
25
|
"schema": "./src/executors/module-federation-dev-server/schema.json",
|
|
26
|
-
"description": "
|
|
26
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) allowing to specify which remote applications should be served with the host."
|
|
27
27
|
},
|
|
28
28
|
"application": {
|
|
29
29
|
"implementation": "./src/executors/application/application.impl",
|
|
30
30
|
"schema": "./src/executors/application/schema.json",
|
|
31
|
-
"description": "Builds an application
|
|
31
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/) with integrated SSR and prerendering capabilities. _Note: this is only supported in Angular versions >= 17.0.0_."
|
|
32
32
|
},
|
|
33
33
|
"extract-i18n": {
|
|
34
34
|
"implementation": "./src/executors/extract-i18n/extract-i18n.impl",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"webpack-browser": {
|
|
41
41
|
"implementation": "./src/builders/webpack-browser/webpack-browser.impl",
|
|
42
42
|
"schema": "./src/builders/webpack-browser/schema.json",
|
|
43
|
-
"description": "
|
|
43
|
+
"description": "Builds an Angular application using [webpack](https://webpack.js.org/)."
|
|
44
44
|
},
|
|
45
45
|
"dev-server": {
|
|
46
46
|
"implementation": "./src/builders/dev-server/dev-server.impl",
|
|
47
47
|
"schema": "./src/builders/dev-server/schema.json",
|
|
48
|
-
"description": "Serves an Angular application using [
|
|
48
|
+
"description": "Serves an Angular application using [webpack](https://webpack.js.org/) when the build target is using a webpack-based executor, or [Vite](https://vitejs.dev/) when the build target uses an [esbuild](https://esbuild.github.io/)-based executor."
|
|
49
49
|
},
|
|
50
50
|
"webpack-server": {
|
|
51
51
|
"implementation": "./src/builders/webpack-server/webpack-server.impl",
|
|
52
52
|
"schema": "./src/builders/webpack-server/schema.json",
|
|
53
|
-
"description": "
|
|
53
|
+
"description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration."
|
|
54
54
|
},
|
|
55
55
|
"module-federation-dev-ssr": {
|
|
56
56
|
"implementation": "./src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl",
|
|
57
57
|
"schema": "./src/builders/module-federation-dev-ssr/schema.json",
|
|
58
|
-
"description": "
|
|
58
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) that use SSR allowing to specify which remote applications should be served with the host."
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.1",
|
|
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": {
|
|
@@ -78,14 +78,14 @@
|
|
|
78
78
|
"tslib": "^2.3.0",
|
|
79
79
|
"webpack": "^5.80.0",
|
|
80
80
|
"webpack-merge": "^5.8.0",
|
|
81
|
-
"@nx/devkit": "19.0.
|
|
82
|
-
"@nx/js": "19.0.
|
|
83
|
-
"@nx/eslint": "19.0.
|
|
84
|
-
"@nx/webpack": "19.0.
|
|
85
|
-
"@nx/web": "19.0.
|
|
86
|
-
"@nx/workspace": "19.0.
|
|
81
|
+
"@nx/devkit": "19.0.1",
|
|
82
|
+
"@nx/js": "19.0.1",
|
|
83
|
+
"@nx/eslint": "19.0.1",
|
|
84
|
+
"@nx/webpack": "19.0.1",
|
|
85
|
+
"@nx/web": "19.0.1",
|
|
86
|
+
"@nx/workspace": "19.0.1",
|
|
87
87
|
"piscina": "^4.4.0",
|
|
88
|
-
"@nrwl/angular": "19.0.
|
|
88
|
+
"@nrwl/angular": "19.0.1"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@angular-devkit/build-angular": ">= 15.0.0 < 18.0.0",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
5
5
|
"title": "Schema for Webpack Dev Server",
|
|
6
|
-
"description": "Serves an Angular application using [
|
|
6
|
+
"description": "Serves an Angular application using [webpack](https://webpack.js.org/) when the build target is using a webpack-based executor, or [Vite](https://vitejs.dev/) when the build target uses an [esbuild](https://esbuild.github.io/)-based executor.",
|
|
7
7
|
"examplesFile": "../../../docs/dev-server-examples.md",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"presets": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
3
|
"title": "Module Federation SSR Dev Server Target",
|
|
4
|
-
"description": "SSR
|
|
4
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) that use SSR allowing to specify which remote applications should be served with the host.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"browserTarget": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
5
5
|
"title": "Schema for Webpack Browser",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Builds an Angular application using [webpack](https://webpack.js.org/).",
|
|
7
7
|
"examplesFile": "../../../docs/webpack-browser-examples.md",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"presets": [
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
5
5
|
"title": "Schema for Webpack Server",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"assets": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
3
|
"title": "Schema for Nx Application Executor",
|
|
4
|
-
"description": "Builds an application
|
|
4
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/) with integrated SSR and prerendering capabilities. _Note: this is only supported in Angular versions >= 17.0.0_.",
|
|
5
5
|
"examplesFile": "../../../docs/application-executor-examples.md",
|
|
6
6
|
"outputCapture": "direct-nodejs",
|
|
7
7
|
"type": "object",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
3
|
"title": "Schema for Nx ESBuild Executor",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Builds an Angular application using [esbuild](https://esbuild.github.io/).",
|
|
5
5
|
"examplesFile": "../../../docs/browser-esbuild-examples.md",
|
|
6
6
|
"outputCapture": "direct-nodejs",
|
|
7
7
|
"type": "object",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
3
|
"title": "Schema for Module Federation Dev Server",
|
|
4
4
|
"outputCapture": "direct-nodejs",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Serves host [Module Federation](https://module-federation.io/) applications ([webpack](https://webpack.js.org/)-based) allowing to specify which remote applications should be served with the host.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"presets": [
|
|
8
8
|
{
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"$schema": "https://json-schema.org/schema",
|
|
5
5
|
"title": "ng-packagr Target",
|
|
6
|
-
"description": "Builds
|
|
6
|
+
"description": "Builds an Angular library with support for incremental builds.\n\nThis executor is meant to be used with buildable libraries in an incremental build scenario. It is similar to the `@nx/angular:package` executor but with some key differences:\n- For supported Angular versions lower than v16, it doesn't run `ngcc` automatically (`ngcc` is no longer available from Angular v16 onwards, for lower versions, it needs to be run separately beforehand if needed, this can be done in a `postinstall` hook on `package.json`).\n- It only produces ESM2022 bundles (ESM2020 for supported Angular versions lower than v16).",
|
|
7
7
|
"cli": "nx",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"presets": [
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"outputCapture": "direct-nodejs",
|
|
4
4
|
"$schema": "https://json-schema.org/schema",
|
|
5
5
|
"title": "ng-packagr Target",
|
|
6
|
-
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is
|
|
6
|
+
"description": "Builds and packages an Angular library producing an output following the Angular Package Format (APF) to be distributed as an NPM package.\n\nThis executor is a drop-in replacement for the `@angular-devkit/build-angular:ng-packagr` with additional support for incremental builds.",
|
|
7
7
|
"cli": "nx",
|
|
8
8
|
"type": "object",
|
|
9
9
|
"presets": [
|