feat(ci): integrate husky to pipe #1

Merged
Lucas merged 5 commits from ci-protections into master 2026-01-09 15:24:37 +00:00
5 changed files with 574 additions and 39 deletions
Showing only changes of commit 3c71a4dd9d - Show all commits

1
.husky/commit-msg Normal file
View File

@@ -0,0 +1 @@
pnpm exec commitlint --edit "$1"

2
.husky/pre-commit Normal file
View File

@@ -0,0 +1,2 @@
pnpm run lint
pnpm run check

1
commitlint.config.js Normal file
View File

@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] };

View File

@@ -8,7 +8,8 @@
"preview": "astro preview",
"astro": "astro",
"lint": "eslint .",
"check": "astro check"
"check": "astro check",
"prepare": "husky"
},
"dependencies": {
"@astrojs/check": "^0.9.6",
@@ -19,11 +20,14 @@
"sharp": "^0.34.3"
},
"devDependencies": {
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"astro-eslint-parser": "^1.2.2",
"eslint": "^9.39.2",
"eslint-plugin-astro": "^1.5.0",
"husky": "^9.1.7",
"typescript": "^5.9.3"
},
"pnpm": {
@@ -32,4 +36,4 @@
"sharp"
]
}
}
}

601
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff