mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Simplify auth setup, centralize environment variable management and fix
create readme
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
"check-types": "turbo check-types",
|
||||
"dev:client": "turbo -F @better-t/client dev",
|
||||
"dev:server": "turbo -F @better-t/server dev",
|
||||
"db:local": "turbo -F @better-t/server db:local",
|
||||
"db:push": "turbo -F @better-t/server db:push"
|
||||
"db:push": "turbo -F @better-t/server db:push",
|
||||
"db:studio": "turbo -F @better-t/server db:studio"
|
||||
},
|
||||
"packageManager": "bun@1.2.4",
|
||||
"devDependencies": {
|
||||
|
||||
@@ -6,12 +6,7 @@
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"build": "tsc",
|
||||
"dev:bun": "bun run --hot src/index.ts",
|
||||
"db:local": "turso dev --db-file local.db",
|
||||
"db:push": "drizzle-kit push",
|
||||
"db:studio": "drizzle-kit studio",
|
||||
"check-types": "tsc --noEmit",
|
||||
"wrangler:dev": "wrangler dev",
|
||||
"wrangler:deploy": "wrangler deploy --minify",
|
||||
"compile": "bun build --compile --minify --sourcemap --bytecode ./src/index.ts --outfile server"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
},
|
||||
"db:local": {
|
||||
"db:push": {
|
||||
"cache": false
|
||||
},
|
||||
"db:push": {
|
||||
"db:studio": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
BETTER_AUTH_SECRET=jdUstNuiIZLVh897KOMMS8EmTP0QkD32
|
||||
BETTER_AUTH_URL=http://localhost:3000
|
||||
TURSO_CONNECTION_URL=http://127.0.0.1:8080
|
||||
CORS_ORIGIN=http://localhost:3001
|
||||
@@ -1,4 +0,0 @@
|
||||
BETTER_AUTH_SECRET=jdUstNuiIZLVh897KOMMS8EmTP0QkD32
|
||||
BETTER_AUTH_URL=http://localhost:3000
|
||||
TURSO_CONNECTION_URL=http://127.0.0.1:8080
|
||||
CORS_ORIGIN=http://localhost:3001
|
||||
Reference in New Issue
Block a user