@nrwl/angular 13.4.5 → 13.5.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/README.md CHANGED
@@ -15,194 +15,10 @@
15
15
 
16
16
  <hr>
17
17
 
18
- # Angular Plugin for Nx
18
+ # Nx: Smart, Fast and Extensible Build System
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:
20
+ Nx is a next generation build system with first class monorepo support and powerful integrations.
21
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
-
44
- ## What is Nx?
45
-
46
- 🔎 **Smart, Fast and Extensible Build System**
47
-
48
- Nx is a smart, fast and extensible build system. It comes with first class monorepo support and powerful integrations.
49
-
50
- ### Best-in-Class Support for Monorepos
51
-
52
- <strong>Nx</strong> provides distributed graph-based task execution and computation caching.
53
-
54
- <strong>Nx</strong> is smart. It analyzes your workspace and figures out what can be affected by every code change.
55
- That's why Nx doesn't rebuild and retest everything on every commit--<strong>it only rebuilds what is necessary</strong>
56
- .
57
-
58
- <strong>Nx</strong> partitions commands into a graph of smaller tasks. Nx then runs those tasks in parallel,
59
- and <strong>it can even distribute them across multiple machines without any configuration</strong>.
60
-
61
- <strong>Nx also uses a distributed computation cache.</strong> If someone has already built or tested similar code, Nx
62
- will use their results to speed up the command for everyone else.
63
-
64
- ### Holistic Dev Experience Powered by an Advanced CLI and Editor Plugins
65
-
66
- <strong>Nx</strong> helps scale your development from one team building one application to many teams building multiple
67
- frontend and backend applications all in the same workspace. <strong >When using Nx, developers have a holistic dev
68
- experience powered by an advanced CLI</strong > (with editor plugins), capabilities for controlled code sharing and
69
- consistent code generation.
70
-
71
- ### Rich Plugin Ecosystem
72
-
73
- <strong>Nx</strong> is an open platform with plugins for many modern tools and frameworks. It has support for
74
- TypeScript, React, Angular, Cypress, Jest, Prettier, Nest.js, Next.js, Storybook, Ionic among others. With Nx, you get a
75
- consistent dev experience regardless of the tools used.
76
-
77
-
78
- ## Getting Started
79
-
80
- ### Creating an Nx Workspace
81
-
82
- **Using `npx`**
83
-
84
- ```bash
85
- npx create-nx-workspace
86
- ```
87
-
88
- **Using `npm init`**
89
-
90
- ```bash
91
- npm init nx-workspace
92
- ```
93
-
94
- **Using `yarn create`**
95
-
96
- ```bash
97
- yarn create nx-workspace
98
- ```
99
-
100
- The `create-nx-workspace` command will ask you to select a preset, which will configure some plugins and create your applications to help you get started.
101
-
102
- ```
103
- ? What to create in the new workspace (Use arrow keys)
104
- ❯ empty [an empty workspace with a layout that works best for building apps]
105
- npm [an empty workspace set up to publish npm packages (similar to and compatible with yarn workspaces)]
106
- react [a workspace with a single React application]
107
- angular [a workspace with a single Angular application]
108
- next.js [a workspace with a single Next.js application]
109
- gatsby [a workspace with a single Gatsby application]
110
- nest [a workspace with a single Nest application]
111
- express [a workspace with a single Express application]
112
- web components [a workspace with a single app built using web components]
113
- react-express [a workspace with a full stack application (React + Express)]
114
- angular-nest [a workspace with a full stack application (Angular + Nest)]
115
- ```
116
-
117
- Select the preset that works best for you.
118
-
119
-
120
- ```
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
-
127
- ```
128
-
129
- ### Serving Application
130
-
131
- - Run `nx serve myapp` to serve the newly generated application!
132
- - Run `nx test myapp` to test it.
133
- - Run `nx e2e myapp-e2e` to run e2e tests for it.
134
-
135
- You can also use `ng` instead of `nx`:
136
-
137
- - Run `ng serve myapp` to serve the newly generated application!
138
- - Run `ng test myapp` to test it.
139
- - Run `ng e2e myapp-e2e` to run e2e tests for it.
140
-
141
- ## Quick Start Videos
142
-
143
- <a href="https://www.youtube.com/watch?v=mVKMse-gFBI" target="_blank">
144
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-angular-video.png" width="350" alt="Nx - Quick Start Videos"></p>
145
- </a>
146
-
147
- - [Nx Dev Tools for Monorepos, In-Depth Explainer](https://youtu.be/h5FIGDn5YM0)
148
-
149
- ## Documentation & Resources
150
-
151
- Even though Nx isn't technology specific, we provide 3 separate flavours of the documentation site to it make it easier for you to get up and running. For every link below, you will be able to select whether you want your examples to be written in React, Node or Angular.
152
-
153
- - [Nx Documentation and Guides](https://nx.dev)
154
- - [Intro into Nx](https://nx.dev/getting-started/intro)
155
- - [Interactive Tutorial with Videos](https://nx.dev/tutorial/01-create-application)
156
-
157
- ### Quick Start Videos
158
-
159
- - [Scale Your React Development with Nx](https://www.youtube.com/watch?v=sNz-4PUM0k8)
160
- - [Scale your Node Development with Nx](https://www.youtube.com/watch?v=iIh5h_G52kI)
161
- - [Modern Angular with Nx Dev Tools](https://www.youtube.com/watch?v=cXOkmOy-8dk)
162
-
163
- ### Courses
164
-
165
- <table>
166
- <tr>
167
- <td><strong>Scale React Development with Nx</strong></td>
168
- <td><strong>Nx Workspaces</strong></td>
169
- <td><strong>Advanced Nx Workspaces</strong></td>
170
- </tr>
171
- <tr>
172
- <td>
173
- <a href="https://egghead.io/playlists/scale-react-development-with-nx-4038" target="_blank">
174
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/EGH_ScalingReactNx.png" height="150px" alt="Nx - Scale React Development with Nx video course"></p>
175
- </a>
176
- </td>
177
- <td>
178
- <a href="https://www.youtube.com/watch?v=2mYLe9Kp9VM&list=PLakNactNC1dH38AfqmwabvOszDmKriGco" target="_blank">
179
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-workspace-course.png" width="350" alt="Nx Workspaces video course"></p>
180
- </a>
181
- </td>
182
- <td>
183
- <a href="https://nxplaybook.com/p/advanced-nx-workspaces" target="_blank">
184
- <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/advanced-nx-workspace-course.png" width="350" alt="Nx Advanced Workspaces video course"></p>
185
- </a>
186
- </td>
187
- </tr>
188
- </table>
189
-
190
- ### Videos, Blogs, Books, Examples
191
-
192
- - [Nx Dev Tools for Monorepos, In-Depth Explainer (React)](https://www.youtube.com/watch?v=jCf92IyR-GE)
193
-
194
- - [Nx Dev Tools for Monorepos, In-Depth Explainer (Angular)](https://youtu.be/h5FIGDn5YM0)
195
-
196
- - [Youtube Channel with Nx-Related Videos](https://www.youtube.com/playlist?list=PLakNactNC1dHHWx4JIORwfnEajRv6FG5m)
197
-
198
- - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
199
-
200
- - [Angular Enterprise Monorepo Patterns Book (free)](https://go.nrwl.io/angular-enterprise-monorepo-patterns-new-book?utm_campaign=Book%3A%20Monorepo%20Patterns%2C%20Jan%202019&utm_source=Github&utm_medium=Banner%20Ad)
201
-
202
- - [Nx Examples Repo](https://github.com/nrwl/nx-examples)
203
-
204
- # Engage with the Core Team and the Community
205
-
206
- - [The Nx Show Playlist on YouTube](https://www.youtube.com/playlist?list=PLakNactNC1dE8KLQ5zd3fQwu_yQHjTmR5). It's a regular YouTube stream where we talk all things Nx. Join the stream, ask questions, etc.
207
- - [Follow Nx on Twitter](https://twitter.com/NxDevTools)
22
+ This package is an [Angular plugin for Nx](https://nx.dev/angular/overview).
208
23
 
24
+ {{content}
package/executors.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './src/executors/delegate-build/delegate-build.impl';
2
+ export * from './src/executors/ng-packagr-lite/ng-packagr-lite.impl';
3
+ export * from './src/executors/package/package.impl';
package/executors.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ (0, tslib_1.__exportStar)(require("./src/executors/delegate-build/delegate-build.impl"), exports);
5
+ (0, tslib_1.__exportStar)(require("./src/executors/ng-packagr-lite/ng-packagr-lite.impl"), exports);
6
+ (0, tslib_1.__exportStar)(require("./src/executors/package/package.impl"), exports);
7
+ //# sourceMappingURL=executors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executors.js","sourceRoot":"","sources":["../../../packages/angular/executors.ts"],"names":[],"mappings":";;;AAAA,kGAAmE;AACnE,oGAAqE;AACrE,oFAAqD"}
package/migrations.json CHANGED
@@ -133,6 +133,12 @@
133
133
  "description": "In Angular version 13, the ESM became a first class citizen. This means the webpack config generated must be modified to support modules.",
134
134
  "factory": "./src/migrations/update-13-3-0/update-mfe-webpack-config"
135
135
  },
136
+ "remove-library-generator-style-default": {
137
+ "cli": "nx",
138
+ "version": "13.4.5-beta.7",
139
+ "description": "Remove the default for the invalid 'style' option for the library generator if configured.",
140
+ "factory": "./src/migrations/update-13-5-0/remove-library-generator-style-default"
141
+ },
136
142
  "fix-incorrect-mfe-setups": {
137
143
  "cli": "nx",
138
144
  "version": "13.5.0-beta.0",
package/ng-package.json CHANGED
@@ -13,7 +13,6 @@
13
13
  "jasmine-marbles",
14
14
  "rxjs-for-await",
15
15
  "webpack-merge",
16
- "find-parent-dir",
17
16
  "ts-node",
18
17
  "tsconfig-paths",
19
18
  "semver"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/angular",
3
- "version": "13.4.5",
3
+ "version": "13.5.0-beta.2",
4
4
  "description": "Angular Plugin for Nx",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,6 +19,7 @@
19
19
  ],
20
20
  "exports": {
21
21
  "./generators": "./generators.js",
22
+ "./executors": "./executors.js",
22
23
  "./tailwind": "./tailwind.js",
23
24
  "./src/generators/utils": "./src/generators/utils/index.js",
24
25
  "./package.json": {
@@ -55,18 +56,17 @@
55
56
  },
56
57
  "dependencies": {
57
58
  "@angular-devkit/schematics": "~13.1.0",
58
- "@nrwl/cypress": "13.4.5",
59
- "@nrwl/devkit": "13.4.5",
60
- "@nrwl/jest": "13.4.5",
61
- "@nrwl/linter": "13.4.5",
62
- "@nrwl/storybook": "13.4.5",
59
+ "@nrwl/cypress": "13.5.0-beta.2",
60
+ "@nrwl/devkit": "13.5.0-beta.2",
61
+ "@nrwl/jest": "13.5.0-beta.2",
62
+ "@nrwl/linter": "13.5.0-beta.2",
63
+ "@nrwl/storybook": "13.5.0-beta.2",
63
64
  "@schematics/angular": "~13.1.0",
64
65
  "@phenomnomnominal/tsquery": "4.1.1",
65
66
  "ignore": "^5.0.4",
66
67
  "jasmine-marbles": "~0.8.4",
67
68
  "rxjs-for-await": "0.0.2",
68
69
  "webpack-merge": "5.7.3",
69
- "find-parent-dir": "^0.3.1",
70
70
  "ts-node": "~9.1.1",
71
71
  "tsconfig-paths": "^3.9.0",
72
72
  "semver": "7.3.4",
@@ -17,6 +17,7 @@ function addUnitTestRunner(host, options) {
17
17
  else if (options.unitTestRunner === "karma" /* Karma */) {
18
18
  yield (0, karma_project_1.default)(host, {
19
19
  project: options.name,
20
+ skipFormat: true,
20
21
  });
21
22
  }
22
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"add-unit-test-runner.js","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/application/lib/add-unit-test-runner.ts"],"names":[],"mappings":";;;;AAGA,qCAAkD;AAGlD,qEAAsE;AAEtE,SAAsB,iBAAiB,CAAC,IAAU,EAAE,OAAyB;;QAC3E,IAAI,OAAO,CAAC,cAAc,sBAAwB,EAAE;YAClD,MAAM,IAAA,2BAAoB,EAAC,IAAI,EAAE;gBAC/B,OAAO,EAAE,OAAO,CAAC,IAAI;gBACrB,SAAS,EAAE,SAAS;gBACpB,UAAU,EAAE,KAAK;gBACjB,eAAe,EAAE,KAAK;aACvB,CAAC,CAAC;SACJ;aAAM,IAAI,OAAO,CAAC,cAAc,wBAAyB,EAAE;YAC1D,MAAM,IAAA,uBAAqB,EAAC,IAAI,EAAE;gBAChC,OAAO,EAAE,OAAO,CAAC,IAAI;aACtB,CAAC,CAAC;SACJ;IACH,CAAC;CAAA;AAbD,8CAaC"}
1
+ {"version":3,"file":"add-unit-test-runner.js","sourceRoot":"","sources":["../../../../../../../packages/angular/src/generators/application/lib/add-unit-test-runner.ts"],"names":[],"mappings":";;;;AAGA,qCAAkD;AAGlD,qEAAsE;AAEtE,SAAsB,iBAAiB,CAAC,IAAU,EAAE,OAAyB;;QAC3E,IAAI,OAAO,CAAC,cAAc,sBAAwB,EAAE;YAClD,MAAM,IAAA,2BAAoB,EAAC,IAAI,EAAE;gBAC/B,OAAO,EAAE,OAAO,CAAC,IAAI;gBACrB,SAAS,EAAE,SAAS;gBACpB,UAAU,EAAE,KAAK;gBACjB,eAAe,EAAE,KAAK;aACvB,CAAC,CAAC;SACJ;aAAM,IAAI,OAAO,CAAC,cAAc,wBAAyB,EAAE;YAC1D,MAAM,IAAA,uBAAqB,EAAC,IAAI,EAAE;gBAChC,OAAO,EAAE,OAAO,CAAC,IAAI;gBACrB,UAAU,EAAE,IAAI;aACjB,CAAC,CAAC;SACJ;IACH,CAAC;CAAA;AAdD,8CAcC"}
@@ -12,7 +12,6 @@ export default {
12
12
  } as Meta<<%=componentName%>>;
13
13
 
14
14
  const Template: Story<<%=componentName%>> = (args: <%=componentName%>) => ({
15
- component: <%=componentName%>,
16
15
  props: args,
17
16
  });
18
17
 
@@ -13,7 +13,9 @@ function karmaProjectGenerator(tree, options) {
13
13
  (0, generate_karma_project_files_1.generateKarmaProjectFiles)(tree, options.project);
14
14
  (0, update_tsconfig_1.updateTsConfigs)(tree, options.project);
15
15
  (0, update_workspace_config_1.updateWorkspaceConfig)(tree, options.project);
16
- yield (0, devkit_1.formatFiles)(tree);
16
+ if (!options.skipFormat) {
17
+ yield (0, devkit_1.formatFiles)(tree);
18
+ }
17
19
  });
18
20
  }
19
21
  exports.karmaProjectGenerator = karmaProjectGenerator;
@@ -1 +1 @@
1
- {"version":3,"file":"karma-project.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/karma-project/karma-project.ts"],"names":[],"mappings":";;;;AACA,yCAA2C;AAC3C,+DAAiE;AACjE,qFAA+E;AAC/E,2DAAwD;AACxD,2EAAsE;AAGtE,SAAsB,qBAAqB,CACzC,IAAU,EACV,OAA4B;;QAE5B,IAAA,0CAAsB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAA,wDAAyB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,IAAA,iCAAe,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACvC,IAAA,+CAAqB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7C,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;CAAA;AATD,sDASC;AAED,kBAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"karma-project.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/karma-project/karma-project.ts"],"names":[],"mappings":";;;;AACA,yCAA2C;AAC3C,+DAAiE;AACjE,qFAA+E;AAC/E,2DAAwD;AACxD,2EAAsE;AAGtE,SAAsB,qBAAqB,CACzC,IAAU,EACV,OAA4B;;QAE5B,IAAA,0CAAsB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAA,wDAAyB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,IAAA,iCAAe,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACvC,IAAA,+CAAqB,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE;YACvB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;SACzB;IACH,CAAC;CAAA;AAXD,sDAWC;AAED,kBAAe,qBAAqB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export interface KarmaProjectOptions {
2
2
  project: string;
3
+ skipFormat?: boolean;
3
4
  }
@@ -11,6 +11,11 @@
11
11
  "$default": {
12
12
  "$source": "projectName"
13
13
  }
14
+ },
15
+ "skipFormat": {
16
+ "description": "Skip formatting files.",
17
+ "type": "boolean",
18
+ "default": false
14
19
  }
15
20
  },
16
21
  "additionalProperties": false,
@@ -66,6 +66,7 @@ function libraryGenerator(host, schema) {
66
66
  yield (0, workspace_1.convertToNxProjectGenerator)(host, {
67
67
  project: options.name,
68
68
  all: false,
69
+ skipFormat: true,
69
70
  });
70
71
  }
71
72
  if (!options.skipFormat) {
@@ -85,11 +86,13 @@ function addUnitTestRunner(host, options) {
85
86
  setupFile: 'angular',
86
87
  supportTsx: false,
87
88
  skipSerializers: false,
89
+ skipFormat: true,
88
90
  });
89
91
  }
90
92
  else if (options.unitTestRunner === 'karma') {
91
93
  yield (0, karma_project_1.default)(host, {
92
94
  project: options.name,
95
+ skipFormat: true,
93
96
  });
94
97
  }
95
98
  });
@@ -117,6 +120,7 @@ function addLinting(host, options) {
117
120
  projectRoot: options.projectRoot,
118
121
  prefix: options.prefix,
119
122
  setParserOptionsProject: options.setParserOptionsProject,
123
+ skipFormat: true,
120
124
  });
121
125
  });
122
126
  }
@@ -1 +1 @@
1
- {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/library/library.ts"],"names":[],"mappings":";;;;AAAA,yCAMsB;AACtB,8DAAwE;AACxE,qCAAkD;AAClD,yCAAsC;AACtC,+CAA8D;AAC9D,qDAA8C;AAC9C,mDAAsD;AACtD,4DAA6D;AAC7D,kEAAmE;AACnE,qEAAsE;AACtE,iDAA6C;AAC7C,mFAG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,CAAC,IAAI;gBACrB,SAAS,EAAE,SAAS;gBACpB,UAAU,EAAE,KAAK;gBACjB,eAAe,EAAE,KAAK;aACvB,CAAC,CAAC;SACJ;aAAM,IAAI,OAAO,CAAC,cAAc,KAAK,OAAO,EAAE;YAC7C,MAAM,IAAA,uBAAqB,EAAC,IAAI,EAAE;gBAChC,OAAO,EAAE,OAAO,CAAC,IAAI;aACtB,CAAC,CAAC;SACJ;IACH,CAAC;CAAA;AAED,SAAS,sCAAsC,CAC7C,IAAU,EACV,OAAyB;IAEzB,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,WAAW,EAAE;QAC5C,IAAA,uDAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;KACzC;AACH,CAAC;AAED,SAAS,aAAa,CAAC,IAAU,EAAE,OAAyB;IAC1D,IAAI,OAAO,CAAC,MAAM,EAAE;QAClB,IAAA,sDAAwB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC;KACzC;SAAM;QACL,IAAA,qDAAuB,EAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;KAC/C;AACH,CAAC;AAED,SAAe,UAAU,CAAC,IAAU,EAAE,OAAyB;;QAC7D,IAAI,OAAO,CAAC,MAAM,KAAK,eAAM,CAAC,IAAI,EAAE;YAClC,OAAO;SACR;QACD,MAAM,IAAA,qBAAmB,EAAC,IAAI,EAAE;YAC9B,WAAW,EAAE,OAAO,CAAC,IAAI;YACzB,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,MAAM,EAAE,OAAO,CAAC,MAAM;YACtB,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;SACzD,CAAC,CAAC;IACL,CAAC;CAAA;AAED,kBAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"library.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/generators/library/library.ts"],"names":[],"mappings":";;;;AAAA,yCAMsB;AACtB,8DAAwE;AACxE,qCAAkD;AAClD,yCAAsC;AACtC,+CAA8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AAC;IACL,CAAC;CAAA;AAED,kBAAe,gBAAgB,CAAC"}
@@ -9,8 +9,5 @@ module.exports = {
9
9
  theme: {
10
10
  extend: {},
11
11
  },
12
- variants: {
13
- extend: {},
14
- },
15
12
  plugins: [],
16
13
  };
@@ -0,0 +1,2 @@
1
+ import { Tree } from '@nrwl/devkit';
2
+ export default function (tree: Tree): Promise<void>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const devkit_1 = require("@nrwl/devkit");
5
+ function default_1(tree) {
6
+ var _a;
7
+ return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
8
+ const workspace = (0, devkit_1.readWorkspaceConfiguration)(tree);
9
+ if (!workspace.generators) {
10
+ return;
11
+ }
12
+ if (workspace.generators['@nrwl/angular:library']) {
13
+ delete workspace.generators['@nrwl/angular:library'].style;
14
+ (0, devkit_1.updateWorkspaceConfiguration)(tree, workspace);
15
+ }
16
+ else if ((_a = workspace.generators['@nrwl/angular']) === null || _a === void 0 ? void 0 : _a.library) {
17
+ delete workspace.generators['@nrwl/angular'].library.style;
18
+ (0, devkit_1.updateWorkspaceConfiguration)(tree, workspace);
19
+ }
20
+ yield (0, devkit_1.formatFiles)(tree);
21
+ });
22
+ }
23
+ exports.default = default_1;
24
+ //# sourceMappingURL=remove-library-generator-style-default.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-library-generator-style-default.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/migrations/update-13-5-0/remove-library-generator-style-default.ts"],"names":[],"mappings":";;;AAAA,yCAKsB;AAEtB,mBAA+B,IAAU;;;QACvC,MAAM,SAAS,GAAG,IAAA,mCAA0B,EAAC,IAAI,CAAC,CAAC;QAEnD,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE;YACzB,OAAO;SACR;QAED,IAAI,SAAS,CAAC,UAAU,CAAC,uBAAuB,CAAC,EAAE;YACjD,OAAO,SAAS,CAAC,UAAU,CAAC,uBAAuB,CAAC,CAAC,KAAK,CAAC;YAC3D,IAAA,qCAA4B,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;SAC/C;aAAM,IAAI,MAAA,SAAS,CAAC,UAAU,CAAC,eAAe,CAAC,0CAAE,OAAO,EAAE;YACzD,OAAO,SAAS,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;YAC3D,IAAA,qCAA4B,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;SAC/C;QAED,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;;CACzB;AAhBD,4BAgBC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.autoprefixerVersion = exports.postcssVersion = exports.tailwindVersion = exports.angularArchitectsModuleFederationPluginVersion = exports.angularEslintVersion = exports.jestPresetAngularVersion = exports.rxjsVersion = exports.ngrxVersion = exports.angularJsVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
4
- exports.nxVersion = '13.4.5';
4
+ exports.nxVersion = '13.5.0-beta.2';
5
5
  exports.angularVersion = '~13.1.0';
6
6
  exports.angularDevkitVersion = '~13.1.0';
7
7
  exports.angularJsVersion = '1.7.9';