diff --git a/lib/bootstrap.ts b/lib/bootstrap.ts index cb0549efa0..4b33935394 100644 --- a/lib/bootstrap.ts +++ b/lib/bootstrap.ts @@ -45,7 +45,6 @@ $injector.requireCommand("emulate|ios", "./commands/emulate"); $injector.require("npm", "./node-package-manager"); $injector.require("lockfile", "./lockfile"); -$injector.require("optionsService", "./services/options-service"); $injector.require("dynamicHelpProvider", "./dynamic-help-provider"); $injector.require("mobilePlatformsCapabilities", "./mobile-platforms-capabilities"); $injector.require("commandsServiceProvider", "./providers/commands-service-provider"); diff --git a/lib/common b/lib/common index 55c8fcc2f1..52e8914340 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 55c8fcc2f1f27be76974c40d3d01cb3229263134 +Subproject commit 52e891434078bbec12ebbb1b4a8eafca868fe424 diff --git a/lib/providers/commands-service-provider.ts b/lib/providers/commands-service-provider.ts index e1e61b8845..729d0cf104 100644 --- a/lib/providers/commands-service-provider.ts +++ b/lib/providers/commands-service-provider.ts @@ -3,6 +3,10 @@ import Future = require("fibers/future"); export class CommandsServiceProvider implements ICommandsServiceProvider { + public get dynamicCommandsPrefix(): string { + return ""; + } + public getDynamicCommands(): IFuture { return Future.fromResult([]); } diff --git a/lib/services/options-service.ts b/lib/services/options-service.ts deleted file mode 100644 index 29ccdc8339..0000000000 --- a/lib/services/options-service.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -"use strict"; - -import options = require("../common/options"); - -export class OptionsService implements IOptionsService { - public getKnownOptions(): string[]{ - return Object.keys(options.knownOpts); - } -} -$injector.register("optionsService", OptionsService); diff --git a/package.json b/package.json index c180041e93..4128aa4805 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nativescript", "preferGlobal": true, - "version": "0.10.0", + "version": "1.0.0", "author": "Telerik ", "description": "Command-line interface for building NativeScript projects", "bin": { @@ -42,6 +42,7 @@ "log4js": "0.6.22", "marked": "0.3.3", "marked-terminal": "1.4.0", + "minimatch": "2.0.4", "mkdirp": "0.3.5", "mute-stream": "0.0.4", "node-inspector": "0.7.4",