Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update meow to the latest version πŸš€ #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Nov 26, 2017

Version 4.0.0 of meow was just published.

Dependency meow
Current Version 3.7.0
Type dependency

The version 4.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of meow.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v4.0.0

Meow 4 is finally out ✨

Highlights

  • Requires Node.js 4 or higher.
  • Changed how minimist options are specified. (See more below) 43401c3 554119b
  • Disabled type inference by default. It can lead to some surprising behavior. Can be enabled again with the inferType option. 1662881
  • Removed support for using an array in the help option. Just use a template literal. c80321d
  • Removed support for the pkg option accepting a string. 2d4d890
  • Removed support for setting the help and version options to false. Instead, use the new autoHelp and autoVersion options. 59dda7a
  • Uses exit code 2 when manually calling cli.showHelp() now. 6a32bbc

v3.7.0...v4.0.0

Changed how `minimist options are specified

In Meow v3 you specified minimist options top-level just like documented in the minimist readme. Now you specify them in a flags option, grouped by flag name instead of option type.

Before

const cli = meow(
	`
		Help text
	`,
	boolean: [
		'unicorn'
	],
	string: [
		'fooBar'
	],
	alias: {
		u: 'unicorn'
	},
	default: {
		foobar: 'foo'
	}
});

After

const cli = meow(
	`
		Help text
	`,
	flags: {
		unicorn: {
			type: 'boolean',
			alias: 'u'
		},
		fooBar: {
			type: 'string',
			default: 'foo'
		}
	}
});

I would strongly recommend specifying the type property whenever possible to reduce CLI argument parsing ambiguity.

Commits

The new version differs by 26 commits ahead by 26, behind by 2.

  • 8c82a18 4.0.0
  • 59dda7a Add autoVersion and autoHelp options (#68)
  • 4f7ded3 Update read-pkg-up to version 3 (#72)
  • 554119b Document #63
  • 7f54d4b Meta tweaks
  • 43401c3 Rewrite flags input (#63)
  • b561b55 Code style tweaks
  • a5fbc8c Minor tweaks
  • edcdff8 Update dependencies (#52)
  • 6a32bbc use exit code 2 when manually calling cli.showHelp()
  • 2d4d890 drop support for pkg option accepting a string
  • c80321d drop support for using an array in the help option
  • 578733e [BREAKING] ES2015ify - Now requires Node.js >=4
  • 0fc44ad Fix type for cli.help (#45)
  • bf66f3a fix XO lint issues

There are 26 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.294% when pulling ba5bba1 on greenkeeper/meow-4.0.0 into 101bc90 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.294% when pulling ba5bba1 on greenkeeper/meow-4.0.0 into 101bc90 on master.

greenkeeper bot added a commit that referenced this pull request Apr 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 25, 2018

Version 4.0.1 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 3 commits.

  • e9ff0fb 4.0.1
  • 8ff7973 Solves TypeError when using meow with zeit/pkg (#85)
  • 51ce745 Add test to check boolean flag type enforcement (#75)

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 25, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 25, 2018

Version 5.0.0 just got published.

Update to this version instead πŸš€

Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 7, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 7, 2019

  • The dependency meow was updated from 3.7.0 to 6.0.0.

Update to this version instead πŸš€

Commits

The new version differs by 22 commits.

  • 5975fe6 6.0.0
  • 3e05a2e Add type information for flags (#122)
  • 499d186 Update dependencies
  • 5ef9478 Add support for number flag type (#103)
  • 8e5248e Fix typo (#121)
  • cd29865 Only consider enabling autoHelp/autoVersion in case there is only one argument in process.argv (#114)
  • 54e1f22 Tidelift tasks
  • 47fe20f Create funding.yml
  • 927e6e8 Add Node.js 12 to testing (#118)
  • 167d1ec Update dependencies, refactor TypeScript definition to CommonJS compatible export (#117)
  • fd537b8 Update dependencies
  • f1036df Add TypeScript definition (#116)
  • f36715c Remove flag's aliases from the flags property (#108)
  • 646f30b Fix Travis
  • 439ac9b Fix docs regarding meow arguments

There are 22 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 14, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 14, 2020

  • The dependency meow was updated from 3.7.0 to 6.0.1.

Update to this version instead πŸš€

greenkeeper bot added a commit that referenced this pull request Mar 19, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 19, 2020

  • The dependency meow was updated from 3.7.0 to 6.1.0.

Update to this version instead πŸš€

greenkeeper bot added a commit that referenced this pull request May 2, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 2, 2020

  • The dependency meow was updated from 3.7.0 to 6.1.1.

Update to this version instead πŸš€

greenkeeper bot added a commit that referenced this pull request May 7, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 7, 2020


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


  • The dependency meow was updated from 3.7.0 to 7.0.0.

Update to this version instead πŸš€

greenkeeper bot added a commit that referenced this pull request May 11, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 11, 2020


🚨 Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! πŸ’œ πŸššπŸ’¨ πŸ’š

Find out how to migrate to Snyk at greenkeeper.io


  • The dependency meow was updated from 3.7.0 to 7.0.1.

Update to this version instead πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant