Skip to content

Commit b66b9b8

Browse files
alan-agius4dgp1130
authored andcommitted
refactor(@angular/cli): remove deprecated get/set commands
BREAKING CHANGE: Deprecated `ng set` and `ng get` have been removed, use `ng config` instead.
1 parent 28f87cb commit b66b9b8

File tree

6 files changed

+0
-69
lines changed

6 files changed

+0
-69
lines changed

packages/angular/cli/BUILD.bazel

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ ts_library(
3131
"//packages/angular/cli:commands/build.ts",
3232
"//packages/angular/cli:commands/deploy.ts",
3333
"//packages/angular/cli:commands/config.ts",
34-
"//packages/angular/cli:commands/deprecated.ts",
3534
"//packages/angular/cli:commands/doc.ts",
3635
"//packages/angular/cli:commands/e2e.ts",
3736
"//packages/angular/cli:commands/easter-egg.ts",
@@ -123,14 +122,6 @@ ts_json_schema(
123122
],
124123
)
125124

126-
ts_json_schema(
127-
name = "deprecated_schema",
128-
src = "commands/deprecated.json",
129-
data = [
130-
"commands/definitions.json",
131-
],
132-
)
133-
134125
ts_json_schema(
135126
name = "doc_schema",
136127
src = "commands/doc.json",

packages/angular/cli/commands.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
"e2e": "./commands/e2e.json",
99
"make-this-awesome": "./commands/easter-egg.json",
1010
"generate": "./commands/generate.json",
11-
"get": "./commands/deprecated.json",
12-
"set": "./commands/deprecated.json",
1311
"help": "./commands/help.json",
1412
"lint": "./commands/lint.json",
1513
"new": "./commands/new.json",

packages/angular/cli/commands/deprecated-impl.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/angular/cli/commands/deprecated.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/angular/cli/models/command-runner.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ const standardCommands = {
4040
'e2e': '../commands/e2e.json',
4141
'make-this-awesome': '../commands/easter-egg.json',
4242
'generate': '../commands/generate.json',
43-
'get': '../commands/deprecated.json',
44-
'set': '../commands/deprecated.json',
4543
'help': '../commands/help.json',
4644
'lint': '../commands/lint.json',
4745
'new': '../commands/new.json',

tests/legacy-cli/e2e/tests/commands/config/get-set-deprecation.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)