Skip to content

Commit ea8b3fc

Browse files
clydindgp1130
authored andcommitted
build: move @angular/cli specific dependencies out of root
With the migration to `rules_js`, package specific dependencies now only need to be referenced with the source `package.json` for each specific package. Most of the `@angular/cli` specific dependencies have now been moved. This is not exhaustive and further changes will continue to move additional dependencies.
1 parent 23fc8e1 commit ea8b3fc

File tree

5 files changed

+9
-42
lines changed

5 files changed

+9
-42
lines changed

package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@
7272
"@eslint/compat": "1.2.7",
7373
"@eslint/eslintrc": "3.3.0",
7474
"@eslint/js": "9.22.0",
75-
"@inquirer/prompts": "7.3.3",
76-
"@listr2/prompt-adapter-inquirer": "2.0.18",
7775
"@rollup/plugin-alias": "^5.1.1",
7876
"@rollup/plugin-commonjs": "^28.0.0",
7977
"@rollup/plugin-json": "^6.1.0",
@@ -106,7 +104,6 @@
106104
"@typescript-eslint/eslint-plugin": "8.26.1",
107105
"@typescript-eslint/parser": "8.26.1",
108106
"@web/test-runner": "^0.20.0",
109-
"@yarnpkg/lockfile": "1.1.0",
110107
"ajv": "8.17.1",
111108
"ajv-formats": "3.0.1",
112109
"ansi-colors": "4.1.3",
@@ -129,7 +126,6 @@
129126
"http-proxy-middleware": "3.0.3",
130127
"https-proxy-agent": "7.0.6",
131128
"husky": "9.1.7",
132-
"ini": "5.0.0",
133129
"istanbul-lib-instrument": "6.0.3",
134130
"jasmine": "~5.6.0",
135131
"jasmine-core": "~5.6.0",
@@ -150,11 +146,8 @@
150146
"mrmime": "2.0.1",
151147
"ng-packagr": "20.0.0-next.1",
152148
"npm": "^11.0.0",
153-
"npm-package-arg": "12.0.2",
154-
"npm-pick-manifest": "10.0.0",
155149
"open": "10.1.0",
156150
"ora": "5.4.1",
157-
"pacote": "20.0.0",
158151
"parse5-html-rewriting-stream": "7.0.0",
159152
"picomatch": "4.0.2",
160153
"piscina": "4.8.0",
@@ -184,7 +177,6 @@
184177
"verdaccio": "6.0.5",
185178
"verdaccio-auth-memory": "^10.0.0",
186179
"watchpack": "2.4.2",
187-
"yargs": "17.7.2",
188180
"yargs-parser": "21.1.1",
189181
"zone.js": "^0.15.0"
190182
},

packages/angular/cli/BUILD.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,16 @@ ts_project(
4848
":node_modules/@angular-devkit/architect",
4949
":node_modules/@angular-devkit/core",
5050
":node_modules/@angular-devkit/schematics",
51+
":node_modules/@inquirer/prompts",
52+
":node_modules/@listr2/prompt-adapter-inquirer",
53+
":node_modules/@yarnpkg/lockfile",
54+
":node_modules/ini",
55+
":node_modules/npm-package-arg",
56+
":node_modules/npm-pick-manifest",
57+
":node_modules/pacote",
5158
":node_modules/resolve",
59+
":node_modules/yargs",
5260
"//:node_modules/@angular/core",
53-
"//:node_modules/@inquirer/prompts",
54-
"//:node_modules/@listr2/prompt-adapter-inquirer",
5561
"//:node_modules/@types/ini",
5662
"//:node_modules/@types/node",
5763
"//:node_modules/@types/npm-package-arg",
@@ -60,16 +66,10 @@ ts_project(
6066
"//:node_modules/@types/semver",
6167
"//:node_modules/@types/yargs",
6268
"//:node_modules/@types/yarnpkg__lockfile",
63-
"//:node_modules/@yarnpkg/lockfile",
64-
"//:node_modules/ini",
6569
"//:node_modules/jsonc-parser",
6670
"//:node_modules/listr2",
67-
"//:node_modules/npm-package-arg",
68-
"//:node_modules/npm-pick-manifest",
69-
"//:node_modules/pacote",
7071
"//:node_modules/semver",
7172
"//:node_modules/symbol-observable",
72-
"//:node_modules/yargs",
7373
],
7474
)
7575

packages/angular_devkit/schematics_cli/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ts_project(
4848
deps = [
4949
":node_modules/@angular-devkit/core",
5050
":node_modules/@angular-devkit/schematics",
51-
"//:node_modules/@inquirer/prompts",
51+
":node_modules/@inquirer/prompts",
5252
"//:node_modules/@types/node",
5353
"//:node_modules/@types/yargs-parser",
5454
"//:node_modules/ansi-colors",

packages/schematics/angular/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ ts_project(
9090
deps = [
9191
":node_modules/@angular-devkit/core",
9292
":node_modules/@angular-devkit/schematics",
93-
"//:node_modules/@inquirer/prompts",
9493
"//:node_modules/@types/node",
9594
"//:node_modules/browserslist",
9695
"//:node_modules/jsonc-parser",

pnpm-lock.yaml

Lines changed: 0 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)