From a9db6eddad1717fd700a1591097e06aff4a4e0ad Mon Sep 17 00:00:00 2001 From: imcuttle Date: Mon, 22 Oct 2018 21:24:48 +0800 Subject: [PATCH] chore: change pull.npmClient to pull.npm-client BREAKING CHANGE: pull.npmClient in cli change to pull.npm-client --- packages/edam-cli/bin/edam.js | 4 ++-- packages/edam-cli/package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/edam-cli/bin/edam.js b/packages/edam-cli/bin/edam.js index 4aa41a1..3dc9a27 100755 --- a/packages/edam-cli/bin/edam.js +++ b/packages/edam-cli/bin/edam.js @@ -68,7 +68,7 @@ const flags = [ default: null }, { - name: 'pull.npmClient', + name: 'pull.npm-client', type: 'string', desc: 'Appoints to the command when installing package form npmjs.com. [npm|yarn]', @@ -174,7 +174,7 @@ ${generateFlagHelp(flags, ' ')} extends: flags.extends, plugins: flags.plugins, pull: { - npmClient: flags.pull['npmClient'], + npmClient: flags.pull['npm-client'], git: flags.pull['git'] }, yes: flags.yes, diff --git a/packages/edam-cli/package.json b/packages/edam-cli/package.json index 9039502..3ed93ee 100644 --- a/packages/edam-cli/package.json +++ b/packages/edam-cli/package.json @@ -14,6 +14,7 @@ "update-notifier": "^2.4.0" }, "scripts": { + "prepublishOnly": "jest", "postinstall": "node postInstall.js" }, "bin": {