diff --git a/.husky/pre-commit b/.husky/pre-commit index 3c64a3df557..c27d8893a99 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - -[ -z "$HUSKY_ENABLED" ] && exit 0 - -npx lint-staged \ No newline at end of file +lint-staged diff --git a/package-lock.json b/package-lock.json index cb8c5c32b0d..dd5d3cf611e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "eslint-plugin-ssr-friendly": "1.3.0", "eslint-plugin-storybook": "0.8.0", "eslint-plugin-testing-library": "6.0.2", - "husky": "8.0.3", + "husky": "9.1.6", "jest": "29.7.0", "jest-watch-typeahead": "2.2.2", "lint-staged": "15.2.2", @@ -64,7 +64,7 @@ "name": "example-app-router", "version": "0.0.0", "dependencies": { - "@primer/react": "37.0.0-rc.9", + "@primer/react": "37.0.0-rc.10", "next": "^14.2.10", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -83,7 +83,7 @@ "react-dom": "^18.3.1" }, "devDependencies": { - "@primer/react": "37.0.0-rc.9", + "@primer/react": "37.0.0-rc.10", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.11.0", @@ -101,7 +101,7 @@ "name": "example-consumer-test", "version": "0.0.0", "dependencies": { - "@primer/react": "37.0.0-rc.9", + "@primer/react": "37.0.0-rc.10", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.19", "@types/styled-components": "^5.1.11", @@ -127,7 +127,7 @@ "version": "0.0.0", "dependencies": { "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.0.0-rc.9", + "@primer/react": "37.0.0-rc.10", "clsx": "^1.2.1", "next": "^14.2.10", "react": "^18.3.1", @@ -15969,14 +15969,16 @@ } }, "node_modules/husky": { - "version": "8.0.3", + "version": "9.1.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.6.tgz", + "integrity": "sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==", "dev": true, "license": "MIT", "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -30608,7 +30610,7 @@ }, "packages/react": { "name": "@primer/react", - "version": "37.0.0-rc.9", + "version": "37.0.0-rc.10", "license": "MIT", "dependencies": { "@github/relative-time-element": "^4.4.2", diff --git a/package.json b/package.json index 4de21e08999..b3684716f29 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "eslint-plugin-ssr-friendly": "1.3.0", "eslint-plugin-storybook": "0.8.0", "eslint-plugin-testing-library": "6.0.2", - "husky": "8.0.3", + "husky": "9.1.6", "jest": "29.7.0", "jest-watch-typeahead": "2.2.2", "lint-staged": "15.2.2",