diff --git a/.husky/commit-msg b/.husky/commit-msg index 4974c35..1701e9b 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,3 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - +npx commitlint --edit "$1" npx commitlint --edit $1 diff --git a/bun.lockb b/bun.lockb index d4da7d6..2a76664 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/lib/package.json b/lib/package.json index 58b5c5c..4ec5822 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,6 +1,6 @@ { "name": "cpk-ui", - "version": "0.1.2", + "version": "0.1.3", "main": "index", "react-native": "index", "module": "index", diff --git a/package.json b/package.json index 7f7aaa7..a59ef52 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "storybook:serve": "npx http-server ./doc-build", "export": "expo export -p web", "deploy:storybook": "gh-pages -t -d dist", - "prepare": "husky" + "prepare": "husky && husky install" }, "dependencies": { "@emotion/native": "^11.11.0", @@ -118,7 +118,7 @@ "eslint-plugin-storybook": "^0.6.15", "gh-pages": "^6.1.1", "givens": "^1.3.9", - "husky": "^9.0.9", + "husky": "^8.0.0", "jest": "^29.7.0", "jest-expo": "^52.0.2", "jest-plugin-context": "^2.9.0", diff --git a/yarn.lock b/yarn.lock index ff28f57..79d096a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,6 +1,6 @@ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 -# bun ./bun.lockb --hash: 4555D03375A6507A-ca6e71e6a35f7431-4481C058E6197F3F-15bf36b46cf02f17 +# bun ./bun.lockb --hash: 3E248FF5DB86A36F-58a0eb9872322929-D829AF9C1911264A-03594be9df0571a3 "@0no-co/graphql.web@^1.0.5", "@0no-co/graphql.web@^1.0.8": @@ -8347,10 +8347,10 @@ human-signals@^2.1.0: resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^9.0.9: - version "9.1.7" - resolved "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz" - integrity sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA== +husky@^8.0.0: + version "8.0.3" + resolved "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== hyphenate-style-name@^1.0.0, hyphenate-style-name@^1.0.3: version "1.1.0"