fix: init project

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-12-21 20:00:33 +08:00
parent 77703e4894
commit 58acb5a33d

View File

@@ -10,7 +10,7 @@
"author": "Innei <https://innei.in>",
"scripts": {
"format": "prettier --write \"apps/**/*.ts\" \"test/**/*.ts\" \"packages/**/*.ts\"",
"prepare": "simple-git-hooks",
"prepare": "simple-git-hooks && node scripts/init-project.mjs && corepack enable",
"build:external": "pnpm -C \"packages/compiled\" run build",
"build": "pnpm run build:external && pnpm -C \"apps/core\" run build",
"dev": "pnpm run build:external && pnpm -C \"apps/core\" run start",
@@ -61,4 +61,4 @@
"typescript": "5.6.3",
"whatwg-url": "14.0.0"
}
}
}