Skip to content

Commit 0e6034a

Browse files
author
chufan
committed
perf: CI脚本添加pnpm下载,导航栏配置文件优化
1 parent 0bf5ce8 commit 0e6034a

8 files changed

Lines changed: 35 additions & 35 deletions

File tree

docs/manuscripts/battle-interview/battle-interview.sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const battleInterviewSidebar = [
22
{
33
text: '面经分享',
4-
prefix:"problems",
4+
prefix: 'problems',
55
children: [
66
{
77
text: '接口幂等',

docs/manuscripts/develop-skill/develop-skill.sidebar.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ export const developSkillSidebar = [
55
},
66
{
77
text: 'npm&pnpm&yarn',
8-
link: 'package-manager.md',
8+
link: 'package-manager.md'
99
},
1010
{
1111
text: 'monorepo',
12-
link:"monorepo.md",
12+
link: 'monorepo.md'
1313
},
1414
{
1515
text: '编译工具',
1616
// collapsible: true,
17-
prefix:"build-tools",
17+
prefix: 'build-tools',
1818
children: [
1919
{
2020
text: 'webpack',
@@ -28,11 +28,11 @@ export const developSkillSidebar = [
2828
},
2929
{
3030
text: '代码管理',
31-
prefix:"code-manager",
31+
prefix: 'code-manager',
3232
children: [
3333
{
3434
text: 'GIT',
35-
link:"git.md",
35+
link: 'git.md'
3636
},
3737
{
3838
text: '托管平台',
@@ -55,7 +55,7 @@ export const developSkillSidebar = [
5555
{
5656
text: '代码风格',
5757
// collapsible: true,
58-
prefix: "code-style",
58+
prefix: 'code-style',
5959
children: [
6060
{
6161
text: 'Eslint',

docs/manuscripts/front-end/front-end.sidebar.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ export const frontEndSidebar = [
1414
{
1515
text: '前端框架',
1616
collapsible: true,
17-
prefix:"front-framework",
17+
prefix: 'front-framework',
1818
children: [
1919
{
2020
text: 'Vue',
21-
link: "vue.md"
21+
link: 'vue.md'
2222
},
2323
{
2424
text: 'Nuxt',
@@ -37,7 +37,7 @@ export const frontEndSidebar = [
3737
{
3838
text: 'UI框架',
3939
// collapsible: true,
40-
prefix:"ui-framework",
40+
prefix: 'ui-framework',
4141
children: [
4242
{
4343
text: 'Ant-Design-Vue',
@@ -68,7 +68,7 @@ export const frontEndSidebar = [
6868
},
6969
{
7070
text: '服务部署',
71-
prefix: "server-deploy",
71+
prefix: 'server-deploy',
7272
children: [
7373
{
7474
text: '静态文件部署',

docs/manuscripts/microservice/microservice.sidebar.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const microserviceSidebar = [
99
{
1010
text: 'node-grpc',
1111
link: 'node-grpc.md'
12-
},
12+
}
1313
]
1414
},
1515
{
@@ -36,29 +36,29 @@ export const microserviceSidebar = [
3636
},
3737
{
3838
text: 'ELK',
39-
prefix: "elk",
39+
prefix: 'elk',
4040
children: [
4141
{
42-
text: "Elasticsearch",
43-
link:"elasticsearch.md"
42+
text: 'Elasticsearch',
43+
link: 'elasticsearch.md'
4444
},
4545
{
46-
text: "Kibana",
47-
link:"kibana.md"
46+
text: 'Kibana',
47+
link: 'kibana.md'
4848
},
4949
{
50-
text: "Logstash",
51-
link:"logstash.md"
50+
text: 'Logstash',
51+
link: 'logstash.md'
5252
},
5353
{
54-
text: "Filebeat",
55-
link:"filebeat.md"
54+
text: 'Filebeat',
55+
link: 'filebeat.md'
5656
}
5757
]
5858
},
5959
{
6060
text: '消息中间件',
61-
prefix: "mq",
61+
prefix: 'mq',
6262
children: [
6363
{
6464
text: 'RabbitMQ',
@@ -76,7 +76,7 @@ export const microserviceSidebar = [
7676
},
7777
{
7878
text: '容器相关',
79-
prefix:"",
79+
prefix: '',
8080
children: [
8181
{
8282
text: 'docker',

docs/manuscripts/other/other.sidebar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ export const OtherSidebar = [
1414
{
1515
text: '网站动态',
1616
link: 'big-event-history.md'
17-
},
17+
}
1818
]

docs/manuscripts/read-books/read-books.sidebar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const readBooksSidebar = [
22
{
33
text: '技术类',
4-
prefix:"cs-books",
4+
prefix: 'cs-books',
55
children: [
66
{
77
text: 'ES6标准入门',
@@ -32,7 +32,7 @@ export const readBooksSidebar = [
3232
},
3333
{
3434
text: '非技术类',
35-
prefix: "not-cs-book",
35+
prefix: 'not-cs-book',
3636
children: [
3737
{
3838
text: '你好,孤独',

docs/manuscripts/server-end/server-end.sidebar.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { redisSidebar } from './database/redis/redis.sidebar'
33
export const serverEndSidebar = [{
44
text: 'Node.js',
55
// collapsible: true,
6-
prefix: "node-learn",
6+
prefix: 'node-learn',
77
children: [
88
{
99
text: '常用模块包',
@@ -45,7 +45,7 @@ export const serverEndSidebar = [{
4545
{
4646
text: '开发知识',
4747
collapsible: true,
48-
prefix: "base",
48+
prefix: 'base',
4949
children: [
5050
{
5151
text: 'RestFul风格',
@@ -72,7 +72,7 @@ export const serverEndSidebar = [{
7272
{
7373
text: '常用框架',
7474
collapsible: true,
75-
prefix: "framework",
75+
prefix: 'framework',
7676
children: [
7777
{
7878
text: 'Express',
@@ -114,7 +114,7 @@ export const serverEndSidebar = [{
114114
{
115115
text: '数据库',
116116
// collapsible: true,
117-
prefix: "database",
117+
prefix: 'database',
118118
children: [
119119
{
120120
text: 'Redis',
@@ -166,7 +166,7 @@ export const serverEndSidebar = [{
166166
{
167167
text: 'Linux操作',
168168
collapsible: true,
169-
prefix:"linux",
169+
prefix: 'linux',
170170
children: [
171171
{
172172
text: '基本指令',
@@ -193,13 +193,13 @@ export const serverEndSidebar = [{
193193
link: 'linux/curl.md'
194194
}
195195
]
196-
},
196+
}
197197
]
198198
},
199199
{
200200
text: '建站技能',
201201
collapsible: true,
202-
prefix: "build-website",
202+
prefix: 'build-website',
203203
children: [
204204
{
205205
text: 'SSL证书配置',
@@ -220,7 +220,7 @@ export const serverEndSidebar = [{
220220
{
221221
text: '配置gzip',
222222
link: 'nginx-gzip.md'
223-
},
223+
}
224224
]
225225
}
226226

scripts/ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
## 安装依赖
4-
pnpm i --frozen-lockfile --registry https://registry.npmmirror.com
4+
npm i -g pnpm@7 && pnpm i --frozen-lockfile --registry https://registry.npmmirror.com

0 commit comments

Comments
 (0)