From 94ebe6a2db97f69f245ba7055eabd58715f56e5f Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 28 Sep 2023 11:49:52 +0800 Subject: [PATCH] chore(deps): update dependency prettier to v3 #453 --- .husky/pre-commit | 2 +- package.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 91edfd4b..d37daa07 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -./node_modules/.bin/pretty-quick --staged +npx --no-install lint-staged diff --git a/package.json b/package.json index d2690ff5..7e837ef0 100644 --- a/package.json +++ b/package.json @@ -35,12 +35,11 @@ "husky": "^8.0.3", "lerna": "^7.0.0", "lint-staged": "^14.0.0", - "prettier": "^2.8.4", - "pretty-quick": "~3.1.3", + "prettier": "^3.0.3", "typescript": "^5.1.3", "jest": "^29.5.0", "jest-watch-typeahead": "^2.2.2", - "jest-environment-jsdom": "~29.5.0", + "jest-environment-jsdom": "^29.5.0", "jest-environment-node": "^29.5.0" } }