diff --git a/.gitignore b/.gitignore index 37f6b9029..40de7d86c 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,6 @@ dev public/prompts.json .vscode -.idea \ No newline at end of file +.idea + +pnpm-lock.yaml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 7ed7bc155..0b1462c2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app COPY package.json yarn.lock ./ -RUN yarn config set registry 'https://registry.npm.taobao.org' +RUN yarn config set registry 'https://registry.npmmirror.com' RUN yarn install FROM base AS builder diff --git a/app/components/home.tsx b/app/components/home.tsx index 828b7576a..a3870f541 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -1,6 +1,6 @@ "use client"; -require("../polyfill"); +import "../polyfill.ts"; import { useState, useEffect, useRef } from "react"; diff --git a/package.json b/package.json index 19047ad11..acca33ce2 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "emoji-picker-react": "^4.4.7", "eventsource-parser": "^0.1.0", "fuse.js": "^6.6.2", - "next": "^13.3.1-canary.8", + "next": "^13.3.0", "node-fetch": "^3.3.1", "openai": "^3.2.1", "react": "^18.2.0",