Commit 7c53dcb
feat(template): Husky フックと VSCode 設定を追加する (#16)
* feat(template): Husky フックと VSCode 設定を追加する
コミット時の品質ゲートとして pre-commit(lint-staged --concurrent false)
と commit-msg(commitlint)の Husky フックを追加した。CI/production 環境
では install.mts がフック登録をスキップし、不要な実行を防ぐ。あわせて
VSCode の拡張機能推奨と Biome フォーマッタ設定を整備し、routeTree.gen.ts
を読み取り専用にした。
* fix(template): Biomeの保存時キーとprepareスクリプトを修正する
VS Code設定でBiomeの保存時アクションキーが誤っており自動修正が動作しない問題と、
devDependenciesを含まないインストール環境(--prod等)でprepareスクリプトがjiti不在により
失敗する問題を修正した。
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 6210cb1 commit 7c53dcb
6 files changed
Lines changed: 44 additions & 1 deletion
File tree
- templates/tanstack-start-hono-cf
- .husky
- .vscode
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
0 commit comments