refactor: migrate TrumpSignal to TypeScript monorepo and Pages Router
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "trumpsignal",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=22.14"
|
||||
},
|
||||
"scripts": {
|
||||
"typecheck": "tsc --noEmit --incremental false && npm run typecheck --workspaces --if-present",
|
||||
"lint": "npm run lint --workspaces --if-present",
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"start:api": "node --env-file=.env --import tsx apps/api/src/main.ts",
|
||||
"start:worker": "node --env-file=.env --import tsx apps/worker/src/main.ts",
|
||||
"dev:web": "npm run dev --workspace @trumpsignal/web",
|
||||
"migrate": "node --env-file=.env --import tsx scripts/migrate.ts",
|
||||
"ops": "node --env-file=.env --import tsx scripts/ops.ts",
|
||||
"test": "tsx --test tests/*.test.ts",
|
||||
"check:structure": "node scripts/check-structure.mjs",
|
||||
"format:check": "prettier --check apps packages scripts tests migration README.md package.json tsconfig*.json .prettierrc.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.8.3",
|
||||
"@types/node": "^22.14.0",
|
||||
"tsx": "^4.19.3",
|
||||
"prettier": "^3.5.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trumpsignal/backend": "*",
|
||||
"@trumpsignal/database": "*",
|
||||
"@trumpsignal/core": "*",
|
||||
"drizzle-orm": "^0.44.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user