chore: add Windows setup script to t3.json (#8814)

This commit is contained in:
Utkarsh Patil authored and GitHub committed 2026-08-30 16:26:51 -07:00
1 parent c1e70b5f8c
commit e4f7b14fab
1 file changed
+6
+6
View File
@@ -7,6 +7,12 @@
"command": "vp i && ln -sf $T3CODE_PROJECT_ROOT/.env .env && ln -sf $T3CODE_PROJECT_ROOT/infra/relay/.env infra/relay/.env && node apps/web/scripts/warm-dep-cache.ts",
"icon": "configure",
"runOnWorktreeCreate": true
},
{
"name": "Setup Worktree (Windows)",
"command": "vp i && New-Item -ItemType SymbolicLink -Path .env -Target \"$env:T3CODE_PROJECT_ROOT\\.env\" -Force && New-Item -ItemType SymbolicLink -Path \"infra\\relay\\.env\" -Target \"$env:T3CODE_PROJECT_ROOT\\infra\\relay\\.env\" -Force && node apps\\web\\scripts\\warm-dep-cache.ts",
"icon": "configure",
"runOnWorktreeCreate": true
}
]
}