Skip to content

Commit c75318b

Browse files
committed
fix(@angular/cli): fix ci for new command formats
1 parent ae9817b commit c75318b

37 files changed

+21
-19
lines changed

packages/angular/cli/commands/add.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"$longDescription": "",
66

77
"$scope": "in",
8-
"$impl": "./add#AddCommand",
8+
"$impl": "./add-impl#AddCommand",
99

1010
"type": "object",
1111
"properties": {

packages/angular/cli/commands/build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "b" ],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./build#BuildCommand",
10+
"$impl": "./build-impl#BuildCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
"$aliases": [],
88
"$scope": "in",
9-
"$impl": "./config#ConfigCommand",
9+
"$impl": "./config-impl#ConfigCommand",
1010

1111
"type": "object",
1212
"properties": {

packages/angular/cli/commands/doc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
"$aliases": [ "d" ],
88
"$type": "",
9-
"$impl": "./doc#DocCommand",
9+
"$impl": "./doc-impl#DocCommand",
1010

1111
"type": "object",
1212
"properties": {

packages/angular/cli/commands/e2e.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "e" ],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./e2e#E2eCommand",
10+
"$impl": "./e2e-impl#E2eCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/easter-egg.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"$longDescription": "",
66
"$hidden": true,
77

8-
"$impl": "./easter-egg#AwesomeCommand",
8+
"$impl": "./easter-egg-impl#AwesomeCommand",
99

1010
"type": "object"
1111
}

packages/angular/cli/commands/eject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
"$hidden": true,
88
"$scope": "in",
9-
"$impl": "./eject#EjectCommand",
9+
"$impl": "./eject-impl#EjectCommand",
1010

1111
"type": "object"
1212
}

packages/angular/cli/commands/generate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "g" ],
88
"$scope": "in",
99
"$type": "",
10-
"$impl": "./generate#GenerateCommand",
10+
"$impl": "./generate-impl#GenerateCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/getset.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Deprecated in favor of config command.",
55
"$longDescription": "",
66

7-
"$impl": "./getset#GetSetCommand",
7+
"$impl": "./getset-impl#GetSetCommand",
88
"$hidden": true,
99

1010
"type": "object"

packages/angular/cli/commands/help.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"$longDescription": "",
66

77
"$aliases": [],
8-
"$impl": "./help#HelpCommand",
8+
"$impl": "./help-impl#HelpCommand",
99

1010
"type": "object"
1111
}

packages/angular/cli/commands/lint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "l" ],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./lint#LintCommand",
10+
"$impl": "./lint-impl#LintCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/new.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "n" ],
88
"$scope": "out",
99
"$type": "schematic",
10-
"$impl": "./new#NewCommand",
10+
"$impl": "./new-impl#NewCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/run.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./run#RunCommand",
10+
"$impl": "./run-impl#RunCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/serve.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "s" ],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./serve#ServeCommand",
10+
"$impl": "./serve-impl#ServeCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [ "t" ],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./test#TestCommand",
10+
"$impl": "./test-impl#TestCommand",
1111

1212
"type": "object",
1313
"properties": {

packages/angular/cli/commands/update.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
"$aliases": [],
88
"$type": "",
9-
"$impl": "./update#UpdateCommand",
9+
"$impl": "./update-impl#UpdateCommand",
1010

1111
"type": "object",
1212
"properties": {

packages/angular/cli/commands/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"$longDescription": "",
66

77
"$aliases": [ "v" ],
8-
"$impl": "./version#VersionCommand",
8+
"$impl": "./version-impl#VersionCommand",
99

1010
"type": "object"
1111
}

packages/angular/cli/commands/xi18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"$aliases": [],
88
"$scope": "in",
99
"$type": "architect",
10-
"$impl": "./xi18n#Xi18nCommand",
10+
"$impl": "./xi18n-impl#Xi18nCommand",
1111

1212
"type": "object",
1313
"properties": {

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,10 @@ export function parseOptions(args: string[], optionsAndArguments: Option[]) {
279279
return aliases;
280280
}
281281

282-
return aliases[opt.name] = (opt.aliases || [])
282+
aliases[opt.name] = (opt.aliases || [])
283283
.filter(a => a.length === 1)[0];
284+
285+
return aliases;
284286
}, {});
285287

286288
const booleans = options

0 commit comments

Comments
 (0)