Skip to content

Commit

Permalink
release: 1.2.6 [skip ci]
Browse files Browse the repository at this point in the history
### [1.2.6](v1.2.5...v1.2.6) (2024-06-02)

#### 🪄 Fixes

* **src:** ignore --help and --version if they occur after -- in argv ([35f66cc](35f66cc))
  • Loading branch information
Xunnamius committed Jun 2, 2024
1 parent 35f66cc commit 36c3b23
Show file tree
Hide file tree
Showing 53 changed files with 159 additions and 151 deletions.
162 changes: 85 additions & 77 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,148 +4,156 @@ All notable changes to this project will be documented in this auto-generated
file. The format is based on [Conventional Commits][1];
this project adheres to [Semantic Versioning][2].

### [1.2.5][3] (2024-05-30)
### [1.2.6][3] (2024-06-02)

#### 🪄 Fixes

- **src:** permanently fix --version support regression in node\@22 ([c201c2f][4])
- **src:** ignore --help and --version if they occur after -- in argv ([35f66cc][4])

### [1.2.5][5] (2024-05-30)

#### 🪄 Fixes

- **src:** permanently fix --version support regression in node\@22 ([c201c2f][6])

#### ⚙️ Build System

- **package:** append node\@22 to supported node versions ([98815d1][5])
- **package:** append node\@22 to supported node versions ([98815d1][7])

### [1.2.4][6] (2024-03-27)
### [1.2.4][8] (2024-03-27)

#### 🪄 Fixes

- **src:** explicitly ignore .d.ts files within command dirs ([d6618d3][7])
- **src:** explicitly ignore .d.ts files within command dirs ([d6618d3][9])

### [1.2.3][8] (2024-03-27)
### [1.2.3][10] (2024-03-27)

#### 🪄 Fixes

- **package:** bump minimum node support to 20 LTS ([4b8c975][9])
- **src:** ignore unknown file extension errors when discovering commands ([4babf12][10])
- **package:** bump minimum node support to 20 LTS ([4b8c975][11])
- **src:** ignore unknown file extension errors when discovering commands ([4babf12][12])

### [1.2.2][11] (2024-03-21)
### [1.2.2][13] (2024-03-21)

#### 🪄 Fixes

- No longer include default command when listing subcommands ([be2960a][12])
- No longer include default command when listing subcommands ([be2960a][14])

#### ⚙️ Build System

- **husky:** update to latest hooks ([75d5c66][13])
- **src:** do not filter to own methods when proxying and rebinding ([8bb0254][14])
- **husky:** update to latest hooks ([75d5c66][15])
- **src:** do not filter to own methods when proxying and rebinding ([8bb0254][16])

### [1.2.1][15] (2024-03-19)
### [1.2.1][17] (2024-03-19)

#### ⚙️ Build System

- **babel:** fix import specifier rewrite oversight ([2369534][16])
- **babel:** fix import specifier rewrite oversight ([2369534][18])

## [1.2.0][17] (2024-03-18)
## [1.2.0][19] (2024-03-18)

#### ✨ Features

- Add `showHelp` option to `CliError` ([b5a1e58][18])
- Add `showHelp` option to `CliError` ([b5a1e58][20])

### [1.1.4][19] (2024-03-16)
### [1.1.4][21] (2024-03-16)

#### 🪄 Fixes

- **types:** allow exported types to specify custom `ExecutionContext` ([f66599b][20])
- **types:** allow exported types to specify custom `ExecutionContext` ([f66599b][22])

### [1.1.3][21] (2024-03-15)
### [1.1.3][23] (2024-03-15)

#### 🪄 Fixes

- Add support for `export default X` syntax ([bad391d][22])
- Ensure `demandOption` is properly supported ([2f205c1][23])
- Add support for `export default X` syntax ([bad391d][24])
- Ensure `demandOption` is properly supported ([2f205c1][25])

### [1.1.2][24] (2023-12-31)
### [1.1.2][26] (2023-12-31)

#### 🪄 Fixes

- **readme:** move parserConfiguration call out of dead zone in example ([f79c114][25])
- **readme:** move parserConfiguration call out of dead zone in example ([f79c114][27])

### [1.1.1][26] (2023-12-31)
### [1.1.1][28] (2023-12-31)

#### 🪄 Fixes

- Fix Node10 type resolution failure ([b6178c9][27])
- Fix Node10 type resolution failure ([b6178c9][29])

## [1.1.0][28] (2023-12-31)
## [1.1.0][30] (2023-12-31)

#### ✨ Features

- **src:** support file://-style URLs ([0e5067e][29])
- **src:** support file://-style URLs ([0e5067e][31])

#### 🪄 Fixes

- **src:** ensure --version is included in help text output when relevant ([4f159dc][30])
- **src:** ensure --version is included in help text output when relevant ([4f159dc][32])

