@nrwl/angular 12.10.0-beta.5 → 12.10.0-beta.6
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/README.md +31 -9
- package/package.json +6 -6
- package/src/utils/versions.js +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,30 @@
|
|
|
17
17
|
|
|
18
18
|
# Angular Plugin for Nx
|
|
19
19
|
|
|
20
|
+
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications, and libraries within an Nx workspace. It provides:
|
|
21
|
+
|
|
22
|
+
- Integration with libraries such as Jest, Cypress, Karma, Protractor, and Storybook.
|
|
23
|
+
- Helper services, and functions to use along with NgRx libraries.
|
|
24
|
+
- Scaffolding for upgrading AngularJS applications.
|
|
25
|
+
- Scaffolding for creating buildable libraries that can be published to npm.
|
|
26
|
+
- Utilities for automatic workspace refactoring.
|
|
27
|
+
|
|
28
|
+
## Adding the Angular plugin
|
|
29
|
+
|
|
30
|
+
Adding the Angular plugin to a workspace can be done with the following:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
#yarn
|
|
34
|
+
yarn add @nrwl/angular
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
#npm
|
|
39
|
+
npm install @nrwl/angular
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
For more information about the `@nrwl/angular` package take a look at the [Angular Plugin Overview](https://nx.dev/l/a/angular/overview).
|
|
43
|
+
|
|
20
44
|
## What is Nx?
|
|
21
45
|
|
|
22
46
|
🔎 **Smart, Extensible Build Framework**
|
|
@@ -94,10 +118,12 @@ Select the preset that works best for you.
|
|
|
94
118
|
|
|
95
119
|
|
|
96
120
|
```
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
121
|
+
|
|
122
|
+
✔ Workspace name (e.g., org name) · happyorg
|
|
123
|
+
✔ What to create in the new workspace · angular
|
|
124
|
+
✔ Application name · my app
|
|
125
|
+
✔ Default stylesheet format · css
|
|
126
|
+
|
|
101
127
|
```
|
|
102
128
|
|
|
103
129
|
### Serving Application
|
|
@@ -106,16 +132,12 @@ Select the preset that works best for you.
|
|
|
106
132
|
- Run `nx test myapp` to test it.
|
|
107
133
|
- Run `nx e2e myapp-e2e` to run e2e tests for it.
|
|
108
134
|
|
|
109
|
-
You can also use `ng` instead of `nx
|
|
135
|
+
You can also use `ng` instead of `nx`:
|
|
110
136
|
|
|
111
137
|
- Run `ng serve myapp` to serve the newly generated application!
|
|
112
138
|
- Run `ng test myapp` to test it.
|
|
113
139
|
- Run `ng e2e myapp-e2e` to run e2e tests for it.
|
|
114
140
|
|
|
115
|
-
### Adding Angular Plugin Into an Existing Workspace
|
|
116
|
-
|
|
117
|
-
You can always add the Angular plugin to an existing workspace by installing `@nrwl/angular` and then generating an Angular application, as follows: `ng g @nrwl/angular:app myapp`.
|
|
118
|
-
|
|
119
141
|
## Quick Start Videos
|
|
120
142
|
|
|
121
143
|
<a href="https://www.youtube.com/watch?v=mVKMse-gFBI" target="_blank">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/angular",
|
|
3
|
-
"version": "12.10.0-beta.
|
|
3
|
+
"version": "12.10.0-beta.6",
|
|
4
4
|
"description": "Angular Plugin for Nx",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@angular-devkit/schematics": "~12.2.0",
|
|
38
|
-
"@nrwl/cypress": "12.10.0-beta.
|
|
39
|
-
"@nrwl/devkit": "12.10.0-beta.
|
|
40
|
-
"@nrwl/jest": "12.10.0-beta.
|
|
41
|
-
"@nrwl/linter": "12.10.0-beta.
|
|
42
|
-
"@nrwl/storybook": "12.10.0-beta.
|
|
38
|
+
"@nrwl/cypress": "12.10.0-beta.6",
|
|
39
|
+
"@nrwl/devkit": "12.10.0-beta.6",
|
|
40
|
+
"@nrwl/jest": "12.10.0-beta.6",
|
|
41
|
+
"@nrwl/linter": "12.10.0-beta.6",
|
|
42
|
+
"@nrwl/storybook": "12.10.0-beta.6",
|
|
43
43
|
"@schematics/angular": "~12.2.0",
|
|
44
44
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
45
45
|
"ignore": "^5.0.4",
|
package/src/utils/versions.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.webpackVersion = exports.angularEslintVersion = exports.jestPresetAngularVersion = exports.rxjsVersion = exports.ngrxVersion = exports.angularJsVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
|
|
4
|
-
exports.nxVersion = '12.10.0-beta.
|
|
4
|
+
exports.nxVersion = '12.10.0-beta.6';
|
|
5
5
|
exports.angularVersion = '^12.2.0';
|
|
6
6
|
exports.angularDevkitVersion = '~12.2.0';
|
|
7
7
|
exports.angularJsVersion = '1.7.9';
|