Skip to content

Commit

Permalink
refactor(@angular/cli): remove ng doc command
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alan-agius4 committed Apr 8, 2024
1 parent 39624a3 commit cf25dde
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 98 deletions.
1 change: 0 additions & 1 deletion packages/angular/cli/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ ts_library(
"@npm//ini",
"@npm//jsonc-parser",
"@npm//npm-package-arg",
"@npm//open",
"@npm//ora",
"@npm//pacote",
"@npm//semver",
Expand Down
1 change: 0 additions & 1 deletion packages/angular/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"jsonc-parser": "3.2.1",
"npm-package-arg": "11.0.1",
"npm-pick-manifest": "9.0.0",
"open": "8.4.2",
"ora": "5.4.1",
"pacote": "17.0.6",
"resolve": "1.22.8",
Expand Down
6 changes: 1 addition & 5 deletions packages/angular/cli/src/commands/command-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export type CommandNames =
| 'completion'
| 'config'
| 'deploy'
| 'doc'
| 'e2e'
| 'extract-i18n'
| 'generate'
Expand Down Expand Up @@ -60,10 +59,7 @@ export const RootCommands: Record<
'deploy': {
factory: () => import('./deploy/cli'),
},
'doc': {
factory: () => import('./doc/cli'),
aliases: ['d'],
},

'e2e': {
factory: () => import('./e2e/cli'),
aliases: ['e'],
Expand Down
91 changes: 0 additions & 91 deletions packages/angular/cli/src/commands/doc/cli.ts

This file was deleted.

0 comments on commit cf25dde

Please sign in to comment.