Skip to content

Commit 4b1dd3a

Browse files
committed
release: 1.2.5 [skip ci]
### [1.2.5](v1.2.4...v1.2.5) (2024-05-30) #### 🪄 Fixes * **src:** permanently fix --version support regression in node@22 ([c201c2f](c201c2f)) #### ⚙️ Build system * **package:** append node@22 to supported node versions ([98815d1](98815d1))
1 parent b1b898c commit 4b1dd3a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+158
-145
lines changed

CHANGELOG.md

Lines changed: 84 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -4,135 +4,148 @@ All notable changes to this project will be documented in this auto-generated
44
file. The format is based on [Conventional Commits][1];
55
this project adheres to [Semantic Versioning][2].
66

7-
### [1.2.4][3] (2024-03-27)
7+
### [1.2.5][3] (2024-05-30)
88

99
#### 🪄 Fixes
1010

11-
- **src:** explicitly ignore .d.ts files within command dirs ([d6618d3][4])
11+
- **src:** permanently fix --version support regression in node\@22 ([c201c2f][4])
1212

13-
### [1.2.3][5] (2024-03-27)
13+
#### ⚙️ Build System
14+
15+
- **package:** append node\@22 to supported node versions ([98815d1][5])
16+
17+
### [1.2.4][6] (2024-03-27)
18+
19+
#### 🪄 Fixes
20+
21+
- **src:** explicitly ignore .d.ts files within command dirs ([d6618d3][7])
22+
23+
### [1.2.3][8] (2024-03-27)
1424

1525
#### 🪄 Fixes
1626

17-
- **package:** bump minimum node support to 20 LTS ([4b8c975][6])
18-
- **src:** ignore unknown file extension errors when discovering commands ([4babf12][7])
27+
- **package:** bump minimum node support to 20 LTS ([4b8c975][9])
28+
- **src:** ignore unknown file extension errors when discovering commands ([4babf12][10])
1929

20-
### [1.2.2][8] (2024-03-21)
30+
### [1.2.2][11] (2024-03-21)
2131

2232
#### 🪄 Fixes
2333

24-
- No longer include default command when listing subcommands ([be2960a][9])
34+
- No longer include default command when listing subcommands ([be2960a][12])
2535

2636
#### ⚙️ Build System
2737

28-
- **husky:** update to latest hooks ([75d5c66][10])
29-
- **src:** do not filter to own methods when proxying and rebinding ([8bb0254][11])
38+
- **husky:** update to latest hooks ([75d5c66][13])
39+
- **src:** do not filter to own methods when proxying and rebinding ([8bb0254][14])
3040

31-
### [1.2.1][12] (2024-03-19)
41+
### [1.2.1][15] (2024-03-19)
3242

3343
#### ⚙️ Build System
3444

35-
- **babel:** fix import specifier rewrite oversight ([2369534][13])
45+
- **babel:** fix import specifier rewrite oversight ([2369534][16])
3646

37-
## [1.2.0][14] (2024-03-18)
47+
## [1.2.0][17] (2024-03-18)
3848

3949
#### ✨ Features
4050

41-
- Add `showHelp` option to `CliError` ([b5a1e58][15])
51+
- Add `showHelp` option to `CliError` ([b5a1e58][18])
4252

43-
### [1.1.4][16] (2024-03-16)
53+
### [1.1.4][19] (2024-03-16)
4454

4555
#### 🪄 Fixes
4656

47-
- **types:** allow exported types to specify custom `ExecutionContext` ([f66599b][17])
57+
- **types:** allow exported types to specify custom `ExecutionContext` ([f66599b][20])
4858

49-
### [1.1.3][18] (2024-03-15)
59+
### [1.1.3][21] (2024-03-15)
5060

5161
#### 🪄 Fixes
5262

53-
- Add support for `export default X` syntax ([bad391d][19])
54-
- Ensure `demandOption` is properly supported ([2f205c1][20])
63+
- Add support for `export default X` syntax ([bad391d][22])
64+
- Ensure `demandOption` is properly supported ([2f205c1][23])
5565