#### ⚙️ Build System

- **babel:** fix ESM<=>CJS interop issue ([5470091][31])
- **babel:** fix ESM<=>CJS interop issue ([5470091][33])

## [1.0.0][32] (2023-12-29)
## [1.0.0][34] (2023-12-29)

#### ✨ Features

- **src:** disallow creating commands with conflicting names/aliases ([78bf8ff][33])
- **src:** disallow creating commands with conflicting names/aliases ([78bf8ff][35])

#### 🪄 Fixes

- Rename package from "black-flag" to "[@black-][34]flag/core" npm typosquat workaround ([292ead5][35])
- Rename package from "black-flag" to "[@black-][36]flag/core" npm typosquat workaround ([292ead5][37])

#### ⚙️ Build System

- Fix horrible decision by marked devs to break output for no reason ([036e350][36])
- **jest:** ensure pkg-up is transformed ([c7f4aef][37])
- **jest:** fix transformIgnorePatterns ([0548d34][38])
- **jest:** transpile node\_modules ([5cf7a6c][39])
- **tsconfig:** fix internal path resolution ([fbe3a69][40])
- **tsconfig:** upgrade to NodeNext ([d3a499e][41])
- Fix horrible decision by marked devs to break output for no reason ([036e350][38])
- **jest:** ensure pkg-up is transformed ([c7f4aef][39])
- **jest:** fix transformIgnorePatterns ([0548d34][40])
- **jest:** transpile node\_modules ([5cf7a6c][41])
- **tsconfig:** fix internal path resolution ([fbe3a69][42])
- **tsconfig:** upgrade to NodeNext ([d3a499e][43])

