Skip to content

Commit

Permalink
going insane (part 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dromzeh committed Nov 10, 2023
1 parent 6c95461 commit f1368c3
Show file tree
Hide file tree
Showing 81 changed files with 3,626 additions and 5,058 deletions.
7 changes: 2 additions & 5 deletions drizzle.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { TURSO_DATABASE_AUTH_TOKEN, TURSO_DATABASE_URL, ENVIRONMENT } =

const TURSO_DEV_DATABASE_URL =
process.env.TURSO_DEV_DATABASE_URL ?? "http://127.0.0.1:8080"

const isDev = ENVIRONMENT === "DEV"

export default {
Expand All @@ -16,9 +15,7 @@ export default {
strict: true,
verbose: true,
dbCredentials: {
url: (isDev
? TURSO_DEV_DATABASE_URL ?? TURSO_DATABASE_URL
: TURSO_DATABASE_URL) as string,
...(isDev ? {} : { authToken: TURSO_DATABASE_AUTH_TOKEN }),
url: isDev ? TURSO_DEV_DATABASE_URL : TURSO_DATABASE_URL!,
authToken: TURSO_DATABASE_AUTH_TOKEN ?? undefined,
},
} satisfies Config
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@
"drizzle:studio": "drizzle-kit studio --port 7331 --host 127.0.0.1 --verbose"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231016.0",
"@types/node": "^20.8.6",
"@cloudflare/workers-types": "^4.20231025.0",
"@types/node": "^20.9.0",
"dotenv": "^16.3.1",
"drizzle-kit": "^0.19.13",
"eslint": "^8.51.0",
"drizzle-kit": "^0.20.1",
"eslint": "^8.53.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-json": "^3.1.0",
"husky": "^8.0.3",
"tsx": "^3.13.0",
"tsx": "^4.0.0",
"typescript": "^5.2.2",
"wrangler": "3.13.1"
"wrangler": "3.15.0"
},
"private": true,
"dependencies": {
"@hono/swagger-ui": "^0.1.0",
"@hono/zod-openapi": "^0.7.2",
"@libsql/client": "0.3.5",
"@hono/zod-openapi": "^0.8.3",
"@libsql/client": "0.3.6",
"@lucia-auth/adapter-session-unstorage": "^2.1.0",
"@lucia-auth/adapter-sqlite": "^2.0.0",
"@lucia-auth/oauth": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"better-sqlite3": "^9.0.0",
"drizzle-orm": "^0.28.6",
"@lucia-auth/adapter-sqlite": "^2.0.1",
"@lucia-auth/oauth": "^3.4.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"better-sqlite3": "^9.1.1",
"drizzle-orm": "^0.29.0",
"drizzle-zod": "^0.5.1",
"hono": "^3.8.0",
"lucia": "^2.7.1",
"hono": "^3.9.2",
"lucia": "^2.7.3",
"miniflare": "^3.20231025.1",
"mysql2": "^3.6.2",
"oslo": "^0.17.0",
"mysql2": "^3.6.3",
"oslo": "^0.22.0",
"prettier": "^3.0.3",
"unstorage": "^1.9.0",
"uuid": "^9.0.1",
Expand Down
Loading

0 comments on commit f1368c3

Please sign in to comment.