新的结构

This commit is contained in:
BOBEVANS\caiwe 2023-04-17 23:49:36 +08:00
parent 78c9e66c1f
commit afdb29b5ec
4 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View File

@ -40,3 +40,5 @@ public/prompts.json
.vscode .vscode
.idea .idea
pnpm-lock.yaml

View File

@ -8,7 +8,7 @@ WORKDIR /app
COPY package.json yarn.lock ./ 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 RUN yarn install
FROM base AS builder FROM base AS builder

View File

@ -1,6 +1,6 @@
"use client"; "use client";
require("../polyfill"); import "../polyfill.ts";
import { useState, useEffect, useRef } from "react"; import { useState, useEffect, useRef } from "react";

View File

@ -19,7 +19,7 @@
"emoji-picker-react": "^4.4.7", "emoji-picker-react": "^4.4.7",
"eventsource-parser": "^0.1.0", "eventsource-parser": "^0.1.0",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"next": "^13.3.1-canary.8", "next": "^13.3.0",
"node-fetch": "^3.3.1", "node-fetch": "^3.3.1",
"openai": "^3.2.1", "openai": "^3.2.1",
"react": "^18.2.0", "react": "^18.2.0",