From 7eee3b80552134a0f27aad111241607d37d7d0ee Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Sat, 23 Mar 2024 16:17:49 +0100 Subject: [PATCH] chore: add missing husky --- package-lock.json | 22 ++++++++++++++++++++++ package.json | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 4b684ab1..d8f84201 100644 --- a/package-lock.json +++ b/package-lock.json @@ -45,6 +45,7 @@ "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-unicorn": "51.0.1", "handlebars": "4.7.8", + "husky": "9.0.11", "identity-obj-proxy": "3.0.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", @@ -5618,6 +5619,21 @@ "node": ">=10.17.0" } }, + "node_modules/husky": { + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "dev": true, + "bin": { + "husky": "bin.mjs" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, "node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", @@ -13746,6 +13762,12 @@ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true }, + "husky": { + "version": "9.0.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "dev": true + }, "iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", diff --git a/package.json b/package.json index 5f24c6d8..c962dba1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "vite", "build": "vite build --emptyOutDir", "preview": "vite preview", - "prepare": "husky install", + "prepare": "husky", "test": "jest --passWithNoTests", "test:e2e": "npx tsc -p e2e-tests/tsconfig.json && npx playwright test -c e2e-tests-out", "postinstall": "check-node-version --package", @@ -64,6 +64,7 @@ "eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-unicorn": "51.0.1", "handlebars": "4.7.8", + "husky": "9.0.11", "identity-obj-proxy": "3.0.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0",