diff --git a/dist/npmg.cli.js b/dist/npmg.cli.js index acd9269..2327d55 100644 --- a/dist/npmg.cli.js +++ b/dist/npmg.cli.js @@ -9,9 +9,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", { value: true }); const plugins = require("./npmg.plugins"); +const npmgInstall = require("./npmg.install"); let npmgSmartcli = new plugins.smartcli.Smartcli(); exports.run = () => __awaiter(this, void 0, void 0, function* () { npmgSmartcli.addCommand('install').then((argvArg) => __awaiter(this, void 0, void 0, function* () { + npmgInstall.install('default'); })); + npmgSmartcli.startParse(); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZy5jbGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1nLmNsaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMENBQXlDO0FBR3pDLElBQUksWUFBWSxHQUFHLElBQUksT0FBTyxDQUFDLFFBQVEsQ0FBQyxRQUFRLEVBQUUsQ0FBQTtBQUV2QyxRQUFBLEdBQUcsR0FBRztJQUNmLFlBQVksQ0FBQyxVQUFVLENBQUMsU0FBUyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQU8sT0FBTztJQUV0RCxDQUFDLENBQUEsQ0FBQyxDQUFBO0FBQ0osQ0FBQyxDQUFBLENBQUEifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZy5jbGkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1nLmNsaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsMENBQXlDO0FBQ3pDLDhDQUE2QztBQUU3QyxJQUFJLFlBQVksR0FBRyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLENBQUE7QUFFdkMsUUFBQSxHQUFHLEdBQUc7SUFDZixZQUFZLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFPLE9BQU87UUFDcEQsV0FBVyxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQTtJQUNoQyxDQUFDLENBQUEsQ0FBQyxDQUFBO0lBQ0YsWUFBWSxDQUFDLFVBQVUsRUFBRSxDQUFBO0FBQzNCLENBQUMsQ0FBQSxDQUFBIn0= \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..9c5654b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,41 @@ +# npmg +setup your environment with the most important tools and update them easily. + +## Availabililty +[![npm](https://gitzone.gitlab.io/assets/repo-button-npm.svg)](https://www.npmjs.com/package/npmg) +[![git](https://gitzone.gitlab.io/assets/repo-button-git.svg)](https://GitLab.com/gitzone/npmg) +[![git](https://gitzone.gitlab.io/assets/repo-button-mirror.svg)](https://github.com/gitzone/npmg) +[![docs](https://gitzone.gitlab.io/assets/repo-button-docs.svg)](https://gitzone.gitlab.io/npmg/) + +## Status for master +[![build status](https://GitLab.com/gitzone/npmg/badges/master/build.svg)](https://GitLab.com/gitzone/npmg/commits/master) +[![coverage report](https://GitLab.com/gitzone/npmg/badges/master/coverage.svg)](https://GitLab.com/gitzone/npmg/commits/master) +[![npm downloads per month](https://img.shields.io/npm/dm/npmg.svg)](https://www.npmjs.com/package/npmg) +[![Dependency Status](https://david-dm.org/gitzonetools/npmg.svg)](https://david-dm.org/gitzonetools/npmg) +[![bitHound Dependencies](https://www.bithound.io/github/gitzonetools/npmg/badges/dependencies.svg)](https://www.bithound.io/github/gitzonetools/npmg/master/dependencies/npm) +[![bitHound Code](https://www.bithound.io/github/gitzonetools/npmg/badges/code.svg)](https://www.bithound.io/github/gitzonetools/npmg) +[![TypeScript](https://img.shields.io/badge/TypeScript-2.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/) +[![node](https://img.shields.io/badge/node->=%206.x.x-blue.svg)](https://nodejs.org/dist/latest-v6.x/docs/api/) +[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) + +## Usage +Use TypeScript for best in class instellisense. + +To install the package type + +```shell +yarn global add npmg +``` + +Then install a bundle by typing + +```shell +npmg install +``` + +For further information read the linked docs at the top of this README. + +> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) +| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) + +[![repo-footer](https://gitzone.gitlab.io/assets/repo-footer.svg)](https://git.zone) diff --git a/package.json b/package.json index e2a3954..f35378b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "typings": "dist/index.d.ts", "scripts": { - "test": "(npmts)" + "test": "(npmts --notest && node ./dist/cli.js install)" }, "bin": { "npmg": "dist/cli.js" diff --git a/ts/npmg.cli.ts b/ts/npmg.cli.ts index 88f0e7f..6100af8 100644 --- a/ts/npmg.cli.ts +++ b/ts/npmg.cli.ts @@ -1,10 +1,11 @@ import * as plugins from './npmg.plugins' -import * as install from './npmg.install' +import * as npmgInstall from './npmg.install' let npmgSmartcli = new plugins.smartcli.Smartcli() export let run = async () => { npmgSmartcli.addCommand('install').then(async (argvArg) => { - + npmgInstall.install('default') }) + npmgSmartcli.startParse() } \ No newline at end of file