chore(app): исправлен commitlint.config.js
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['@commitlint/config-conventional'],
|
extends: ['@commitlint/config-conventional'],
|
||||||
rules: {
|
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-empty': [2, 'never'],
|
||||||
'scope-case': [0],
|
'scope-case': [0],
|
||||||
|
'body-max-line-length': [2, 'always', 150],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
+2
-2
@@ -6,9 +6,9 @@
|
|||||||
"command": {
|
"command": {
|
||||||
"version": {
|
"version": {
|
||||||
"private": false,
|
"private": false,
|
||||||
"message": "feat(app): update version",
|
"message": "chore(app): update version",
|
||||||
"syncWorkspaceLock": true
|
"syncWorkspaceLock": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ignoreChanges": ["**/CHANGELOG.md", "services-versions.json", "package.json", "package-lock.json"]
|
"ignoreChanges": ["**/CHANGELOG.md", "package.json", "package-lock.json"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Выполнение команды lerna version для обновления версий
|
# Выполнение команды 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
|
# Проверка успешного завершения команды lerna version
|
||||||
if grep -q "No changed packages to version" <<< "$output"; then
|
if grep -q "No changed packages to version" <<< "$output"; then
|
||||||
@@ -25,7 +25,7 @@ echo "Список изменённых пакетов записан в service
|
|||||||
|
|
||||||
git add .
|
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)
|
current_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user