mirror of
https://github.com/kennethnym/freya
synced 2026-06-19 16:11:18 +01:00
Upgrade the React Native client through Expo SDK 56, align workspace React versions, switch Bun installs to the hoisted linker for Expo compatibility, and fix the Metro proxy to handle localhost/IPv6 loopback after the SDK upgrade.
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "freya",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*",
|
|
"apps/*"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"expo": "cd apps/freya-client && bun run start",
|
|
"drizzle-studio": "TS_IP=$(tailscale ip -4); echo \"Drizzle Studio: https://local.drizzle.studio/?host=${TS_IP}&port=4983\"; cd apps/freya-backend && bunx drizzle-kit studio --host 0.0.0.0 --port 4983",
|
|
"freya-backend": "TS_IP=$(tailscale ip -4); echo \"Freya Backend: http://${TS_IP}:3000\"; echo \"\"; echo \"------------------ Bun Debugger ------------------\"; echo \"https://debug.bun.sh/#${TS_IP}:6499\"; echo \"------------------ Bun Debugger ------------------\"; echo \"\"; cd apps/freya-backend && bun run dev",
|
|
"client": "bun run --elide-lines=0 --filter freya-client start",
|
|
"admin-dashboard": "TS_IP=$(tailscale ip -4); echo \"Admin Dashboard: http://${TS_IP}:5174\"; cd apps/admin-dashboard && bun run dev --host 0.0.0.0",
|
|
"agent-test-cli": "cd apps/agent-test-cli && bun run start",
|
|
"test": "bun run --filter '*' test",
|
|
"lint": "oxlint .",
|
|
"lint:fix": "oxlint --fix .",
|
|
"format": "oxfmt --write .",
|
|
"format:check": "oxfmt --check ."
|
|
},
|
|
"devDependencies": {
|
|
"@json-render/core": "^0.12.1",
|
|
"@nym.sh/jrx": "^0.2.0",
|
|
"@types/bun": "latest",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260412.1",
|
|
"oxfmt": "^0.24.0",
|
|
"oxlint": "^1.39.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^6"
|
|
}
|
|
}
|