56-
### [1.1.2][21] (2023-12-31)
66+
### [1.1.2][24] (2023-12-31)
5767

5868
#### 🪄 Fixes
5969

60-
- **readme:** move parserConfiguration call out of dead zone in example ([f79c114][22])
70+
- **readme:** move parserConfiguration call out of dead zone in example ([f79c114][25])
6171

62-
### [1.1.1][23] (2023-12-31)
72+
### [1.1.1][26] (2023-12-31)
6373

6474
#### 🪄 Fixes
6575

66-
- Fix Node10 type resolution failure ([b6178c9][24])
76+
- Fix Node10 type resolution failure ([b6178c9][27])
6777

68-
## [1.1.0][25] (2023-12-31)
78+
## [1.1.0][28] (2023-12-31)
6979

7080
#### ✨ Features
7181

72-
- **src:** support file://-style URLs ([0e5067e][26])
82+
- **src:** support file://-style URLs ([0e5067e][29])
7383

7484
#### 🪄 Fixes
7585

76-
- **src:** ensure --version is included in help text output when relevant ([4f159dc][27])
86+
- **src:** ensure --version is included in help text output when relevant ([4f159dc][30])
7787

7888
#### ⚙️ Build System
7989

80-
- **babel:** fix ESM<=>CJS interop issue ([5470091][28])
90+
- **babel:** fix ESM<=>CJS interop issue ([5470091][31])
8191

82-
## [1.0.0][29] (2023-12-29)
92+
## [1.0.0][32] (2023-12-29)
8393

8494
#### ✨ Features
8595

86-
- **src:** disallow creating commands with conflicting names/aliases ([78bf8ff][30])
96+
- **src:** disallow creating commands with conflicting names/aliases ([78bf8ff][33])
8797

8898
#### 🪄 Fixes
8999

90-
- Rename package from "black-flag" to "[@black-][31]flag/core" npm typosquat workaround ([292ead5][32])
100+
- Rename package from "black-flag" to "[@black-][34]flag/core" npm typosquat workaround ([292ead5][35])
91101

92102
#### ⚙️ Build System
93103

94-
- Fix horrible decision by marked devs to break output for no reason ([036e350][33])
95-
- **jest:** ensure pkg-up is transformed ([c7f4aef][34])
96-
- **jest:** fix transformIgnorePatterns ([0548d34][35])
97-
- **jest:** transpile node\_modules ([5cf7a6c][36])
98-
- **tsconfig:** fix internal path resolution ([fbe3a69][37])
99-
- **tsconfig:** upgrade to NodeNext ([d3a499e][38])
104+
- Fix horrible decision by marked devs to break output for no reason ([036e350][36])
105+
- **jest:** ensure pkg-up is transformed ([c7f4aef][37])
106+
- **jest:** fix transformIgnorePatterns ([0548d34][38])
107+
- **jest:** transpile node\_modules ([5cf7a6c][39])
108+
- **tsconfig:** fix internal path resolution ([fbe3a69][40])
109+
- **tsconfig:** upgrade to NodeNext ([d3a499e][41])
100110

