@pc360/chlog 0.2.0 → 0.2.2

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 CHANGED
@@ -10,6 +10,19 @@ 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.2] - 2026-02-16
14
+
15
+ ### Changed
16
+
17
+ - Updated README guidance to document how to add images using Markdown syntax and repository-relative paths.
18
+
19
+ ## [0.2.1] - 2026-02-16
20
+
21
+ ### Fixed
22
+
23
+ - Removed package self-dependency (`@pc360/chlog`) to prevent `npx @pc360/chlog` from resolving to an outdated local copy.
24
+ - Fixed `npx @pc360/chlog --version` so it correctly reports the current CLI version.
25
+
13
26
  ## [0.2.0] - 2026-02-16
14
27
 
15
28
  ### Added
package/README.md CHANGED
@@ -13,6 +13,8 @@ Each entry is automatically:
13
13
  - Written as one clean line
14
14
  - Prefixed with scope and layer (`[Back-End]` or `[Front-End]`)
15
15
 
16
+ ![CLI preview](./assets/chlog-preview.png)
17
+
16
18
  ---
17
19
 
18
20
  # 1. Installation
@@ -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. JES-33)",
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(error.message);
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.0",
3
+ "version": "0.2.2",
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"