Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cc768eb

Browse files
feat: bump deps
1 parent b286e7f commit cc768eb

File tree

6 files changed

+3879
-2975
lines changed

6 files changed

+3879
-2975
lines changed

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ jobs:
1414

1515
- name: Install pnpm
1616
uses: pnpm/action-setup@v4
17-
with:
18-
run_install: true
1917

2018
- name: Setup Node.js
2119
uses: actions/setup-node@v4
2220
with:
23-
node-version: 20.17.0
21+
node-version: 22
2422
cache: pnpm
2523

24+
- name: Install deps
25+
run: pnpm install --frozen-lockfile
26+
2627
- name: Build test
2728
env:
2829
NODE_OPTIONS: --max_old_space_size=4096

‎docs/.vuepress/theme.ts‎

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,25 @@ export default hopeTheme({
4141
},
4242
},
4343

44+
markdown: {
45+
align: true,
46+
codeTabs: true,
47+
gfm: true,
48+
include: {
49+
resolvePath: (file, cwd) => {
50+
if (file.startsWith("@"))
51+
return path.resolve(
52+
__dirname,
53+
"../snippets",
54+
file.replace("@", "./"),
55+
);
56+
57+
return path.resolve(cwd, file);
58+
},
59+
},
60+
tasklist: true,
61+
},
62+
4463
plugins: {
4564
blog: true,
4665

@@ -59,28 +78,6 @@ export default hopeTheme({
5978
rss: true,
6079
},
6180

62-
markdownTab: {
63-
codeTabs: true,
64-
},
65-
66-
mdEnhance: {
67-
align: true,
68-
gfm: true,
69-
include: {
70-
resolvePath: (file, cwd) => {
71-
if (file.startsWith("@"))
72-
return path.resolve(
73-
__dirname,
74-
"../snippets",
75-
file.replace("@", "./"),
76-
);
77-
78-
return path.resolve(cwd, file);
79-
},
80-
},
81-
tasklist: true,
82-
},
83-
8481
search: {
8582
isSearchable: (page) => page.path !== "/",
8683
maxSuggestions: 10,

‎docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ CREATE [OR REPLACE] [ALGORITHM = {UNDEFINED | MERGE | TEMPTABLE}] VIEW view_name
621621

622622
### 锁表
623623

624-
```mysql
624+
```sql
625625
/* 锁表 */
626626
表锁定只用于防止其它客户端进行不正当地读取和写入
627627
MyISAM 支持表锁,InnoDB 支持行锁
@@ -633,7 +633,7 @@ MyISAM 支持表锁,InnoDB 支持行锁
633633

634634
### 触发器
635635

636-
```mysql
636+
```sql
637637
/* 触发器 */ ------------------
638638
触发程序是与表有关的命名数据库对象,当该表出现特定事件时,将激活该对象
639639
监听:记录的增加、修改、删除。
@@ -686,7 +686,7 @@ end
686686

687687
### SQL 编程
688688

689-
```mysql
689+
```sql
690690
/* SQL编程 */ ------------------
691691
--// 局部变量 ----------
692692
-- 变量声明
@@ -821,7 +821,7 @@ INOUT,表示混合型
821821

822822
### 存储过程
823823

824-
```mysql
824+
```sql
825825
/* 存储过程 */ ------------------
826826
存储过程是一段可执行性代码的集合。相比函数,更偏向于业务逻辑。
827827
调用:CALL 过程名
@@ -842,7 +842,7 @@ END
842842

843843
### 用户和权限管理
844844

845-
```mysql
845+
```sql
846846
/* 用户和权限管理 */ ------------------
847847
-- root密码重置
848848
1. 停止MySQL服务
@@ -924,7 +924,7 @@ GRANT OPTION -- 允许授予权限
924924

925925
### 表维护
926926

927-
```mysql
927+
```sql
928928
/* 表维护 */
929929
-- 分析和存储表的关键字分布
930930
ANALYZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE 表名 ...
@@ -937,7 +937,7 @@ OPTIMIZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE tbl_name [, tbl_name] ...
937937

938938
### 杂项
939939

940-
```mysql
940+
```sql
941941
/* 杂项 */ ------------------
942942
1. 可用反引号(`)为标识符(库名、表名、字段名、索引、别名)包裹,以避免与关键字重名!中文也可以作为标识符!
943943
2. 每个库目录存在一个保存当前数据库的选项文件db.opt。

‎docs/java/concurrent/java-concurrent-questions-03.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ public class ThreadPoolTest {
405405

406406
输出:
407407

408-
```ba
408+
```bash
409409
18:19:48.203 INFO [pool-1-thread-1] c.j.concurrent.ThreadPoolTest - 核心线程执行第一个任务
410410
18:19:48.203 INFO [pool-1-thread-2] c.j.concurrent.ThreadPoolTest - 非核心线程处理第三个任务
411411
18:19:48.203 INFO [main] c.j.concurrent.ThreadPoolTest - 主线程处理第四个任务

‎package.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@
1919
"**/*": "prettier --write --ignore-unknown",
2020
".md": "markdownlint-cli2"
2121
},
22-
"packageManager": "pnpm@9.11.0",
2322
"dependencies": {
24-
"@vuepress/bundler-vite": "2.0.0-rc.15",
25-
"@vuepress/plugin-feed": "2.0.0-rc.3",
26-
"@vuepress/plugin-search": "2.0.0-rc.47",
27-
"husky": "9.1.6",
28-
"markdownlint-cli2": "0.14.0",
23+
"@vuepress/bundler-vite": "2.0.0-rc.19",
24+
"@vuepress/plugin-feed": "2.0.0-rc.66",
25+
"@vuepress/plugin-search": "2.0.0-rc.66",
26+
"husky": "9.1.7",
27+
"markdownlint-cli2": "0.16.0",
2928
"mathjax-full": "3.2.2",
3029
"nano-staged": "0.8.0",
31-
"nodejs-jieba": "0.1.2",
32-
"prettier": "3.3.3",
33-
"sass-embedded": "1.79.3",
34-
"vue": "^3.5.8",
35-
"vuepress": "2.0.0-rc.15",
36-
"vuepress-theme-hope": "2.0.0-rc.56"
37-
}
30+
"nodejs-jieba": "0.2.1",
31+
"prettier": "3.4.2",
32+
"sass-embedded": "1.83.0",
33+
"vue": "^3.5.13",
34+
"vuepress": "2.0.0-rc.19",
35+
"vuepress-theme-hope": "2.0.0-rc.64"
36+
},
37+
"packageManager": "pnpm@9.15.0"
3838
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /