This commit is contained in:
sijinhui 2024-04-12 16:41:10 +08:00
parent 9fa4ed27bb
commit 7185111cb5
2 changed files with 11 additions and 6 deletions

View File

@ -21,7 +21,7 @@
"@hello-pangea/dnd": "^16.5.0",
"@next-auth/prisma-adapter": "^1.0.7",
"@next/third-parties": "^14.1.0",
"@prisma/client": "5.11.0",
"@prisma/client": "5.12.1",
"@svgr/webpack": "^8.1.0",
"@vercel/analytics": "^1.1.2",
"@vercel/speed-insights": "^1.0.9",
@ -80,7 +80,7 @@
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.11",
"prisma": "^5.11.0",
"prisma": "^5.12.1",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.3.3",

View File

@ -1,11 +1,16 @@
#!/bin/bash
yarn config set registry 'https://registry.npmmirror.com/'
yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
# 加速
#yarn config set registry 'https://registry.npmmirror.com/'
#yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
#yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
# 官方
yarn config delete registry
yarn config delete sharp_binary_host
yarn config delete sharp_libvips_binary_host
#yarn cache clean
yes | yarn install
yarn install
yarn run build
mkdir -p "./node_modules/tiktoken"