File tree Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Expand file tree Collapse file tree 4 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "hooks": {
3- "pre-commit": "pretty-quick --staged --pattern \"**/*.*(json|js|ts|yml|md)\" ",
3+ "pre-commit": "yarn format:stage ",
44 }
55}
Original file line number Diff line number Diff line change 1- const config = require ( '@boringcodes/prettier-config' ) ;
2-
3- module . exports = config ;
1+ module . exports = require ( '@boringcodes/prettier-config' ) ;
Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ All notable changes to this project will be documented in this file. See [standa
44
55## [ 1.1.0] ( https://github.com/boringcodes/create-service-component/compare/v1.0.0...v1.1.0 ) (2020-03-26)
66
7-
87### Features
98
10- * ** package:** add prettier & husky ([ f6d31d8] ( https://github.com/boringcodes/create-service-component/commit/f6d31d8e17fd68f49908aad35ff0124acf951569 ) )
11- * ** template:** update controller create, patch & update ([ 7156a2c] ( https://github.com/boringcodes/create-service-component/commit/7156a2c25a604eed62ff9d29d7c4b335a5beca5b ) )
9+ - ** package:** add prettier & husky ([ f6d31d8] ( https://github.com/boringcodes/create-service-component/commit/f6d31d8e17fd68f49908aad35ff0124acf951569 ) )
10+ - ** template:** update controller create, patch & update ([ 7156a2c] ( https://github.com/boringcodes/create-service-component/commit/7156a2c25a604eed62ff9d29d7c4b335a5beca5b ) )
1211
1312## 1.0.0 (2020-03-23)
1413
Original file line number Diff line number Diff line change 1313 ],
1414 "scripts" : {
1515 "purge" : " rm -rf node_modules" ,
16- "format" : " prettier --write \" **/*.*(json|js|ts|yml|md)\" " ,
17- "format:check" : " prettier --check \" **/*.*(json|js|ts|yml|md)\" " ,
16+ "format" : " prettier --write ." ,
17+ "format:check" : " prettier --check ." ,
18+ "format:stage" : " pretty-quick --staged" ,
1819 "release" : " standard-version --no-verify" ,
1920 "release:major" : " yarn release --release-as major" ,
2021 "release:minor" : " yarn release --release-as minor" ,
You can’t perform that action at this time.
0 commit comments