create-vuepress-theme-hope 2.0.0-beta.246 → 2.0.0-beta.248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +5 -4
- package/template/blog/config/en/theme.ts +4 -1
- package/template/blog/config/multi/theme.ts +4 -1
- package/template/blog/config/zh/theme.ts +4 -1
- package/template/blog/en/demo/markdown.md +3 -3
- package/template/blog/zh/demo/markdown.md +4 -4
- package/template/docs/config/en/theme.ts +4 -1
- package/template/docs/config/multi/theme.ts +4 -1
- package/template/docs/config/zh/theme.ts +4 -1
- package/template/docs/en/README.md +4 -4
- package/template/docs/en/demo/markdown.md +3 -3
- package/template/docs/zh/README.md +4 -4
- package/template/docs/zh/demo/markdown.md +3 -3
package/lib/index.js
CHANGED
|
@@ -45,7 +45,7 @@ ${e==="pnpm"?` - name: ${s==="简体中文"?"安装 pnpm":"Install pnpm"}
|
|
|
45
45
|
- name: ${s==="简体中文"?"设置 Node.js":"Setup Node.js"}
|
|
46
46
|
uses: actions/setup-node@v3
|
|
47
47
|
with:
|
|
48
|
-
node-version:
|
|
48
|
+
node-version: 20
|
|
49
49
|
cache: ${e}
|
|
50
50
|
|
|
51
51
|
${e!=="pnpm"?` - name: ${s==="简体中文"?"安装依赖":"Install Deps"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuepress-theme-hope",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.248",
|
|
4
4
|
"description": "Create vuepress-theme-hope demo project helper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create",
|
|
@@ -40,15 +40,16 @@
|
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=18.16.0",
|
|
42
42
|
"npm": ">=8",
|
|
43
|
-
"pnpm": ">=7"
|
|
43
|
+
"pnpm": ">=7",
|
|
44
|
+
"yarn": ">=2"
|
|
44
45
|
},
|
|
45
46
|
"dependencies": {
|
|
46
47
|
"cac": "6.7.14",
|
|
47
48
|
"execa": "8.0.1",
|
|
48
|
-
"inquirer": "9.2.
|
|
49
|
+
"inquirer": "9.2.12"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
|
-
"@types/inquirer": "9.0.
|
|
52
|
+
"@types/inquirer": "9.0.7"
|
|
52
53
|
},
|
|
53
54
|
"scripts": {
|
|
54
55
|
"build": "rollup -c rollup.config.ts --configPlugin esbuild",
|
|
@@ -95,12 +95,15 @@ export default hopeTheme({
|
|
|
95
95
|
mdEnhance: {
|
|
96
96
|
align: true,
|
|
97
97
|
attrs: true,
|
|
98
|
-
card: true,
|
|
99
98
|
|
|
100
99
|
// install chart.js before enabling it
|
|
101
100
|
// chart: true,
|
|
102
101
|
|
|
103
102
|
codetabs: true,
|
|
103
|
+
|
|
104
|
+
// insert component easily
|
|
105
|
+
// component: true,
|
|
106
|
+
|
|
104
107
|
demo: true,
|
|
105
108
|
|
|
106
109
|
// install echarts before enabling it
|
|
@@ -128,12 +128,15 @@ export default hopeTheme({
|
|
|
128
128
|
mdEnhance: {
|
|
129
129
|
align: true,
|
|
130
130
|
attrs: true,
|
|
131
|
-
card: true,
|
|
132
131
|
|
|
133
132
|
// install chart.js before enabling it
|
|
134
133
|
// chart: true,
|
|
135
134
|
|
|
136
135
|
codetabs: true,
|
|
136
|
+
|
|
137
|
+
// insert component easily
|
|
138
|
+
// component: true,
|
|
139
|
+
|
|
137
140
|
demo: true,
|
|
138
141
|
|
|
139
142
|
// install echarts before enabling it
|
|
@@ -96,12 +96,15 @@ export default hopeTheme({
|
|
|
96
96
|
mdEnhance: {
|
|
97
97
|
align: true,
|
|
98
98
|
attrs: true,
|
|
99
|
-
card: true,
|
|
100
99
|
|
|
101
100
|
// install chart.js before enabling it
|
|
102
101
|
// chart: true,
|
|
103
102
|
|
|
104
103
|
codetabs: true,
|
|
104
|
+
|
|
105
|
+
// insert component easily
|
|
106
|
+
// component: true,
|
|
107
|
+
|
|
105
108
|
demo: true,
|
|
106
109
|
|
|
107
110
|
// install echarts before enabling it
|
|
@@ -187,9 +187,9 @@ Support setting color scheme and size
|
|
|
187
187
|
|
|
188
188
|
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/image.html)
|
|
189
189
|
|
|
190
|
-
####
|
|
190
|
+
#### Component
|
|
191
191
|
|
|
192
|
-
```
|
|
192
|
+
```component VPCard
|
|
193
193
|
title: Mr.Hope
|
|
194
194
|
desc: Where there is light, there is hope
|
|
195
195
|
logo: https://mister-hope.com/logo.svg
|
|
@@ -197,7 +197,7 @@ link: https://mister-hope.com
|
|
|
197
197
|
color: rgba(253, 230, 138, 0.15)
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/
|
|
200
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/component.html)
|
|
201
201
|
|
|
202
202
|
#### Include files
|
|
203
203
|
|
|
@@ -161,15 +161,15 @@ npm i -D vuepress-theme-hope
|
|
|
161
161
|
|
|
162
162
|
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/tasklist.html)
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
#### 图片增强
|
|
165
165
|
|
|
166
166
|
支持为图片设置颜色模式和大小
|
|
167
167
|
|
|
168
168
|
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/image.html)
|
|
169
169
|
|
|
170
|
-
####
|
|
170
|
+
#### 组件
|
|
171
171
|
|
|
172
|
-
```
|
|
172
|
+
```component VPCard
|
|
173
173
|
title: Mr.Hope
|
|
174
174
|
desc: Where there is light, there is hope
|
|
175
175
|
logo: https://mister-hope.com/logo.svg
|
|
@@ -177,7 +177,7 @@ link: https://mister-hope.com
|
|
|
177
177
|
color: rgba(253, 230, 138, 0.15)
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/
|
|
180
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/component.html)
|
|
181
181
|
|
|
182
182
|
#### 导入文件
|
|
183
183
|
|
|
@@ -52,12 +52,15 @@ export default hopeTheme({
|
|
|
52
52
|
mdEnhance: {
|
|
53
53
|
align: true,
|
|
54
54
|
attrs: true,
|
|
55
|
-
card: true,
|
|
56
55
|
|
|
57
56
|
// install chart.js before enabling it
|
|
58
57
|
// chart: true,
|
|
59
58
|
|
|
60
59
|
codetabs: true,
|
|
60
|
+
|
|
61
|
+
// insert component easily
|
|
62
|
+
// component: true,
|
|
63
|
+
|
|
61
64
|
demo: true,
|
|
62
65
|
|
|
63
66
|
// install echarts before enabling it
|
|
@@ -77,12 +77,15 @@ export default hopeTheme({
|
|
|
77
77
|
mdEnhance: {
|
|
78
78
|
align: true,
|
|
79
79
|
attrs: true,
|
|
80
|
-
card: true,
|
|
81
80
|
|
|
82
81
|
// install chart.js before enabling it
|
|
83
82
|
// chart: true,
|
|
84
83
|
|
|
85
84
|
codetabs: true,
|
|
85
|
+
|
|
86
|
+
// insert component easily
|
|
87
|
+
// component: true,
|
|
88
|
+
|
|
86
89
|
demo: true,
|
|
87
90
|
|
|
88
91
|
// install echarts before enabling it
|
|
@@ -53,12 +53,15 @@ export default hopeTheme({
|
|
|
53
53
|
mdEnhance: {
|
|
54
54
|
align: true,
|
|
55
55
|
attrs: true,
|
|
56
|
-
card: true,
|
|
57
56
|
|
|
58
57
|
// install chart.js before enabling it
|
|
59
58
|
// chart: true,
|
|
60
59
|
|
|
61
60
|
codetabs: true,
|
|
61
|
+
|
|
62
|
+
// insert component easily
|
|
63
|
+
// component: true,
|
|
64
|
+
|
|
62
65
|
demo: true,
|
|
63
66
|
|
|
64
67
|
// install echarts before enabling it
|
|
@@ -90,10 +90,10 @@ highlights:
|
|
|
90
90
|
details: improve syntax to specify size and color scheme
|
|
91
91
|
link: https://theme-hope.vuejs.press/guide/markdown/image.html
|
|
92
92
|
|
|
93
|
-
- title:
|
|
94
|
-
icon:
|
|
95
|
-
details:
|
|
96
|
-
link: https://theme-hope.vuejs.press/guide/markdown/
|
|
93
|
+
- title: Component Support
|
|
94
|
+
icon: puzzle-piece
|
|
95
|
+
details: Easily insert components in Markdown
|
|
96
|
+
link: https://theme-hope.vuejs.press/guide/markdown/component.html
|
|
97
97
|
|
|
98
98
|
- title: Chart Support
|
|
99
99
|
icon: chart-simple
|
|
@@ -187,9 +187,9 @@ Support setting color scheme and size
|
|
|
187
187
|
|
|
188
188
|
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/image.html)
|
|
189
189
|
|
|
190
|
-
####
|
|
190
|
+
#### Component
|
|
191
191
|
|
|
192
|
-
```
|
|
192
|
+
```component VPCard
|
|
193
193
|
title: Mr.Hope
|
|
194
194
|
desc: Where there is light, there is hope
|
|
195
195
|
logo: https://mister-hope.com/logo.svg
|
|
@@ -197,7 +197,7 @@ link: https://mister-hope.com
|
|
|
197
197
|
color: rgba(253, 230, 138, 0.15)
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/
|
|
200
|
+
- [View Detail](https://theme-hope.vuejs.press/guide/markdown/component.html)
|
|
201
201
|
|
|
202
202
|
#### Include files
|
|
203
203
|
|
|
@@ -90,10 +90,10 @@ highlights:
|
|
|
90
90
|
details: 使用改进的语法指定图片大小与颜色模式
|
|
91
91
|
link: https://theme-hope.vuejs.press/zh/guide/markdown/image.html
|
|
92
92
|
|
|
93
|
-
- title:
|
|
94
|
-
icon:
|
|
95
|
-
details: 在 Markdown
|
|
96
|
-
link: https://theme-hope.vuejs.press/zh/guide/markdown/
|
|
93
|
+
- title: 组件支持
|
|
94
|
+
icon: puzzle-piece
|
|
95
|
+
details: 在 Markdown 中轻松插入组件
|
|
96
|
+
link: https://theme-hope.vuejs.press/zh/guide/markdown/component.html
|
|
97
97
|
|
|
98
98
|
- title: 图表支持
|
|
99
99
|
icon: chart-simple
|
|
@@ -167,9 +167,9 @@ npm i -D vuepress-theme-hope
|
|
|
167
167
|
|
|
168
168
|
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/image.html)
|
|
169
169
|
|
|
170
|
-
####
|
|
170
|
+
#### 组件
|
|
171
171
|
|
|
172
|
-
```
|
|
172
|
+
```component VPCard
|
|
173
173
|
title: Mr.Hope
|
|
174
174
|
desc: Where there is light, there is hope
|
|
175
175
|
logo: https://mister-hope.com/logo.svg
|
|
@@ -177,7 +177,7 @@ link: https://mister-hope.com
|
|
|
177
177
|
color: rgba(253, 230, 138, 0.15)
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/
|
|
180
|
+
- [查看详情](https://theme-hope.vuejs.press/zh/guide/markdown/component.html)
|
|
181
181
|
|
|
182
182
|
#### 导入文件
|
|
183
183
|
|