chore: fix docker build, format (#1824)

This commit is contained in:
Stephen Zhou 2024-05-19 20:54:24 +08:00 committed by GitHub
parent abc6a8d832
commit d924b0d4d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 17 deletions

View File

@ -12,6 +12,7 @@ FROM base as deps
WORKDIR /app WORKDIR /app
COPY package.json pnpm-lock.yaml prisma ./ COPY package.json pnpm-lock.yaml prisma ./
COPY patches ./patches
ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_SKIP_DOWNLOAD=true

View File

@ -1,10 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"lib": [ "lib": ["DOM", "DOM.Iterable", "esnext"],
"DOM",
"DOM.Iterable",
"esnext"
],
"isolatedModules": true, "isolatedModules": true,
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "preserve", "jsx": "preserve",
@ -14,9 +10,7 @@
"strict": true, "strict": true,
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"~/*": [ "~/*": ["./src/*"]
"./src/*"
]
}, },
"noEmit": true, "noEmit": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
@ -24,9 +18,7 @@
"skipLibCheck": true, "skipLibCheck": true,
"incremental": true, "incremental": true,
"module": "esnext", "module": "esnext",
"typeRoots": [ "typeRoots": ["./types"],
"./types"
],
"plugins": [ "plugins": [
{ {
"name": "next" "name": "next"
@ -40,7 +32,5 @@
".next/types/**/*.ts", ".next/types/**/*.ts",
"packages/**/*" "packages/**/*"
], ],
"exclude": [ "exclude": ["node_modules"]
"node_modules"
]
} }