@adamhl8/configs 2.6.0 → 2.7.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.
@@ -1,6 +1,5 @@
1
1
  # user-defined functions are unstable as of just 1.52
2
2
  set unstable
3
- set default-list
4
3
  set allow-duplicate-recipes
5
4
 
6
5
  # runs cmd if the condition command succeeds, echoing cmd only when it runs
@@ -56,3 +55,13 @@ release-run: _release-run
56
55
 
57
56
  _release-run:
58
57
  bun release-it -VV --ci
58
+
59
+ commit-types: _commit-types
60
+ _commit-types:
61
+ @bun commitlint --print-config json | bun -e 'console.log("Commit types:\n " + (await Bun.stdin.json()).rules["type-enum"][2].join("\n "))'
62
+
63
+ [default]
64
+ _default:
65
+ @{{ just_executable() }} --list
66
+ @echo
67
+ @{{ just_executable() }} commit-types
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "My shared configs for TS projects",
5
5
  "homepage": "https://github.com/adamhl8/configs",
6
6
  "bugs": {