File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed
Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ LOCAL_DB := postgres://user:password@localhost:5432/database
55setup :
66 if [ ! ` command -v bun` ]; then echo ' ERR: Bun is required!' ; exit 1; fi
77 make sync
8- bunx husky
98 @echo " auto setup is done. now do:"
109 @echo " - edit server/.env.dev"
1110 @echo " - edit web/.env"
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ GNU Make が導入されています。以下は、ユーザーが使うこと
1313- make setup (セットアップします。)
1414- make start (build -> serve します。)
1515- make watch (ホットリロードします。)
16- - make precommit (type-check, format-check, lint を実行します。husky で自動実行されます。)
1716
1817### 環境構築
1918
Original file line number Diff line number Diff line change 22# docs: https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
33# 必須: Lefthook
44# 必須: `lefthook install`
5- # 関連: Husky (互換: Lefthook のほうが多機能)
65pre-commit :
76 parallel : true
87 commands :
Original file line number Diff line number Diff line change 44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "test" : " echo \" Error: no test specified\" && exit 1" ,
8- "prepare" : " husky"
7+ "test" : " echo \" Error: no test specified\" && exit 1"
98 },
109 "keywords" : [],
1110 "author" : " " ,
You can’t perform that action at this time.
0 commit comments