climaybe 1.7.0 → 1.7.1
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/bin/version.txt +1 -1
- package/package.json +1 -1
- package/src/lib/commit-tooling.js +5 -1
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.1
|
package/package.json
CHANGED
|
@@ -12,6 +12,8 @@ const COMMITLINT_DEPS = {
|
|
|
12
12
|
const COMMITLINT_CONFIG = `/** @type {import('@commitlint/types').UserConfig} */
|
|
13
13
|
module.exports = {
|
|
14
14
|
extends: ['@commitlint/config-conventional'],
|
|
15
|
+
defaultIgnores: true,
|
|
16
|
+
ignores: [(commit) => /^Merge\\s/i.test((commit || '').split('\\n')[0] || '')],
|
|
15
17
|
rules: {
|
|
16
18
|
'type-enum': [
|
|
17
19
|
2,
|
|
@@ -25,7 +27,9 @@ module.exports = {
|
|
|
25
27
|
};
|
|
26
28
|
`;
|
|
27
29
|
|
|
28
|
-
const HUSKY_COMMIT_MSG =
|
|
30
|
+
const HUSKY_COMMIT_MSG = `# Ensure npx is on PATH when Git/IDE run with a minimal env (e.g. Cursor, VS Code)
|
|
31
|
+
export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"
|
|
32
|
+
npx --no-install commitlint --edit "$1"
|
|
29
33
|
`;
|
|
30
34
|
|
|
31
35
|
const CURSOR_COMMIT_SKILL = `---
|