Skip to content

Commit 03eee05

Browse files
alan-agius4clydin
authored andcommitted
refactor(@angular/cli): remove ng doc command
This command lacked practical utility. BREAKING CHANGE: The `ng doc` command has been removed without a replacement. To perform searches, please visit www.angular.dev
1 parent 6bd4f5f commit 03eee05

File tree

4 files changed

+1
-98
lines changed

4 files changed

+1
-98
lines changed

packages/angular/cli/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ ts_library(
6868
"@npm//ini",
6969
"@npm//jsonc-parser",
7070
"@npm//npm-package-arg",
71-
"@npm//open",
7271
"@npm//ora",
7372
"@npm//pacote",
7473
"@npm//semver",

packages/angular/cli/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"jsonc-parser": "3.2.1",
3434
"npm-package-arg": "11.0.1",
3535
"npm-pick-manifest": "9.0.0",
36-
"open": "8.4.2",
3736
"ora": "5.4.1",
3837
"pacote": "17.0.6",
3938
"resolve": "1.22.8",

packages/angular/cli/src/commands/command-config.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export type CommandNames =
1616
| 'completion'
1717
| 'config'
1818
| 'deploy'
19-
| 'doc'
2019
| 'e2e'
2120
| 'extract-i18n'
2221
| 'generate'
@@ -60,10 +59,7 @@ export const RootCommands: Record<
6059
'deploy': {
6160
factory: () => import('./deploy/cli'),
6261
},
63-
'doc': {
64-
factory: () => import('./doc/cli'),
65-
aliases: ['d'],
66-
},
62+
6763
'e2e': {
6864
factory: () => import('./e2e/cli'),
6965
aliases: ['e'],

packages/angular/cli/src/commands/doc/cli.ts

-91
This file was deleted.

0 commit comments

Comments
 (0)