diff --git a/dist/index.js b/dist/index.js index 820c946..8489a0f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6,6 +6,7 @@ var paths = require("./npmci.paths"); var npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot); plugins.beautylog.log("npmci version: " + npmciInfo.version); var npmci_build_1 = require("./npmci.build"); +var npmci_command_1 = require("./npmci.command"); var npmci_install_1 = require("./npmci.install"); var npmci_publish_1 = require("./npmci.publish"); var npmci_prepare_1 = require("./npmci.prepare"); @@ -37,7 +38,7 @@ switch (command) { .then(NpmciEnv.configStore); break; case "command": - command() + npmci_command_1.command() .then(NpmciEnv.configStore); break; case "install": @@ -68,4 +69,4 @@ switch (command) { break; } -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsUUFBTyxnQkFBZ0IsQ0FBQyxDQUFBO0FBQ3hCLElBQVksT0FBTyxXQUFNLGlCQUFpQixDQUFDLENBQUE7QUFDM0MsSUFBWSxLQUFLLFdBQU0sZUFBZSxDQUFDLENBQUE7QUFDdkMsSUFBSSxTQUFTLEdBQUcsSUFBSSxPQUFPLENBQUMsV0FBVyxDQUFDLGNBQWMsQ0FBQyxLQUFLLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQUMvRSxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsR0FBRyxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUM7QUFFN0QsNEJBQW9CLGVBQ3BCLENBQUMsQ0FEa0M7QUFFbkMsOEJBQXNCLGlCQUFpQixDQUFDLENBQUE7QUFDeEMsOEJBQXNCLGlCQUFpQixDQUFDLENBQUE7QUFDeEMsOEJBQXNCLGlCQUFpQixDQUFDLENBQUE7QUFFeEMsMkJBQW1CLGNBQWMsQ0FBQyxDQUFBO0FBQ2xDLDhCQUFzQ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W2NvbW1hbmRvcHRpb25hcmddJylcbiAgICAuYWN0aW9uKGZ1bmN0aW9uIChjb21tYW5kYXJnLCBjb21tYW5kb3B0aW9uYXJnKSB7XG4gICAgICAgIGNvbW1hbmQgPSBjb21tYW5kYXJnO1xuICAgICAgICBjb21tYW5kT3B0aW9uID0gY29tbWFuZG9wdGlvbmFyZztcbiAgICB9KTtcbiBcbnBsdWdpbnMuY29tbWFuZGVyLnBhcnNlKHByb2Nlc3MuYXJndik7XG4gXG5pZiAodHlwZW9mIGNvbW1hbmQgPT09ICd1bmRlZmluZWQnKSB7XG4gICAgY29uc29sZS5lcnJvcignbm8gY29tbWFuZCBnaXZlbiEnKTtcbiAgICBwcm9jZXNzLmV4aXQoMSk7XG59XG5cbnN3aXRjaCAoY29tbWFuZCl7XG4gICAgY2FzZSBcImJ1aWxkXCI6XG4gICAgICAgIGJ1aWxkKGNvbW1hbmRPcHRpb24pXG4gICAgICAgICAgICAudGhlbihOcG1jaUVudi5jb25maWdTdG9yZSk7XG4gICAgICAgIGJyZWFrO1xuICAgIGNhc2UgXCJjb21tYW5kXCI6XG4gICAgICAgIGNvbW1hbmQoKVxuICAgICAgICAgICAgLnRoZW4oTnBtY2lFbnYuY29uZmlnU3RvcmUpO1xuICAgICAgICBicmVhaztcbiAgICBjYXNlIFwiaW5zdGFsbFwiOlxuICAgICAgICBpbnN0YWxsKGNvbW1hbmRPcHRpb24pXG4gICAgICAgICAgICAudGhlbihOcG1jaUVudi5jb25maWdTdG9yZSk7O1xuICAgICAgICBicmVhaztcbiAgICBjYXNlIFwicHJlcGFyZVwiOlxuICAgICAgICBwcmVwYXJlKGNvbW1hbmRPcHRpb24pXG4gICAgICAgICAgICAudGhlbihOcG1jaUVudi5jb25maWdTdG9yZSk7O1xuICAgICAgICBicmVhaztcbiAgICBjYXNlIFwicHVibGlzaFwiOlxuICAgICAgICBwdWJsaXNoKGNvbW1hbmRPcHRpb24pXG4gICAgICAgICAgICAudGhlbihOcG1jaUVudi5jb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vbmZpZ1N0b3JlKTs7XG4gICAgICAgIGJyZWFrO1xuICAgIGNhc2UgXCJwdWJsaXNoXCI6XG4gICAgICAgIHB1Ymxpc2goY29tbWFuZE9wdGlvbilcbiAgICAgICAgICAgIC50aGVuKE5wbWNpRW52LmNvbmZpZ1N0b3JlKTs7XG4gICAgICAgIGJyZWFrO1xuICAgIGNhc2UgXCJ0ZXN0XCI6XG4gICAgICAgIHRlc3QoY29tbWFuZE9wdGlvbilcbiAgICAgICAgICAgIC50aGVuKE5wbWNpRW52LmNvbmZpZ1N0b3JlKTtcbiAgICAgICAgYnJlYWs7XG4gICAgY2FzZSBcInRyaWdnZXJcIjpcbiAgICAgICAgdHJpZ2dlcigpO1xuICAgICAgICBicmVhaztcbiAgICBkZWZhdWx0OlxuICAgICAgICBwbHVnaW5zLmJlYXV0eWxvZy5lcnJvcihcImNvbW1hbmQgXCIgKyBjb21tYW5kT3B0aW9uLmJsdWUgKyBcIiBub3QgcmVjb2duaXNlZFwiKTtcbiAgICAgICAgcHJvY2Vzcy5leGl0KDEpO1xuICAgICAgICBicmVhaztcbn1cblxuIl19 diff --git a/dist/npmci.command.d.ts b/dist/npmci.command.d.ts index 5a13283..3a4abff 100644 --- a/dist/npmci.command.d.ts +++ b/dist/npmci.command.d.ts @@ -1,2 +1,2 @@ import "typings-global"; -export declare let command: (commandArg: any) => any; +export declare let command: () => any; diff --git a/dist/npmci.command.js b/dist/npmci.command.js index 62a0d90..a06733d 100644 --- a/dist/npmci.command.js +++ b/dist/npmci.command.js @@ -1,11 +1,11 @@ "use strict"; require("typings-global"); var plugins = require("./npmci.plugins"); -exports.command = function (commandArg) { +exports.command = function () { var done = plugins.q.defer(); console.log(process.argv); done.resolve(); return done.promise; }; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5wbWNpLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLFFBQU8sZ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