@schematics/angular 15.0.0-rc.4 → 15.0.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.
|
@@ -11,13 +11,17 @@ const workspace_1 = require("../../utility/workspace");
|
|
|
11
11
|
const workspace_models_1 = require("../../utility/workspace-models");
|
|
12
12
|
function default_1() {
|
|
13
13
|
return (0, workspace_1.updateWorkspace)((workspace) => {
|
|
14
|
+
var _a;
|
|
14
15
|
for (const project of workspace.projects.values()) {
|
|
15
16
|
for (const target of project.targets.values()) {
|
|
16
17
|
if (target.builder !== workspace_models_1.Builders.Server) {
|
|
17
18
|
continue;
|
|
18
19
|
}
|
|
19
|
-
for (const [, options] of (0, workspace_1.allTargetOptions)(target)) {
|
|
20
|
+
for (const [name, options] of (0, workspace_1.allTargetOptions)(target)) {
|
|
20
21
|
delete options.bundleDependencies;
|
|
22
|
+
if (name === 'development') {
|
|
23
|
+
(_a = options.vendorChunk) !== null && _a !== void 0 ? _a : (options.vendorChunk = true);
|
|
24
|
+
}
|
|
21
25
|
}
|
|
22
26
|
}
|
|
23
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "15.0.0
|
|
3
|
+
"version": "15.0.0",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"schematics": "./collection.json",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@angular-devkit/core": "15.0.0
|
|
27
|
-
"@angular-devkit/schematics": "15.0.0
|
|
26
|
+
"@angular-devkit/core": "15.0.0",
|
|
27
|
+
"@angular-devkit/schematics": "15.0.0",
|
|
28
28
|
"jsonc-parser": "3.2.0"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
package/universal/index.js
CHANGED
|
@@ -66,6 +66,7 @@ function updateConfigFile(options, tsConfigDirectory) {
|
|
|
66
66
|
preserveSymlinks: options === null || options === void 0 ? void 0 : options.preserveSymlinks,
|
|
67
67
|
extractLicenses: options === null || options === void 0 ? void 0 : options.extractLicenses,
|
|
68
68
|
inlineStyleLanguage: options === null || options === void 0 ? void 0 : options.inlineStyleLanguage,
|
|
69
|
+
vendorChunk: options === null || options === void 0 ? void 0 : options.vendorChunk,
|
|
69
70
|
};
|
|
70
71
|
};
|
|
71
72
|
const buildTarget = clientProject.targets.get('build');
|
|
@@ -13,7 +13,7 @@ exports.latestVersions = {
|
|
|
13
13
|
// but ts_library doesn't support JSON inputs.
|
|
14
14
|
...require('./latest-versions/package.json')['dependencies'],
|
|
15
15
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
16
|
-
Angular: '^15.0.0
|
|
16
|
+
Angular: '^15.0.0',
|
|
17
17
|
// Since @angular-devkit/build-angular and @schematics/angular are always
|
|
18
18
|
// published together from the same monorepo, and they are both
|
|
19
19
|
// non-experimental, they will always have the same version.
|