package-version-info 0.0.6 → 0.1.0

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Celtian
3
+ Copyright (c) 2025 - 2026 Celtian
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -34,8 +34,11 @@ npx package-version-info
34
34
  # Show version
35
35
  npx package-version-info --version
36
36
 
37
- # Custom paths
38
- npx package-version-info --input package.json --output src/version-info.ts
37
+ # Custom paths (.git is the default Git directory)
38
+ npx package-version-info --input package.json --output src/version-info.ts --git ../.git
39
+
40
+ # Short options
41
+ npx package-version-info -i package.json -o src/version-info.ts -g ../.git
39
42
  ```
40
43
 
41
44
  ### Output Example
@@ -142,7 +145,7 @@ zig build
142
145
  zig build run
143
146
 
144
147
  # Run with arguments
145
- zig build run -- --input package.json --output version-info.ts
148
+ zig build run -- --input package.json --output version-info.ts --git .git
146
149
 
147
150
  # Run tests
148
151
  zig build test
@@ -168,6 +171,6 @@ Contributions are welcome! Please feel free to submit a Pull Request.
168
171
 
169
172
  ## 🪪 License
170
173
 
171
- Copyright © 2025 [Dominik Hladik](https://github.com/Celtian)
174
+ Copyright © 2025 - 2026 [Dominik Hladik](https://github.com/Celtian)
172
175
 
173
176
  All contents are licensed under the [MIT license](LICENSE).
package/bin/version_info CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "package-version-info",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "author": {
5
5
  "name": "Dominik Hladík",
6
6
  "email": "dominik.hladik@seznam.cz",
@@ -20,6 +20,13 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/Celtian/package-version-info/issues"
22
22
  },
23
+ "auto-changelog": {
24
+ "remote": "none",
25
+ "commitUrl": "https://github.com/Celtian/package-version-info/commit/{id}",
26
+ "issueUrl": "https://github.com/Celtian/package-version-info/issues/{id}",
27
+ "mergeUrl": "https://github.com/Celtian/package-version-info/pull/{id}",
28
+ "compareUrl": "https://github.com/Celtian/package-version-info/compare/{from}...{to}"
29
+ },
23
30
  "keywords": [
24
31
  "version",
25
32
  "info",