chore: adopt biome for linting and formatting, wire turbo env, add ci workflow

This commit is contained in:
Jose Selesan
2026-10-15 15:39:17 -03:00
parent a95d14688a
commit ae11863613
40 changed files with 182 additions and 107 deletions

View File

@@ -1,5 +1,5 @@
import { cors } from 'hono/cors'
import { Hono } from 'hono'
import { cors } from 'hono/cors'
import { requestId } from 'hono/request-id'
import { secureHeaders } from 'hono/secure-headers'
@@ -9,7 +9,7 @@ import { errorHandler, notFoundHandler } from '@/lib/problem-details'
import { healthModule } from '@/modules/health'
import type { AppEnv } from '@/types'
const allowedOrigins = (process.env.CORS_ORIGIN ?? 'http://localhost:5173')
const allowedOrigins = (process.env.CORS_ORIGIN ?? 'http://localhost:7153')
.split(',')
.map((origin) => origin.trim())
.filter(Boolean)