@nrwl/angular 14.6.0-beta.8 → 14.6.0-beta.9
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 +7 -7
- package/fesm2020/nrwl-angular.mjs +7 -7
- package/migrations.json +46 -0
- package/package.json +11 -11
- package/src/migrations/update-14-6-0/update-angular-cli.d.ts +2 -0
- package/src/migrations/update-14-6-0/update-angular-cli.js +27 -0
- package/src/migrations/update-14-6-0/update-angular-cli.js.map +1 -0
- package/src/utils/versions.d.ts +3 -3
- package/src/utils/versions.js +3 -3
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.6.0-beta.
|
|
6
|
+
# [14.6.0-beta.9](https://github.com/nrwl/nx/compare/14.5.7...14.6.0-beta.9) (2022-08-29)
|
|
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.
|
|
374
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
373
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", 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.2.0", ngImport: i0, type: DataPersistence });
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", 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.
|
|
17
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
18
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
16
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
17
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
18
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, decorators: [{
|
|
20
20
|
type: NgModule,
|
|
21
21
|
args: [{}]
|
|
22
22
|
}] });
|
|
@@ -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.
|
|
375
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
374
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", 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.2.0", ngImport: i0, type: DataPersistence });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", 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.
|
|
416
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
417
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
415
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
416
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
417
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, decorators: [{
|
|
419
419
|
type: NgModule,
|
|
420
420
|
args: [{}]
|
|
421
421
|
}] });
|
|
@@ -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.
|
|
375
|
-
DataPersistence.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
374
|
+
DataPersistence.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", 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.2.0", ngImport: i0, type: DataPersistence });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", 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.
|
|
416
|
-
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
417
|
-
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
415
|
+
NxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
416
|
+
NxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
417
|
+
NxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: NxModule, decorators: [{
|
|
419
419
|
type: NgModule,
|
|
420
420
|
args: [{}]
|
|
421
421
|
}] });
|
package/migrations.json
CHANGED
|
@@ -160,6 +160,12 @@
|
|
|
160
160
|
"version": "14.5.2-beta.0",
|
|
161
161
|
"description": "Update the @angular/cli package version to ~14.1.0.",
|
|
162
162
|
"factory": "./src/migrations/update-14-5-2/update-angular-cli"
|
|
163
|
+
},
|
|
164
|
+
"update-angular-cli-version-14-2-0": {
|
|
165
|
+
"cli": "nx",
|
|
166
|
+
"version": "14.6.0-beta.0",
|
|
167
|
+
"description": "Update the @angular/cli package version to ~14.2.0.",
|
|
168
|
+
"factory": "./src/migrations/update-14-6-0/update-angular-cli"
|
|
163
169
|
}
|
|
164
170
|
},
|
|
165
171
|
"packageJsonUpdates": {
|
|
@@ -1469,6 +1475,46 @@
|
|
|
1469
1475
|
"jest-preset-angular": {
|
|
1470
1476
|
"version": "~12.2.0",
|
|
1471
1477
|
"alwaysAddToPackageJson": false
|
|
1478
|
+
},
|
|
1479
|
+
"@angular-devkit/architect": {
|
|
1480
|
+
"version": "~0.1402.0",
|
|
1481
|
+
"alwaysAddToPackageJson": false
|
|
1482
|
+
},
|
|
1483
|
+
"@angular-devkit/build-angular": {
|
|
1484
|
+
"version": "~14.2.0",
|
|
1485
|
+
"alwaysAddToPackageJson": false
|
|
1486
|
+
},
|
|
1487
|
+
"@angular-devkit/build-webpack": {
|
|
1488
|
+
"version": "~0.1402.0",
|
|
1489
|
+
"alwaysAddToPackageJson": false
|
|
1490
|
+
},
|
|
1491
|
+
"@angular-devkit/core": {
|
|
1492
|
+
"version": "~14.2.0",
|
|
1493
|
+
"alwaysAddToPackageJson": false
|
|
1494
|
+
},
|
|
1495
|
+
"@angular-devkit/schematics": {
|
|
1496
|
+
"version": "~14.2.0",
|
|
1497
|
+
"alwaysAddToPackageJson": false
|
|
1498
|
+
},
|
|
1499
|
+
"@schematics/angular": {
|
|
1500
|
+
"version": "~14.2.0",
|
|
1501
|
+
"alwaysAddToPackageJson": false
|
|
1502
|
+
},
|
|
1503
|
+
"@angular/core": {
|
|
1504
|
+
"version": "~14.2.0",
|
|
1505
|
+
"alwaysAddToPackageJson": true
|
|
1506
|
+
},
|
|
1507
|
+
"@angular/material": {
|
|
1508
|
+
"version": "~14.2.0",
|
|
1509
|
+
"alwaysAddToPackageJson": false
|
|
1510
|
+
},
|
|
1511
|
+
"@angular/cdk": {
|
|
1512
|
+
"version": "~14.2.0",
|
|
1513
|
+
"alwaysAddToPackageJson": false
|
|
1514
|
+
},
|
|
1515
|
+
"ng-packagr": {
|
|
1516
|
+
"version": "~14.2.0",
|
|
1517
|
+
"alwaysAddToPackageJson": false
|
|
1472
1518
|
}
|
|
1473
1519
|
}
|
|
1474
1520
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/angular",
|
|
3
|
-
"version": "14.6.0-beta.
|
|
3
|
+
"version": "14.6.0-beta.9",
|
|
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,16 +64,16 @@
|
|
|
64
64
|
"migrations": "./migrations.json"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@angular-devkit/schematics": "~14.
|
|
68
|
-
"@nrwl/cypress": "14.6.0-beta.
|
|
69
|
-
"@nrwl/devkit": "14.6.0-beta.
|
|
70
|
-
"@nrwl/jest": "14.6.0-beta.
|
|
71
|
-
"@nrwl/linter": "14.6.0-beta.
|
|
72
|
-
"@nrwl/storybook": "14.6.0-beta.
|
|
73
|
-
"@nrwl/web": "14.6.0-beta.
|
|
74
|
-
"@nrwl/workspace": "14.6.0-beta.
|
|
67
|
+
"@angular-devkit/schematics": "~14.2.0",
|
|
68
|
+
"@nrwl/cypress": "14.6.0-beta.9",
|
|
69
|
+
"@nrwl/devkit": "14.6.0-beta.9",
|
|
70
|
+
"@nrwl/jest": "14.6.0-beta.9",
|
|
71
|
+
"@nrwl/linter": "14.6.0-beta.9",
|
|
72
|
+
"@nrwl/storybook": "14.6.0-beta.9",
|
|
73
|
+
"@nrwl/web": "14.6.0-beta.9",
|
|
74
|
+
"@nrwl/workspace": "14.6.0-beta.9",
|
|
75
75
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
76
|
-
"@schematics/angular": "~14.
|
|
76
|
+
"@schematics/angular": "~14.2.0",
|
|
77
77
|
"chalk": "4.1.0",
|
|
78
78
|
"chokidar": "^3.5.1",
|
|
79
79
|
"http-server": "^14.1.0",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"fesm2015": "fesm2015/nrwl-angular.mjs",
|
|
96
96
|
"typings": "index.d.ts",
|
|
97
97
|
"sideEffects": false,
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "4dfd0f37e610ace39602e57a2fd7fc3a6f1bcf1e"
|
|
99
99
|
}
|
|
@@ -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.2.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-6-0/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,7 +1,7 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
|
-
export declare const angularVersion = "~14.
|
|
3
|
-
export declare const angularDevkitVersion = "~14.
|
|
4
|
-
export declare const ngPackagrVersion = "~14.
|
|
2
|
+
export declare const angularVersion = "~14.2.0";
|
|
3
|
+
export declare const angularDevkitVersion = "~14.2.0";
|
|
4
|
+
export declare const ngPackagrVersion = "~14.2.0";
|
|
5
5
|
export declare const ngrxVersion = "~14.0.0";
|
|
6
6
|
export declare const rxjsVersion = "~7.5.0";
|
|
7
7
|
export declare const zoneJsVersion = "~0.11.4";
|
package/src/utils/versions.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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.
|
|
6
|
-
exports.angularDevkitVersion = '~14.
|
|
7
|
-
exports.ngPackagrVersion = '~14.
|
|
5
|
+
exports.angularVersion = '~14.2.0';
|
|
6
|
+
exports.angularDevkitVersion = '~14.2.0';
|
|
7
|
+
exports.ngPackagrVersion = '~14.2.0';
|
|
8
8
|
exports.ngrxVersion = '~14.0.0';
|
|
9
9
|
exports.rxjsVersion = '~7.5.0';
|
|
10
10
|
exports.zoneJsVersion = '~0.11.4';
|