feat(ci): add husky pre-commit hook and fix puppeteer-core chrome detection

This commit is contained in:
2025-11-22 13:37:39 +01:00
parent 21d748b316
commit 81b2fd3cd3
12 changed files with 41 additions and 30 deletions

View File

@@ -23,11 +23,13 @@
"companion:dev": "npm run dev --workspace=@gridpilot/companion",
"companion:build": "npm run build --workspace=@gridpilot/companion",
"companion:start": "npm run start --workspace=@gridpilot/companion",
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug"
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug",
"prepare": "husky"
},
"devDependencies": {
"@cucumber/cucumber": "^11.0.1",
"@vitest/ui": "^2.1.8",
"husky": "^9.1.7",
"puppeteer": "^24.31.0",
"typescript": "^5.7.2",
"vitest": "^2.1.8"