@nrwl/angular 14.5.0-rc.0 → 14.5.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/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [14.5.0-rc.0](https://github.com/nrwl/nx/compare/14.4.2...14.5.0-rc.0) (2022-07-28)
6
+ ## [14.5.2](https://github.com/nrwl/nx/compare/14.5.1...14.5.2) (2022-08-02)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/angular
package/migrations.json CHANGED
@@ -154,6 +154,12 @@
154
154
  "version": "14.5.0-beta.0",
155
155
  "description": "Update any references of MFE to MF.",
156
156
  "factory": "./src/migrations/update-14-5-0/migrate-mfe-to-mf"
157
+ },
158
+ "update-angular-cli-version-14-1-0": {
159
+ "cli": "nx",
160
+ "version": "14.5.2-beta.0",
161
+ "description": "Update the @angular/cli package version to ~14.1.0.",
162
+ "factory": "./src/migrations/update-14-5-2/update-angular-cli"
157
163
  }
158
164
  },
159
165
  "packageJsonUpdates": {
@@ -1341,17 +1347,33 @@
1341
1347
  }
1342
1348
  }
1343
1349
  },
1344
- "14.5.0": {
1345
- "version": "14.5.0-beta.4",
1350
+ "14.5.2": {
1351
+ "version": "14.5.2-beta.0",
1346
1352
  "packages": {
1347
- "@angular/cli": {
1353
+ "@angular-devkit/architect": {
1354
+ "version": "~0.1401.0",
1355
+ "alwaysAddToPackageJson": false
1356
+ },
1357
+ "@angular-devkit/build-angular": {
1348
1358
  "version": "~14.1.0",
1349
1359
  "alwaysAddToPackageJson": false
1350
1360
  },
1351
- "@schematics/angular": {
1361
+ "@angular-devkit/build-webpack": {
1362
+ "version": "~0.1401.0",
1363
+ "alwaysAddToPackageJson": false
1364
+ },
1365
+ "@angular-devkit/core": {
1366
+ "version": "~14.1.0",
1367
+ "alwaysAddToPackageJson": false
1368
+ },
1369
+ "@angular-devkit/schematics": {
1352
1370
  "version": "~14.1.0",
1353
1371
  "alwaysAddToPackageJson": false
1354
1372
  },
1373
+ "@schematics/angular": {
1374
+ "version": "~14.0.0",
1375
+ "alwaysAddToPackageJson": false
1376
+ },
1355
1377
  "@angular/core": {
1356
1378
  "version": "~14.1.0",
1357
1379
  "alwaysAddToPackageJson": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/angular",
3
- "version": "14.5.0-rc.0",
3
+ "version": "14.5.2",
4
4
  "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, Cypress, Karma, and Protractor. \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.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,13 +65,13 @@
65
65
  },
66
66
  "dependencies": {
67
67
  "@angular-devkit/schematics": "~14.1.0",
68
- "@nrwl/cypress": "14.5.0-rc.0",
69
- "@nrwl/devkit": "14.5.0-rc.0",
70
- "@nrwl/jest": "14.5.0-rc.0",
71
- "@nrwl/linter": "14.5.0-rc.0",
72
- "@nrwl/storybook": "14.5.0-rc.0",
73
- "@nrwl/web": "14.5.0-rc.0",
74
- "@nrwl/workspace": "14.5.0-rc.0",
68
+ "@nrwl/cypress": "14.5.2",
69
+ "@nrwl/devkit": "14.5.2",
70
+ "@nrwl/jest": "14.5.2",
71
+ "@nrwl/linter": "14.5.2",
72
+ "@nrwl/storybook": "14.5.2",
73
+ "@nrwl/web": "14.5.2",
74
+ "@nrwl/workspace": "14.5.2",
75
75
  "@phenomnomnominal/tsquery": "4.1.1",
76
76
  "@schematics/angular": "~14.1.0",
77
77
  "chalk": "4.1.0",
@@ -94,5 +94,5 @@
94
94
  "fesm2015": "fesm2015/nrwl-angular.mjs",
95
95
  "typings": "index.d.ts",
96
96
  "sideEffects": false,
97
- "gitHead": "635825ed2b08bcd001a36eeb26ef992336f466ed"
97
+ "gitHead": "8bb72a98c57d1979fee287c36878584716d8a9c7"
98
98
  }
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "generateCypressSpecs": {
33
33
  "type": "boolean",
34
- "description": "Specifies whether to automatically generate `*.spec.ts` files in the generated Cypress e2e app.",
35
- "x-prompt": "Automatically generate *.spec.ts files in the generated Cypress e2e app?",
34
+ "description": "Specifies whether to automatically generate test files in the generated Cypress e2e app.",
35
+ "x-prompt": "Automatically generate test files in the generated Cypress e2e app?",
36
36
  "default": true
37
37
  },
38
38
  "cypressDirectory": {
@@ -0,0 +1,2 @@
1
+ import { Tree } from '@nrwl/devkit';
2
+ export default function (tree: Tree): Promise<void>;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const devkit_1 = require("@nrwl/devkit");
5
+ const angularCliVersion = '~14.1.0';
6
+ function default_1(tree) {
7
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
8
+ let shouldFormat = false;
9
+ (0, devkit_1.updateJson)(tree, 'package.json', (json) => {
10
+ var _a, _b;
11
+ if ((_a = json.devDependencies) === null || _a === void 0 ? void 0 : _a['@angular/cli']) {
12
+ json.devDependencies['@angular/cli'] = angularCliVersion;
13
+ shouldFormat = true;
14
+ }
15
+ else if ((_b = json.dependencies) === null || _b === void 0 ? void 0 : _b['@angular/cli']) {
16
+ json.dependencies['@angular/cli'] = angularCliVersion;
17
+ shouldFormat = true;
18
+ }
19
+ return json;
20
+ });
21
+ if (shouldFormat) {
22
+ yield (0, devkit_1.formatFiles)(tree);
23
+ }
24
+ });
25
+ }
26
+ exports.default = default_1;
27
+ //# sourceMappingURL=update-angular-cli.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-angular-cli.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/migrations/update-14-5-2/update-angular-cli.ts"],"names":[],"mappings":";;;AAAA,yCAA6D;AAE7D,MAAM,iBAAiB,GAAG,SAAS,CAAC;AAEpC,mBAA+B,IAAU;;QACvC,IAAI,YAAY,GAAG,KAAK,CAAC;QAEzB,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;;YACxC,IAAI,MAAA,IAAI,CAAC,eAAe,0CAAG,cAAc,CAAC,EAAE;gBAC1C,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAAC;gBACzD,YAAY,GAAG,IAAI,CAAC;aACrB;iBAAM,IAAI,MAAA,IAAI,CAAC,YAAY,0CAAG,cAAc,CAAC,EAAE;gBAC9C,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAAC;gBACtD,YAAY,GAAG,IAAI,CAAC;aACrB;YAED,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QAEH,IAAI,YAAY,EAAE;YAChB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;SACzB;IACH,CAAC;CAAA;AAlBD,4BAkBC"}