fix: ci
This commit is contained in:
parent
bf36799daa
commit
4a218fd54b
8 changed files with 16 additions and 11 deletions
|
|
@ -2,7 +2,7 @@ import { useTheme } from "~/client/components/theme-provider";
|
|||
import { Toaster as Sonner, type ToasterProps } from "sonner";
|
||||
|
||||
const Toaster = ({ ...props }: ToasterProps) => {
|
||||
const { theme = "dark" } = useTheme();
|
||||
const { theme } = useTheme();
|
||||
|
||||
return (
|
||||
<Sonner
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ export const auth = betterAuth({
|
|||
baseURL: {
|
||||
allowedHosts: config.allowedHosts,
|
||||
protocol: "auto",
|
||||
fallback: config.baseUrl,
|
||||
},
|
||||
trustedOrigins: config.trustedOrigins,
|
||||
rateLimit: {
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
"#/*": "./src/*"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"deploy": "bun run build && wrangler deploy",
|
||||
"dev": "vp dev",
|
||||
"build": "vp build",
|
||||
"preview": "vp preview",
|
||||
"deploy": "vp run build && wrangler deploy",
|
||||
"cf-typegen": "wrangler types",
|
||||
"tsc": "tsc --noEmit"
|
||||
},
|
||||
|
|
@ -52,6 +52,7 @@
|
|||
"typescript": "^6.0.3",
|
||||
"vite": "^8.0.10",
|
||||
"vite-plugin-killer-instincts": "^1.1.0",
|
||||
"vite-plus": "^0.1.20",
|
||||
"vitest": "^4.1.5",
|
||||
"wrangler": "^4.88.0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { defineConfig } from "vite";
|
||||
import { defineConfig } from "vite-plus";
|
||||
import { devtools } from "@tanstack/devtools-vite";
|
||||
|
||||
import { tanstackStart } from "@tanstack/react-start/plugin/vite";
|
||||
|
|
|
|||
3
bun.lock
3
bun.lock
|
|
@ -159,6 +159,7 @@
|
|||
"typescript": "^6.0.3",
|
||||
"vite": "^8.0.10",
|
||||
"vite-plugin-killer-instincts": "^1.1.0",
|
||||
"vite-plus": "^0.1.20",
|
||||
"vitest": "^4.1.5",
|
||||
"wrangler": "^4.88.0",
|
||||
},
|
||||
|
|
@ -1580,7 +1581,7 @@
|
|||
|
||||
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
||||
|
||||
"es-module-lexer": ["es-module-lexer@2.0.0", "", {}, "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw=="],
|
||||
"es-module-lexer": ["es-module-lexer@2.1.0", "", {}, "sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ=="],
|
||||
|
||||
"es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,10 @@
|
|||
"scripts": {
|
||||
"postinstall": "vp config",
|
||||
"fmt": "vp fmt",
|
||||
"lint": "vp lint --type-aware",
|
||||
"lint": "vp lint --type-aware --type-check",
|
||||
"check": "vp check",
|
||||
"dev": "NODE_ENV=development bunx --bun vite",
|
||||
"build": "vite build",
|
||||
"build": "bunx --bun vite build",
|
||||
"start": "bun run .output/server/index.mjs",
|
||||
"preview": "bunx --bun vite preview",
|
||||
"cli:dev": "bun run app/server/cli/main.ts",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"include": ["app/**/*"],
|
||||
"include": ["app/**/*", "e2e/**/*", "playwright.config.ts"],
|
||||
"compilerOptions": {
|
||||
"plugins": [{ "name": "@effect/language-service" }],
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ export default defineConfig({
|
|||
},
|
||||
options: {
|
||||
typeAware: true,
|
||||
typeCheck: true,
|
||||
},
|
||||
rules: {
|
||||
"no-unused-vars": [
|
||||
|
|
@ -78,7 +79,7 @@ export default defineConfig({
|
|||
],
|
||||
},
|
||||
staged: {
|
||||
"*.{js,jsx,ts,tsx,json,jsonc}": "vp fmt --write",
|
||||
"*.{js,jsx,ts,tsx,json,jsonc}": "vp check --fix",
|
||||
},
|
||||
run: {
|
||||
cache: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue