Skip to content

Commit e2f5a5e

Browse files
author
Chu Fan
committed
chore: 导航栏更新
1 parent fc602dd commit e2f5a5e

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npm run lintfix && git add -p
4+
npm run lintfix
Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
export const soloAlgorithmSidebar = [
2-
{
3-
text: '面试必须刷101',
4-
link: 'interview-101'
5-
},
6-
{
7-
text: '剑指Offer',
8-
link: 'sword-point'
9-
},
10-
{
11-
text: 'Shell篇',
12-
link: 'shell'
13-
},
14-
{
15-
text: '在线刷题',
16-
children: [
17-
{
18-
text: '牛客网',
19-
link: 'https://www.nowcoder.com/'
20-
},
21-
{
22-
text: 'LeetCode',
23-
link: 'https://leetcode-cn.com/'
24-
},
25-
{
26-
text: '杭电OJ',
27-
link: 'http://acm.hdu.edu.cn/'
28-
}
29-
]
30-
}
2+
{
3+
text: '面试必须刷101',
4+
link: 'interview-101'
5+
},
6+
{
7+
text: '剑指Offer',
8+
link: 'sword-point'
9+
},
10+
{
11+
text: 'Shell篇',
12+
link: 'shell'
13+
},
14+
{
15+
text: '在线刷题',
16+
children: [
17+
{
18+
text: '牛客网',
19+
link: 'https://www.nowcoder.com/'
20+
},
21+
{
22+
text: 'LeetCode',
23+
link: 'https://leetcode-cn.com/'
24+
},
25+
{
26+
text: '杭电OJ',
27+
link: 'http://acm.hdu.edu.cn/'
28+
}
29+
]
30+
}
3131
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "0.0.2",
77
"description": "一本有趣的JavaScript合集",
88
"scripts": {
9-
"prepare": "rm -rf .husky && husky install && npx husky add .husky/pre-commit \"npm run lintfix && git add -p\" && chmod +x .husky/pre-commit",
9+
"prepare": "rm -rf .husky && husky install && npx husky add .husky/pre-commit \"npm run lintfix\" && chmod +x .husky/pre-commit",
1010
"clean": "find . -name \"node_modules\" -type d -exec rm -rf '{}' + && rm -rf docs/.vuepress/dist",
1111
"dev": "vuepress dev docs",
1212
"build": "vuepress build docs",

0 commit comments

Comments
 (0)