]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: simplify husky setup (#432)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Fri, 26 Jan 2024 06:04:54 +0000 (07:04 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 06:04:54 +0000 (14:04 +0800)
.husky/pre-commit
package.json
pnpm-lock.yaml

index 5e5927356989397a156444a0aa7d4f94bd0bdc0b..5ee7abd87c6fd21a951755c1a73e539d8390a50c 100755 (executable)
@@ -1,4 +1 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
 pnpm exec lint-staged
index 15628c552217c0bea6f711e6a38864f2dec2de1b..51d69407478195996f5908efc335742fac4edaec 100644 (file)
@@ -15,7 +15,7 @@
     "node": ">=v16.20.0"
   },
   "scripts": {
-    "prepare": "husky install",
+    "prepare": "husky",
     "format": "prettier --write .",
     "build": "zx ./scripts/build.mjs",
     "snapshot": "zx ./scripts/snapshot.mjs",
@@ -45,7 +45,7 @@
     "ejs": "^3.1.9",
     "esbuild": "^0.18.20",
     "esbuild-plugin-license": "^1.2.2",
-    "husky": "^9.0.1",
+    "husky": "^9.0.2",
     "kolorist": "^1.8.0",
     "lint-staged": "^15.2.0",
     "minimist": "^1.2.8",
index 258ced5c95a8bfd7e5006dd57116f6a4e9036a94..5320c04534e5ec652bb8456f76a3926d61d69658 100644 (file)
@@ -36,8 +36,8 @@ importers:
         specifier: ^1.2.2
         version: 1.2.2(esbuild@0.18.20)
       husky:
-        specifier: ^9.0.1
-        version: 9.0.1
+        specifier: ^9.0.2
+        version: 9.0.2
       kolorist:
         specifier: ^1.8.0
         version: 1.8.0
@@ -3705,8 +3705,8 @@ packages:
     engines: {node: '>=16.17.0'}
     dev: true
 
-  /husky@9.0.1:
-    resolution: {integrity: sha512-rXCT8yF2v3awSG03AG6IgICDhJ+m8o3jL1ROwsT4nQZ6urEyKSj0IWFDIh5YC2zgZeAxWksNMbN6rYY4BE1Zrw==}
+  /husky@9.0.2:
+    resolution: {integrity: sha512-0yR5R3OPjl8bYApi6T4QMOAwhtLhBjdYIVg5S6zSzIO8DIvQMh/b7Q8jW3WLbHLHtzpwiyMLBNB4R0Eb6x5+AA==}
     engines: {node: '>=18'}
     hasBin: true
     dev: true