Skip to content

Commit

Permalink
rollback to yargs 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed Sep 21, 2017
1 parent 5ae8638 commit 4841322
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -20,6 +20,7 @@
"react:coverage": "npm test --prefix packages/availity-react-kit -- --coverage",
"react:profile": "npm run profile --prefix packages/availity-react-kit",
"react:lint": "npm run lint --prefix packages/availity-react-kit",
"react:help": "npm run help --prefix packages/availity-react-kit",
"lint": "eslint .",
"publish": "lerna publish --force-publish=*",
"bootstrap": "lerna bootstrap",
Expand Down
11 changes: 7 additions & 4 deletions packages/availity-workflow/index.js
Expand Up @@ -51,19 +51,22 @@ yargs

.command('profile', `${chalk.dim('Analyze Webpack bundles and find what is contributing their sizes')}`, () => { profile() })

.command('build', `${chalk.dim('Bundle project for distribution (production or stagingå)')}`, () => { build() })
.command('build', `${chalk.dim('Bundle project for distribution (production or staging)')}`, () => { build() })

.command('release', `${chalk.dim('Bundle project for distribution (production or stagingå) and create a git tag')}`, () => { release() })
.command('release', `${chalk.dim('Bundle project for distribution (production or staging) and create a git tag')}`, () => { release() })

.command('about', `${chalk.dim('About availity-workflow')}`, () => { about() })

.demand(1, chalk.red('Must provide a valid cli command'))

.help('help')
.alias('h', 'help')
.showHelpOnFail(false, 'Specify --help for available options')

.help('help').alias('help', 'h')

.version(require('./package.json').version, 'version').alias('version', 'V')

.example(chalk.yellow('av start'))

.example(chalk.yellow('av lint'))

.argv;
2 changes: 1 addition & 1 deletion packages/availity-workflow/package.json
Expand Up @@ -60,7 +60,7 @@
"webpack": "^3.6.0",
"webpack-bundle-size-analyzer": "^2.6.0",
"webpack-dev-server": "^2.8.2",
"yargs": "^9.0.1"
"yargs": "^8.0.2"
},
"engines": {
"node": ">= 6.0.0",
Expand Down

0 comments on commit 4841322

Please sign in to comment.