[1]: https://conventionalcommits.org
[2]: https://semver.org
[3]: https://github.com/Xunnamius/black-flag/compare/v1.2.4...v1.2.5
[4]: https://github.com/Xunnamius/black-flag/commit/c201c2ff87c1119b9678e38acdc12918d2ed7fc2
[5]: https://github.com/Xunnamius/black-flag/commit/98815d1ef218af56e07493a921c66294f91101cf
[6]: https://github.com/Xunnamius/black-flag/compare/v1.2.3...v1.2.4
[7]: https://github.com/Xunnamius/black-flag/commit/d6618d370bd9a7264dad240856dc989a61071986
[8]: https://github.com/Xunnamius/black-flag/compare/v1.2.2...v1.2.3
[9]: https://github.com/Xunnamius/black-flag/commit/4b8c9759bc09f9b07593ce89446d4ec0e614db71
[10]: https://github.com/Xunnamius/black-flag/commit/4babf12308b7aab0ed319077701eb6f3a1fdf1d3
[11]: https://github.com/Xunnamius/black-flag/compare/v1.2.1...v1.2.2
[12]: https://github.com/Xunnamius/black-flag/commit/be2960a507c43b3db598157de4dcafe22ee8906e
[13]: https://github.com/Xunnamius/black-flag/commit/75d5c66bcce8f0c2c139962f7ddd28aa0c9499d7
[14]: https://github.com/Xunnamius/black-flag/commit/8bb025436d219c024a5d4a4a0ac59999440b7c13
[15]: https://github.com/Xunnamius/black-flag/compare/v1.2.0...v1.2.1
[16]: https://github.com/Xunnamius/black-flag/commit/2369534f63aa3858714bb81505d3fff4ed77c6b1
[17]: https://github.com/Xunnamius/black-flag/compare/v1.1.4...v1.2.0
[18]: https://github.com/Xunnamius/black-flag/commit/b5a1e58add31902fd9ec80b93dd37305b8fd0684
[19]: https://github.com/Xunnamius/black-flag/compare/v1.1.3...v1.1.4
[20]: https://github.com/Xunnamius/black-flag/commit/f66599bfdbb70ada6ec662e0d220a0a2e7047824
[21]: https://github.com/Xunnamius/black-flag/compare/v1.1.2...v1.1.3
[22]: https://github.com/Xunnamius/black-flag/commit/bad391da3019a5743a76ca2e510903f34c84ca53
[23]: https://github.com/Xunnamius/black-flag/commit/2f205c1e8c94d3e6683816e5bbc3ae152e3c83e8
[24]: https://github.com/Xunnamius/black-flag/compare/v1.1.1...v1.1.2
[25]: https://github.com/Xunnamius/black-flag/commit/f79c11476de47bee3fa01e139269393b604b4271
[26]: https://github.com/Xunnamius/black-flag/compare/v1.1.0...v1.1.1
[27]: https://github.com/Xunnamius/black-flag/commit/b6178c9670a95084bca34424e71498f2d29ac48c
[28]: https://github.com/Xunnamius/black-flag/compare/v1.0.0...v1.1.0
[29]: https://github.com/Xunnamius/black-flag/commit/0e5067e2b0913a19bdc6975b50b272bb5872ba98
[30]: https://github.com/Xunnamius/black-flag/commit/4f159dc4b84223dd6b07456c0b50da16d2816bea
[31]: https://github.com/Xunnamius/black-flag/commit/5470091e385ca344e12a280ff95be793742874b8
[32]: https://github.com/Xunnamius/black-flag/compare/d3a499e7aeddf23d392479b2cf99cc98bce8226f...v1.0.0
[33]: https://github.com/Xunnamius/black-flag/commit/78bf8ffb0a6931fb3b131c42ce4b84146bfec842
[34]: https://github.com/black-
[35]: https://github.com/Xunnamius/black-flag/commit/292ead5aa3f18c556d72d714830dcf07b9253e6d
[36]: https://github.com/Xunnamius/black-flag/commit/036e3506edc863da86372163c91dd650d6ac1e87
[37]: https://github.com/Xunnamius/black-flag/commit/c7f4aef48366dc13685fb9805086be52d3561eff
[38]: https://github.com/Xunnamius/black-flag/commit/0548d34f559c3b8ba6d9514f1586aeeb3b382f72
[39]: https://github.com/Xunnamius/black-flag/commit/5cf7a6c79bba3125ce47838e5cfd24a1a08bbd17
[40]: https://github.com/Xunnamius/black-flag/commit/fbe3a699a9063ed7da08311a22fe798672583b0f
[41]: https://github.com/Xunnamius/black-flag/commit/d3a499e7aeddf23d392479b2cf99cc98bce8226f
[3]: https://github.com/Xunnamius/black-flag/compare/v1.2.5...v1.2.6
[4]: https://github.com/Xunnamius/black-flag/commit/35f66cc9d69f8434d03db49f067b4f7e03d4c58c
[5]: https://github.com/Xunnamius/black-flag/compare/v1.2.4...v1.2.5
[6]: https://github.com/Xunnamius/black-flag/commit/c201c2ff87c1119b9678e38acdc12918d2ed7fc2
[7]: https://github.com/Xunnamius/black-flag/commit/98815d1ef218af56e07493a921c66294f91101cf
[8]: https://github.com/Xunnamius/black-flag/compare/v1.2.3...v1.2.4
[9]: https://github.com/Xunnamius/black-flag/commit/d6618d370bd9a7264dad240856dc989a61071986
[10]: https://github.com/Xunnamius/black-flag/compare/v1.2.2...v1.2.3
[11]: https://github.com/Xunnamius/black-flag/commit/4b8c9759bc09f9b07593ce89446d4ec0e614db71
[12]: https://github.com/Xunnamius/black-flag/commit/4babf12308b7aab0ed319077701eb6f3a1fdf1d3
[13]: https://github.com/Xunnamius/black-flag/compare/v1.2.1...v1.2.2
[14]: https://github.com/Xunnamius/black-flag/commit/be2960a507c43b3db598157de4dcafe22ee8906e
[15]: https://github.com/Xunnamius/black-flag/commit/75d5c66bcce8f0c2c139962f7ddd28aa0c9499d7
[16]: https://github.com/Xunnamius/black-flag/commit/8bb025436d219c024a5d4a4a0ac59999440b7c13
[17]: https://github.com/Xunnamius/black-flag/compare/v1.2.0...v1.2.1
[18]: https://github.com/Xunnamius/black-flag/commit/2369534f63aa3858714bb81505d3fff4ed77c6b1
[19]: https://github.com/Xunnamius/black-flag/compare/v1.1.4...v1.2.0
[20]: https://github.com/Xunnamius/black-flag/commit/b5a1e58add31902fd9ec80b93dd37305b8fd0684
[21]: https://github.com/Xunnamius/black-flag/compare/v1.1.3...v1.1.4
[22]: https://github.com/Xunnamius/black-flag/commit/f66599bfdbb70ada6ec662e0d220a0a2e7047824
[23]: https://github.com/Xunnamius/black-flag/compare/v1.1.2...v1.1.3
[24]: https://github.com/Xunnamius/black-flag/commit/bad391da3019a5743a76ca2e510903f34c84ca53
[25]: https://github.com/Xunnamius/black-flag/commit/2f205c1e8c94d3e6683816e5bbc3ae152e3c83e8
[26]: https://github.com/Xunnamius/black-flag/compare/v1.1.1...v1.1.2
[27]: https://github.com/Xunnamius/black-flag/commit/f79c11476de47bee3fa01e139269393b604b4271
[28]: https://github.com/Xunnamius/black-flag/compare/v1.1.0...v1.1.1
[29]: https://github.com/Xunnamius/black-flag/commit/b6178c9670a95084bca34424e71498f2d29ac48c
[30]: https://github.com/Xunnamius/black-flag/compare/v1.0.0...v1.1.0
[31]: https://github.com/Xunnamius/black-flag/commit/0e5067e2b0913a19bdc6975b50b272bb5872ba98
[32]: https://github.com/Xunnamius/black-flag/commit/4f159dc4b84223dd6b07456c0b50da16d2816bea
[33]: https://github.com/Xunnamius/black-flag/commit/5470091e385ca344e12a280ff95be793742874b8
[34]: https://github.com/Xunnamius/black-flag/compare/d3a499e7aeddf23d392479b2cf99cc98bce8226f...v1.0.0
[35]: https://github.com/Xunnamius/black-flag/commit/78bf8ffb0a6931fb3b131c42ce4b84146bfec842
[36]: https://github.com/black-
[37]: https://github.com/Xunnamius/black-flag/commit/292ead5aa3f18c556d72d714830dcf07b9253e6d
[38]: https://github.com/Xunnamius/black-flag/commit/036e3506edc863da86372163c91dd650d6ac1e87
[39]: https://github.com/Xunnamius/black-flag/commit/c7f4aef48366dc13685fb9805086be52d3561eff
[40]: https://github.com/Xunnamius/black-flag/commit/0548d34f559c3b8ba6d9514f1586aeeb3b382f72
[41]: https://github.com/Xunnamius/black-flag/commit/5cf7a6c79bba3125ce47838e5cfd24a1a08bbd17
[42]: https://github.com/Xunnamius/black-flag/commit/fbe3a699a9063ed7da08311a22fe798672583b0f
[43]: https://github.com/Xunnamius/black-flag/commit/d3a499e7aeddf23d392479b2cf99cc98bce8226f
10 changes: 5 additions & 5 deletions docs/index/classes/CliError.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ other context.