101111
[1]: https://conventionalcommits.org
102112
[2]: https://semver.org
103-
[3]: https://github.com/Xunnamius/black-flag/compare/v1.2.3...v1.2.4
104-
[4]: https://github.com/Xunnamius/black-flag/commit/d6618d370bd9a7264dad240856dc989a61071986
105-
[5]: https://github.com/Xunnamius/black-flag/compare/v1.2.2...v1.2.3
106-
[6]: https://github.com/Xunnamius/black-flag/commit/4b8c9759bc09f9b07593ce89446d4ec0e614db71
107-
[7]: https://github.com/Xunnamius/black-flag/commit/4babf12308b7aab0ed319077701eb6f3a1fdf1d3
108-
[8]: https://github.com/Xunnamius/black-flag/compare/v1.2.1...v1.2.2
109-
[9]: https://github.com/Xunnamius/black-flag/commit/be2960a507c43b3db598157de4dcafe22ee8906e
110-
[10]: https://github.com/Xunnamius/black-flag/commit/75d5c66bcce8f0c2c139962f7ddd28aa0c9499d7
111-
[11]: https://github.com/Xunnamius/black-flag/commit/8bb025436d219c024a5d4a4a0ac59999440b7c13
112-
[12]: https://github.com/Xunnamius/black-flag/compare/v1.2.0...v1.2.1
113-
[13]: https://github.com/Xunnamius/black-flag/commit/2369534f63aa3858714bb81505d3fff4ed77c6b1
114-
[14]: https://github.com/Xunnamius/black-flag/compare/v1.1.4...v1.2.0
115-
[15]: https://github.com/Xunnamius/black-flag/commit/b5a1e58add31902fd9ec80b93dd37305b8fd0684
116-
[16]: https://github.com/Xunnamius/black-flag/compare/v1.1.3...v1.1.4
117-
[17]: https://github.com/Xunnamius/black-flag/commit/f66599bfdbb70ada6ec662e0d220a0a2e7047824
118-
[18]: https://github.com/Xunnamius/black-flag/compare/v1.1.2...v1.1.3
119-
[19]: https://github.com/Xunnamius/black-flag/commit/bad391da3019a5743a76ca2e510903f34c84ca53
120-
[20]: https://github.com/Xunnamius/black-flag/commit/2f205c1e8c94d3e6683816e5bbc3ae152e3c83e8
121-
[21]: https://github.com/Xunnamius/black-flag/compare/v1.1.1...v1.1.2
122-
[22]: https://github.com/Xunnamius/black-flag/commit/f79c11476de47bee3fa01e139269393b604b4271
123-
[23]: https://github.com/Xunnamius/black-flag/compare/v1.1.0...v1.1.1
124-
[24]: https://github.com/Xunnamius/black-flag/commit/b6178c9670a95084bca34424e71498f2d29ac48c
125-
[25]: https://github.com/Xunnamius/black-flag/compare/v1.0.0...v1.1.0
126-
[26]: https://github.com/Xunnamius/black-flag/commit/0e5067e2b0913a19bdc6975b50b272bb5872ba98
127-
[27]: https://github.com/Xunnamius/black-flag/commit/4f159dc4b84223dd6b07456c0b50da16d2816bea
128-
[28]: https://github.com/Xunnamius/black-flag/commit/5470091e385ca344e12a280ff95be793742874b8
129-
[29]: https://github.com/Xunnamius/black-flag/compare/d3a499e7aeddf23d392479b2cf99cc98bce8226f...v1.0.0
130-
[30]: https://github.com/Xunnamius/black-flag/commit/78bf8ffb0a6931fb3b131c42ce4b84146bfec842
131-
[31]: https://github.com/black-
132-
[32]: https://github.com/Xunnamius/black-flag/commit/292ead5aa3f18c556d72d714830dcf07b9253e6d
133-
[33]: https://github.com/Xunnamius/black-flag/commit/036e3506edc863da86372163c91dd650d6ac1e87
134-
[34]: https://github.com/Xunnamius/black-flag/commit/c7f4aef48366dc13685fb9805086be52d3561eff
135-
[35]: https://github.com/Xunnamius/black-flag/commit/0548d34f559c3b8ba6d9514f1586aeeb3b382f72
136-
[36]: https://github.com/Xunnamius/black-flag/commit/5cf7a6c79bba3125ce47838e5cfd24a1a08bbd17
137-
[37]: https://github.com/Xunnamius/black-flag/commit/fbe3a699a9063ed7da08311a22fe798672583b0f
138-
[38]: https://github.com/Xunnamius/black-flag/commit/d3a499e7aeddf23d392479b2cf99cc98bce8226f
113+
[3]: https://github.com/Xunnamius/black-flag/compare/v1.2.4...v1.2.5
114+
[4]: https://github.com/Xunnamius/black-flag/commit/c201c2ff87c1119b9678e38acdc12918d2ed7fc2
115+
[5]: https://github.com/Xunnamius/black-flag/commit/98815d1ef218af56e07493a921c66294f91101cf
116+
[6]: https://github.com/Xunnamius/black-flag/compare/v1.2.3...v1.2.4
117+
[7]: https://github.com/Xunnamius/black-flag/commit/d6618d370bd9a7264dad240856dc989a61071986
118+
[8]: https://github.com/Xunnamius/black-flag/compare/v1.2.2...v1.2.3
119+
[9]: https://github.com/Xunnamius/black-flag/commit/4b8c9759bc09f9b07593ce89446d4ec0e614db71
120+
[10]: https://github.com/Xunnamius/black-flag/commit/4babf12308b7aab0ed319077701eb6f3a1fdf1d3
121+
[11]: https://github.com/Xunnamius/black-flag/compare/v1.2.1...v1.2.2
122+
[12]: https://github.com/Xunnamius/black-flag/commit/be2960a507c43b3db598157de4dcafe22ee8906e
123+
[13]: https://github.com/Xunnamius/black-flag/commit/75d5c66bcce8f0c2c139962f7ddd28aa0c9499d7
124+
[14]: https://github.com/Xunnamius/black-flag/commit/8bb025436d219c024a5d4a4a0ac59999440b7c13
125+
[15]: https://github.com/Xunnamius/black-flag/compare/v1.2.0...v1.2.1
126+
[16]: https://github.com/Xunnamius/black-flag/commit/2369534f63aa3858714bb81505d3fff4ed77c6b1
127+
[17]: https://github.com/Xunnamius/black-flag/compare/v1.1.4...v1.2.0
128+
[18]: https://github.com/Xunnamius/black-flag/commit/b5a1e58add31902fd9ec80b93dd37305b8fd0684
129+
[19]: https://github.com/Xunnamius/black-flag/compare/v1.1.3...v1.1.4
130+
[20]: https://github.com/Xunnamius/black-flag/commit/f66599bfdbb70ada6ec662e0d220a0a2e7047824
131+
[21]: https://github.com/Xunnamius/black-flag/compare/v1.1.2...v1.1.3
132+
[22]: https://github.com/Xunnamius/black-flag/commit/bad391da3019a5743a76ca2e510903f34c84ca53
133+
[23]: https://github.com/Xunnamius/black-flag/commit/2f205c1e8c94d3e6683816e5bbc3ae152e3c83e8
134+
[24]: https://github.com/Xunnamius/black-flag/compare/v1.1.1...v1.1.2
135+
[25]: https://github.com/Xunnamius/black-flag/commit/f79c11476de47bee3fa01e139269393b604b4271
136+
[26]: https://github.com/Xunnamius/black-flag/compare/v1.1.0...v1.1.1
137+
[27]: https://github.com/Xunnamius/black-flag/commit/b6178c9670a95084bca34424e71498f2d29ac48c
138+
[28]: https://github.com/Xunnamius/black-flag/compare/v1.0.0...v1.1.0
139+
[29]: https://github.com/Xunnamius/black-flag/commit/0e5067e2b0913a19bdc6975b50b272bb5872ba98
140+
[30]: https://github.com/Xunnamius/black-flag/commit/4f159dc4b84223dd6b07456c0b50da16d2816bea
141+
[31]: https://github.com/Xunnamius/black-flag/commit/5470091e385ca344e12a280ff95be793742874b8
142+
[32]: https://github.com/Xunnamius/black-flag/compare/d3a499e7aeddf23d392479b2cf99cc98bce8226f...v1.0.0
143+
[33]: https://github.com/Xunnamius/black-flag/commit/78bf8ffb0a6931fb3b131c42ce4b84146bfec842
144+
[34]: https://github.com/black-
145+
[35]: https://github.com/Xunnamius/black-flag/commit/292ead5aa3f18c556d72d714830dcf07b9253e6d
146+
[36]: https://github.com/Xunnamius/black-flag/commit/036e3506edc863da86372163c91dd650d6ac1e87
147+
[37]: https://github.com/Xunnamius/black-flag/commit/c7f4aef48366dc13685fb9805086be52d3561eff
148+
[38]: https://github.com/Xunnamius/black-flag/commit/0548d34f559c3b8ba6d9514f1586aeeb3b382f72
149+
[39]: https://github.com/Xunnamius/black-flag/commit/5cf7a6c79bba3125ce47838e5cfd24a1a08bbd17
150+
[40]: https://github.com/Xunnamius/black-flag/commit/fbe3a699a9063ed7da08311a22fe798672583b0f
151+
[41]: https://github.com/Xunnamius/black-flag/commit/d3a499e7aeddf23d392479b2cf99cc98bce8226f

