build: 更新Docker基础镜像和前端依赖版本
将api.Dockerfile的基础镜像从python:3.11-slim升级到3.12-slim 更新前端项目名称和版本号,并升级所有依赖包到最新版本
This commit is contained in:
parent
08ac557028
commit
c47d0e9aab
@ -1,5 +1,5 @@
|
|||||||
# 使用轻量级Python基础镜像
|
# 使用轻量级Python基础镜像
|
||||||
FROM python:3.11-slim
|
FROM python:3.12-slim
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.7.2 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.7.2 /uv /uvx /bin/
|
||||||
|
|
||||||
# 设置工作目录
|
# 设置工作目录
|
||||||
@ -38,6 +38,7 @@ ENV HTTP_PROXY=$HTTP_PROXY \
|
|||||||
http_proxy=$HTTP_PROXY \
|
http_proxy=$HTTP_PROXY \
|
||||||
https_proxy=$HTTPS_PROXY
|
https_proxy=$HTTPS_PROXY
|
||||||
|
|
||||||
|
# 如果网络还是不好,可以在后面添加 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
uv sync --no-dev --no-install-project
|
uv sync --no-dev --no-install-project
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yuxi-know-frontend",
|
"name": "yuxi-know-web",
|
||||||
"version": "0.2.0.dev",
|
"version": "0.2.1.web",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
@ -12,39 +12,38 @@
|
|||||||
"format": "prettier --write src/"
|
"format": "prettier --write src/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons-vue": "^6.1.0",
|
"@ant-design/icons-vue": "^7.0.1",
|
||||||
"@antv/g6": "^5.0.47",
|
"@antv/g6": "^5.0.49",
|
||||||
"@sigma/edge-curve": "^3.1.0",
|
"@sigma/edge-curve": "^3.1.0",
|
||||||
"@sigma/node-border": "^3.0.0",
|
"@sigma/node-border": "^3.0.0",
|
||||||
"@vueuse/core": "^13.2.0",
|
"@vueuse/core": "^13.9.0",
|
||||||
"ant-design-vue": "^4.2.6",
|
"ant-design-vue": "^4.2.6",
|
||||||
"axios": "^1.9.0",
|
|
||||||
"d3": "^7.9.0",
|
"d3": "^7.9.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.18",
|
||||||
"echarts": "^5.6.0",
|
"echarts": "^6.0.0",
|
||||||
"echarts-gl": "^2.0.9",
|
"echarts-gl": "^2.0.9",
|
||||||
"graphology": "^0.26.0",
|
"graphology": "^0.26.0",
|
||||||
"graphology-generators": "^0.11.2",
|
"graphology-generators": "^0.11.2",
|
||||||
"highlight.js": "^11.11.1",
|
"highlight.js": "^11.11.1",
|
||||||
"less": "^4.3.0",
|
"less": "^4.4.1",
|
||||||
"lucide-vue-next": "^0.511.0",
|
"lucide-vue-next": "^0.542.0",
|
||||||
"marked": "^15.0.11",
|
"marked": "^16.2.1",
|
||||||
"marked-highlight": "^2.2.1",
|
"marked-highlight": "^2.2.2",
|
||||||
"md-editor-v3": "^5.5.1",
|
"md-editor-v3": "^5.8.4",
|
||||||
"pinia": "^3.0.2",
|
"pinia": "^3.0.3",
|
||||||
"sigma": "^3.0.1",
|
"sigma": "^3.0.2",
|
||||||
"vue": "^3.5.14",
|
"vue": "^3.5.21",
|
||||||
"vue-router": "^4.5.1"
|
"vue-router": "^4.5.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rushstack/eslint-patch": "^1.11.0",
|
"@rushstack/eslint-patch": "^1.12.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.4",
|
"@vitejs/plugin-vue": "^6.0.1",
|
||||||
"@vue/eslint-config-prettier": "^10.2.0",
|
"@vue/eslint-config-prettier": "^10.2.0",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.34.0",
|
||||||
"eslint-plugin-vue": "^10.1.0",
|
"eslint-plugin-vue": "^10.4.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.6.2",
|
||||||
"vite": "^6.3.5",
|
"vite": "^7.1.4",
|
||||||
"vue-eslint-parser": "^10.1.3"
|
"vue-eslint-parser": "^10.2.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.11.0"
|
"packageManager": "pnpm@10.11.0"
|
||||||
}
|
}
|
||||||
|
|||||||
1848
web/pnpm-lock.yaml
1848
web/pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user