feat: migrate from Elysia Eden to Contract-First API (OpenAPI)
This commit is contained in:
18
package.json
18
package.json
@@ -11,13 +11,13 @@
|
||||
"lint": "biome check .",
|
||||
"check": "biome check --write .",
|
||||
"format": "biome format --write .",
|
||||
"gen:api": "bun scripts/generate-schema.ts && bun x openapi-typescript generated/schema.json -o generated/api.ts",
|
||||
"build": "bun build ./src/index.html --outdir=dist --sourcemap --target=browser --minify --define:process.env.NODE_ENV='\"production\"' --env='VITE_*'",
|
||||
"start": "NODE_ENV=production bun src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@better-auth/cli": "^1.4.18",
|
||||
"@elysiajs/cors": "^1.4.1",
|
||||
"@elysiajs/eden": "^1.4.6",
|
||||
"@elysiajs/swagger": "^1.3.1",
|
||||
"@mantine/core": "^8.3.14",
|
||||
"@mantine/dates": "^8.3.13",
|
||||
@@ -30,6 +30,7 @@
|
||||
"better-auth": "^1.4.18",
|
||||
"dayjs": "^1.11.19",
|
||||
"elysia": "^1.4.22",
|
||||
"openapi-fetch": "^0.15.0",
|
||||
"pino": "^10.3.0",
|
||||
"pino-pretty": "^13.1.3",
|
||||
"react": "^19",
|
||||
@@ -37,25 +38,26 @@
|
||||
"valtio": "^2.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@react-dev-inspector/vite-plugin": "^2.0.1",
|
||||
"react-dev-inspector": "^2.0.1",
|
||||
"@babel/core": "^7.29.0",
|
||||
"@babel/plugin-transform-react-jsx-source": "^7.27.1",
|
||||
"@biomejs/biome": "2.3.14",
|
||||
"@react-dev-inspector/vite-plugin": "^2.0.1",
|
||||
"@tanstack/react-router-devtools": "^1.158.1",
|
||||
"@tanstack/router-cli": "^1.157.16",
|
||||
"@tanstack/router-plugin": "^1.157.16",
|
||||
"@tanstack/router-vite-plugin": "^1.158.1",
|
||||
"@types/bun": "latest",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"@vitejs/plugin-react": "^5.1.3",
|
||||
"concurrently": "^9.2.1",
|
||||
"fast-glob": "^3.3.3",
|
||||
"openapi-typescript": "^7.10.1",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-preset-mantine": "^1.18.0",
|
||||
"postcss-simple-vars": "^7.0.1",
|
||||
"vite": "^7.3.1",
|
||||
"prisma": "^6.19.2",
|
||||
"@tanstack/router-cli": "^1.157.16",
|
||||
"@tanstack/router-plugin": "^1.157.16",
|
||||
"concurrently": "^9.2.1",
|
||||
"fast-glob": "^3.3.3"
|
||||
"react-dev-inspector": "^2.0.1",
|
||||
"vite": "^7.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user