Skip to content

Commit 0403576

Browse files
authored
Merge pull request #1 from vuepress-reco/develop
Keep updated with upstream
2 parents 2c93403 + e6bcfb0 commit 0403576

File tree

126 files changed

+12503
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+12503
-279
lines changed

.cz-config.js

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
'use strict';
2+
3+
module.exports = {
4+
5+
types: [
6+
{
7+
value: 'WIP',
8+
name: '💪 WIP: 未完待续'
9+
},
10+
{
11+
value: 'feat',
12+
name: '✨ feat: 新的功能'
13+
},
14+
{
15+
value: 'fix',
16+
name: '🐞 fix: Bug 修复'
17+
},
18+
{
19+
value: 'refactor',
20+
name: '🔨 refactor: 功能重构'
21+
},
22+
{
23+
value: 'perf',
24+
name: '🌸 perf: 性能优化'
25+
},
26+
{
27+
value: 'docs',
28+
name: '📚 docs: 文档相关'
29+
},
30+
{
31+
value: 'test',
32+
name: '🏁 test: 测试相关'
33+
},
34+
{
35+
value: 'build',
36+
name: '🧰 build: 构建或辅助工具的变动'
37+
},
38+
{
39+
value: 'style',
40+
name: '💅 style: 优化代码结构或格式'
41+
},
42+
{
43+
value: 'revert',
44+
name: '⏪ revert: 回退 commit'
45+
},
46+
{
47+
value: 'chore',
48+
name: '⚪ chore: 琐事,不属于以上任何类型'
49+
}
50+
],
51+
52+
scopes: [
53+
'vuepress-theme-reco',
54+
'vuepress-plugin-back-to-top',
55+
'vuepress-plugin-comments',
56+
'vuepress-plugin-loading',
57+
'vuepress-plugin-pagation'
58+
],
59+
allowCustomScopes: true,
60+
allowBreakingChanges: ["feat", "fix"]
61+
};

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
styles/
22
images/
33
node_modules/
4+
.cz-config.js

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
node_modules/
2-
yarn.lock
3-
.DS_Store
4-
package-lock.json
1+
node_modules
2+
yarn-error.log

CHANGELOG.md

Lines changed: 177 additions & 0 deletions
Large diffs are not rendered by default.

commitlint.config.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'body-leading-blank': [1, 'always'],
5+
'footer-leading-blank': [1, 'always'],
6+
'header-max-length': [2, 'always', 72],
7+
'scope-case': [2, 'always', 'lower-case'],
8+
'subject-case': [
9+
2,
10+
'never',
11+
['sentence-case', 'start-case', 'pascal-case', 'upper-case']
12+
],
13+
'subject-empty': [2, 'never'],
14+
'subject-full-stop': [2, 'never', '.'],
15+
'type-case': [0],
16+
'type-empty': [2, 'never'],
17+
'type-enum': [
18+
2,
19+
'always',
20+
[
21+
'WIP',
22+
'build',
23+
'chore',
24+
'ci',
25+
'docs',
26+
'feat',
27+
'fix',
28+
'improvement',
29+
'perf',
30+
'refactor',
31+
'revert',
32+
'style',
33+
'test'
34+
]
35+
]
36+
}
37+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
module.exports = {
22
title: "vuepress-theme-reco",
33
description: 'A simple and beautiful vuepress blog theme .',
4-
dest: 'example/docs/public',
4+
dest: 'example/public',
55
head: [
66
['link', { rel: 'icon', href: '/favicon.ico' }],
77
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
88
],
99
// theme: 'reco',
10-
theme: require.resolve('../../../'),
10+
theme: require.resolve('../../packages/vuepress-theme-reco'),
1111
themeConfig: {
1212
nav: [
1313
{ text: 'Home', link: '/', icon: 'reco-home' },

example/docs/.vuepress/plugins/vuepress-plugin-mode/bin/enhanceAppFile.js renamed to example/.vuepress/plugins/vuepress-plugin-mode/bin/enhanceAppFile.js

File renamed without changes.

example/docs/.vuepress/plugins/vuepress-plugin-mode/index.js renamed to example/.vuepress/plugins/vuepress-plugin-mode/index.js

File renamed without changes.

0 commit comments

Comments
 (0)