create-contentful-extension
create-contentful-extension copied to clipboard
chore(deps): bump commander from 6.2.0 to 8.1.0 in /packages/create-contentful-extension
Bumps commander from 6.2.0 to 8.1.0.
Release notes
Sourced from commander's releases.
v8.1.0
Added
.copyInheritedSettings()(#1557)- update Chinese translations for Commander v8 (#1570)
Argumentmethods for.argRequired()and.argOptional()(#1567)v8.0.0
Added
.argument(name, description)for adding command-arguments (#1490).createArgument()factory method (#1497).addArgument()(#1490)Argumentsupports.choices()(#1525).showHelpAfterError()to display full help or a custom message after an error (#1534).hook()with support for'preAction'and'postAction'callbacks (#1514)- client typing of
.opts()return type using TypeScript generics (#1539)- the number of command-arguments is checked for programs without an action handler (#1502)
.getOptionValue()and.setOptionValue()(#1521)Changed
- refactor and simplify TypeScript declarations (with no default export) (#1520)
.parseAsync()is now declared asasync(#1513)- Breaking:
Helpmethod.visibleArguments()returns array ofArgument(#1490)- Breaking: Commander 8 requires Node.js 12 or higher (#1500)
- Breaking:
CommanderErrorcodecommander.invalidOptionArgumentrenamedcommander.invalidArgument(#1508)- Breaking: TypeScript declaration for
.addTextHelp()callback no longer allows result ofundefined, now juststring(#1516)- refactor
index.tabinto a file per class (#1522)- remove help suggestion from "unknown command" error message (see
.showHelpAfteError()) (#1534)Commandproperty.arginitialised to empty array (was previously undefined) (#1529)- update dependencies
Deprecated
- second parameter of
cmd.description(desc, argDescriptions)for adding argument descriptions (#1490)
- (use new
.argument(name, description)instead)InvalidOptionArgumentError(replaced byInvalidArgumentError) (#1508)Removed
- Breaking: TypeScript declaration for default export of global
Commandobject (#1520)
- (still available as named
programexport)Migration Tips
If you have a simple program without an action handler, you will now get an error if there are missing command-arguments.
... (truncated)
Changelog
Sourced from commander's changelog.
[8.1.0] (2021-07-27)
Added
.copyInheritedSettings()(#1557)- update Chinese translation updates for Commander v8 (#1570)
Argumentmethods for.argRequired()and.argOptional()(#1567)[8.0.0] (2021-06-25)
Added
.argument(name, description)for adding command-arguments (#1490).createArgument()factory method (#1497).addArgument()(#1490)Argumentsupports.choices()(#1525).showHelpAfterError()to display full help or a custom message after an error (#1534).hook()with support for'preAction'and'postAction'callbacks (#1514)- client typing of
.opts()return type using TypeScript generics (#1539)- the number of command-arguments is checked for programs without an action handler (#1502)
.getOptionValue()and.setOptionValue()(#1521)Changed
- refactor and simplify TypeScript declarations (with no default export) (#1520)
.parseAsync()is now declared asasync(#1513)- Breaking:
Helpmethod.visibleArguments()returns array ofArgument(#1490)- Breaking: Commander 8 requires Node.js 12 or higher (#1500)
- Breaking:
CommanderErrorcodecommander.invalidOptionArgumentrenamedcommander.invalidArgument(#1508)- Breaking: TypeScript declaration for
.addTextHelp()callback no longer allows result ofundefined, now juststring(#1516)- refactor
index.tabinto a file per class (#1522)- remove help suggestion from "unknown command" error message (see
.showHelpAfteError()) (#1534)Commandproperty.arginitialised to empty array (was previously undefined) (#1529)- update dependencies
Deprecated
- second parameter of
cmd.description(desc, argDescriptions)for adding argument descriptions (#1490)
- (use new
.argument(name, description)instead)InvalidOptionArgumentError(replaced byInvalidArgumentError) (#1508)Removed
- Breaking: TypeScript declaration for default export of global
Commandobject (#1520)
- (still available as named
programexport)Migration Tips
... (truncated)
Commits
a9c9f17Add link for version diff411ca95Clarify that more than just READMEa036bdePrepare for 8.1e6943c4Update Chinese docs6f51e4aFeature/argument arg explicit (#1567)4be69f1Use getCommandAndParents for array of parents (#1566)56c4108Follow jsdoc and tsdoc more closely, especially@example(#1562)5517d25Add copyInheritedSettings (#1557)80054baNote Chinese translations are stale (#1550)51c77ecPrepare for 8.0.0 (#1548)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the .dependabot/config.yml file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)