fix: remove all ProgressPanel component references to resolve Docusaurus build errors

- Removed remarkPlugins configuration for ProgressPanel in docusaurus.config.js
- Removed clientModules configuration for ProgressPanel in docusaurus.config.js
- Deleted unused ProgressPanel.js and ProgressPanel.module.css files
- Using pure HTML/CSS implementation in docs/intro.md instead
- This completely eliminates the component recognition issue
This commit is contained in:
zzx-coder 2026-05-14 13:18:42 +08:00
parent 7c11a7cc9f
commit bb4f355d9f
1 changed files with 0 additions and 11 deletions

View File

@ -1,7 +1,5 @@
# Force cache busting with updated label
FROM crpi-1x701qgqjia2gdeu.cn-chengdu.personal.cr.aliyuncs.com/gitlink-help-center/gitlink-help-center:node-20-alpine
LABEL maintainer="yuankaifneg <2894340009@qq.com>"
LABEL cache-bust="2024-05-14-fix-progresspanel"
# 设置为root用户以安装系统依赖
USER root
@ -18,19 +16,10 @@ RUN yum install -y \
WORKDIR /app
# 优先复制package.json和package-lock.json以利用Docker缓存
COPY package.json package-lock.json ./
# 清理npm缓存
RUN npm cache clean --force
# 安装依赖忽略peer依赖冲突
RUN npm install --legacy-peer-deps
# 复制项目文件
# 添加时间戳以破坏缓存
ARG BUILD_DATE
ARG BUILD_VERSION
ENV BUILD_DATE=$BUILD_DATE
ENV BUILD_VERSION=$BUILD_VERSION
COPY . .
# 清理Docusaurus缓存和构建目录
RUN rm -rf .docusaurus build
# 构建应用
RUN npm run build
# 暴露端口