tj/commander.js (commander)
### [`v11.1.0`](https://togithub.com/tj/commander.js/blob/HEAD/CHANGELOG.md#1110-2023-10-13)
[Compare Source](https://togithub.com/tj/commander.js/compare/v11.0.0...v11.1.0)
##### Fixed
- TypeScript: update `OptionValueSource` to allow any string, to match supported use of custom sources (\[[#1983](https://togithub.com/tj/commander.js/issues/1983)])
- TypeScript: add that `Command.version()` can also be used as getter (\[[#1982](https://togithub.com/tj/commander.js/issues/1982)])
- TypeScript: add null return type to `Commands.executableDir()`, for when not configured (\[[#1965](https://togithub.com/tj/commander.js/issues/1965)])
- subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (\[[#1930](https://togithub.com/tj/commander.js/issues/1930)])
##### Added
- `registeredArguments` property on `Command` with the array of defined `Argument` (like `Command.options` for `Option`) (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])
- TypeScript declarations for Option properties: `envVar`, `presetArg` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)])
- TypeScript declarations for Argument properties: `argChoices`, `defaultValue`, `defaultValueDescription` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)])
- example file which shows how to configure help to display any custom usage in the list of subcommands (\[[#1896](https://togithub.com/tj/commander.js/issues/1896)])
##### Changed
- (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (\[[#1969](https://togithub.com/tj/commander.js/issues/1969)])
##### Deprecated
- `Command._args` was private anyway, but now available as `registeredArguments` (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
11.0.0
->11.1.0
Release Notes
tj/commander.js (commander)
### [`v11.1.0`](https://togithub.com/tj/commander.js/blob/HEAD/CHANGELOG.md#1110-2023-10-13) [Compare Source](https://togithub.com/tj/commander.js/compare/v11.0.0...v11.1.0) ##### Fixed - TypeScript: update `OptionValueSource` to allow any string, to match supported use of custom sources (\[[#1983](https://togithub.com/tj/commander.js/issues/1983)]) - TypeScript: add that `Command.version()` can also be used as getter (\[[#1982](https://togithub.com/tj/commander.js/issues/1982)]) - TypeScript: add null return type to `Commands.executableDir()`, for when not configured (\[[#1965](https://togithub.com/tj/commander.js/issues/1965)]) - subcommands with an executable handler and only a short help flag are now handled correctly by the parent's help command (\[[#1930](https://togithub.com/tj/commander.js/issues/1930)]) ##### Added - `registeredArguments` property on `Command` with the array of defined `Argument` (like `Command.options` for `Option`) (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)]) - TypeScript declarations for Option properties: `envVar`, `presetArg` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)]) - TypeScript declarations for Argument properties: `argChoices`, `defaultValue`, `defaultValueDescription` (\[[#2019](https://togithub.com/tj/commander.js/issues/2019)]) - example file which shows how to configure help to display any custom usage in the list of subcommands (\[[#1896](https://togithub.com/tj/commander.js/issues/1896)]) ##### Changed - (developer) refactor TypeScript configs for multiple use-cases, and enable checks in JavaScript files in supporting editors (\[[#1969](https://togithub.com/tj/commander.js/issues/1969)]) ##### Deprecated - `Command._args` was private anyway, but now available as `registeredArguments` (\[[#2010](https://togithub.com/tj/commander.js/issues/2010)])Configuration
📅 Schedule: Branch creation - "after 10pm every weekday" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.