@pc360/chlog 0.1.6 → 0.1.7
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 +17 -1
- package/README.md +9 -27
- package/lib/chlog-ui.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,32 +7,44 @@ The format is based on Keep a Changelog, and this project follows Semantic Versi
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
9
|
### Changed
|
|
10
|
+
|
|
10
11
|
- Removed Ink card border lines so help and status output no longer render inside a box.
|
|
11
12
|
- Added blank lines before and after help and error output to improve readability.
|
|
12
13
|
|
|
14
|
+
## [0.1.7] - 2026-02-14
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Bumped package version to `0.1.7`.
|
|
19
|
+
|
|
13
20
|
## [0.1.6] - 2026-02-14
|
|
14
21
|
|
|
15
22
|
### Changed
|
|
23
|
+
|
|
16
24
|
- Bumped package version to `0.1.6`.
|
|
17
25
|
|
|
18
26
|
## [0.1.5] - 2026-02-14
|
|
19
27
|
|
|
20
28
|
### Changed
|
|
29
|
+
|
|
21
30
|
- Bumped package version to `0.1.5`.
|
|
22
31
|
|
|
23
32
|
## [0.1.4] - 2026-02-14
|
|
24
33
|
|
|
25
34
|
### Changed
|
|
35
|
+
|
|
26
36
|
- Cleaned project files and repository content.
|
|
27
37
|
|
|
28
38
|
## [0.1.3] - 2026-02-14
|
|
29
39
|
|
|
30
40
|
### Added
|
|
41
|
+
|
|
31
42
|
- Improved help-menu text styling for better readability.
|
|
32
43
|
|
|
33
44
|
## [0.1.2] - 2026-02-14
|
|
34
45
|
|
|
35
46
|
### Added
|
|
47
|
+
|
|
36
48
|
- Added short CLI flags:
|
|
37
49
|
- `-t` for `--type`
|
|
38
50
|
- `-s` for `--scope`
|
|
@@ -42,17 +54,20 @@ The format is based on Keep a Changelog, and this project follows Semantic Versi
|
|
|
42
54
|
- Expanded unit and integration test coverage for short flag handling.
|
|
43
55
|
|
|
44
56
|
### Changed
|
|
57
|
+
|
|
45
58
|
- Enhanced `chlog --help` content with clearer tool description and usage details.
|
|
46
59
|
|
|
47
60
|
## [0.1.1] - 2026-02-14
|
|
48
61
|
|
|
49
62
|
### Changed
|
|
63
|
+
|
|
50
64
|
- Refactored CLI terminal rendering to use `ink` with styled output cards.
|
|
51
65
|
|
|
52
66
|
## [0.1.0] - 2026-02-13
|
|
53
67
|
|
|
54
68
|
### Added
|
|
55
|
-
|
|
69
|
+
|
|
70
|
+
- Initial release of `@pc360/chlog`.
|
|
56
71
|
- Core CLI flow for creating changelog entry files under:
|
|
57
72
|
- `changelog/unreleased/added`
|
|
58
73
|
- `changelog/unreleased/changed`
|
|
@@ -64,4 +79,5 @@ The format is based on Keep a Changelog, and this project follows Semantic Versi
|
|
|
64
79
|
- Unit test coverage for parser, validation, timestamp, and output line formatting.
|
|
65
80
|
|
|
66
81
|
### Changed
|
|
82
|
+
|
|
67
83
|
- Standardized output path naming from `changelogs/` to `changelog/`.
|
package/README.md
CHANGED
|
@@ -17,34 +17,16 @@ Each entry file is automatically:
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
-
## 📦 Installation
|
|
21
|
-
|
|
22
|
-
### Option 1 — Install from `.tgz` package
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
npm install -g pc360-changelog-cli-0.1.6.tgz
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Option 2 — Install from project folder
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
npm install -g .
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
After installation, the `chlog` command will be globally available.
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
20
|
## 🚀 Usage
|
|
39
21
|
|
|
40
22
|
```
|
|
41
|
-
chlog --type <added|changed|fixed|removed> \
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
npx @pc360/chlog --type <added|changed|fixed|removed> \
|
|
24
|
+
--scope <scope> \
|
|
25
|
+
--message "<description>" \
|
|
26
|
+
[--frontend]
|
|
45
27
|
|
|
46
28
|
# Short form
|
|
47
|
-
chlog -t <added|changed|fixed|removed> -s <scope> -m "<description>" [-f]
|
|
29
|
+
npx @pc360/chlog -t <added|changed|fixed|removed> -s <scope> -m "<description>" [-f]
|
|
48
30
|
```
|
|
49
31
|
|
|
50
32
|
---
|
|
@@ -67,7 +49,7 @@ chlog -t <added|changed|fixed|removed> -s <scope> -m "<description>" [-f]
|
|
|
67
49
|
### Back-End Change (Default)
|
|
68
50
|
|
|
69
51
|
```
|
|
70
|
-
chlog --type added --scope JES-33 --message "Add daily consolidated JE job"
|
|
52
|
+
npx @pc360/chlog --type added --scope JES-33 --message "Add daily consolidated JE job"
|
|
71
53
|
```
|
|
72
54
|
|
|
73
55
|
Creates:
|
|
@@ -87,7 +69,7 @@ File content:
|
|
|
87
69
|
### Front-End Change
|
|
88
70
|
|
|
89
71
|
```
|
|
90
|
-
chlog --type fixed --scope JES-45 --frontend --message "Fix table pagination issue"
|
|
72
|
+
npx @pc360/chlog --type fixed --scope JES-45 --frontend --message "Fix table pagination issue"
|
|
91
73
|
```
|
|
92
74
|
|
|
93
75
|
File content:
|
|
@@ -101,7 +83,7 @@ File content:
|
|
|
101
83
|
### Module-Based Scope
|
|
102
84
|
|
|
103
85
|
```
|
|
104
|
-
chlog --type changed --scope "Credit Validation" --message "Improve credit limit computation"
|
|
86
|
+
npx @pc360/chlog --type changed --scope "Credit Validation" --message "Improve credit limit computation"
|
|
105
87
|
```
|
|
106
88
|
|
|
107
89
|
File content:
|
|
@@ -171,7 +153,7 @@ Fix FR status blocking issue
|
|
|
171
153
|
Preview without creating file:
|
|
172
154
|
|
|
173
155
|
```
|
|
174
|
-
chlog --type added --scope JES-99 --message "Test entry" --dry-run
|
|
156
|
+
npx @pc360/chlog --type added --scope JES-99 --message "Test entry" --dry-run
|
|
175
157
|
```
|
|
176
158
|
|
|
177
159
|
---
|
package/lib/chlog-ui.js
CHANGED