From 3059772fcda492359ce71e326407a4b509240e79 Mon Sep 17 00:00:00 2001 From: Vladimir Rudenko Date: Wed, 26 Feb 2025 15:40:57 +0800 Subject: [PATCH 1/2] bump server version to 1.0.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1134390..b0a999d 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" diff --git a/package.json b/package.json index 2f53302..0a27385 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" From d7de4f9a9e02527a235bb32bee6be5561824c654 Mon Sep 17 00:00:00 2001 From: Dragan Mijajilovic Date: Tue, 18 Mar 2025 13:08:48 +0100 Subject: [PATCH 2/2] PD-16119 husky update --- .husky/pre-commit | 3 --- package-lock.json | 2 +- package.json | 6 +++--- 3 files changed, 4 insertions(+), 7 deletions(-) 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 b0a999d..e21029d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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 0a27385..a55a71a 100644 --- a/package.json +++ b/package.json @@ -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": [