fork-version 4.1.1 → 4.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 CHANGED
@@ -1,5 +1,58 @@
1
1
  # Fork Version
2
2
 
3
+ ## [4.1.7](https://github.com/eglavin/fork-version/compare/v4.1.6...v4.1.7) (2026-03-08)
4
+
5
+
6
+ ### Refactor
7
+
8
+ * improve inspect command ([0b78aab](https://github.com/eglavin/fork-version/commit/0b78aab5dd9be49ffccba173fdb99e13eac52fbd))
9
+
10
+
11
+ ## [4.1.6](https://github.com/eglavin/fork-version/compare/v4.1.5...v4.1.6) (2026-03-08)
12
+
13
+
14
+ ### Refactor
15
+
16
+ * remove duplicate get tags function ([ec2962a](https://github.com/eglavin/fork-version/commit/ec2962a99f0da0335079ef6fa677f3023325cdcf))
17
+
18
+
19
+ ## [4.1.5](https://github.com/eglavin/fork-version/compare/v4.1.4...v4.1.5) (2026-03-08)
20
+
21
+
22
+ ### Refactor
23
+
24
+ * remove typescript member visibility modifiers in favour of private fields ([c2e0749](https://github.com/eglavin/fork-version/commit/c2e07494bb2af69f04c0ecfc13eb342705c904aa))
25
+
26
+
27
+ ## [4.1.4](https://github.com/eglavin/fork-version/compare/v4.1.3...v4.1.4) (2026-03-08)
28
+
29
+
30
+ ### Refactor
31
+
32
+ * remove glob package in favour of builtin node fs glob ([011bced](https://github.com/eglavin/fork-version/commit/011bced7f8a35f9a61a0abfe42d0034ee25d5945))
33
+
34
+
35
+ ## [4.1.3](https://github.com/eglavin/fork-version/compare/v4.1.2...v4.1.3) (2026-03-08)
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * mock out styleText for testing logger class ([40b06f6](https://github.com/eglavin/fork-version/commit/40b06f6339a857b5ab28839f2451445684bdd91e))
41
+
42
+
43
+ ## [4.1.2](https://github.com/eglavin/fork-version/compare/v4.1.1...v4.1.2) (2026-03-07)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * dont log when skipping ([0e83519](https://github.com/eglavin/fork-version/commit/0e83519480fcf0739fbefdbf8423e35927f7d5ce))
49
+
50
+
51
+ ### Refactor
52
+
53
+ * add colour to non standard output ([809f7ab](https://github.com/eglavin/fork-version/commit/809f7ab8a464eb861511c137c510d60986c5b941))
54
+
55
+
3
56
  ## [4.1.1](https://github.com/eglavin/fork-version/compare/v4.1.0...v4.1.1) (2026-03-07)
4
57
 
5
58
 
package/README.md CHANGED
@@ -94,8 +94,9 @@ Fork-Version has a number of command modes which will make the program behave di
94
94
  | Command | Description |
95
95
  | ------------------- | ---------------------------------------------------------------------- |
96
96
  | `main` | Bumps the version, update files, generate changelog, commits, and tag. |
97
- | `inspect-version` | Prints the current version and exit. |
98
- | `inspect-tag` | Prints the current git tag and exit. |
97
+ | `inspect` | Print the current version and git tag, then exit. |
98
+ | `inspect-version` | Print the current version then exit. |
99
+ | `inspect-tag` | Print the current git tag then exit. |
99
100
  | `validate-config` | Validates the configuration and exit. |
100
101
 
101
102
  ### Exit Codes
@@ -121,8 +122,9 @@ Usage:
121
122
 
122
123
  Commands:
123
124
  main Bumps the version, update files, generate changelog, commit, and tag. [Default when no command is provided]
124
- inspect-version Prints the current version and exits.
125
- inspect-tag Prints the current git tag and exits.
125
+ inspect Print the current version and git tag, then exits.
126
+ inspect-version Print the current version then exits.
127
+ inspect-tag Print the current git tag then exits.
126
128
  validate-config Validates the configuration and exits.
127
129
 
128
130
  General Options:
@@ -154,6 +156,7 @@ Flags:
154
156
  --git-tag-fallback If unable to find a version in the given files, fallback and attempt to use the latest git tag. [Default: true]
155
157
  --sign If true, git will sign the commit with the systems GPG key.
156
158
  --verify If true, git will run user defined git hooks before committing.
159
+ --as-json Output the result as JSON.
157
160
 
158
161
  To negate a flag you can prefix it with "no-", for example "--no-git-tag-fallback" will not fallback to the latest git tag.
159
162