diff --git a/.husky/pre-commit b/.husky/pre-commit index 8169cbe..5df2086 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged && git update-index --again && npm run build-ts -- --noEmit --incremental diff --git a/package-lock.json b/package-lock.json index 1134390..e21029d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@passportship/validator-list", - "version": "0.0.9", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@passportship/validator-list", - "version": "0.0.9", + "version": "1.0.0", "dependencies": { "lodash": "^4.17.4", "underscore.string": "^3.2.3" @@ -17,7 +17,7 @@ "@types/node": "20.6.0", "@types/underscore.string": "^0.0.41", "husky": "^9.1.7", - "lint-staged": "^15.2.10", + "lint-staged": "^15.4.3", "typescript": "^5.7.2" }, "engines": { diff --git a/package.json b/package.json index 2f53302..a55a71a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@passportship/validator-list", "description": "Validator", - "version": "0.0.9", + "version": "1.0.0", "engines": { "node": ">=20.6.0", "npm": ">=9.8.0" @@ -26,7 +26,7 @@ "feature-hotfix": "bin/feature-to-hotfix.sh", "lint": "node ./node_modules/eslint/bin/eslint.js ./", "lint-fix": "npm run lint -- --fix", - "prepare": "husky install", + "prepare": "husky", "prepack": "npm run build", "prepublishOnly": "npm run build", "release": "export GIT_MERGE_AUTOEDIT=no && npm --no-git-tag-version version patch && RELEASE_VERSION=$(node -p -e \"require('./package.json').version\") && git checkout package.json package-lock.json && git flow release start v$RELEASE_VERSION && npm version patch --message \"bump server version to %s\" && git flow release finish -n v$RELEASE_VERSION && unset GIT_MERGE_AUTOEDIT", @@ -42,8 +42,8 @@ "@types/lodash": "^4.14.76", "@types/node": "20.6.0", "@types/underscore.string": "^0.0.41", - "husky": "^9.1.7", - "lint-staged": "^15.2.10", + "husky": "9.1.7", + "lint-staged": "15.4.3", "typescript": "^5.7.2" }, "keywords": [