chore(app): исправлен commitlint.config.js

This commit is contained in:
Онуфрийчук Егор
2025-11-11 15:41:36 +03:00
parent 7f5acff556
commit e0cfec4791
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', ['story', 'feat', 'fix', 'bugfix', 'release', 'task', 'team']],
'type-enum': [2, 'always', ['feat', 'fix', 'chore', 'docs', 'style', 'refactor', 'test', 'build', 'ci', 'revert', 'perf']],
'scope-empty': [2, 'never'],
'scope-case': [0],
'body-max-line-length': [2, 'always', 150],
},
};
+2 -2
View File
@@ -6,9 +6,9 @@
"command": {
"version": {
"private": false,
"message": "feat(app): update version",
"message": "chore(app): update version",
"syncWorkspaceLock": true
}
},
"ignoreChanges": ["**/CHANGELOG.md", "services-versions.json", "package.json", "package-lock.json"]
"ignoreChanges": ["**/CHANGELOG.md", "package.json", "package-lock.json"]
}
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
# Выполнение команды lerna version для обновления версий
output=$(npx lerna version --conventional-commits --no-push --yes 2>&1)
output=$(npx lerna version --conventional-commits --no-git-tag-version --no-push --yes 2>&1)
# Проверка успешного завершения команды lerna version
if grep -q "No changed packages to version" <<< "$output"; then
@@ -25,7 +25,7 @@ echo "Список изменённых пакетов записан в service
git add .
git commit -m 'feat(app): Список изменённых пакетов записан в services-versions.json' --no-verify
git commit -m 'chore(app): Список изменённых пакетов записан в services-versions.json' --no-verify
current_branch=$(git rev-parse --abbrev-ref HEAD)