Skip to content

Commit fd7601a

Browse files
chore: remove cloud related items
1 parent f460ade commit fd7601a

File tree

5 files changed

+1
-57
lines changed

5 files changed

+1
-57
lines changed

lib/bootstrap.ts

-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ $injector.requireCommand("apple-login", "./commands/apple-login");
107107
$injector.require("itmsTransporterService", "./services/itmstransporter-service");
108108

109109
$injector.requireCommand("setup|*", "./commands/setup");
110-
$injector.requireCommand(["setup|cloud", "cloud|setup"], "./commands/setup");
111110

112111
$injector.requirePublic("packageManager", "./package-manager");
113112
$injector.requirePublic("npm", "./node-package-manager");
@@ -203,7 +202,6 @@ $injector.require("terminalSpinnerService", "./services/terminal-spinner-service
203202

204203
$injector.require('playgroundService', './services/playground-service');
205204
$injector.require("platformEnvironmentRequirements", "./services/platform-environment-requirements");
206-
$injector.require("nativeScriptCloudExtensionService", "./services/nativescript-cloud-extension-service");
207205

208206
$injector.requireCommand("resources|generate|icons", "./commands/generate-assets");
209207
$injector.requireCommand("resources|generate|splashes", "./commands/generate-assets");

lib/commands/setup.ts

-11
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,3 @@ export class SetupCommand implements ICommand {
88
}
99
}
1010
$injector.registerCommand("setup|*", SetupCommand);
11-
12-
export class CloudSetupCommand implements ICommand {
13-
public allowedParameters: ICommandParameter[] = [];
14-
15-
constructor(private $nativeScriptCloudExtensionService: INativeScriptCloudExtensionService) { }
16-
17-
public execute(args: string[]): Promise<any> {
18-
return this.$nativeScriptCloudExtensionService.install();
19-
}
20-
}
21-
$injector.registerCommand(["setup|cloud", "cloud|setup"], CloudSetupCommand);

lib/common/yok.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export class Yok implements IInjector {
216216
} else {
217217
commandName = defaultCommand ? this.getHierarchicalCommandName(name, defaultCommand) : "help";
218218
// If we'll execute the default command, but it's full name had been written by the user
219-
// for example "appbuilder cloud list", we have to remove the "list" option from the arguments that we'll pass to the command.
219+
// for example "tns run ios", we have to remove the "ios" option from the arguments that we'll pass to the command.
220220
if (_.includes(this.hierarchicalCommands[name], CommandsDelimiters.DefaultCommandSymbol + args[0])) {
221221
commandArguments = _.tail(args);
222222
} else {

lib/constants.ts

-2
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,6 @@ export const enum BuildStates {
212212
Incremental = "Incremental"
213213
}
214214

215-
export const NATIVESCRIPT_CLOUD_EXTENSION_NAME = "nativescript-cloud";
216-
217215
/**
218216
* Used in ProjectDataService to concatenate the names of the properties inside nativescript key of package.json.
219217
*/

lib/services/nativescript-cloud-extension-service.ts

-41
This file was deleted.

0 commit comments

Comments
 (0)