Skip to content

Commit

Permalink
release: 1.2.2 [skip ci]
Browse files Browse the repository at this point in the history
### [1.2.2](v1.2.1...v1.2.2) (2024-03-21)

#### 🪄 Fixes

* No longer include default command when listing subcommands ([be2960a](be2960a))

#### ⚙️ Build system

* **husky:** update to latest hooks ([75d5c66](75d5c66))
* **src:** do not filter to own methods when proxying and rebinding ([8bb0254](8bb0254))
  • Loading branch information
Xunnamius committed Mar 21, 2024
1 parent be2960a commit 75c6846
Show file tree
Hide file tree
Showing 10 changed files with 142 additions and 127 deletions.
121 changes: 68 additions & 53 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,102 +4,117 @@ 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.1][3] (2024-03-19)
### [1.2.2][3] (2024-03-21)

#### 🪄 Fixes

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

#### ⚙️ Build System

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

### [1.2.1][7] (2024-03-19)

#### ⚙️ Build System

- **babel:** fix import specifier rewrite oversight ([2369534][4])
- **babel:** fix import specifier rewrite oversight ([2369534][8])

## [1.2.0][5] (2024-03-18)
## [1.2.0][9] (2024-03-18)

#### ✨ Features

- Add `showHelp` option to `CliError` ([b5a1e58][6])
- Add `showHelp` option to `CliError` ([b5a1e58][10])

### [1.1.4][7] (2024-03-16)
### [1.1.4][11] (2024-03-16)

#### 🪄 Fixes

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

### [1.1.3][9] (2024-03-15)
### [1.1.3][13] (2024-03-15)

#### 🪄 Fixes

- Add support for `export default X` syntax ([bad391d][10])
- Ensure `demandOption` is properly supported ([2f205c1][11])
- Add support for `export default X` syntax ([bad391d][14])
- Ensure `demandOption` is properly supported ([2f205c1][15])

### [1.1.2][12] (2023-12-31)
### [1.1.2][16] (2023-12-31)

#### 🪄 Fixes

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

### [1.1.1][14] (2023-12-31)
### [1.1.1][18] (2023-12-31)

#### 🪄 Fixes

- Fix Node10 type resolution failure ([b6178c9][15])
- Fix Node10 type resolution failure ([b6178c9][19])

## [1.1.0][16] (2023-12-31)
## [1.1.0][20] (2023-12-31)

#### ✨ Features

- **src:** support file://-style URLs ([0e5067e][17])
- **src:** support file://-style URLs ([0e5067e][21])

#### 🪄 Fixes

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

#### ⚙️ Build System

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

## [1.0.0][20] (2023-12-29)
## [1.0.0][24] (2023-12-29)

#### ✨ Features

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

#### 🪄 Fixes

- Rename package from "black-flag" to "[@black-][22]flag/core" npm typosquat workaround ([292ead5][23])
- Rename package from "black-flag" to "[@black-][26]flag/core" npm typosquat workaround ([292ead5][27])

#### ⚙️ Build System

- Fix horrible decision by marked devs to break output for no reason ([036e350][24])
- **jest:** ensure pkg-up is transformed ([c7f4aef][25])
- **jest:** fix transformIgnorePatterns ([0548d34][26])
- **jest:** transpile node\_modules ([5cf7a6c][27])
- **tsconfig:** fix internal path resolution ([fbe3a69][28])
- **tsconfig:** upgrade to NodeNext ([d3a499e][29])
- Fix horrible decision by marked devs to break output for no reason ([036e350][28])
- **jest:** ensure pkg-up is transformed ([c7f4aef][29])
- **jest:** fix transformIgnorePatterns ([0548d34][30])
- **jest:** transpile node\_modules ([5cf7a6c][31])
- **tsconfig:** fix internal path resolution ([fbe3a69][32])
- **tsconfig:** upgrade to NodeNext ([d3a499e][33])

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

#### Defined in

[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L101)
[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L101)

**new CliError**(`cause`, `options`, `message`, `superOptions`): [`CliError`](index.CliError.md)

Expand All @@ -98,7 +98,7 @@ AppError.constructor

#### Defined in

[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L106)
[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L106)

## Properties

Expand All @@ -108,7 +108,7 @@ AppError.constructor

#### Defined in

[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L96)
[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L96)

___

Expand Down Expand Up @@ -164,7 +164,7 @@ NonNullable.showHelp

#### Defined in

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L94)

___

Expand Down Expand Up @@ -192,7 +192,7 @@ NonNullable.suggestedExitCode

#### Defined in

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L93)

___

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

#### Defined in

[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L172)
[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L172)

## Properties

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

#### Defined in

[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L166)
[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L166)

___

Expand Down Expand Up @@ -126,7 +126,7 @@ ___

#### Defined in

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L94)

___

Expand Down Expand Up @@ -154,7 +154,7 @@ ___

#### Defined in

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L93)

___

Expand Down
8 changes: 4 additions & 4 deletions docs/classes/util.AssertionFailedError.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Represents a failed sanity check.

#### Defined in

[src/error.ts:188](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L188)
[src/error.ts:188](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L188)

## Properties

Expand All @@ -72,7 +72,7 @@ Represents a failed sanity check.

#### Defined in

[src/error.ts:184](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L184)
[src/error.ts:184](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L184)

___

Expand Down Expand Up @@ -128,7 +128,7 @@ ___

#### Defined in

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L94)

___

Expand Down Expand Up @@ -156,7 +156,7 @@ ___

#### Defined in

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L93)

___

Expand Down
8 changes: 4 additions & 4 deletions docs/classes/util.CommandNotImplementedError.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ implemented.

#### Defined in

[src/error.ts:150](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L150)
[src/error.ts:150](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L150)

## Properties

Expand All @@ -67,7 +67,7 @@ implemented.

#### Defined in

[src/error.ts:145](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L145)
[src/error.ts:145](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L145)

___

Expand Down Expand Up @@ -123,7 +123,7 @@ ___

#### Defined in

[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L94)
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L94)

___

Expand Down Expand Up @@ -151,7 +151,7 @@ ___

#### Defined in

[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/2369534/src/error.ts#L93)
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/be2960a/src/error.ts#L93)

___

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

#### Defined in

[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/2369534/src/constant.ts#L60)
[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/be2960a/src/constant.ts#L60)

___

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

#### Defined in

[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/2369534/src/constant.ts#L48)
[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/be2960a/src/constant.ts#L48)

___

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

#### Defined in

[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/2369534/src/constant.ts#L52)
[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/be2960a/src/constant.ts#L52)

___

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

#### Defined in

[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/2369534/src/constant.ts#L44)
[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/be2960a/src/constant.ts#L44)
Loading

0 comments on commit 75c6846

Please sign in to comment.