From 8966490cb7b9cd1e307f7e702937238c652f4ed7 Mon Sep 17 00:00:00 2001 From: Marco Montalbano Date: Tue, 27 Aug 2024 17:28:40 +0200 Subject: [PATCH] chore: update husky to latest config --- .husky/pre-commit | 5 +---- package.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 61218a87..ddecdb5a 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - -pnpm -r exec lint-staged +pnpm -r exec lint-staged \ No newline at end of file diff --git a/package.json b/package.json index f8e5eabf..e80026a8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Transform any plain HTML page into an enterprise-grade static commerce website, with almost no coding required.", "scripts": { "preinstall": "npx only-allow pnpm", - "prepare": "husky install", + "prepare": "husky", "build": "pnpm -r build && cp -r packages/drop-in/www/drop-in.js/demo packages/docs/storybook-static", "build:drop-in": "pnpm --filter drop-in.js build", "start:drop-in": "pnpm --filter drop-in.js start",