@nrwl/angular 14.5.1 → 14.5.4
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 +1 -1
- package/esm2020/src/runtime/nx/data-persistence.mjs +3 -3
- package/esm2020/src/runtime/nx/nx.module.mjs +4 -4
- package/fesm2015/nrwl-angular.mjs +8 -8
- package/fesm2020/nrwl-angular.mjs +8 -8
- package/migrations.json +63 -4
- package/package.json +10 -10
- package/src/builders/webpack-server/webpack-server.impl.js +7 -1
- package/src/builders/webpack-server/webpack-server.impl.js.map +1 -1
- package/src/generators/storybook-configuration/schema.json +2 -2
- package/src/migrations/update-14-5-2/update-angular-cli.d.ts +2 -0
- package/src/migrations/update-14-5-2/update-angular-cli.js +27 -0
- package/src/migrations/update-14-5-2/update-angular-cli.js.map +1 -0
- package/src/utils/versions.d.ts +2 -2
- package/src/utils/versions.js +2 -2
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.
|
|
6
|
+
## [14.5.4](https://github.com/nrwl/nx/compare/14.5.3...14.5.4) (2022-08-04)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/angular
|
|
@@ -370,9 +370,9 @@ export class DataPersistence {
|
|
|
370
370
|
return this.actions.pipe(withLatestFrom(this.store), navigation(component, opts));
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
|
-
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
374
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
373
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, deps: [{ token: i1.Store }, { token: i2.Actions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
374
|
+
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence });
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, decorators: [{
|
|
376
376
|
type: Injectable
|
|
377
377
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }]; } });
|
|
378
378
|
function findSnapshot(component, s) {
|
|
@@ -13,10 +13,10 @@ export class NxModule {
|
|
|
13
13
|
return { ngModule: NxModule, providers: [DataPersistence] };
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
17
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.
|
|
18
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
16
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
18
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, decorators: [{
|
|
20
20
|
type: NgModule,
|
|
21
21
|
args: [{}]
|
|
22
22
|
}] });
|
|
@@ -4,7 +4,7 @@ import * as i2 from '@ngrx/effects';
|
|
|
4
4
|
import { ofType } from '@ngrx/effects';
|
|
5
5
|
import { ROUTER_NAVIGATION } from '@ngrx/router-store';
|
|
6
6
|
import { isObservable, of } from 'rxjs';
|
|
7
|
-
import {
|
|
7
|
+
import { concatMap, groupBy, mergeMap, switchMap, filter, map, catchError, withLatestFrom } from 'rxjs/operators';
|
|
8
8
|
import * as i1 from '@ngrx/store';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -371,9 +371,9 @@ class DataPersistence {
|
|
|
371
371
|
return this.actions.pipe(withLatestFrom(this.store), navigation(component, opts));
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
375
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.
|
|
376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
374
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, deps: [{ token: i1.Store }, { token: i2.Actions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
375
|
+
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, decorators: [{
|
|
377
377
|
type: Injectable
|
|
378
378
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }]; } });
|
|
379
379
|
function findSnapshot(component, s) {
|
|
@@ -412,10 +412,10 @@ class NxModule {
|
|
|
412
412
|
return { ngModule: NxModule, providers: [DataPersistence] };
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
416
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.
|
|
417
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
415
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
416
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
417
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, decorators: [{
|
|
419
419
|
type: NgModule,
|
|
420
420
|
args: [{}]
|
|
421
421
|
}] });
|
|
@@ -4,7 +4,7 @@ import * as i2 from '@ngrx/effects';
|
|
|
4
4
|
import { ofType } from '@ngrx/effects';
|
|
5
5
|
import { ROUTER_NAVIGATION } from '@ngrx/router-store';
|
|
6
6
|
import { isObservable, of } from 'rxjs';
|
|
7
|
-
import {
|
|
7
|
+
import { concatMap, groupBy, mergeMap, switchMap, filter, map, catchError, withLatestFrom } from 'rxjs/operators';
|
|
8
8
|
import * as i1 from '@ngrx/store';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -371,9 +371,9 @@ class DataPersistence {
|
|
|
371
371
|
return this.actions.pipe(withLatestFrom(this.store), navigation(component, opts));
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
375
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.
|
|
376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
374
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, deps: [{ token: i1.Store }, { token: i2.Actions }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
375
|
+
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DataPersistence, decorators: [{
|
|
377
377
|
type: Injectable
|
|
378
378
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i2.Actions }]; } });
|
|
379
379
|
function findSnapshot(component, s) {
|
|
@@ -412,10 +412,10 @@ class NxModule {
|
|
|
412
412
|
return { ngModule: NxModule, providers: [DataPersistence] };
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.
|
|
416
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.
|
|
417
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.
|
|
415
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
416
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
417
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: NxModule, decorators: [{
|
|
419
419
|
type: NgModule,
|
|
420
420
|
args: [{}]
|
|
421
421
|
}] });
|
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.
|
|
1345
|
-
"version": "14.5.
|
|
1350
|
+
"14.5.2": {
|
|
1351
|
+
"version": "14.5.2-beta.0",
|
|
1346
1352
|
"packages": {
|
|
1347
|
-
"@angular/
|
|
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
|
-
"@
|
|
1361
|
+
"@angular-devkit/build-webpack": {
|
|
1362
|
+
"version": "~0.1401.0",
|
|
1363
|
+
"alwaysAddToPackageJson": false
|
|
1364
|
+
},
|
|
1365
|
+
"@angular-devkit/core": {
|
|
1352
1366
|
"version": "~14.1.0",
|
|
1353
1367
|
"alwaysAddToPackageJson": false
|
|
1354
1368
|
},
|
|
1369
|
+
"@angular-devkit/schematics": {
|
|
1370
|
+
"version": "~14.1.0",
|
|
1371
|
+
"alwaysAddToPackageJson": false
|
|
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
|
|
@@ -1381,6 +1403,43 @@
|
|
|
1381
1403
|
"alwaysAddToPackageJson": false
|
|
1382
1404
|
}
|
|
1383
1405
|
}
|
|
1406
|
+
},
|
|
1407
|
+
"14.5.3": {
|
|
1408
|
+
"version": "14.5.3-beta.0",
|
|
1409
|
+
"packages": {
|
|
1410
|
+
"@angular-devkit/architect": {
|
|
1411
|
+
"version": "~0.1401.1",
|
|
1412
|
+
"alwaysAddToPackageJson": false
|
|
1413
|
+
},
|
|
1414
|
+
"@angular-devkit/build-angular": {
|
|
1415
|
+
"version": "~14.1.1",
|
|
1416
|
+
"alwaysAddToPackageJson": false
|
|
1417
|
+
},
|
|
1418
|
+
"@angular-devkit/build-webpack": {
|
|
1419
|
+
"version": "~0.1401.1",
|
|
1420
|
+
"alwaysAddToPackageJson": false
|
|
1421
|
+
},
|
|
1422
|
+
"@angular-devkit/core": {
|
|
1423
|
+
"version": "~14.1.1",
|
|
1424
|
+
"alwaysAddToPackageJson": false
|
|
1425
|
+
},
|
|
1426
|
+
"@angular-devkit/schematics": {
|
|
1427
|
+
"version": "~14.1.1",
|
|
1428
|
+
"alwaysAddToPackageJson": false
|
|
1429
|
+
},
|
|
1430
|
+
"@schematics/angular": {
|
|
1431
|
+
"version": "~14.1.1",
|
|
1432
|
+
"alwaysAddToPackageJson": false
|
|
1433
|
+
},
|
|
1434
|
+
"@angular/core": {
|
|
1435
|
+
"version": "~14.1.1",
|
|
1436
|
+
"alwaysAddToPackageJson": true
|
|
1437
|
+
},
|
|
1438
|
+
"@angular/material": {
|
|
1439
|
+
"version": "~14.1.1",
|
|
1440
|
+
"alwaysAddToPackageJson": false
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1384
1443
|
}
|
|
1385
1444
|
}
|
|
1386
1445
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/angular",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.4",
|
|
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",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"migrations": "./migrations.json"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@angular-devkit/schematics": "~14.1.
|
|
68
|
-
"@nrwl/cypress": "14.5.
|
|
69
|
-
"@nrwl/devkit": "14.5.
|
|
70
|
-
"@nrwl/jest": "14.5.
|
|
71
|
-
"@nrwl/linter": "14.5.
|
|
72
|
-
"@nrwl/storybook": "14.5.
|
|
73
|
-
"@nrwl/web": "14.5.
|
|
74
|
-
"@nrwl/workspace": "14.5.
|
|
67
|
+
"@angular-devkit/schematics": "~14.1.1",
|
|
68
|
+
"@nrwl/cypress": "14.5.4",
|
|
69
|
+
"@nrwl/devkit": "14.5.4",
|
|
70
|
+
"@nrwl/jest": "14.5.4",
|
|
71
|
+
"@nrwl/linter": "14.5.4",
|
|
72
|
+
"@nrwl/storybook": "14.5.4",
|
|
73
|
+
"@nrwl/web": "14.5.4",
|
|
74
|
+
"@nrwl/workspace": "14.5.4",
|
|
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": "
|
|
97
|
+
"gitHead": "bcc00c50e4e74ec991385d686493ff784817638c"
|
|
98
98
|
}
|
|
@@ -60,7 +60,13 @@ function executeWebpackServerBuilder(rawOptions, context) {
|
|
|
60
60
|
const workspaceDependencies = dependencies
|
|
61
61
|
.filter((dep) => !(0, operators_1.isNpmProject)(dep.node))
|
|
62
62
|
.map((dep) => dep.node.name);
|
|
63
|
-
|
|
63
|
+
// default for `nx run-many` is --all projects
|
|
64
|
+
// by passing an empty string for --projects, run-many will default to
|
|
65
|
+
// run the target for all projects.
|
|
66
|
+
// This will occur when workspaceDependencies = []
|
|
67
|
+
if (workspaceDependencies.length > 0) {
|
|
68
|
+
baseWebpackConfig.plugins.push(new webpack_nx_build_coordination_plugin_1.WebpackNxBuildCoordinationPlugin(`nx run-many --target=${parsedBrowserTarget.target} --projects=${workspaceDependencies.join(',')}`));
|
|
69
|
+
}
|
|
64
70
|
}
|
|
65
71
|
if (!pathToWebpackConfig) {
|
|
66
72
|
return baseWebpackConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpack-server.impl.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/builders/webpack-server/webpack-server.impl.ts"],"names":[],"mappings":";;;;AAAA,yDAA0E;AAC1E,iEAGuC;AAEvC,yCAIsB;AACtB,qHAA8G;AAC9G,6FAI4D;AAC5D,sEAAoF;AACpF,2BAAgC;AAChC,8DAA8D;AAC9D,iDAAsC;AACtC,kDAAkE;AAClE,+BAAyC;AAGzC,SAAgB,2BAA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iBAAiB,EAAE,EAAE;YAChD,IAAI,CAAC,mBAAmB,EAAE;gBACxB,MAAM,qBAAqB,GAAG,YAAY;qBACvC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,IAAA,wBAAY,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC;qBACxC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAC/B,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAC5B,IAAI,uEAAgC,CAClC,wBACE,mBAAmB,CAAC,MACtB,eAAe,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CACjD,CACF,CAAC;
|
|
1
|
+
{"version":3,"file":"webpack-server.impl.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/builders/webpack-server/webpack-server.impl.ts"],"names":[],"mappings":";;;;AAAA,yDAA0E;AAC1E,iEAGuC;AAEvC,yCAIsB;AACtB,qHAA8G;AAC9G,6FAI4D;AAC5D,sEAAoF;AACpF,2BAAgC;AAChC,8DAA8D;AAC9D,iDAAsC;AACtC,kDAAkE;AAClE,+BAAyC;AAGzC,SAAgB,2BAA2B,CACzC,UAAkB,EAClB,OAAuB;;IAEvB,OAAO,CAAC,GAAG,CAAC,gBAAgB,GAAG,IAAA,0BAAiB,EAC9C,OAAO,CAAC,aAAa,EACrB,oBAAoB,CACrB,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,sBAAgB,EAAC,UAAU,CAAC,CAAC;IAE7C,MAAM,mBAAmB,GAAG,IAAA,0BAAiB,EAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACrE,MAAM,iCAAiC,GAAG,IAAA,8CAA8B,EACtE,mBAAmB,CAAC,OAAO,CAC5B,CAAC;IAEF,MAAM,WAAW,GACf,iCAAiC,CAAC,OAAO,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAExE,MAAM,wBAAwB,GAAG,mBAAmB,CAAC,a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ACtB,eAAe,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CACjD,CACF,CAAC;iBACH;aACF;YAED,IAAI,CAAC,mBAAmB,EAAE;gBACxB,OAAO,iBAAiB,CAAC;aAC1B;YAED,MAAM,0BAA0B,GAAG,IAAA,oCAA0B,EAC3D,mBAAmB,EACnB,WAAW,CAAC,OAAO,CAAC,QAAQ,CAC7B,CAAC;YACF,gFAAgF;YAChF,yFAAyF;YACzF,4CAA4C;YAC5C,MAAM,MAAM,GAAG,MAAM,0BAA0B,CAAC;YAEhD,0FAA0F;YAC1F,4DAA4D;YAC5D,IAAI,OAAO,MAAM,KAAK,UAAU,EAAE;gBAChC,OAAO,MAAM,CACX,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,CAAC,MAAM,CACf,CAAC;aACH;YAED,OAAO,IAAA,qBAAK,EAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;QAC1C,CAAC,CAAA;KACF,CAAC,CAAC;AACL,CAAC;AAlID,kEAkIC;AAED,kBAAe,IAAA,yBAAa,EAC1B,2BAA2B,CACrB,CAAC"}
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"generateCypressSpecs": {
|
|
33
33
|
"type": "boolean",
|
|
34
|
-
"description": "Specifies whether to automatically generate
|
|
35
|
-
"x-prompt": "Automatically generate
|
|
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,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"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
|
-
export declare const angularVersion = "~14.1.
|
|
3
|
-
export declare const angularDevkitVersion = "~14.1.
|
|
2
|
+
export declare const angularVersion = "~14.1.1";
|
|
3
|
+
export declare const angularDevkitVersion = "~14.1.1";
|
|
4
4
|
export declare const ngPackagrVersion = "~14.1.0";
|
|
5
5
|
export declare const ngrxVersion = "~14.0.0";
|
|
6
6
|
export declare const rxjsVersion = "~7.4.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.typesNodeVersion = exports.typesJasminewd2Version = exports.typesJasmineVersion = exports.jasmineSpecReporterVersion = exports.jasmineCoreVersion = exports.karmaJasmineHtmlReporterVersion = exports.karmaJasmineVersion = exports.karmaCoverageVersion = exports.karmaChromeLauncherVersion = exports.karmaVersion = exports.protractorVersion = exports.jestPresetAngularVersion = exports.tsNodeVersion = exports.autoprefixerVersion = exports.postcssUrlVersion = exports.postcssPresetEnvVersion = exports.postcssImportVersion = exports.postcssVersion = exports.tailwindVersion = exports.angularEslintVersion = exports.tsLibVersion = exports.angularJsVersion = exports.zoneJsVersion = exports.rxjsVersion = exports.ngrxVersion = exports.ngPackagrVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
|
-
exports.angularVersion = '~14.1.
|
|
6
|
-
exports.angularDevkitVersion = '~14.1.
|
|
5
|
+
exports.angularVersion = '~14.1.1';
|
|
6
|
+
exports.angularDevkitVersion = '~14.1.1';
|
|
7
7
|
exports.ngPackagrVersion = '~14.1.0';
|
|
8
8
|
exports.ngrxVersion = '~14.0.0';
|
|
9
9
|
exports.rxjsVersion = '~7.4.0';
|