docs/index/classes/CliError.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ other context.
4949

5050
#### Source
5151

52-
[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L101)
52+
[src/error.ts:101](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L101)
5353

5454
### new CliError()
5555

@@ -78,7 +78,7 @@ via `super`.
7878

7979
#### Source
8080

81-
[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L106)
81+
[src/error.ts:106](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L106)
8282

8383
## Properties
8484

@@ -88,7 +88,7 @@ via `super`.
8888
8989
#### Source
9090

91-
[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L96)
91+
[src/error.ts:96](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L96)
9292

9393
***
9494

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

145145
#### Source
146146

147-
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L94)
147+
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L94)
148148

149149
***
150150

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

173173
#### Source
174174

175-
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L93)
175+
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L93)
176176

177177
***
178178

docs/index/classes/GracefulEarlyExitError.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ termination of the application but with an exit code indicating success
3434

3535
#### Source
3636

37-
[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L172)
37+
[src/error.ts:172](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L172)
3838

3939
## Properties
4040

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

4949
#### Source
5050

51-
[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L166)
51+
[src/error.ts:166](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L166)
5252

5353
***
5454

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

105105
#### Source
106106

107-
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L94)
107+
[src/error.ts:94](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L94)
108108

109109
***
110110

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

133133
#### Source
134134

