@pc360/chlog 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/chlog-prompts.js +4 -2
- package/package.json +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@ The format is based on Keep a Changelog, and this project follows Semantic Versi
|
|
|
10
10
|
|
|
11
11
|
- No changes yet.
|
|
12
12
|
|
|
13
|
+
## [0.2.1] - 2026-02-16
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- Removed package self-dependency (`@pc360/chlog`) to prevent `npx @pc360/chlog` from resolving to an outdated local copy.
|
|
18
|
+
- Fixed `npx @pc360/chlog --version` so it correctly reports the current CLI version.
|
|
19
|
+
|
|
13
20
|
## [0.2.0] - 2026-02-16
|
|
14
21
|
|
|
15
22
|
### Added
|
package/lib/chlog-prompts.js
CHANGED
|
@@ -139,7 +139,7 @@ async function promptForMissingArgs(args) {
|
|
|
139
139
|
if (!nextArgs.scope) {
|
|
140
140
|
const scopePrompt = new Input({
|
|
141
141
|
name: "scope",
|
|
142
|
-
message: "Enter scope/ticket (e.g.
|
|
142
|
+
message: "Enter scope/ticket (e.g. ABC-123)",
|
|
143
143
|
validate: (value) =>
|
|
144
144
|
String(value ?? "").trim() ? true : "Scope is required",
|
|
145
145
|
});
|
|
@@ -186,7 +186,9 @@ function isPromptCancelled(error) {
|
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
if (error instanceof Error) {
|
|
189
|
-
return /cancel(?:led|ed)?|abort(?:ed)?|interrupt(?:ed)?/i.test(
|
|
189
|
+
return /cancel(?:led|ed)?|abort(?:ed)?|interrupt(?:ed)?/i.test(
|
|
190
|
+
error.message,
|
|
191
|
+
);
|
|
190
192
|
}
|
|
191
193
|
|
|
192
194
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pc360/chlog",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "PC360 Changelog CLI Tool",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"changelog",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"node": ">=18"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@pc360/chlog": "^0.1.7",
|
|
28
27
|
"enquirer": "^2.4.1",
|
|
29
28
|
"ink": "^4.4.1",
|
|
30
29
|
"react": "^18.3.1"
|