Skip to content

Commit 8abb694

Browse files
committed
⬆️ 升级 vitepress & pnpm 版本
vitepress from 1.5.0 to 2.0.0-alpha.13 pnpm from 9.15.0 to 10.22.0
1 parent 8051683 commit 8abb694

File tree

8 files changed

+619
-761
lines changed

8 files changed

+619
-761
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
node-version: [18.x]
20+
node-version: [20.x]
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222

2323
steps:
2424
- uses: actions/checkout@v4
2525
- uses: pnpm/action-setup@v2
2626
with:
27-
version: 9.15.4
27+
version: 10.22.0
2828
- name: Use Node.js ${{ matrix.node-version }}
2929
uses: actions/setup-node@v4
3030
with:

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
- uses: actions/checkout@v4
3535
- uses: pnpm/action-setup@v2
3636
with:
37-
version: 9.15.4
38-
- name: Use Node.js 18
37+
version: 10.22.0
38+
- name: Use Node.js 20
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: 18
41+
node-version: 20
4242
cache: 'pnpm'
4343
- name: Install pnpm dependencies
4444
run: pnpm install

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# BallCat Projects 文档仓库
1+
# Ballcat Projects 文档仓库
22

33
## 如何在本地编辑和预览该网站
44

55
本项目要求:
66

7-
- Node.js 为 `v18` 或更高版本
8-
- pnpm 为 `v8` 或更高版本
7+
- Node.js 为 `v20` 或更高版本
8+
- pnpm 为 `v10` 或更高版本
99

1010
本站基于 [VitePress](https://github.com/vuejs/vitepress)[@vue/theme](https://github.com/vuejs/vue-theme) 建立。网站内容以 Markdown 格式书写,位于 `docs` 文件夹中。
1111

docs/guide/feature/api-signature.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ spring boot 环境下,可以直接引入 ballcat-spring-boot-starter-apisignat
169169

170170
| 配置项 | 数据类型 | 默认值 | 描述 |
171171
|---------------------------------------------|--------------|------------------|--------------------------------------------------|
172-
| `wd.api.signature.include-url-pattens` | List\<String\> | `["/**"]` | 需要进行签名校验的 URL 规则列表。 |
173-
| `wd.api.signature.exclude-url-pattens` | List\<String\> | `[]` | 不需要进行签名校验的 URL 规则列表,优先级高于 `include-url-pattens`|
174-
| `wd.api.signature.uri-prefix` | String || 请求 URI 的前缀字符串,当经过网关或 Nginx 时,恢复被重写的 URI。 |
175-
| `wd.api.signature.signature-header` | String | `X-Signature` | 存放签名信息的请求头名称。 |
176-
| `wd.api.signature.timestamp-header` | String | `X-Timestamp` | 存放请求时间戳的请求头名称。 |
177-
| `wd.api.signature.nonce-header` | String | `X-Nonce` | 存放32位随机字符串的请求头名称。 |
178-
| `wd.api.signature.access-key-header` | String | `X-Access-Key` | 存放请求方标识的请求头名称。 |
179-
| `wd.api.signature.timestamp-diff-threshold` | long | `300000` (5 分钟) | 请求时间戳和服务器时间戳允许的最大时间差(毫秒)。 |
180-
| `wd.api.signature.nonce-timeout` | long | `900000` (15 分钟) | `nonce` 随机字符串的存储过期时长(毫秒)。 |
181-
| `wd.api.signature.nonce-timeout-unit` | TimeUnit | `MILLISECONDS` | `nonce-timeout` 的时间单位,默认为毫秒。 |
172+
| `ballcat.api.signature.include-url-pattens` | List\<String\> | `["/**"]` | 需要进行签名校验的 URL 规则列表。 |
173+
| `ballcat.api.signature.exclude-url-pattens` | List\<String\> | `[]` | 不需要进行签名校验的 URL 规则列表,优先级高于 `include-url-pattens`|
174+
| `ballcat.api.signature.uri-prefix` | String || 请求 URI 的前缀字符串,当经过网关或 Nginx 时,恢复被重写的 URI。 |
175+
| `ballcat.api.signature.signature-header` | String | `X-Signature` | 存放签名信息的请求头名称。 |
176+
| `ballcat.api.signature.timestamp-header` | String | `X-Timestamp` | 存放请求时间戳的请求头名称。 |
177+
| `ballcat.api.signature.nonce-header` | String | `X-Nonce` | 存放32位随机字符串的请求头名称。 |
178+
| `ballcat.api.signature.access-key-header` | String | `X-Access-Key` | 存放请求方标识的请求头名称。 |
179+
| `ballcat.api.signature.timestamp-diff-threshold` | long | `300000` (5 分钟) | 请求时间戳和服务器时间戳允许的最大时间差(毫秒)。 |
180+
| `ballcat.api.signature.nonce-timeout` | long | `900000` (15 分钟) | `nonce` 随机字符串的存储过期时长(毫秒)。 |
181+
| `ballcat.api.signature.nonce-timeout-unit` | TimeUnit | `MILLISECONDS` | `nonce-timeout` 的时间单位,默认为毫秒。 |

docs/guide/feature/operation-log.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Boolean orderSubmit(Order order) {
142142
* 追踪ID,支持使用 SpEL 表达式。
143143
* </p>
144144
* 默认通过 defaultTraceIdProvider 获取当前操作人信息。
145-
* @see com.woody.framework.operationlog.provider.DefaultTraceIdProvider
145+
* @see org.ballcat.operationlog.provider.DefaultTraceIdProvider
146146
*/
147147
String traceId() default "#{@defaultTraceIdProvider.get()}";
148148
```
@@ -268,7 +268,7 @@ public class OperationLogInfo {
268268

269269
/**
270270
* 操作状态。 1:成功 0:失败 -1:执行异常
271-
* @see com.woody.framework.operationlog.enums.OperationStatusEnum
271+
* @see org.ballcat.operationlog.enums.OperationStatusEnum
272272
*/
273273
private Integer status;
274274

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
"author": "Hccake <[email protected]>",
55
"license": "MIT",
66
"type": "module",
7-
"packageManager": "pnpm@9.15.0",
7+
"packageManager": "pnpm@10.22.0",
88
"engines": {
9-
"node": ">=18.0.0",
10-
"pnpm": ">=9"
9+
"node": ">=20.0.0",
10+
"pnpm": ">=10"
1111
},
1212
"scripts": {
13-
"docs:dev": "vitepress dev docs --host",
13+
"docs:dev": "vitepress dev docs",
1414
"docs:build": "vitepress build docs",
1515
"docs:preview": "vitepress preview docs"
1616
},
1717
"devDependencies": {
18-
"vitepress": "1.5.0"
18+
"vitepress": "2.0.0-alpha.13"
1919
}
2020
}

0 commit comments

Comments
 (0)