135-
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L93)
135+
[src/error.ts:93](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L93)
136136

137137
***
138138

docs/index/enumerations/FrameworkExitCode.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In most cases, this exit code is indicative of improper use of Black Flag.
2222

2323
#### Source
2424

25-
[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/constant.ts#L60)
25+
[src/constant.ts:60](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L60)
2626

2727
***
2828

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

3535
#### Source
3636

37-
[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/constant.ts#L48)
37+
[src/constant.ts:48](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L48)
3838

3939
***
4040

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

4747
#### Source
4848

49-
[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/constant.ts#L52)
49+
[src/constant.ts:52](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L52)
5050

5151
***
5252

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

5959
#### Source
6060

61-
[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/constant.ts#L44)
61+
[src/constant.ts:44](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/constant.ts#L44)

docs/index/functions/configureProgram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ occur if no commands are loadable from the given `commandModulePath`.
3939

4040
## Source
4141

42-
[src/index.ts:59](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/index.ts#L59)
42+
[src/index.ts:59](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/index.ts#L59)

docs/index/functions/isCliError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Type guard for [CliError](../classes/CliError.md).
2020

2121
## Source
2222

23-
[src/error.ts:25](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L25)
23+
[src/error.ts:25](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L25)

docs/index/functions/isGracefulEarlyExitError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Type guard for [GracefulEarlyExitError](../classes/GracefulEarlyExitError.md).
2020

2121
## Source
2222

23-
[src/error.ts:38](https://github.com/Xunnamius/black-flag/blob/d4a156f70283118824ee7289456277508954660f/src/error.ts#L38)
23+
[src/error.ts:38](https://github.com/Xunnamius/black-flag/blob/078357b0a89baf1ca6264881df1614997567a0db/src/error.ts#L38)

0 commit comments

Comments
 (0)