Commit d714b6a4 authored by liziwl's avatar liziwl
Browse files

build(pnpm): 升级 pnpm 版本至 v10 并更新 Node.js 版本要求

升级项目中使用的 pnpm 版本从 v9 到 v10,并将 Node.js 的最低版本要求从
v18 更新为 v24。同时更新了相关依赖项以确保与新环境兼容,包括 `marked`、
`sass-embedded`、`@turf/turf`、`axios`、`maplibre-gl`、`pmtiles` 和 `vue`。

此外,更新了 README.md 中的编译版本说明,以反映新的 Node.js 版本要求。
parent 809cef69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ jobs:
    - uses: pnpm/action-setup@v4
      name: Install pnpm
      with:
        version: 9
        version: 10
        # pnpm、node兼容性矩阵:https://pnpm.io/installation#compatibility

    - name: Install Dependencies
+1 −1
Original line number Diff line number Diff line
v18
 No newline at end of file
v24
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ Online manual for SUSTecher.

### 编译版本

* nodejs版本:18
* nodejs版本:v24
* 推荐包管理器:pnpm
  * 安装依赖:pnpm install
  * 升级依赖:pnpm up
+7 −7
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
    "@vuepress/plugin-toc": "next",
    "@vuepress/theme-default": "next",
    "ant-design-vue": "^4.2.6",
    "marked": "^16.0.0",
    "sass-embedded": "^1.83.0",
    "marked": "^16.4.2",
    "sass-embedded": "^1.93.3",
    "vue-echarts": "~6.2.4",
    "vuepress": "next"
  },
@@ -26,12 +26,12 @@
    "docs:clean": "rm -rf docs/.vuepress/.cache docs/.vuepress/.temp docs/.vuepress/dist"
  },
  "dependencies": {
    "@turf/turf": "^7.2.0",
    "axios": "^1.7.9",
    "@turf/turf": "^7.3.1",
    "axios": "^1.13.2",
    "download": "^8.0.0",
    "echarts": "^5.6.0",
    "maplibre-gl": "^5.0.1",
    "pmtiles": "^4.2.1",
    "vue": "^3.5.13"
    "maplibre-gl": "^5.13.0",
    "pmtiles": "^4.3.0",
    "vue": "^3.5.25"
  }
}
+4156 −3790

File changed.

File size exceeds preview limit.