feat: init

This commit is contained in:
Innei
2025-06-05 13:27:09 +08:00
commit f841d2ada2
181 changed files with 27788 additions and 0 deletions

18
apps/web/scripts/dev.ts Normal file
View File

@@ -0,0 +1,18 @@
import path from 'node:path'
import { fileURLToPath } from 'node:url'
import { $ } from 'execa'
import { precheck } from './precheck'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const workdir = path.resolve(__dirname, '..')
async function main() {
await precheck()
// Get command line arguments excluding node and script name
const args = process.argv.slice(2)
await $({ cwd: workdir, stdio: 'inherit' })`vite ${args}`
}
main()