@nrwl/angular 15.4.7-beta.1 → 15.5.0-beta.0
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/migrations.json +55 -1
- package/package.json +10 -10
- package/src/builders/webpack-server/schema.json +46 -0
- package/src/migrations/update-15-5-0/update-angular-cli.d.ts +2 -0
- package/src/migrations/update-15-5-0/update-angular-cli.js +27 -0
- package/src/migrations/update-15-5-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
|
-
|
|
6
|
+
# [15.5.0-beta.0](https://github.com/nrwl/nx/compare/15.4.8...15.5.0-beta.0) (2023-01-12)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/angular
|
package/migrations.json
CHANGED
|
@@ -226,6 +226,12 @@
|
|
|
226
226
|
"version": "15.2.0-beta.0",
|
|
227
227
|
"description": "Remove no longer needed require calls in Karma builder main file.",
|
|
228
228
|
"factory": "./src/migrations/update-15-2-0/update-karma-main-file"
|
|
229
|
+
},
|
|
230
|
+
"update-angular-cli-version-15-1-0": {
|
|
231
|
+
"cli": "nx",
|
|
232
|
+
"version": "15.5.0-beta.0",
|
|
233
|
+
"description": "Update the @angular/cli package version to ~15.1.0.",
|
|
234
|
+
"factory": "./src/migrations/update-15-5-0/update-angular-cli"
|
|
229
235
|
}
|
|
230
236
|
},
|
|
231
237
|
"packageJsonUpdates": {
|
|
@@ -1086,7 +1092,10 @@
|
|
|
1086
1092
|
"13.8.4": {
|
|
1087
1093
|
"version": "13.8.4-beta.0",
|
|
1088
1094
|
"packages": {
|
|
1089
|
-
"karma": {
|
|
1095
|
+
"karma": {
|
|
1096
|
+
"version": "~6.3.0",
|
|
1097
|
+
"alwaysAddToPackageJson": false
|
|
1098
|
+
},
|
|
1090
1099
|
"karma-jasmine-html-reporter": {
|
|
1091
1100
|
"version": "~1.7.0",
|
|
1092
1101
|
"alwaysAddToPackageJson": false
|
|
@@ -1703,6 +1712,51 @@
|
|
|
1703
1712
|
"version": "~15.0.0"
|
|
1704
1713
|
}
|
|
1705
1714
|
}
|
|
1715
|
+
},
|
|
1716
|
+
"15.5.0": {
|
|
1717
|
+
"version": "15.5.0-beta.0",
|
|
1718
|
+
"packages": {
|
|
1719
|
+
"@angular-devkit/architect": {
|
|
1720
|
+
"version": "~0.1501.0",
|
|
1721
|
+
"alwaysAddToPackageJson": false
|
|
1722
|
+
},
|
|
1723
|
+
"@angular-devkit/build-angular": {
|
|
1724
|
+
"version": "~15.1.0",
|
|
1725
|
+
"alwaysAddToPackageJson": false
|
|
1726
|
+
},
|
|
1727
|
+
"@angular-devkit/build-webpack": {
|
|
1728
|
+
"version": "~0.1501.0",
|
|
1729
|
+
"alwaysAddToPackageJson": false
|
|
1730
|
+
},
|
|
1731
|
+
"@angular-devkit/core": {
|
|
1732
|
+
"version": "~15.1.0",
|
|
1733
|
+
"alwaysAddToPackageJson": false
|
|
1734
|
+
},
|
|
1735
|
+
"@angular-devkit/schematics": {
|
|
1736
|
+
"version": "~15.1.0",
|
|
1737
|
+
"alwaysAddToPackageJson": false
|
|
1738
|
+
},
|
|
1739
|
+
"@angular/core": {
|
|
1740
|
+
"version": "~15.1.0",
|
|
1741
|
+
"alwaysAddToPackageJson": true
|
|
1742
|
+
},
|
|
1743
|
+
"@angular/material": {
|
|
1744
|
+
"version": "~15.1.0",
|
|
1745
|
+
"alwaysAddToPackageJson": false
|
|
1746
|
+
},
|
|
1747
|
+
"@angular/cdk": {
|
|
1748
|
+
"version": "~15.1.0",
|
|
1749
|
+
"alwaysAddToPackageJson": false
|
|
1750
|
+
},
|
|
1751
|
+
"@schematics/angular": {
|
|
1752
|
+
"version": "~15.1.0",
|
|
1753
|
+
"alwaysAddToPackageJson": false
|
|
1754
|
+
},
|
|
1755
|
+
"ng-packagr": {
|
|
1756
|
+
"version": "~15.1.0",
|
|
1757
|
+
"alwaysAddToPackageJson": false
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1706
1760
|
}
|
|
1707
1761
|
}
|
|
1708
1762
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/angular",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.5.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"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.",
|
|
6
6
|
"repository": {
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
"migrations": "./migrations.json"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@angular-devkit/schematics": "~15.0
|
|
69
|
+
"@angular-devkit/schematics": "~15.1.0",
|
|
70
70
|
"@nguniversal/builders": "~15.0.0",
|
|
71
|
-
"@nrwl/cypress": "15.
|
|
72
|
-
"@nrwl/devkit": "15.
|
|
73
|
-
"@nrwl/jest": "15.
|
|
74
|
-
"@nrwl/linter": "15.
|
|
75
|
-
"@nrwl/webpack": "15.
|
|
76
|
-
"@nrwl/workspace": "15.
|
|
71
|
+
"@nrwl/cypress": "15.5.0-beta.0",
|
|
72
|
+
"@nrwl/devkit": "15.5.0-beta.0",
|
|
73
|
+
"@nrwl/jest": "15.5.0-beta.0",
|
|
74
|
+
"@nrwl/linter": "15.5.0-beta.0",
|
|
75
|
+
"@nrwl/webpack": "15.5.0-beta.0",
|
|
76
|
+
"@nrwl/workspace": "15.5.0-beta.0",
|
|
77
77
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
78
|
-
"@schematics/angular": "~15.0
|
|
78
|
+
"@schematics/angular": "~15.1.0",
|
|
79
79
|
"chalk": "4.1.0",
|
|
80
80
|
"chokidar": "^3.5.1",
|
|
81
81
|
"http-server": "^14.1.0",
|
|
@@ -99,5 +99,5 @@
|
|
|
99
99
|
"fesm2015": "fesm2015/nrwl-angular.mjs",
|
|
100
100
|
"typings": "index.d.ts",
|
|
101
101
|
"sideEffects": false,
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "064ef0fda4ba63443d45613cbd9f2d6f4345f13b"
|
|
103
103
|
}
|
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
"description": "The webpack-dev-server executor is very similar to the standard server builder provided by the Angular Devkit. It is usually used in tandem with `@nrwl/angular:webpack-browser` when your Angular application uses a custom webpack configuration and NgUniversal for SSR.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
|
+
"assets": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"description": "List of static application assets.",
|
|
12
|
+
"default": [],
|
|
13
|
+
"items": {
|
|
14
|
+
"$ref": "#/definitions/assetPattern"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
9
17
|
"main": {
|
|
10
18
|
"type": "string",
|
|
11
19
|
"description": "The full path for the main entry point to the server app, relative to the current workspace."
|
|
@@ -238,6 +246,44 @@
|
|
|
238
246
|
"additionalProperties": false,
|
|
239
247
|
"required": ["outputPath", "main", "tsConfig"],
|
|
240
248
|
"definitions": {
|
|
249
|
+
"assetPattern": {
|
|
250
|
+
"oneOf": [
|
|
251
|
+
{
|
|
252
|
+
"type": "object",
|
|
253
|
+
"properties": {
|
|
254
|
+
"followSymlinks": {
|
|
255
|
+
"type": "boolean",
|
|
256
|
+
"default": false,
|
|
257
|
+
"description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
|
|
258
|
+
},
|
|
259
|
+
"glob": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "The pattern to match."
|
|
262
|
+
},
|
|
263
|
+
"input": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"description": "The input directory path in which to apply 'glob'. Defaults to the project root."
|
|
266
|
+
},
|
|
267
|
+
"ignore": {
|
|
268
|
+
"description": "An array of globs to ignore.",
|
|
269
|
+
"type": "array",
|
|
270
|
+
"items": {
|
|
271
|
+
"type": "string"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"output": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"description": "Absolute path within the output."
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"additionalProperties": false,
|
|
280
|
+
"required": ["glob", "input", "output"]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
},
|
|
241
287
|
"fileReplacement": {
|
|
242
288
|
"oneOf": [
|
|
243
289
|
{
|
|
@@ -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 = '~15.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-15-5-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 = "~15.
|
|
3
|
-
export declare const angularDevkitVersion = "~15.
|
|
4
|
-
export declare const ngPackagrVersion = "~15.
|
|
2
|
+
export declare const angularVersion = "~15.1.0";
|
|
3
|
+
export declare const angularDevkitVersion = "~15.1.0";
|
|
4
|
+
export declare const ngPackagrVersion = "~15.1.0";
|
|
5
5
|
export declare const ngrxVersion = "~15.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.versions = exports.jasmineMarblesVersion = 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.moduleFederationNodeVersion = exports.expressVersion = exports.corsVersion = exports.ngUniversalVersion = 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 = '~15.
|
|
6
|
-
exports.angularDevkitVersion = '~15.
|
|
7
|
-
exports.ngPackagrVersion = '~15.
|
|
5
|
+
exports.angularVersion = '~15.1.0';
|
|
6
|
+
exports.angularDevkitVersion = '~15.1.0';
|
|
7
|
+
exports.ngPackagrVersion = '~15.1.0';
|
|
8
8
|
exports.ngrxVersion = '~15.0.0';
|
|
9
9
|
exports.rxjsVersion = '~7.5.0';
|
|
10
10
|
exports.zoneJsVersion = '~0.11.4';
|