Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3 #37
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 20, 2023
1 parent 6a2e025 commit cdc1327
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/pretty-quick --staged
npx --no-install lint-staged
5 changes: 5 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
}
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@
"watch:base": "lerna exec \"tsbb watch src/*.tsx --use-babel --use-vue\" --scope @vue-monorepo-template/base",
"prettier": "prettier --write \"**/*.{js,jsx,vue,tsx,ts,less,md,json}\"",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"clean": "lerna clean --yes",
"hoist": "lerna bootstrap --hoist",
"bootstrap": "lerna bootstrap --force-local --no-ci"
"clean": "lerna clean --yes"
},
"author": "jaywcjlove",
"license": "MIT",
"devDependencies": {
"husky": "^8.0.3",
"prettier": "^2.8.7",
"pretty-quick": "^3.1.3",
"lerna": "^6.6.1",
"tsbb": "^4.1.1"
"lerna": "^7.4.1",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"tsbb": "^4.2.3"
},
"engines": {
"node": ">=16.0.0"
Expand Down

0 comments on commit cdc1327

Please sign in to comment.