Skip to content

Commit 8b2b828

Browse files
committed
build: remove repository fields from package manifests and exclude packageManager from release filters
Several changes to align package.json files.
1 parent 8b7cb60 commit 8b2b828

5 files changed

Lines changed: 3 additions & 29 deletions

File tree

.ng-dev/release.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const release = {
1818
name,
1919
experimental,
2020
deprecated: {
21-
version: '>=22.0.0-next.0',
21+
version: '>=22.0.0-rc.0',
2222
message:
2323
'Angular\'s Webpack support is deprecated. Use the esbuild and Vite-based "@angular/build" package instead.',
2424
},

packages/angular/cli/package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111
"angular-cli",
1212
"Angular CLI"
1313
],
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/angular/angular-cli.git"
17-
},
18-
"author": "Angular Authors",
19-
"license": "MIT",
20-
"bugs": {
21-
"url": "https://github.com/angular/angular-cli/issues"
22-
},
23-
"homepage": "https://github.com/angular/angular-cli",
2414
"dependencies": {
2515
"@angular-devkit/architect": "workspace:0.0.0-EXPERIMENTAL-PLACEHOLDER",
2616
"@angular-devkit/core": "workspace:0.0.0-PLACEHOLDER",

packages/angular/ssr/package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
"version": "0.0.0-PLACEHOLDER",
44
"description": "Angular server side rendering utilities",
55
"type": "module",
6-
"license": "MIT",
7-
"homepage": "https://github.com/angular/angular-cli",
86
"keywords": [
97
"angular",
108
"ssr",
@@ -39,9 +37,5 @@
3937
"beasties": "0.4.2"
4038
},
4139
"sideEffects": false,
42-
"schematics": "./schematics/collection.json",
43-
"repository": {
44-
"type": "git",
45-
"url": "git+https://github.com/angular/angular-cli.git"
46-
}
40+
"schematics": "./schematics/collection.json"
4741
}

packages/ngtools/webpack/package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,12 @@
44
"description": "Webpack plugin that AoT compiles your Angular components and modules.",
55
"main": "./src/index.js",
66
"typings": "src/index.d.ts",
7-
"license": "MIT",
87
"keywords": [
98
"angular",
109
"webpack",
1110
"plugin",
1211
"aot"
1312
],
14-
"repository": {
15-
"type": "git",
16-
"url": "git+https://github.com/angular/angular-cli.git"
17-
},
18-
"author": "angular",
19-
"bugs": {
20-
"url": "https://github.com/angular/angular-cli/issues"
21-
},
22-
"homepage": "https://github.com/angular/angular-cli/tree/main/packages/ngtools/webpack",
2313
"peerDependencies": {
2414
"@angular/compiler-cli": "0.0.0-ANGULAR-FW-PEER-DEP",
2515
"typescript": ">=6.0 <6.1",

tools/package_json_release_filter.jq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Get the fields from root package.json that should override the project
1717
# package.json, i.e., every field except the following
1818
| ($root
19-
| del(.bin, .description, .dependencies, .name, .main, .peerDependencies, .optionalDependencies, .typings, .version, .private, .workspaces, .resolutions, .scripts, .["ng-update"], .pnpm, .dependenciesMeta)
19+
| del(.bin, .description, .dependencies, .name, .main, .peerDependencies, .optionalDependencies, .typings, .version, .private, .workspaces, .resolutions, .scripts, .["ng-update"], .pnpm, .dependenciesMeta, .packageManager)
2020
) as $root_overrides
2121

2222
# Use the project package.json as a base and override other fields from root

0 commit comments

Comments
 (0)