From de1b2e632b621c5cd21dd3891eef39b04c490d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Beltr=C3=A1n?= Date: Thu, 11 Dec 2025 11:45:15 +0100 Subject: [PATCH 1/2] chore: remove is-ci --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- package.json | 1 - pnpm-lock.yaml | 11 ----------- 4 files changed, 18 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index 5254b5b1..dbce4f4c 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -# Skip commit-msg hook on CI -[ -n "$CI" ] && exit 0 - commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit index b4299251..c27d8893 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -# Skip pre-commit hook on CI -[ -n "$CI" ] && exit 0 - lint-staged diff --git a/package.json b/package.json index 7e7c4ced..ea522c31 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,6 @@ "eslint-remote-tester-repositories": "^1.0.1", "globals": "^16.3.0", "husky": "^9.1.7", - "is-ci": "^3.0.1", "jest": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "3.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b0857226..71c17328 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,9 +84,6 @@ importers: husky: specifier: ^9.1.7 version: 9.1.7 - is-ci: - specifier: ^3.0.1 - version: 3.0.1 jest: specifier: ^29.7.0 version: 29.7.0(@types/node@22.15.29)(ts-node@10.9.2(@swc/core@1.13.5)(@types/node@22.15.29)(typescript@5.7.2)) @@ -2287,10 +2284,6 @@ packages: resolution: {integrity: sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==} hasBin: true - is-ci@3.0.1: - resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} - hasBin: true - is-core-module@2.15.1: resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} engines: {node: '>= 0.4'} @@ -6572,10 +6565,6 @@ snapshots: dependencies: ci-info: 2.0.0 - is-ci@3.0.1: - dependencies: - ci-info: 3.9.0 - is-core-module@2.15.1: dependencies: hasown: 2.0.2 From ec67f8dbe5e6fb0f921d1bef26032519dbcfd20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Beltr=C3=A1n?= Date: Thu, 11 Dec 2025 11:48:41 +0100 Subject: [PATCH 2/2] chore: update prepare script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ea522c31..a775d2d7 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "format:check": "pnpm run prettier-base --check", "lint": "eslint --max-warnings 0 .", "lint:fix": "pnpm run lint --fix", - "prepare": "is-ci || husky", + "prepare": "husky || true", "prettier-base": "prettier . --ignore-unknown --cache --log-level warn", "rule-doc-generator": "eslint-doc-generator", "semantic-release": "semantic-release",