mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: ♻️ Rewrite build system to fit the monorepo architecture
This commit is contained in:
parent
7de4b573e3
commit
90b6399407
217 changed files with 2143 additions and 1858 deletions
15
package.json
15
package.json
|
|
@ -118,14 +118,15 @@
|
|||
"scripts": {
|
||||
"lint": "biome check .",
|
||||
"cloc": "cloc . --exclude-dir node_modules,dist,.output,.nuxt,meta,logs --exclude-ext sql,log,pem",
|
||||
"wc": "find server database *.ts docs packages types utils drizzle tests -type f -print0 | wc -m --files0-from=-",
|
||||
"cli": "bun run cli/index.ts",
|
||||
"check": "bunx tsc -p .",
|
||||
"typecheck": "bunx tsc -p .",
|
||||
"test": "bun test",
|
||||
"run-api": "bun run packages/api/build.ts && cd dist && ln -s ../config config && bun run packages/api/index.js",
|
||||
"run-worker": "bun run packages/worker/build.ts && cd dist && ln -s ../config config && bun run packages/worker/index.js",
|
||||
"dev": "bun run --hot packages/api/index.ts",
|
||||
"worker:dev": "bun run --hot packages/worker/index.ts"
|
||||
"build": "bun run --filter \"*\" build && bun run build.ts",
|
||||
"detect-circular": "bunx madge --circular --extensions ts ./",
|
||||
"run-api": "bun run build && bun run build.ts api && cd dist && ln -s ../config config && bun run api.js",
|
||||
"run-worker": "bun run build && bun run build.ts worker && cd dist && ln -s ../config config && bun run worker.js",
|
||||
"dev": "bun run --hot api.ts",
|
||||
"worker:dev": "bun run --hot worker.ts"
|
||||
},
|
||||
"trustedDependencies": [
|
||||
"@biomejs/biome",
|
||||
|
|
@ -171,6 +172,8 @@
|
|||
"@versia-server/kit": "workspace:*",
|
||||
"@versia-server/tests": "workspace:*",
|
||||
"@versia-server/logging": "workspace:*",
|
||||
"@versia-server/api": "workspace:*",
|
||||
"@versia-server/worker": "workspace:*",
|
||||
"@versia/client": "workspace:*",
|
||||
"@versia/sdk": "workspace:*",
|
||||
"altcha-lib": "catalog:",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue