Upload 9 files
Browse files- .dockerignore +29 -0
- Dockerfile +51 -0
- components.json +21 -0
- eslint.config.mjs +50 -0
- next.config.ts +12 -0
- package.json +100 -0
- postcss.config.mjs +5 -0
- tailwind.config.ts +64 -0
- tsconfig.json +42 -0
.dockerignore
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
node_modules
|
| 2 |
+
.next
|
| 3 |
+
.git
|
| 4 |
+
.gitignore
|
| 5 |
+
db/
|
| 6 |
+
*.db
|
| 7 |
+
*.log
|
| 8 |
+
dev.log
|
| 9 |
+
server.log
|
| 10 |
+
tool-results/
|
| 11 |
+
download/
|
| 12 |
+
hf-deploy/
|
| 13 |
+
examples/
|
| 14 |
+
agent-ctx/
|
| 15 |
+
vercel/
|
| 16 |
+
--output
|
| 17 |
+
.env
|
| 18 |
+
*.png
|
| 19 |
+
*.jpg
|
| 20 |
+
*.jpeg
|
| 21 |
+
claude*
|
| 22 |
+
.z-ai-config
|
| 23 |
+
.claude
|
| 24 |
+
Caddyfile
|
| 25 |
+
hf_*.py
|
| 26 |
+
hf_*.json
|
| 27 |
+
bun.lock
|
| 28 |
+
README.md
|
| 29 |
+
worklog.md
|
Dockerfile
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ── Stage 1: Install dependencies ─────────────────────────────────────
|
| 2 |
+
FROM node:20-alpine AS deps
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copy package.json AND prisma schema (postinstall needs schema)
|
| 6 |
+
COPY package.json ./
|
| 7 |
+
COPY prisma ./prisma/
|
| 8 |
+
|
| 9 |
+
# Install deps without scripts (prisma generate runs in builder stage)
|
| 10 |
+
RUN npm install --ignore-scripts 2>/dev/null
|
| 11 |
+
|
| 12 |
+
# ── Stage 2: Build the Next.js app ────────────────────────────────────
|
| 13 |
+
FROM node:20-alpine AS builder
|
| 14 |
+
WORKDIR /app
|
| 15 |
+
|
| 16 |
+
COPY --from=deps /app/node_modules ./node_modules
|
| 17 |
+
COPY . .
|
| 18 |
+
|
| 19 |
+
# Generate Prisma client then build
|
| 20 |
+
RUN npx prisma generate
|
| 21 |
+
RUN npm run build
|
| 22 |
+
|
| 23 |
+
# ── Stage 3: Production ───────────────────────────────────────────────
|
| 24 |
+
FROM node:20-alpine AS runner
|
| 25 |
+
WORKDIR /app
|
| 26 |
+
|
| 27 |
+
ENV NODE_ENV=production
|
| 28 |
+
ENV PORT=7860
|
| 29 |
+
ENV HOSTNAME="0.0.0.0"
|
| 30 |
+
|
| 31 |
+
# Create db directory for SQLite
|
| 32 |
+
RUN mkdir -p /app/db
|
| 33 |
+
|
| 34 |
+
# Copy standalone output
|
| 35 |
+
COPY --from=builder /app/.next/standalone ./
|
| 36 |
+
COPY --from=builder /app/.next/static ./.next/static
|
| 37 |
+
COPY --from=builder /app/public ./public
|
| 38 |
+
|
| 39 |
+
# Copy Prisma schema + engine for db push on startup
|
| 40 |
+
COPY --from=builder /app/prisma ./prisma
|
| 41 |
+
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
|
| 42 |
+
COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma
|
| 43 |
+
COPY --from=builder /app/node_modules/prisma ./node_modules/prisma
|
| 44 |
+
|
| 45 |
+
EXPOSE 7860
|
| 46 |
+
|
| 47 |
+
# Entrypoint: init DB then start server
|
| 48 |
+
RUN printf '#!/bin/sh\nnpx prisma db push --skip-generate 2>&1 || true\nexec node /app/server.js\n' > /app/entrypoint.sh \
|
| 49 |
+
&& chmod +x /app/entrypoint.sh
|
| 50 |
+
|
| 51 |
+
CMD ["/app/entrypoint.sh"]
|
components.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://ui.shadcn.com/schema.json",
|
| 3 |
+
"style": "new-york",
|
| 4 |
+
"rsc": true,
|
| 5 |
+
"tsx": true,
|
| 6 |
+
"tailwind": {
|
| 7 |
+
"config": "",
|
| 8 |
+
"css": "src/app/globals.css",
|
| 9 |
+
"baseColor": "neutral",
|
| 10 |
+
"cssVariables": true,
|
| 11 |
+
"prefix": ""
|
| 12 |
+
},
|
| 13 |
+
"aliases": {
|
| 14 |
+
"components": "@/components",
|
| 15 |
+
"utils": "@/lib/utils",
|
| 16 |
+
"ui": "@/components/ui",
|
| 17 |
+
"lib": "@/lib",
|
| 18 |
+
"hooks": "@/hooks"
|
| 19 |
+
},
|
| 20 |
+
"iconLibrary": "lucide"
|
| 21 |
+
}
|
eslint.config.mjs
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
| 2 |
+
import nextTypescript from "eslint-config-next/typescript";
|
| 3 |
+
import { dirname } from "path";
|
| 4 |
+
import { fileURLToPath } from "url";
|
| 5 |
+
|
| 6 |
+
const __filename = fileURLToPath(import.meta.url);
|
| 7 |
+
const __dirname = dirname(__filename);
|
| 8 |
+
|
| 9 |
+
const eslintConfig = [...nextCoreWebVitals, ...nextTypescript, {
|
| 10 |
+
rules: {
|
| 11 |
+
// TypeScript rules
|
| 12 |
+
"@typescript-eslint/no-explicit-any": "off",
|
| 13 |
+
"@typescript-eslint/no-unused-vars": "off",
|
| 14 |
+
"@typescript-eslint/no-non-null-assertion": "off",
|
| 15 |
+
"@typescript-eslint/ban-ts-comment": "off",
|
| 16 |
+
"@typescript-eslint/prefer-as-const": "off",
|
| 17 |
+
"@typescript-eslint/no-unused-disable-directive": "off",
|
| 18 |
+
|
| 19 |
+
// React rules
|
| 20 |
+
"react-hooks/exhaustive-deps": "off",
|
| 21 |
+
"react-hooks/purity": "off",
|
| 22 |
+
"react/no-unescaped-entities": "off",
|
| 23 |
+
"react/display-name": "off",
|
| 24 |
+
"react/prop-types": "off",
|
| 25 |
+
"react-compiler/react-compiler": "off",
|
| 26 |
+
|
| 27 |
+
// Next.js rules
|
| 28 |
+
"@next/next/no-img-element": "off",
|
| 29 |
+
"@next/next/no-html-link-for-pages": "off",
|
| 30 |
+
|
| 31 |
+
// General JavaScript rules
|
| 32 |
+
"prefer-const": "off",
|
| 33 |
+
"no-unused-vars": "off",
|
| 34 |
+
"no-console": "off",
|
| 35 |
+
"no-debugger": "off",
|
| 36 |
+
"no-empty": "off",
|
| 37 |
+
"no-irregular-whitespace": "off",
|
| 38 |
+
"no-case-declarations": "off",
|
| 39 |
+
"no-fallthrough": "off",
|
| 40 |
+
"no-mixed-spaces-and-tabs": "off",
|
| 41 |
+
"no-redeclare": "off",
|
| 42 |
+
"no-undef": "off",
|
| 43 |
+
"no-unreachable": "off",
|
| 44 |
+
"no-useless-escape": "off",
|
| 45 |
+
},
|
| 46 |
+
}, {
|
| 47 |
+
ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts", "examples/**", "skills"]
|
| 48 |
+
}];
|
| 49 |
+
|
| 50 |
+
export default eslintConfig;
|
next.config.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { NextConfig } from "next";
|
| 2 |
+
|
| 3 |
+
const nextConfig: NextConfig = {
|
| 4 |
+
output: "standalone",
|
| 5 |
+
/* config options here */
|
| 6 |
+
typescript: {
|
| 7 |
+
ignoreBuildErrors: true,
|
| 8 |
+
},
|
| 9 |
+
reactStrictMode: false,
|
| 10 |
+
};
|
| 11 |
+
|
| 12 |
+
export default nextConfig;
|
package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "nextjs_tailwind_shadcn_ts",
|
| 3 |
+
"version": "0.2.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"scripts": {
|
| 6 |
+
"dev": "next dev -p 3000 2>&1 | tee dev.log",
|
| 7 |
+
"build": "next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/",
|
| 8 |
+
"start": "NODE_ENV=production node .next/standalone/server.js",
|
| 9 |
+
"start:bun": "NODE_ENV=production bun .next/standalone/server.js",
|
| 10 |
+
"lint": "eslint .",
|
| 11 |
+
"db:push": "prisma db push",
|
| 12 |
+
"db:generate": "prisma generate",
|
| 13 |
+
"db:migrate": "prisma migrate dev",
|
| 14 |
+
"db:reset": "prisma migrate reset",
|
| 15 |
+
"postinstall": "prisma generate",
|
| 16 |
+
"koyeb:build": "prisma generate && next build && cp -r .next/static .next/standalone/.next/ && cp -r public .next/standalone/",
|
| 17 |
+
"koyeb:start": "npx prisma db push --skip-generate 2>/dev/null; NODE_ENV=production node .next/standalone/server.js"
|
| 18 |
+
},
|
| 19 |
+
"dependencies": {
|
| 20 |
+
"@dnd-kit/core": "^6.3.1",
|
| 21 |
+
"@dnd-kit/sortable": "^10.0.0",
|
| 22 |
+
"@dnd-kit/utilities": "^3.2.2",
|
| 23 |
+
"@hookform/resolvers": "^5.1.1",
|
| 24 |
+
"@mdxeditor/editor": "^3.39.1",
|
| 25 |
+
"@prisma/client": "^6.11.1",
|
| 26 |
+
"@radix-ui/react-accordion": "^1.2.11",
|
| 27 |
+
"@radix-ui/react-alert-dialog": "^1.1.14",
|
| 28 |
+
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
| 29 |
+
"@radix-ui/react-avatar": "^1.1.10",
|
| 30 |
+
"@radix-ui/react-checkbox": "^1.3.2",
|
| 31 |
+
"@radix-ui/react-collapsible": "^1.1.11",
|
| 32 |
+
"@radix-ui/react-context-menu": "^2.2.15",
|
| 33 |
+
"@radix-ui/react-dialog": "^1.1.14",
|
| 34 |
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
| 35 |
+
"@radix-ui/react-hover-card": "^1.1.14",
|
| 36 |
+
"@radix-ui/react-label": "^2.1.7",
|
| 37 |
+
"@radix-ui/react-menubar": "^1.1.15",
|
| 38 |
+
"@radix-ui/react-navigation-menu": "^1.2.13",
|
| 39 |
+
"@radix-ui/react-popover": "^1.1.14",
|
| 40 |
+
"@radix-ui/react-progress": "^1.1.7",
|
| 41 |
+
"@radix-ui/react-radio-group": "^1.3.7",
|
| 42 |
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
| 43 |
+
"@radix-ui/react-select": "^2.2.5",
|
| 44 |
+
"@radix-ui/react-separator": "^1.1.7",
|
| 45 |
+
"@radix-ui/react-slider": "^1.3.5",
|
| 46 |
+
"@radix-ui/react-slot": "^1.2.3",
|
| 47 |
+
"@radix-ui/react-switch": "^1.2.5",
|
| 48 |
+
"@radix-ui/react-tabs": "^1.1.12",
|
| 49 |
+
"@radix-ui/react-toast": "^1.2.14",
|
| 50 |
+
"@radix-ui/react-toggle": "^1.1.9",
|
| 51 |
+
"@radix-ui/react-toggle-group": "^1.1.10",
|
| 52 |
+
"@radix-ui/react-tooltip": "^1.2.7",
|
| 53 |
+
"@reactuses/core": "^6.0.5",
|
| 54 |
+
"@tanstack/react-query": "^5.82.0",
|
| 55 |
+
"@tanstack/react-table": "^8.21.3",
|
| 56 |
+
"bcryptjs": "^3.0.3",
|
| 57 |
+
"class-variance-authority": "^0.7.1",
|
| 58 |
+
"clsx": "^2.1.1",
|
| 59 |
+
"cmdk": "^1.1.1",
|
| 60 |
+
"date-fns": "^4.1.0",
|
| 61 |
+
"embla-carousel-react": "^8.6.0",
|
| 62 |
+
"exceljs": "^4.4.0",
|
| 63 |
+
"framer-motion": "^12.23.2",
|
| 64 |
+
"input-otp": "^1.4.2",
|
| 65 |
+
"lucide-react": "^0.525.0",
|
| 66 |
+
"next": "^16.1.1",
|
| 67 |
+
"next-auth": "^4.24.11",
|
| 68 |
+
"next-intl": "^4.3.4",
|
| 69 |
+
"next-themes": "^0.4.6",
|
| 70 |
+
"prisma": "^6.11.1",
|
| 71 |
+
"react": "^19.0.0",
|
| 72 |
+
"react-day-picker": "^9.8.0",
|
| 73 |
+
"react-dom": "^19.0.0",
|
| 74 |
+
"react-hook-form": "^7.60.0",
|
| 75 |
+
"react-markdown": "^10.1.0",
|
| 76 |
+
"react-resizable-panels": "^3.0.3",
|
| 77 |
+
"react-syntax-highlighter": "^15.6.1",
|
| 78 |
+
"recharts": "^2.15.4",
|
| 79 |
+
"sharp": "^0.34.3",
|
| 80 |
+
"sonner": "^2.0.6",
|
| 81 |
+
"tailwind-merge": "^3.3.1",
|
| 82 |
+
"tailwindcss-animate": "^1.0.7",
|
| 83 |
+
"uuid": "^11.1.0",
|
| 84 |
+
"vaul": "^1.1.2",
|
| 85 |
+
"zod": "^4.4.3",
|
| 86 |
+
"zustand": "^5.0.6"
|
| 87 |
+
},
|
| 88 |
+
"devDependencies": {
|
| 89 |
+
"@tailwindcss/postcss": "^4",
|
| 90 |
+
"@types/bcryptjs": "^3.0.0",
|
| 91 |
+
"@types/react": "^19",
|
| 92 |
+
"@types/react-dom": "^19",
|
| 93 |
+
"@types/uuid": "^11.0.0",
|
| 94 |
+
"eslint": "^9",
|
| 95 |
+
"eslint-config-next": "^16.1.1",
|
| 96 |
+
"tailwindcss": "^4",
|
| 97 |
+
"tw-animate-css": "^1.3.5",
|
| 98 |
+
"typescript": "^5"
|
| 99 |
+
}
|
| 100 |
+
}
|
postcss.config.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const config = {
|
| 2 |
+
plugins: ["@tailwindcss/postcss"],
|
| 3 |
+
};
|
| 4 |
+
|
| 5 |
+
export default config;
|
tailwind.config.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Config } from "tailwindcss";
|
| 2 |
+
import tailwindcssAnimate from "tailwindcss-animate";
|
| 3 |
+
|
| 4 |
+
const config: Config = {
|
| 5 |
+
darkMode: "class",
|
| 6 |
+
content: [
|
| 7 |
+
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
|
| 8 |
+
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
| 9 |
+
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
| 10 |
+
],
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
background: 'hsl(var(--background))',
|
| 15 |
+
foreground: 'hsl(var(--foreground))',
|
| 16 |
+
card: {
|
| 17 |
+
DEFAULT: 'hsl(var(--card))',
|
| 18 |
+
foreground: 'hsl(var(--card-foreground))'
|
| 19 |
+
},
|
| 20 |
+
popover: {
|
| 21 |
+
DEFAULT: 'hsl(var(--popover))',
|
| 22 |
+
foreground: 'hsl(var(--popover-foreground))'
|
| 23 |
+
},
|
| 24 |
+
primary: {
|
| 25 |
+
DEFAULT: 'hsl(var(--primary))',
|
| 26 |
+
foreground: 'hsl(var(--primary-foreground))'
|
| 27 |
+
},
|
| 28 |
+
secondary: {
|
| 29 |
+
DEFAULT: 'hsl(var(--secondary))',
|
| 30 |
+
foreground: 'hsl(var(--secondary-foreground))'
|
| 31 |
+
},
|
| 32 |
+
muted: {
|
| 33 |
+
DEFAULT: 'hsl(var(--muted))',
|
| 34 |
+
foreground: 'hsl(var(--muted-foreground))'
|
| 35 |
+
},
|
| 36 |
+
accent: {
|
| 37 |
+
DEFAULT: 'hsl(var(--accent))',
|
| 38 |
+
foreground: 'hsl(var(--accent-foreground))'
|
| 39 |
+
},
|
| 40 |
+
destructive: {
|
| 41 |
+
DEFAULT: 'hsl(var(--destructive))',
|
| 42 |
+
foreground: 'hsl(var(--destructive-foreground))'
|
| 43 |
+
},
|
| 44 |
+
border: 'hsl(var(--border))',
|
| 45 |
+
input: 'hsl(var(--input))',
|
| 46 |
+
ring: 'hsl(var(--ring))',
|
| 47 |
+
chart: {
|
| 48 |
+
'1': 'hsl(var(--chart-1))',
|
| 49 |
+
'2': 'hsl(var(--chart-2))',
|
| 50 |
+
'3': 'hsl(var(--chart-3))',
|
| 51 |
+
'4': 'hsl(var(--chart-4))',
|
| 52 |
+
'5': 'hsl(var(--chart-5))'
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
borderRadius: {
|
| 56 |
+
lg: 'var(--radius)',
|
| 57 |
+
md: 'calc(var(--radius) - 2px)',
|
| 58 |
+
sm: 'calc(var(--radius) - 4px)'
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
plugins: [tailwindcssAnimate],
|
| 63 |
+
};
|
| 64 |
+
export default config;
|
tsconfig.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
"target": "ES2017",
|
| 4 |
+
"lib": [
|
| 5 |
+
"dom",
|
| 6 |
+
"dom.iterable",
|
| 7 |
+
"esnext"
|
| 8 |
+
],
|
| 9 |
+
"allowJs": true,
|
| 10 |
+
"skipLibCheck": true,
|
| 11 |
+
"strict": true,
|
| 12 |
+
"noEmit": true,
|
| 13 |
+
"noImplicitAny": false,
|
| 14 |
+
"esModuleInterop": true,
|
| 15 |
+
"module": "esnext",
|
| 16 |
+
"moduleResolution": "bundler",
|
| 17 |
+
"resolveJsonModule": true,
|
| 18 |
+
"isolatedModules": true,
|
| 19 |
+
"jsx": "react-jsx",
|
| 20 |
+
"incremental": true,
|
| 21 |
+
"plugins": [
|
| 22 |
+
{
|
| 23 |
+
"name": "next"
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"paths": {
|
| 27 |
+
"@/*": [
|
| 28 |
+
"./src/*"
|
| 29 |
+
]
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"include": [
|
| 33 |
+
"next-env.d.ts",
|
| 34 |
+
"**/*.ts",
|
| 35 |
+
"**/*.tsx",
|
| 36 |
+
".next/types/**/*.ts",
|
| 37 |
+
".next/dev/types/**/*.ts"
|
| 38 |
+
],
|
| 39 |
+
"exclude": [
|
| 40 |
+
"node_modules"
|
| 41 |
+
]
|
| 42 |
+
}
|