#### Source

[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L101)
[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L101)

### new CliError()

Expand Down Expand Up @@ -78,7 +78,7 @@ via `super`.

#### Source

[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L106)
[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L106)

## Properties

Expand All @@ -88,7 +88,7 @@ via `super`.
#### Source

[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L96)
[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L96)

***

Expand Down Expand Up @@ -144,7 +144,7 @@ node\_modules/typescript/lib/lib.es5.d.ts:1076

#### Source

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L94)

***

Expand Down Expand Up @@ -172,7 +172,7 @@ node\_modules/typescript/lib/lib.es5.d.ts:1078

#### Source

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L93)

***

Expand Down
8 changes: 4 additions & 4 deletions docs/index/classes/GracefulEarlyExitError.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ termination of the application but with an exit code indicating success

#### Source

[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L172)
[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L172)

## Properties

Expand All @@ -48,7 +48,7 @@ termination of the application but with an exit code indicating success

#### Source

[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L166)
[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L166)

***

Expand Down Expand Up @@ -104,7 +104,7 @@ node\_modules/typescript/lib/lib.es5.d.ts:1076

#### Source

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L94)

***

Expand Down Expand Up @@ -132,7 +132,7 @@ node\_modules/typescript/lib/lib.es5.d.ts:1078

#### Source

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L93)

***

Expand Down
8 changes: 4 additions & 4 deletions docs/index/enumerations/FrameworkExitCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In most cases, this exit code is indicative of improper use of Black Flag.

#### Source

[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L60)
[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/constant.ts#L60)

***

Expand All @@ -34,7 +34,7 @@ Hard-coded default fallback exit code when fatal errors occur.

#### Source

[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L48)
[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/constant.ts#L48)

***

Expand All @@ -46,7 +46,7 @@ The exit code used when executing an unimplemented child command.

#### Source

[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L52)
[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/constant.ts#L52)

***

Expand All @@ -58,4 +58,4 @@ The exit code used when execution succeeds and exits gracefully.

#### Source

[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L44)
[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/constant.ts#L44)
2 changes: 1 addition & 1 deletion docs/index/functions/configureProgram.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ occur if no commands are loadable from the given `commandModulePath`.

## Source

[src/index.ts:59](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/index.ts#L59)
[src/index.ts:59](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/index.ts#L59)
2 changes: 1 addition & 1 deletion docs/index/functions/isCliError.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Type guard for [CliError](../classes/CliError.md).

## Source

[src/error.ts:25](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L25)
[src/error.ts:25](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L25)
2 changes: 1 addition & 1 deletion docs/index/functions/isGracefulEarlyExitError.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Type guard for [GracefulEarlyExitError](../classes/GracefulEarlyExitError.md).

## Source

[src/error.ts:38](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L38)
[src/error.ts:38](https://github.com/Xunnamius/black-flag/blob/35f66cc9d69f8434d03db49f067b4f7e03d4c58c/src/error.ts#L38)
Loading

0 comments on commit 36c3b23

Please sign in to comment.