diff --git a/package.json b/package.json index 40d2a3d..0430613 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "packageManager": "pnpm@7.29.0", "engines": { - "node": "18.16.0" + "node": "18" }, "private": true, "scripts": { @@ -12,7 +12,7 @@ "start": "next start", "lint": "next lint", "test": "jest", - "prepare": "husky install", + "prepare": "is-ci || husky install", "commitlint": "commitlint --edit" }, "dependencies": { @@ -33,9 +33,10 @@ "@types/react-dom": "^18", "eslint": "^8", "eslint-config-next": "13.5.4", + "husky": "^8.0.0", + "is-ci": "^3.0.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", - "typescript": "^5", - "husky": "^8.0.0" + "typescript": "^5" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5429a4b..d960737 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,7 @@ specifiers: eslint: ^8 eslint-config-next: 13.5.4 husky: ^8.0.0 + is-ci: ^3.0.1 jest: ^29.7.0 jest-environment-jsdom: ^29.7.0 next: 13.5.4 @@ -40,6 +41,7 @@ devDependencies: eslint: 8.51.0 eslint-config-next: 13.5.4_srhnpoqmhm6ulnern6fnsuapfi husky: 8.0.3 + is-ci: 3.0.1 jest: 29.7.0_@types+node@20.8.6 jest-environment-jsdom: 29.7.0 typescript: 5.2.2 @@ -3305,6 +3307,13 @@ packages: engines: {node: '>= 0.4'} dev: true + /is-ci/3.0.1: + resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} + hasBin: true + dependencies: + ci-info: 3.9.0 + dev: true + /is-core-module/2.13.0: resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} dependencies: