From b6a85319b057b478037fbcaaf17913c92f39a238 Mon Sep 17 00:00:00 2001 From: PhilKunz External Date: Thu, 18 May 2017 20:40:09 +0000 Subject: [PATCH] Go modular --- dist/index.d.ts | 4 +- dist/index.js | 100 +---------------- .../index.d.ts} | 0 dist/{npmci.build.js => mod_build/index.js} | 9 +- dist/mod_build/mod.plugins.d.ts | 1 + dist/mod_build/mod.plugins.js | 7 ++ .../index.d.ts} | 0 dist/{npmci.clean.js => mod_clean/index.js} | 6 +- dist/mod_clean/mod.plugins.d.ts | 1 + dist/mod_clean/mod.plugins.js | 7 ++ .../index.d.ts} | 0 .../index.js} | 2 +- dist/mod_docker/index.d.ts | 1 + dist/mod_docker/index.js | 7 ++ .../mod.builddocker.d.ts} | 0 .../mod.builddocker.js} | 10 +- dist/mod_docker/mod.plugins.d.ts | 1 + dist/mod_docker/mod.plugins.js | 7 ++ .../index.d.ts} | 0 .../index.js} | 2 +- .../index.d.ts} | 0 .../index.js} | 2 +- .../index.d.ts} | 3 +- .../index.js} | 4 +- .../index.d.ts} | 0 .../index.js} | 4 +- .../index.d.ts} | 0 .../index.js} | 2 +- dist/npmci.cli.d.ts | 0 dist/npmci.cli.js | 96 ++++++++++++++++ dist/npmci.env.d.ts | 4 +- dist/npmci.env.js | 5 +- dist/npmci.mods.d.ts | 17 +++ dist/npmci.mods.js | 13 ++- dist/npmci.monitor.d.ts | 2 + dist/npmci.monitor.js | 16 +++ dist/npmci.plugins.d.ts | 1 + dist/npmci.plugins.js | 3 +- package.json | 4 +- ts/index.ts | 106 +----------------- ts/{npmci.build.ts => mod_build/index.ts} | 11 +- ts/mod_build/mod.plugins.ts | 1 + ts/{npmci.clean.ts => mod_clean/index.ts} | 4 +- ts/mod_clean/mod.plugins.ts | 1 + ts/{npmci.command.ts => mod_command/index.ts} | 0 ts/mod_docker/index.ts | 1 + .../mod.builddocker.ts} | 8 +- ts/mod_docker/mod.plugins.ts | 3 + ts/{npmci.install.ts => mod_install/index.ts} | 0 ts/{npmci.prepare.ts => mod_prepare/index.ts} | 0 ts/{npmci.publish.ts => mod_publish/index.ts} | 2 +- .../index.ts} | 18 +-- ts/mod_test/index.ts | 44 ++++++++ ts/mod_test/mod.plugins.ts | 1 + ts/{npmci.trigger.ts => mod_trigger/index.ts} | 0 ts/mod_trigger/mod.plugins.ts | 0 ts/npmci.cli.ts | 102 +++++++++++++++++ ts/npmci.env.ts | 8 +- ts/npmci.mods.ts | 21 ++++ ts/npmci.monitor.ts | 17 +++ ts/npmci.plugins.ts | 1 + ts/npmci.ssh.ts | 14 +-- ts/npmci.test.ts | 36 ------ yarn.lock | 30 ++--- 64 files changed, 454 insertions(+), 316 deletions(-) rename dist/{npmci.build.d.ts => mod_build/index.d.ts} (100%) rename dist/{npmci.build.js => mod_build/index.js} (56%) create mode 100644 dist/mod_build/mod.plugins.d.ts create mode 100644 dist/mod_build/mod.plugins.js rename dist/{npmci.clean.d.ts => mod_clean/index.d.ts} (100%) rename dist/{npmci.clean.js => mod_clean/index.js} (66%) create mode 100644 dist/mod_clean/mod.plugins.d.ts create mode 100644 dist/mod_clean/mod.plugins.js rename dist/{npmci.command.d.ts => mod_command/index.d.ts} (100%) rename dist/{npmci.command.js => mod_command/index.js} (61%) create mode 100644 dist/mod_docker/index.d.ts create mode 100644 dist/mod_docker/index.js rename dist/{npmci.build.docker.d.ts => mod_docker/mod.builddocker.d.ts} (100%) rename dist/{npmci.build.docker.js => mod_docker/mod.builddocker.js} (50%) create mode 100644 dist/mod_docker/mod.plugins.d.ts create mode 100644 dist/mod_docker/mod.plugins.js rename dist/{npmci.install.d.ts => mod_install/index.d.ts} (100%) rename dist/{npmci.install.js => mod_install/index.js} (53%) rename dist/{npmci.prepare.d.ts => mod_prepare/index.d.ts} (100%) rename dist/{npmci.prepare.js => mod_prepare/index.js} (54%) rename dist/{npmci.publish.d.ts => mod_publish/index.d.ts} (72%) rename dist/{npmci.publish.js => mod_publish/index.js} (62%) rename dist/{npmci.servezone.d.ts => mod_servezone/index.d.ts} (100%) rename dist/{npmci.servezone.js => mod_servezone/index.js} (65%) rename dist/{npmci.trigger.d.ts => mod_trigger/index.d.ts} (100%) rename dist/{npmci.trigger.js => mod_trigger/index.js} (57%) create mode 100644 dist/npmci.cli.d.ts create mode 100644 dist/npmci.cli.js create mode 100644 dist/npmci.monitor.d.ts create mode 100644 dist/npmci.monitor.js rename ts/{npmci.build.ts => mod_build/index.ts} (58%) create mode 100644 ts/mod_build/mod.plugins.ts rename ts/{npmci.clean.ts => mod_clean/index.ts} (65%) create mode 100644 ts/mod_clean/mod.plugins.ts rename ts/{npmci.command.ts => mod_command/index.ts} (100%) create mode 100644 ts/mod_docker/index.ts rename ts/{npmci.build.docker.ts => mod_docker/mod.builddocker.ts} (98%) create mode 100644 ts/mod_docker/mod.plugins.ts rename ts/{npmci.install.ts => mod_install/index.ts} (100%) rename ts/{npmci.prepare.ts => mod_prepare/index.ts} (100%) rename ts/{npmci.publish.ts => mod_publish/index.ts} (95%) rename ts/{npmci.servezone.ts => mod_servezone/index.ts} (65%) create mode 100644 ts/mod_test/index.ts create mode 100644 ts/mod_test/mod.plugins.ts rename ts/{npmci.trigger.ts => mod_trigger/index.ts} (100%) create mode 100644 ts/mod_trigger/mod.plugins.ts create mode 100644 ts/npmci.cli.ts create mode 100644 ts/npmci.monitor.ts delete mode 100644 ts/npmci.test.ts diff --git a/dist/index.d.ts b/dist/index.d.ts index fe821c2..5e3d2cb 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -1,3 +1 @@ -export { build } from './npmci.build'; -export { install } from './npmci.install'; -export { publish } from './npmci.publish'; +import './npmci.cli'; diff --git a/dist/index.js b/dist/index.js index d58baf2..f3e58a2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,100 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const plugins = require("./npmci.plugins"); -const paths = require("./npmci.paths"); -let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot); -plugins.beautylog.log('npmci version: ' + npmciInfo.version); -const npmci_build_1 = require("./npmci.build"); -const npmci_clean_1 = require("./npmci.clean"); -const npmci_command_1 = require("./npmci.command"); -const npmci_install_1 = require("./npmci.install"); -const npmci_publish_1 = require("./npmci.publish"); -const npmci_prepare_1 = require("./npmci.prepare"); -const npmci_test_1 = require("./npmci.test"); -const npmci_trigger_1 = require("./npmci.trigger"); -const NpmciEnv = require("./npmci.env"); -var npmci_build_2 = require("./npmci.build"); -exports.build = npmci_build_2.build; -var npmci_install_2 = require("./npmci.install"); -exports.install = npmci_install_2.install; -var npmci_publish_2 = require("./npmci.publish"); -exports.publish = npmci_publish_2.publish; -let smartcli = new plugins.smartcli.Smartcli(); -smartcli.addVersion(npmciInfo.version); -// build -smartcli.addCommand('build') - .then((argv) => { - npmci_build_1.build(argv._[1]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// clean -smartcli.addCommand('clean') - .then((argv) => { - npmci_clean_1.clean() - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// command -smartcli.addCommand('command') - .then((argv) => { - npmci_command_1.command() - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// install -smartcli.addCommand('install') - .then((argv) => { - npmci_install_1.install(argv._[1]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// prepare -smartcli.addCommand('prepare') - .then((argv) => { - npmci_prepare_1.prepare(argv._[1]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// publish -smartcli.addCommand('publish') - .then((argv) => { - npmci_publish_1.publish(argv._[1]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// test -smartcli.addCommand('test') - .then((argv) => { - npmci_test_1.test(argv._[1]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err); - process.exit(1); - }); -}); -// trigger -smartcli.addCommand('trigger') - .then((arg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lBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBQ04sQ0FBQyxDQUFDLENBQUE7QUFFSixPQUFPO0FBQ1AsUUFBUSxDQUFDLFVBQVUsQ0FBQyxNQUFNLENBQUM7S0FDeEIsSUFBSSxDQUFDLENBQUMsSUFBSTtJQUNULGlCQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBRSxDQUFDLENBQUUsQ0FBQztTQUNkLElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQUFDO1NBQzFCLEtBQUssQ0FBQyxHQUFHO1FBQ1IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQTtRQUNoQixPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ2pCLENBQUMsQ0FBQyxDQUFBO0FBQ04sQ0FBQyxDQUFDLENBQUE7QUFFSixVQUFVO0FBQ1YsUUFBUSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUM7S0FDM0IsSUFBSSxDQUFDLENBQUMsSUFBSTtJQUNULHVCQUFPLEVBQUUsQ0FBQTtBQUNYLENBQUMsQ0FBQyxDQUFBO0FBRUosUUFBUSxDQUFDLFVBQVUsRUFBRSxDQUFBIn0= \ No newline at end of file +require("./npmci.cli"); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVCQUFvQiJ9 \ No newline at end of file diff --git a/dist/npmci.build.d.ts b/dist/mod_build/index.d.ts similarity index 100% rename from dist/npmci.build.d.ts rename to dist/mod_build/index.d.ts diff --git a/dist/npmci.build.js b/dist/mod_build/index.js similarity index 56% rename from dist/npmci.build.js rename to dist/mod_build/index.js index d0b8db8..d716060 100644 --- a/dist/npmci.build.js +++ b/dist/mod_build/index.js @@ -8,15 +8,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -const plugins = require("./npmci.plugins"); -const buildDocker = require("./npmci.build.docker"); +const plugins = require("./mod.plugins"); +const npmciMods = require("../npmci.mods"); /** * builds for a specific service */ exports.build = (commandArg) => __awaiter(this, void 0, void 0, function* () { switch (commandArg) { case 'docker': - yield buildDocker.build(); + let modDocker = yield npmciMods.modDocker.load(); + yield modDocker.build(); break; default: plugins.beautylog.log('build target ' + commandArg + ' not recognised!'); @@ -24,4 +25,4 @@ exports.build = (commandArg) => __awaiter(this, void 0, void 0, function* () { ; return; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMkNBQTBDO0FBRzFDLG9EQUFtRDtBQU9uRDs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHLENBQU8sVUFBVTtJQUNsQyxNQUFNLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO1FBQ25CLEtBQUssUUFBUTtZQUNYLE1BQU0sV0FBVyxDQUFDLEtBQUssRUFBRSxDQUFBO1lBQ3pCLEtBQUssQ0FBQTtRQUNQO1lBQ0UsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsZUFBZSxHQUFHLFVBQVUsR0FBRyxrQkFBa0IsQ0FBQyxDQUFBO0lBQzVFLENBQUM7SUFBQSxDQUFDO0lBQ0YsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUd4QywyQ0FBMEM7QUFPMUM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRyxDQUFPLFVBQVU7SUFDbEMsTUFBTSxDQUFDLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztRQUNuQixLQUFLLFFBQVE7WUFDWCxJQUFJLFNBQVMsR0FBRyxNQUFNLFNBQVMsQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLENBQUE7WUFDaEQsTUFBTSxTQUFTLENBQUMsS0FBSyxFQUFFLENBQUE7WUFDdkIsS0FBSyxDQUFBO1FBQ1A7WUFDRSxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxlQUFlLEdBQUcsVUFBVSxHQUFHLGtCQUFrQixDQUFDLENBQUE7SUFDNUUsQ0FBQztJQUFBLENBQUM7SUFDRixNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/mod_build/mod.plugins.d.ts b/dist/mod_build/mod.plugins.d.ts new file mode 100644 index 0000000..27d1e74 --- /dev/null +++ b/dist/mod_build/mod.plugins.d.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins'; diff --git a/dist/mod_build/mod.plugins.js b/dist/mod_build/mod.plugins.js new file mode 100644 index 0000000..1fd45bf --- /dev/null +++ b/dist/mod_build/mod.plugins.js @@ -0,0 +1,7 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("../npmci.plugins")); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvbW9kLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBZ0MifQ== \ No newline at end of file diff --git a/dist/npmci.clean.d.ts b/dist/mod_clean/index.d.ts similarity index 100% rename from dist/npmci.clean.d.ts rename to dist/mod_clean/index.d.ts diff --git a/dist/npmci.clean.js b/dist/mod_clean/index.js similarity index 66% rename from dist/npmci.clean.js rename to dist/mod_clean/index.js index 804e383..4220d9c 100644 --- a/dist/npmci.clean.js +++ b/dist/mod_clean/index.js @@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -const plugins = require("./npmci.plugins"); -const paths = require("./npmci.paths"); +const plugins = require("./mod.plugins"); +const paths = require("../npmci.paths"); /** * cleans npmci config files */ @@ -17,4 +17,4 @@ exports.clean = () => __awaiter(this, void 0, void 0, function* () { plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig); return; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xlYW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5jbGVhbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMkNBQTBDO0FBQzFDLHVDQUFzQztBQUV0Qzs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHO0lBQ2pCLE9BQU8sQ0FBQyxTQUFTLENBQUMsRUFBRSxDQUFDLFVBQVUsQ0FBQyxLQUFLLENBQUMsa0JBQWtCLENBQUMsQ0FBQTtJQUN6RCxNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY2xlYW4vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUN4Qyx3Q0FBdUM7QUFFdkM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRztJQUNqQixPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUE7SUFDekQsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file diff --git a/dist/mod_clean/mod.plugins.d.ts b/dist/mod_clean/mod.plugins.d.ts new file mode 100644 index 0000000..27d1e74 --- /dev/null +++ b/dist/mod_clean/mod.plugins.d.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins'; diff --git a/dist/mod_clean/mod.plugins.js b/dist/mod_clean/mod.plugins.js new file mode 100644 index 0000000..1338760 --- /dev/null +++ b/dist/mod_clean/mod.plugins.js @@ -0,0 +1,7 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("../npmci.plugins")); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY2xlYW4vbW9kLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxzQ0FBZ0MifQ== \ No newline at end of file diff --git a/dist/npmci.command.d.ts b/dist/mod_command/index.d.ts similarity index 100% rename from dist/npmci.command.d.ts rename to dist/mod_command/index.d.ts diff --git a/dist/npmci.command.js b/dist/mod_command/index.js similarity index 61% rename from dist/npmci.command.js rename to dist/mod_command/index.js index 1186ee5..27fa59f 100644 --- a/dist/npmci.command.js +++ b/dist/mod_command/index.js @@ -21,4 +21,4 @@ exports.command = () => __awaiter(this, void 0, void 0, function* () { yield npmci_bash_1.bash(wrappedCommand); return; }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLmNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUNBLDZDQUFtQztBQUV4QixRQUFBLE9BQU8sR0FBRztJQUNuQixJQUFJLGNBQWMsR0FBVyxFQUFFLENBQUE7SUFDL0IsSUFBSSxTQUFTLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQTtJQUM1QixHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQztRQUMxQyxjQUFjLEdBQUcsY0FBYyxHQUFHLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUM5QyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxLQUFLLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO1lBQUMsY0FBYyxHQUFHLGNBQWMsR0FBRyxHQUFHLENBQUE7UUFBQyxDQUFDO0lBQzNFLENBQUM7SUFDRCxNQUFNLGlCQUFJLENBQUMsY0FBYyxDQUFDLENBQUE7SUFDMUIsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfY29tbWFuZC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQ0EsNkNBQW1DO0FBRXhCLFFBQUEsT0FBTyxHQUFHO0lBQ25CLElBQUksY0FBYyxHQUFXLEVBQUUsQ0FBQTtJQUMvQixJQUFJLFNBQVMsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFBO0lBQzVCLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRSxDQUFDO1FBQzFDLGNBQWMsR0FBRyxjQUFjLEdBQUcsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFBO1FBQzlDLEVBQUUsQ0FBQyxDQUFDLENBQUMsR0FBRyxDQUFDLEtBQUssU0FBUyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7WUFBQyxjQUFjLEdBQUcsY0FBYyxHQUFHLEdBQUcsQ0FBQTtRQUFDLENBQUM7SUFDM0UsQ0FBQztJQUNELE1BQU0saUJBQUksQ0FBQyxjQUFjLENBQUMsQ0FBQTtJQUMxQixNQUFNLENBQUE7QUFDUixDQUFDLENBQUEsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/mod_docker/index.d.ts b/dist/mod_docker/index.d.ts new file mode 100644 index 0000000..0ae94f9 --- /dev/null +++ b/dist/mod_docker/index.d.ts @@ -0,0 +1 @@ +export * from './mod.builddocker'; diff --git a/dist/mod_docker/index.js b/dist/mod_docker/index.js new file mode 100644 index 0000000..2f69d53 --- /dev/null +++ b/dist/mod_docker/index.js @@ -0,0 +1,7 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("./mod.builddocker")); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfZG9ja2VyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsdUNBQWlDIn0= \ No newline at end of file diff --git a/dist/npmci.build.docker.d.ts b/dist/mod_docker/mod.builddocker.d.ts similarity index 100% rename from dist/npmci.build.docker.d.ts rename to dist/mod_docker/mod.builddocker.d.ts diff --git a/dist/npmci.build.docker.js b/dist/mod_docker/mod.builddocker.js similarity index 50% rename from dist/npmci.build.docker.js rename to dist/mod_docker/mod.builddocker.js index e7079c1..2271cc6 100644 --- a/dist/npmci.build.docker.js +++ b/dist/mod_docker/mod.builddocker.js @@ -8,10 +8,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -const plugins = require("./npmci.plugins"); -const paths = require("./npmci.paths"); -const NpmciEnv = require("./npmci.env"); -const npmci_bash_1 = require("./npmci.bash"); +const plugins = require("./mod.plugins"); +const paths = require("../npmci.paths"); +const NpmciEnv = require("../npmci.env"); +const npmci_bash_1 = require("../npmci.bash"); /** * builds a cwd of Dockerfiles by triggering a promisechain */ @@ -288,4 +288,4 @@ exports.cleanTagsArrayFunction = function (dockerfileArrayArg, trackingArrayArg) }); return cleanTagsArray; }; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYnVpbGQuZG9ja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuYnVpbGQuZG9ja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLHdDQUF1QztBQUN2Qyw2Q0FBbUM7QUFFbkM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRztJQUNqQixPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUc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0FBQyxDQUFDO1lBQ25ELGNBQWMsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLFFBQVEsQ0FBQyxDQUFBO1FBQzdDLENBQUM7SUFDSCxDQUFDLENBQUMsQ0FBQTtJQUNGLE1BQU0sQ0FBQyxjQUFjLENBQUE7QUFDdkIsQ0FBQyxDQUFBIn0= \ No newline at end of file diff --git a/dist/mod_docker/mod.plugins.d.ts b/dist/mod_docker/mod.plugins.d.ts new file mode 100644 index 0000000..27d1e74 --- /dev/null +++ b/dist/mod_docker/mod.plugins.d.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins'; diff --git a/dist/mod_docker/mod.plugins.js b/dist/mod_docker/mod.plugins.js new file mode 100644 index 0000000..ee78b98 --- /dev/null +++ b/dist/mod_docker/mod.plugins.js @@ -0,0 +1,7 @@ +"use strict"; +function __export(m) { + for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; +} +Object.defineProperty(exports, "__esModule", { value: true }); +__export(require("../npmci.plugins")); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfZG9ja2VyL21vZC5wbHVnaW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsc0NBQWdDIn0= \ No newline at end of file diff --git a/dist/npmci.install.d.ts b/dist/mod_install/index.d.ts similarity index 100% rename from dist/npmci.install.d.ts rename to dist/mod_install/index.d.ts diff --git a/dist/npmci.install.js b/dist/mod_install/index.js similarity index 53% rename from dist/npmci.install.js rename to dist/mod_install/index.js index 1b4882b..2882d95 100644 --- a/dist/npmci.install.js +++ b/dist/mod_install/index.js @@ -65,4 +65,4 @@ exports.install = (versionArg) => __awaiter(this, void 0, void 0, function* () { plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!'); })); }); -//# sourceMappingURL=data:application/json;base64,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mod_prepare/index.d.ts similarity index 100% rename from dist/npmci.prepare.d.ts rename to dist/mod_prepare/index.d.ts diff --git a/dist/npmci.prepare.js b/dist/mod_prepare/index.js similarity index 54% rename from dist/npmci.prepare.js rename to dist/mod_prepare/index.js index b847039..0499929 100644 --- a/dist/npmci.prepare.js +++ b/dist/mod_prepare/index.js @@ -78,4 +78,4 @@ exports.prepare = (serviceArg) => __awaiter(this, void 0, void 0, function* () { break; } }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucHJlcGFyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnByZXBhcmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUMxQyw2Q0FBbUM7QUFDbkMsbUNBQWtDO0FBQ2xDLHlDQUF3QztBQVV4Qzs7R0FFRztBQUNILElBQUksR0FBRyxHQUFHO0lBQ1IsSUFBSSxXQUFXLEdBQVcsbUNBQW1DLENBQUE7SUFDN0QsSUFBSSxRQUFRLEdBQVcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUE7SUFDbEQsSUFBSSxlQUFlLEdBQVcsV0FBVyxHQUFHLFFBQVEsQ0FBQTtJQUNwRCxFQUFFLENBQUMsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDO1FBQ2IsT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsb0JBQW9CLENBQUMsQ0FBQTtJQUM5QyxDQUFDO0lBQUMsSUFBSSxDQUFDLENBQUM7UUFDTixPQUFPLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxpQ0FBaUMsQ0FBQyxDQUFBO1FBQzFELE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDakIsQ0FBQztJQUNELE9BQU8sQ0FBQyxTQUFTLENBQUMsTUF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xNQUFNLENBQUMsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO1FBQ25CLEtBQUssS0FBSztZQUNSLE1BQU0sQ0FBQyxNQUFNLEdBQUcsRUFBRSxDQUFBO1FBQ3BCLEtBQUssUUFBUTtZQUNYLE1BQU0sQ0FBQyxNQUFNLE1BQU0sRUFBRSxDQUFBO1FBQ3ZCLEtBQUssZUFBZTtZQUNsQixNQUFNLENBQUMsTUFBTSxZQUFZLEVBQUUsQ0FBQTtRQUM3QixLQUFLLEtBQUs7WUFDUixNQUFNLENBQUMsTUFBTSxHQUFHLEVBQUUsQ0FBQTtRQUNwQjtZQUNFLEtBQUssQ0FBQTtJQUNULENBQUM7QUFDSCxDQUFDLENBQUEsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.publish.d.ts b/dist/mod_publish/index.d.ts similarity index 72% rename from dist/npmci.publish.d.ts rename to dist/mod_publish/index.d.ts index e4b8951..2460c9d 100644 --- a/dist/npmci.publish.d.ts +++ b/dist/mod_publish/index.d.ts @@ -1,4 +1,3 @@ -import * as NpmciBuildDocker from './npmci.build.docker'; /** * type of supported services */ @@ -7,4 +6,4 @@ export declare type TPubService = 'npm' | 'docker'; * the main exported publish function. * @param pubServiceArg references targeted service to publish to */ -export declare let publish: (pubServiceArg?: TPubService) => Promise; +export declare let publish: (pubServiceArg?: TPubService) => Promise; diff --git a/dist/npmci.publish.js b/dist/mod_publish/index.js similarity index 62% rename from dist/npmci.publish.js rename to dist/mod_publish/index.js index 5a41ad3..74dd644 100644 --- a/dist/npmci.publish.js +++ b/dist/mod_publish/index.js @@ -37,7 +37,7 @@ let publishNpm = () => __awaiter(this, void 0, void 0, function* () { }); }); /** - * tries to pubish current cwd to Docker registry + * tries to publish current cwd to Docker registry */ let publishDocker = () => __awaiter(this, void 0, void 0, function* () { return yield NpmciBuildDocker.readDockerfiles() @@ -47,4 +47,4 @@ let publishDocker = () => __awaiter(this, void 0, void 0, function* () { return dockerfileArray; }); }); -//# source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FQUFFO1NBQzVDLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxvQkFBb0IsQ0FBQztTQUMzQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsZUFBZSxDQUFDO1NBQ3RDLElBQUksQ0FBQyxlQUFlO1FBQ25CLE1BQU0sQ0FBQyxlQUFlLENBQUE7SUFDeEIsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUEsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.servezone.d.ts b/dist/mod_servezone/index.d.ts similarity index 100% rename from dist/npmci.servezone.d.ts rename to dist/mod_servezone/index.d.ts diff --git a/dist/npmci.servezone.js b/dist/mod_servezone/index.js similarity index 65% rename from dist/npmci.servezone.js rename to dist/mod_servezone/index.js index 4f602fe..1355601 100644 --- a/dist/npmci.servezone.js +++ b/dist/mod_servezone/index.js @@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -const plugins = require("./npmci.plugins"); +const plugins = require("../npmci.plugins"); /** * servezoneRegex is the regex that parses the servezone connection data * parses strings in the form of "servezone.example.com|3000|somepassword" @@ -34,4 +34,4 @@ let smartsocketClientConstructorOptions = { exports.run = (configArg) => __awaiter(this, void 0, void 0, function* () { new plugins.smartsocket.SmartsocketClient(smartsocketClientConstructorOptions); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuc2VydmV6b25lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuc2VydmV6b25lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFFMUM7OztHQUdHO0FBQ0gsSUFBSSxjQUFjLEdBQUcsbUJBQW1CLENBQUE7QUFFeEM7O0dBRUc7QUFDSCxJQUFJLHlCQUF5QixHQUFHLGNBQWMsQ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xRQUFRLENBQUMseUJBQXlCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDNUMsSUFBSSxFQUFFLElBQUk7SUFDVixHQUFHLEVBQUUseUJBQXlCLENBQUMsQ0FBQyxDQUFDO0NBQ2xDLENBQUE7QUFFRDs7R0FFRztBQUNRLFFBQUEsR0FBRyxHQUFHLENBQU8sU0FBUztJQUMvQixJQUFJLE9BQU8sQ0FBQyxXQUFXLENBQUMsaUJBQWlCLENBQ3ZDLG1DQUFtQyxDQUNwQyxDQUFBO0FBQ0gsQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file diff --git a/dist/npmci.trigger.d.ts b/dist/mod_trigger/index.d.ts similarity index 100% rename from dist/npmci.trigger.d.ts rename to dist/mod_trigger/index.d.ts diff --git a/dist/npmci.trigger.js b/dist/mod_trigger/index.js similarity index 57% rename from dist/npmci.trigger.js rename to dist/mod_trigger/index.js index 972d4aa..49e0ddb 100644 --- a/dist/npmci.trigger.js +++ b/dist/mod_trigger/index.js @@ -31,4 +31,4 @@ let evaluateTrigger = (triggerEnvVarArg) => __awaiter(this, void 0, void 0, func plugins.beautylog.log('triggering build for ref ' + regexRefName + ' of ' + regexTriggerName); plugins.request.post('https://gitlab.com/api/v3/projects/' + regexProjectId + '/trigger/builds', { form: { token: regexProjectTriggerToken, ref: regexRefName } }); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kudHJpZ2dlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnRyaWdnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLDJDQUEwQztBQUkxQyxJQUFJLGlCQUFpQixHQUFHLGdHQUFnRyxDQUFBO0FBRTdHLFFBQUEsT0FBTyxHQUFHO0lBQ25CLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHNCQUFzQixDQUFDLENB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DQUFDLENBQUE7SUFDN0MsSUFBSSxnQkFBZ0IsQ0FBQTtJQUNwQixFQUFFLENBQUMsQ0FBQyx1QkFBdUIsQ0FBQyxNQUFNLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUN6QyxnQkFBZ0IsR0FBRyx1QkFBdUIsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUMvQyxDQUFDO0lBQUMsSUFBSSxDQUFDLENBQUM7UUFDTixnQkFBZ0IsR0FBRyxpQkFBaUIsQ0FBQTtJQUN0QyxDQUFDO0lBQ0QsT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsQ0FBQTtJQUN4QyxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQywyQkFBMkIsR0FBRyxZQUFZLEdBQUcsTUFBTSxHQUFHLGdCQUFnQixDQUFDLENBQUE7SUFDN0YsT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMscUNBQXFDLEdBQUcsY0FBYyxHQUFHLGlCQUFpQixFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsS0FBSyxFQUFFLHdCQUF3QixFQUFFLEdBQUcsRUFBRSxZQUFZLEVBQUUsRUFBRSxDQUFDLENBQUE7QUFDcEssQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file diff --git a/dist/npmci.cli.d.ts b/dist/npmci.cli.d.ts new file mode 100644 index 0000000..e69de29 diff --git a/dist/npmci.cli.js b/dist/npmci.cli.js new file mode 100644 index 0000000..6575017 --- /dev/null +++ b/dist/npmci.cli.js @@ -0,0 +1,96 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +const plugins = require("./npmci.plugins"); +const paths = require("./npmci.paths"); +let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot); +plugins.beautylog.log('npmci version: ' + npmciInfo.version); +const npmci_test_1 = require("./npmci.test"); +const NpmciEnv = require("./npmci.env"); +const npmciMods = require("./npmci.mods"); +let smartcli = new plugins.smartcli.Smartcli(); +smartcli.addVersion(npmciInfo.version); +// build +smartcli.addCommand('build') + .then((argv) => __awaiter(this, void 0, void 0, function* () { + let modBuild = yield npmciMods.modBuild.load(); + yield modBuild.build(argv._[1]); + NpmciEnv.configStore(); +})).catch(err => { + console.log(err); + process.exit(1); +}); +// clean +smartcli.addCommand('clean') + .then((argv) => __awaiter(this, void 0, void 0, function* () { + let modClean = yield npmciMods.modClean.load(); + yield modClean.clean(); + NpmciEnv.configStore(); +})).catch(err => { + console.log(err); + process.exit(1); +}); +// command +smartcli.addCommand('command') + .then((argv) => __awaiter(this, void 0, void 0, function* () { + let modCommand = yield npmciMods.modCommand.load(); + modCommand.command(); + yield NpmciEnv.configStore(); +})).catch(err => { + console.log(err); + process.exit(1); +}); +// install +smartcli.addCommand('install') + .then((argv) => { + install(argv._[1]) + .then(NpmciEnv.configStore) + .catch(err => { + console.log(err); + process.exit(1); + }); +}); +// prepare +smartcli.addCommand('prepare') + .then((argv) => { + prepare(argv._[1]) + .then(NpmciEnv.configStore) + .catch(err => { + console.log(err); + process.exit(1); + }); +}); +// publish +smartcli.addCommand('publish') + .then((argv) => { + publish(argv._[1]) + .then(NpmciEnv.configStore) + .catch(err => { + console.log(err); + process.exit(1); + }); +}); +// test +smartcli.addCommand('test') + .then((argv) => { + npmci_test_1.test(argv._[1]) + .then(NpmciEnv.configStore) + .catch(err => { + console.log(err); + process.exit(1); + }); +}); +// trigger +smartcli.addCommand('trigger') + .then((argv) => { + trigger(); +}); +smart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FBQyxDQUFBO1FBQ2hCLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDakIsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQTtBQUVKLE9BQU87QUFDUCxRQUFRLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQztLQUN4QixJQUFJLENBQUMsQ0FBQyxJQUFJO0lBQ1QsaUJBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO1NBQ1osSUFBSSxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUM7U0FDMUIsS0FBSyxDQUFDLEdBQUc7UUFDUixPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFBO1FBQ2hCLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7SUFDakIsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQTtBQUVKLFVBQVU7QUFDVixRQUFRLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQztLQUMzQixJQUFJLENBQUMsQ0FBQyxJQUFJO0lBQ1QsT0FBTyxFQUFFLENBQUE7QUFDWCxDQUFDLENBQUMsQ0FBQTtBQUVKLFFBQVEsQ0FBQyxVQUFVLEVBQUUsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.env.d.ts b/dist/npmci.env.d.ts index 58d7ed5..7511b4c 100644 --- a/dist/npmci.env.d.ts +++ b/dist/npmci.env.d.ts @@ -8,8 +8,8 @@ export declare let dockerFilesBuilt: Dockerfile[]; export declare let dockerFiles: Dockerfile[]; export declare let config: { dockerRegistry: any; - dockerFilesBuilt: Dockerfile[]; - dockerFiles: Dockerfile[]; + dockerFilesBuilt: any[]; + dockerFiles: any[]; project: any; }; export declare let configStore: () => void; diff --git a/dist/npmci.env.js b/dist/npmci.env.js index c34d07c..29085ae 100644 --- a/dist/npmci.env.js +++ b/dist/npmci.env.js @@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true }); const plugins = require("./npmci.plugins"); const paths = require("./npmci.paths"); const smartstring_1 = require("smartstring"); -if (process.env.CI_REPOSITORY_URL) +if (process.env.CI_REPOSITORY_URL) { exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL); +} exports.buildStage = process.env.CI_BUILD_STAGE; exports.setDockerRegistry = (dockerRegistryArg) => { exports.dockerRegistry = dockerRegistryArg; @@ -45,4 +46,4 @@ let configLoad = () => { exports.config.dockerFilesBuilt ? exports.dockerFilesBuilt = exports.config.dockerFilesBuilt : void (0); }; configLoad(); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMkNBQTBDO0FBQzFDLHVDQUFzQztBQUN0Qyw2Q0FBcUM7QUFJckMsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQztJQUFDLFlBQUksR0FBRyxJQUFJLHFCQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFBO0FBRXpFLFFBQUEsVUFBVSxHQUFXLE9BQU8sQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUFBO0FBSS9DLFFBQUEsaUJBQWlCLEdBQUcsQ0FBQyxpQkFBeUI7SUFDdkQsc0JBQWMsR0FBRyxpQkFBaUIsQ0FBQTtBQUNwQyxDQUFDLENBQUE7QUFDVSxRQUFBLGdCQUFnQixHQUFpQixFQUFFLENBQUE7QUFDbkMsUUFBQSxXQUFXLEdBQWlCLEVBQUUsQ0FBQTtBQUM5QixRQUFBLE1BQU0sR0FBRztJQUNsQixjQUFjLEVBQUUsU0FBUztJQ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xDQUFDLENBQUMsY0FBTSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUM7WUFDcEIsY0FBTSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxZQUFZLENBQUMsS0FBSyxDQUFDLGVBQWUsRUFBRSxZQUFZLENBQUMsQ0FBQTtZQUN2RixPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQyxDQUFBO1FBQy9DLENBQUM7SUFDSCxDQUFDO0lBQUMsS0FBSyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztRQUNiLGNBQU0sQ0FBQyxPQUFPLEdBQUcsRUFBRSxDQUFBO1FBQ25CLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGdFQUFnRSxDQUFDLENBQUE7SUFDekYsQ0FBQztJQUVELGNBQU0sQ0FBQyxjQUFjLEdBQUcsc0JBQWMsR0FBRyxjQUFNLENBQUMsY0FBYyxHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUN6RSxjQUFNLENBQUMsZ0JBQWdCLEdBQUcsd0JBQWdCLEdBQUcsY0FBTSxDQUFDLGdCQUFnQixHQUFHLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQTtBQUNqRixDQUFDLENBQUE7QUFDRCxVQUFVLEVBQUUsQ0FBQSJ9 \ No newline at end of file diff --git a/dist/npmci.mods.d.ts b/dist/npmci.mods.d.ts index e69de29..2162f9f 100644 --- a/dist/npmci.mods.d.ts +++ b/dist/npmci.mods.d.ts @@ -0,0 +1,17 @@ +import * as _modBuild from './mod_build/index'; +import * as _modClean from './mod_clean/index'; +import * as _modCommand from './mod_command/index'; +import * as _modDocker from './mod_docker/index'; +import * as _modInstall from './mod_install/index'; +import * as _modPublish from './mod_publish/index'; +import * as _modPrepare from './mod_prepare/index'; +import * as _modTrigger from './mod_trigger/index'; +import { LazyModule } from 'smartsystem'; +export declare let modBuild: LazyModule; +export declare let modClean: LazyModule; +export declare let modCommand: LazyModule; +export declare let modDocker: LazyModule; +export declare let modInstall: LazyModule; +export declare let modPublish: LazyModule; +export declare let modPrepare: LazyModule; +export declare let modTrigger: LazyModule; diff --git a/dist/npmci.mods.js b/dist/npmci.mods.js index 2a028c4..0651238 100644 --- a/dist/npmci.mods.js +++ b/dist/npmci.mods.js @@ -1 +1,12 @@ -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 \ No newline at end of file +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const smartsystem_1 = require("smartsystem"); +exports.modBuild = new smartsystem_1.LazyModule('./mod_build/index', __dirname); +exports.modClean = new smartsystem_1.LazyModule('./mod_clean/index', __dirname); +exports.modCommand = new smartsystem_1.LazyModule('./mod_command/index', __dirname); +exports.modDocker = new smartsystem_1.LazyModule('./mod_docker/index', __dirname); +exports.modInstall = new smartsystem_1.LazyModule('./mod_install/index', __dirname); +exports.modPublish = new smartsystem_1.LazyModule('./mod_publish/index', __dirname); +exports.modPrepare = new smartsystem_1.LazyModule('./mod_prepare/index', __dirname); +exports.modTrigger = new smartsystem_1.LazyModule('./mod_trigger/index', __dirname); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFTQSw2Q0FBd0M7QUFFN0IsUUFBQSxRQUFRLEdBQUcsSUFBSSx3QkFBVSxDQUFtQixtQkFBbUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUMzRSxRQUFBLFFBQVEsR0FBRyxJQUFJLHdCQUFVLENBQW1CLG1CQUFtQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQzNFLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxTQUFTLEdBQUcsSUFBSSx3QkFBVSxDQUFvQixvQkFBb0IsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUM5RSxRQUFBLFVBQVUsR0FBRyxJQUFJLHdCQUFVLENBQXFCLHFCQUFxQixFQUFFLFNBQVMsQ0FBQyxDQUFBO0FBQ2pGLFFBQUEsVUFBVSxHQUFHLElBQUksd0JBQVUsQ0FBcUIscUJBQXFCLEVBQUUsU0FBUyxDQUFDLENBQUE7QUFDakYsUUFBQSxVQUFVLEdBQUcsSUFBSSx3QkFBVSxDQUFxQixxQkFBcUIsRUFBRSxTQUFTLENBQUMsQ0FBQTtBQUNqRixRQUFBLFVBQVUsR0FBRyxJQUFJLHdCQUFVLENBQXFCLHFCQUFxQixFQUFFLFNBQVMsQ0FBQyxDQUFBIn0= \ No newline at end of file diff --git a/dist/npmci.monitor.d.ts b/dist/npmci.monitor.d.ts new file mode 100644 index 0000000..323e6b2 --- /dev/null +++ b/dist/npmci.monitor.d.ts @@ -0,0 +1,2 @@ +import { Smartmonitor } from 'smartmonitor'; +export declare let npmciMonitor: Smartmonitor; diff --git a/dist/npmci.monitor.js b/dist/npmci.monitor.js new file mode 100644 index 0000000..e243135 --- /dev/null +++ b/dist/npmci.monitor.js @@ -0,0 +1,16 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const plugins = require("./npmci.plugins"); +const smartmonitor_1 = require("smartmonitor"); +exports.npmciMonitor = new smartmonitor_1.Smartmonitor(); +if (process.env.SMARTMONITOR) { + exports.npmciMonitor.addInstrumental({ + apiKey: process.env.SMARTMONITOR + }); + plugins.beautylog.info('Monitoring activated'); +} +else { + plugins.beautylog.warn('Monitoring could not be enabled due to missing API-KEY'); +} +exports.npmciMonitor.increment('lossless-ci.builds', 1); +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsK0NBQTJDO0FBRWhDLFFBQUEsWUFBWSxHQUFHLElBQUksMkJBQVksRUFBRSxDQUFBO0FBRTVDLEVBQUUsQ0FBQSxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQztJQUM1QixvQkFBWSxDQUFDLGVBQWUsQ0FBQztRQUMzQixNQUFNLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxZQUFZO0tBQ2pDLENBQUMsQ0FBQTtJQUNGLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHNCQUFzQixDQUFDLENBQUE7QUFDaEQsQ0FBQztBQUFDLElBQUksQ0FBQyxDQUFDO0lBQ04sT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsd0RBQXdELENBQUMsQ0FBQTtBQUNsRixDQUFDO0FBRUQsb0JBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsQ0FBQyxDQUFDLENBQUEifQ== \ No newline at end of file diff --git a/dist/npmci.plugins.d.ts b/dist/npmci.plugins.d.ts index 9873b4b..2252f6c 100644 --- a/dist/npmci.plugins.d.ts +++ b/dist/npmci.plugins.d.ts @@ -16,6 +16,7 @@ export import smartparam = require('smartparam'); export import smartq = require('smartq'); export import smartshell = require('smartshell'); export import smartsocket = require('smartsocket'); +export import smartsystem = require('smartsystem'); export import smartssh = require('smartssh'); export import smartstring = require('smartstring'); export import through2 = require('through2'); diff --git a/dist/npmci.plugins.js b/dist/npmci.plugins.js index b1e8c66..a61b3ae 100644 --- a/dist/npmci.plugins.js +++ b/dist/npmci.plugins.js @@ -18,7 +18,8 @@ exports.smartparam = require("smartparam"); exports.smartq = require("smartq"); exports.smartshell = require("smartshell"); exports.smartsocket = require("smartsocket"); +exports.smartsystem = require("smartsystem"); exports.smartssh = require("smartssh"); exports.smartstring = require("smartstring"); exports.through2 = require("through2"); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUNyRCxtQ0FBd0M7QUFDeEMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMsMkNBQWdEO0FBQ2hELHlDQUE4QztBQUM5QyxxQ0FBMEM7QUFDMUMsK0NBQW9EO0FBQ3BELDJDQUFnRDtBQUNoRCxtQ0FBd0M7QUFDeEMsMkNBQWdEO0FBQ2hELDZDQUFrRDtBQUNsRCx1Q0FBNEM7QUFDNUMsNkNBQWtEO0FBQ2xELHVDQUE0QyJ9 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx5Q0FBOEM7QUFDbkMsUUFBQSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFBO0FBQ2pDLGdEQUFxRDtBQUNyRCxtQ0FBd0M7QUFDeEMsdUNBQTRDO0FBQzVDLCtCQUFvQztBQUNwQyw2Q0FBa0Q7QUFDbEQsOEJBQW1DO0FBQ3hCLFFBQUEsT0FBTyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtBQUN2Qyx1Q0FBNEM7QUFDNUMsMkNBQWdEO0FBQ2hELHlDQUE4QztBQUM5QyxxQ0FBMEM7QUFDMUMsK0NBQW9EO0FBQ3BELDJDQUFnRDtBQUNoRCxtQ0FBd0M7QUFDeEMsMkNBQWdEO0FBQ2hELDZDQUFrRDtBQUNsRCw2Q0FBa0Q7QUFDbEQsdUNBQTRDO0FBQzVDLDZDQUFrRDtBQUNsRCx1Q0FBNEMifQ== \ No newline at end of file diff --git a/package.json b/package.json index 7650247..d5b4dd8 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,7 @@ }, "homepage": "https://gitlab.com/gitzone/npmci#README", "devDependencies": { - "tapbundle": "^1.0.12", - "typings-test": "^1.0.3" + "tapbundle": "^1.0.12" }, "dependencies": { "@types/lodash": "^4.14.64", @@ -49,6 +48,7 @@ "smartsocket": "^1.1.7", "smartssh": "^1.2.1", "smartstring": "^2.0.24", + "smartsystem": "^1.0.17", "through2": "^2.0.3", "typings-global": "^1.0.16" } diff --git a/ts/index.ts b/ts/index.ts index 810a20a..4b214cd 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,106 +1,2 @@ -import * as plugins from './npmci.plugins' -import * as paths from './npmci.paths' -let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot) -plugins.beautylog.log('npmci version: ' + npmciInfo.version) +import './npmci.cli' -import { build } from './npmci.build' -import { clean } from './npmci.clean' -import { command } from './npmci.command' -import { install } from './npmci.install' -import { publish } from './npmci.publish' -import { prepare } from './npmci.prepare' -import { test } from './npmci.test' -import { trigger } from './npmci.trigger' -import * as NpmciEnv from './npmci.env' - -export { build } from './npmci.build' -export { install } from './npmci.install'; -export { publish } from './npmci.publish'; - -let smartcli = new plugins.smartcli.Smartcli() -smartcli.addVersion(npmciInfo.version) - -// build -smartcli.addCommand('build') - .then((argv) => { - build(argv._[ 1 ]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// clean -smartcli.addCommand('clean') - .then((argv) => { - clean() - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// command -smartcli.addCommand('command') - .then((argv) => { - command() - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// install -smartcli.addCommand('install') - .then((argv) => { - install(argv._[ 1 ]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// prepare -smartcli.addCommand('prepare') - .then((argv) => { - prepare(argv._[ 1 ]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// publish -smartcli.addCommand('publish') - .then((argv) => { - publish(argv._[ 1 ]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// test -smartcli.addCommand('test') - .then((argv) => { - test(argv._[ 1 ]) - .then(NpmciEnv.configStore) - .catch(err => { - console.log(err) - process.exit(1) - }) - }) - -// trigger -smartcli.addCommand('trigger') - .then((argv) => { - trigger() - }) - -smartcli.startParse() diff --git a/ts/npmci.build.ts b/ts/mod_build/index.ts similarity index 58% rename from ts/npmci.build.ts rename to ts/mod_build/index.ts index fa265f3..236abcb 100644 --- a/ts/npmci.build.ts +++ b/ts/mod_build/index.ts @@ -1,7 +1,7 @@ -import * as plugins from './npmci.plugins' -import { bash } from './npmci.bash' -import * as env from './npmci.env' -import * as buildDocker from './npmci.build.docker' +import * as plugins from './mod.plugins' +import { bash } from '../npmci.bash' +import * as env from '../npmci.env' +import * as npmciMods from '../npmci.mods' /** * defines possible build services @@ -14,7 +14,8 @@ export type TBuildService = 'docker' export let build = async (commandArg): Promise => { switch (commandArg) { case 'docker': - await buildDocker.build() + let modDocker = await npmciMods.modDocker.load() + await modDocker.build() break default: plugins.beautylog.log('build target ' + commandArg + ' not recognised!') diff --git a/ts/mod_build/mod.plugins.ts b/ts/mod_build/mod.plugins.ts new file mode 100644 index 0000000..f9883a8 --- /dev/null +++ b/ts/mod_build/mod.plugins.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins' diff --git a/ts/npmci.clean.ts b/ts/mod_clean/index.ts similarity index 65% rename from ts/npmci.clean.ts rename to ts/mod_clean/index.ts index 19d6feb..e2b4057 100644 --- a/ts/npmci.clean.ts +++ b/ts/mod_clean/index.ts @@ -1,5 +1,5 @@ -import * as plugins from './npmci.plugins' -import * as paths from './npmci.paths' +import * as plugins from './mod.plugins' +import * as paths from '../npmci.paths' /** * cleans npmci config files diff --git a/ts/mod_clean/mod.plugins.ts b/ts/mod_clean/mod.plugins.ts new file mode 100644 index 0000000..16de40a --- /dev/null +++ b/ts/mod_clean/mod.plugins.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins' \ No newline at end of file diff --git a/ts/npmci.command.ts b/ts/mod_command/index.ts similarity index 100% rename from ts/npmci.command.ts rename to ts/mod_command/index.ts diff --git a/ts/mod_docker/index.ts b/ts/mod_docker/index.ts new file mode 100644 index 0000000..60a64c2 --- /dev/null +++ b/ts/mod_docker/index.ts @@ -0,0 +1 @@ +export * from './mod.builddocker' diff --git a/ts/npmci.build.docker.ts b/ts/mod_docker/mod.builddocker.ts similarity index 98% rename from ts/npmci.build.docker.ts rename to ts/mod_docker/mod.builddocker.ts index ac1e700..38064df 100644 --- a/ts/npmci.build.docker.ts +++ b/ts/mod_docker/mod.builddocker.ts @@ -1,7 +1,7 @@ -import * as plugins from './npmci.plugins' -import * as paths from './npmci.paths' -import * as NpmciEnv from './npmci.env' -import { bash } from './npmci.bash' +import * as plugins from './mod.plugins' +import * as paths from '../npmci.paths' +import * as NpmciEnv from '../npmci.env' +import { bash } from '../npmci.bash' /** * builds a cwd of Dockerfiles by triggering a promisechain diff --git a/ts/mod_docker/mod.plugins.ts b/ts/mod_docker/mod.plugins.ts new file mode 100644 index 0000000..beaf480 --- /dev/null +++ b/ts/mod_docker/mod.plugins.ts @@ -0,0 +1,3 @@ +export * from '../npmci.plugins' + + diff --git a/ts/npmci.install.ts b/ts/mod_install/index.ts similarity index 100% rename from ts/npmci.install.ts rename to ts/mod_install/index.ts diff --git a/ts/npmci.prepare.ts b/ts/mod_prepare/index.ts similarity index 100% rename from ts/npmci.prepare.ts rename to ts/mod_prepare/index.ts diff --git a/ts/npmci.publish.ts b/ts/mod_publish/index.ts similarity index 95% rename from ts/npmci.publish.ts rename to ts/mod_publish/index.ts index 314f431..e08531a 100644 --- a/ts/npmci.publish.ts +++ b/ts/mod_publish/index.ts @@ -34,7 +34,7 @@ let publishNpm = async () => { } /** - * tries to pubish current cwd to Docker registry + * tries to publish current cwd to Docker registry */ let publishDocker = async () => { return await NpmciBuildDocker.readDockerfiles() diff --git a/ts/npmci.servezone.ts b/ts/mod_servezone/index.ts similarity index 65% rename from ts/npmci.servezone.ts rename to ts/mod_servezone/index.ts index 7f6a232..a8d18b5 100644 --- a/ts/npmci.servezone.ts +++ b/ts/mod_servezone/index.ts @@ -1,4 +1,4 @@ -import * as plugins from './npmci.plugins' +import * as plugins from '../npmci.plugins' /** * servezoneRegex is the regex that parses the servezone connection data @@ -15,18 +15,18 @@ let servezoneRegexResultArray = servezoneRegex.exec(process.env.NPMCI_SERVEZONE) * the data object that is used for the smartsocket client object */ let smartsocketClientConstructorOptions = { - alias: 'npmci', - password: servezoneRegexResultArray[3], - port: parseInt(servezoneRegexResultArray[2]), - role: 'ci', - url: servezoneRegexResultArray[1] + alias: 'npmci', + password: servezoneRegexResultArray[3], + port: parseInt(servezoneRegexResultArray[2]), + role: 'ci', + url: servezoneRegexResultArray[1] } /** * the main run function to submit a service to a servezone */ export let run = async (configArg) => { - new plugins.smartsocket.SmartsocketClient( - smartsocketClientConstructorOptions - ) + new plugins.smartsocket.SmartsocketClient( + smartsocketClientConstructorOptions + ) } diff --git a/ts/mod_test/index.ts b/ts/mod_test/index.ts new file mode 100644 index 0000000..7bf2e4a --- /dev/null +++ b/ts/mod_test/index.ts @@ -0,0 +1,44 @@ +import * as plugins from './mod.plugins' +import { bash, yarnAvailable } from '../npmci.bash' +import * as env from '../npmci.env' +import * as npmciMods from '../npmci.mods' + +// interfaces +import { Dockerfile } from '../mod_docker/index' + +let npmDependencies = async (): Promise => { + plugins.beautylog.info('now installing dependencies:') + if (await yarnAvailable.promise) { + await bash('yarn upgrade') + } else { + await bash('npm install') + } +} + +let npmTest = async (): Promise => { + plugins.beautylog.info('now starting tests:') + await bash('npm test') +} + +let testDocker = async (): Promise => { + let modDocker = await npmciMods.modDocker.load() + return await modDocker.readDockerfiles() + .then(modDocker.pullDockerfileImages) + .then(modDocker.testDockerfiles) +} + +/** + * the main test function + * @param versionArg + */ +export let test = async (versionArg): Promise => { + if (versionArg === 'docker') { + await testDocker() + } else { + let modInstall = await npmciMods.modInstall.load() + await modInstall.install(versionArg) + .then(npmDependencies) + .then(npmTest) + } +} + diff --git a/ts/mod_test/mod.plugins.ts b/ts/mod_test/mod.plugins.ts new file mode 100644 index 0000000..f9883a8 --- /dev/null +++ b/ts/mod_test/mod.plugins.ts @@ -0,0 +1 @@ +export * from '../npmci.plugins' diff --git a/ts/npmci.trigger.ts b/ts/mod_trigger/index.ts similarity index 100% rename from ts/npmci.trigger.ts rename to ts/mod_trigger/index.ts diff --git a/ts/mod_trigger/mod.plugins.ts b/ts/mod_trigger/mod.plugins.ts new file mode 100644 index 0000000..e69de29 diff --git a/ts/npmci.cli.ts b/ts/npmci.cli.ts new file mode 100644 index 0000000..6dfaa96 --- /dev/null +++ b/ts/npmci.cli.ts @@ -0,0 +1,102 @@ +import * as plugins from './npmci.plugins' +import * as paths from './npmci.paths' +let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot) +plugins.beautylog.log('npmci version: ' + npmciInfo.version) + +import * as NpmciEnv from './npmci.env' + +import * as npmciMods from './npmci.mods' + +let smartcli = new plugins.smartcli.Smartcli() +smartcli.addVersion(npmciInfo.version) + +// build +smartcli.addCommand('build') + .then(async (argv) => { + let modBuild = await npmciMods.modBuild.load() + await modBuild.build(argv._[1]) + NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// clean +smartcli.addCommand('clean') + .then(async (argv) => { + let modClean = await npmciMods.modClean.load() + await modClean.clean() + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// command +smartcli.addCommand('command') + .then(async (argv) => { + let modCommand = await npmciMods.modCommand.load() + await modCommand.command() + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// install +smartcli.addCommand('install') + .then(async (argv) => { + let modInstall = await npmciMods.modInstall.load() + await modInstall.install(argv._[1]) + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// prepare +smartcli.addCommand('prepare') + .then(async (argv) => { + let modPrepare = await npmciMods.modPrepare.load() + await modPrepare.prepare(argv._[1]) + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// publish +smartcli.addCommand('publish') + .then(async (argv) => { + let modPublish = await npmciMods.modPublish.load() + await modPublish.publish(argv._[1]) + await NpmciEnv.configStore() + + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// test +smartcli.addCommand('test') + .then(async (argv) => { + let modTest = await npmciMods.modTest.load() + await modTest.test(argv._[1]) + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +// trigger +smartcli.addCommand('trigger') + .then(async (argv) => { + let modTrigger = await npmciMods.modTrigger.load() + await modTrigger.trigger() + await NpmciEnv.configStore() + }).catch(err => { + console.log(err) + process.exit(1) + }) + +smartcli.startParse() diff --git a/ts/npmci.env.ts b/ts/npmci.env.ts index e312bae..6fa4d5c 100644 --- a/ts/npmci.env.ts +++ b/ts/npmci.env.ts @@ -1,10 +1,12 @@ import * as plugins from './npmci.plugins' import * as paths from './npmci.paths' import { GitRepo } from 'smartstring' -import { Dockerfile } from './npmci.build.docker' +import { Dockerfile } from './mod_docker/index' export let repo: GitRepo -if (process.env.CI_REPOSITORY_URL) repo = new GitRepo(process.env.CI_REPOSITORY_URL) +if (process.env.CI_REPOSITORY_URL) { + repo = new GitRepo(process.env.CI_REPOSITORY_URL) +} export let buildStage: string = process.env.CI_BUILD_STAGE @@ -22,7 +24,7 @@ export let config = { project: undefined } -export let configStore = () => { +export let configStore = async () => { config.dockerRegistry = dockerRegistry plugins.smartfile.memory.toFsSync( JSON.stringify(config), diff --git a/ts/npmci.mods.ts b/ts/npmci.mods.ts index e69de29..13829ba 100644 --- a/ts/npmci.mods.ts +++ b/ts/npmci.mods.ts @@ -0,0 +1,21 @@ +import * as _modBuild from './mod_build/index' +import * as _modClean from './mod_clean/index' +import * as _modCommand from './mod_command/index' +import * as _modDocker from './mod_docker/index' +import * as _modInstall from './mod_install/index' +import * as _modPublish from './mod_publish/index' +import * as _modPrepare from './mod_prepare/index' +import * as _modTrigger from './mod_trigger/index' +import * as _modTest from './mod_test/index' + +import { LazyModule } from 'smartsystem' + +export let modBuild = new LazyModule('./mod_build/index', __dirname) +export let modClean = new LazyModule('./mod_clean/index', __dirname) +export let modCommand = new LazyModule('./mod_command/index', __dirname) +export let modDocker = new LazyModule('./mod_docker/index', __dirname) +export let modInstall = new LazyModule('./mod_install/index', __dirname) +export let modPublish = new LazyModule('./mod_publish/index', __dirname) +export let modPrepare = new LazyModule('./mod_prepare/index', __dirname) +export let modTrigger = new LazyModule('./mod_trigger/index', __dirname) +export let modTest = new LazyModule('./mod_test/index',__dirname) diff --git a/ts/npmci.monitor.ts b/ts/npmci.monitor.ts new file mode 100644 index 0000000..6f68d0f --- /dev/null +++ b/ts/npmci.monitor.ts @@ -0,0 +1,17 @@ +import * as plugins from './npmci.plugins' +import * as env from './npmci.env' + +import { Smartmonitor } from 'smartmonitor' + +export let npmciMonitor = new Smartmonitor() + +if(process.env.SMARTMONITOR) { + npmciMonitor.addInstrumental({ + apiKey: process.env.SMARTMONITOR + }) + plugins.beautylog.info('Monitoring activated') +} else { + plugins.beautylog.warn('Monitoring could not be enabled due to missing API-KEY') +} + +npmciMonitor.increment('lossless-ci.builds', 1) diff --git a/ts/npmci.plugins.ts b/ts/npmci.plugins.ts index f0ccc20..fbb5942 100644 --- a/ts/npmci.plugins.ts +++ b/ts/npmci.plugins.ts @@ -16,6 +16,7 @@ export import smartparam = require('smartparam') export import smartq = require('smartq') export import smartshell = require('smartshell') export import smartsocket = require('smartsocket') +export import smartsystem = require('smartsystem') export import smartssh = require('smartssh') export import smartstring = require('smartstring') export import through2 = require('through2') diff --git a/ts/npmci.ssh.ts b/ts/npmci.ssh.ts index 42591a6..543784f 100644 --- a/ts/npmci.ssh.ts +++ b/ts/npmci.ssh.ts @@ -3,6 +3,13 @@ import * as plugins from './npmci.plugins' let sshRegex = /^(.*)\|(.*)\|(.*)/ let sshInstance: plugins.smartssh.SshInstance +/** + * checks if not undefined + */ +let notUndefined = (stringArg: string) => { + return (stringArg && stringArg !== 'undefined' && stringArg !== '##') +} + /** * checks for ENV vars in form of NPMCI_SSHKEY_* and deploys any found ones */ @@ -39,10 +46,3 @@ let evaluateSshEnv = async (sshkeyEnvVarArg) => { sshInstance.addKey(sshKey) return } - -/** - * checks if not undefined - */ -let notUndefined = (stringArg: string) => { - return (stringArg && stringArg !== 'undefined' && stringArg !== '##') -} diff --git a/ts/npmci.test.ts b/ts/npmci.test.ts deleted file mode 100644 index d7df517..0000000 --- a/ts/npmci.test.ts +++ /dev/null @@ -1,36 +0,0 @@ -import * as plugins from './npmci.plugins' -import { bash, yarnAvailable } from './npmci.bash' -import { install } from './npmci.install' -import * as env from './npmci.env' -import * as NpmciBuildDocker from './npmci.build.docker' - -export let test = async (versionArg): Promise => { - if (versionArg === 'docker') { - await testDocker() - } else { - await install(versionArg) - .then(npmDependencies) - .then(npmTest) - } -} - -let npmDependencies = async (): Promise => { - plugins.beautylog.info('now installing dependencies:') - if (await yarnAvailable.promise) { - await bash('yarn upgrade') - } else { - await bash('npm install') - } -} - -let npmTest = async (): Promise => { - plugins.beautylog.info('now starting tests:') - await bash('npm test') -} - -let testDocker = async (): Promise => { - return await NpmciBuildDocker.readDockerfiles() - .then(NpmciBuildDocker.pullDockerfileImages) - .then(NpmciBuildDocker.testDockerfiles) -} - diff --git a/yarn.lock b/yarn.lock index c544a29..dd8ee0c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29,18 +29,12 @@ dependencies: "@types/node" "*" -"@types/fs-extra@0.0.35": +"@types/fs-extra@0.0.35", "@types/fs-extra@0.x.x": version "0.0.35" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.35.tgz#3ed400c0122fb161db51da23d96ba5040cb9c7d9" dependencies: "@types/node" "*" -"@types/fs-extra@0.x.x": - version "0.0.37" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-0.0.37.tgz#195f11bcd9a1b97d9e412c6b66899b545471a1f7" - dependencies: - "@types/node" "*" - "@types/fs-extra@3.x.x": version "3.0.1" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.1.tgz#78293a68aad3d866751e8fcfd64d7dc9d0117476" @@ -79,7 +73,7 @@ version "0.0.32" resolved "https://registry.yarnpkg.com/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5" -"@types/q@1.x.x", "@types/q@^1.x.x": +"@types/q@1.0.0", "@types/q@1.x.x", "@types/q@^1.x.x": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/q/-/q-1.0.0.tgz#57e5465d665b370d4217e69b344b20faa6b724f5" @@ -1859,7 +1853,7 @@ oauth-sign@~0.8.1: version "0.8.2" resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" -object-assign@4.1.0: +object-assign@4.1.0, object-assign@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.0.tgz#7a3b3d0e98063d43f4c03f2e8ae6cd51a86883a0" @@ -1867,10 +1861,6 @@ object-assign@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" -object-assign@^4.0.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - object-component@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" @@ -2540,6 +2530,16 @@ smartstring@2.0.24, smartstring@^2.0.22, smartstring@^2.0.24: js-base64 "^2.1.9" typings-global "^1.0.14" +smartsystem@^1.0.17: + version "1.0.17" + resolved "https://registry.yarnpkg.com/smartsystem/-/smartsystem-1.0.17.tgz#a74e4cd3a780df7bd339e6f36620be2fa12af5ab" + dependencies: + "@types/q" "1.0.0" + lik "^1.0.30" + q "^1.5.0" + systemjs "^0.20.12" + typings-global "^1.0.16" + sntp@1.x.x: version "1.0.9" resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" @@ -2712,6 +2712,10 @@ symbol-observable@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d" +systemjs@^0.20.12: + version "0.20.12" + resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.12.tgz#135cc471280448453347829ebb9639a09a67f101" + tapbundle@^1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/tapbundle/-/tapbundle-1.0.12.tgz#71d29273aad280f5c4e15b2700430b2456a5d364"