@schematics/angular 21.0.0-next.3 → 21.0.0-next.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/config/index.js
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
11
|
-
const promises_1 = require("node:fs/promises");
|
|
12
11
|
const node_path_1 = require("node:path");
|
|
13
12
|
const paths_1 = require("../utility/paths");
|
|
14
13
|
const project_1 = require("../utility/project");
|
|
@@ -26,11 +25,10 @@ exports.default = (0, project_1.createProjectSchematic)((options, { project }) =
|
|
|
26
25
|
}
|
|
27
26
|
});
|
|
28
27
|
async function addBrowserslistConfig(projectRoot) {
|
|
29
|
-
// Read Angular's default vendored `.browserslistrc` file.
|
|
30
|
-
const config = await (0, promises_1.readFile)(node_path_1.posix.join(__dirname, '.browserslistrc'), 'utf8');
|
|
31
28
|
return (0, schematics_1.mergeWith)((0, schematics_1.apply)((0, schematics_1.url)('./files'), [
|
|
32
29
|
(0, schematics_1.filter)((p) => p.endsWith('.browserslistrc.template')),
|
|
33
|
-
|
|
30
|
+
// The below is replaced by bazel `npm_package`.
|
|
31
|
+
(0, schematics_1.applyTemplates)({ baselineDate: '2025-08-20' }),
|
|
34
32
|
(0, schematics_1.move)(projectRoot),
|
|
35
33
|
]));
|
|
36
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.4",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"schematics": "./collection.json",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@angular-devkit/core": "21.0.0-next.
|
|
26
|
-
"@angular-devkit/schematics": "21.0.0-next.
|
|
25
|
+
"@angular-devkit/core": "21.0.0-next.4",
|
|
26
|
+
"@angular-devkit/schematics": "21.0.0-next.4",
|
|
27
27
|
"jsonc-parser": "3.3.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
31
31
|
"url": "https://github.com/angular/angular-cli.git"
|
|
32
32
|
},
|
|
33
|
-
"packageManager": "pnpm@10.
|
|
33
|
+
"packageManager": "pnpm@10.17.0",
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
|
|
36
36
|
"npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
|
|
@@ -16,7 +16,7 @@ exports.latestVersions = {
|
|
|
16
16
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
17
17
|
Angular: '^21.0.0-next.0',
|
|
18
18
|
NgPackagr: '^21.0.0-next.0',
|
|
19
|
-
DevkitBuildAngular: '^21.0.0-next.
|
|
20
|
-
AngularBuild: '^21.0.0-next.
|
|
21
|
-
AngularSSR: '^21.0.0-next.
|
|
19
|
+
DevkitBuildAngular: '^21.0.0-next.4',
|
|
20
|
+
AngularBuild: '^21.0.0-next.4',
|
|
21
|
+
AngularSSR: '^21.0.0-next.4',
|
|
22
22
|
};
|