create-vuepress-theme-hope 2.0.0-alpha.26 → 2.0.0-alpha.30
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/CHANGELOG.md +26 -0
- package/lib/node/index.js +1 -1
- package/lib/node/index.js.map +1 -1
- package/package.json +2 -2
- package/readme.md +6 -6
- package/src/node/checkVersion.ts +1 -1
- package/src/node/i18n.ts +3 -0
- package/src/node/index.ts +25 -8
- package/template/en-US/.vuepress/config.ts +28 -0
- package/template/en-US/.vuepress/navbar.ts +52 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/apple-icon-152.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/chrome-192.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/chrome-512.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/chrome-mask-192.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/chrome-mask-512.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/guide-maskable.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/guide-monochrome.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/assets/icon/ms-icon-144.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/favicon.ico +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/logo.png +0 -0
- package/template/{.vuepress → en-US/.vuepress}/public/logo.svg +0 -0
- package/template/en-US/.vuepress/sidebar.ts +47 -0
- package/template/{.vuepress → en-US/.vuepress}/styles/index.scss +0 -0
- package/template/{.vuepress → en-US/.vuepress}/styles/palette.scss +0 -0
- package/template/en-US/.vuepress/themeConfig.ts +150 -0
- package/template/{README.md → en-US/README.md} +2 -2
- package/template/{guide → en-US/guide}/README.md +0 -0
- package/template/{guide → en-US/guide}/disable.md +0 -0
- package/template/{guide → en-US/guide}/encrypt.md +0 -0
- package/template/{guide → en-US/guide}/markdown.md +10 -10
- package/template/{guide → en-US/guide}/page.md +0 -0
- package/template/{home.md → en-US/home.md} +13 -13
- package/template/{intro.md → en-US/intro.md} +0 -0
- package/template/{posts → en-US/posts}/article/article1.md +0 -0
- package/template/{posts → en-US/posts}/article/article2.md +0 -0
- package/template/{posts → en-US/posts}/article/article3.md +0 -0
- package/template/{posts → en-US/posts}/article/article4.md +0 -0
- package/template/{posts → en-US/posts}/article/article5.md +0 -0
- package/template/{posts → en-US/posts}/article/article6.md +0 -0
- package/template/{posts → en-US/posts}/article/article7.md +0 -0
- package/template/{posts → en-US/posts}/article/article8.md +0 -0
- package/template/{posts → en-US/posts}/article10.md +0 -0
- package/template/{posts → en-US/posts}/article11.md +0 -0
- package/template/{posts → en-US/posts}/article12.md +0 -0
- package/template/{posts → en-US/posts}/article9.md +0 -0
- package/template/{slides.md → en-US/slide.md} +0 -0
- package/template/i18n/.vuepress/config.ts +33 -0
- package/template/i18n/.vuepress/navbar/en.ts +52 -0
- package/template/{.vuepress/configs → i18n/.vuepress}/navbar/index.ts +0 -0
- package/template/i18n/.vuepress/navbar/zh.ts +52 -0
- package/template/i18n/.vuepress/public/assets/icon/apple-icon-152.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/chrome-192.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/chrome-512.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/chrome-mask-192.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/chrome-mask-512.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/guide-maskable.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/guide-monochrome.png +0 -0
- package/template/i18n/.vuepress/public/assets/icon/ms-icon-144.png +0 -0
- package/template/i18n/.vuepress/public/favicon.ico +0 -0
- package/template/i18n/.vuepress/public/logo.png +0 -0
- package/template/i18n/.vuepress/public/logo.svg +1 -0
- package/template/i18n/.vuepress/sidebar/en.ts +49 -0
- package/template/{.vuepress/configs → i18n/.vuepress}/sidebar/index.ts +0 -0
- package/template/i18n/.vuepress/sidebar/zh.ts +47 -0
- package/template/i18n/.vuepress/styles/index.scss +0 -0
- package/template/i18n/.vuepress/styles/palette.scss +0 -0
- package/template/i18n/.vuepress/themeConfig.ts +187 -0
- package/template/i18n/README.md +38 -0
- package/template/i18n/guide/README.md +15 -0
- package/template/i18n/guide/disable.md +41 -0
- package/template/i18n/guide/encrypt.md +15 -0
- package/template/i18n/guide/markdown.md +304 -0
- package/template/i18n/guide/page.md +60 -0
- package/template/i18n/home.md +85 -0
- package/template/i18n/intro.md +7 -0
- package/template/i18n/posts/article/article1.md +19 -0
- package/template/i18n/posts/article/article2.md +20 -0
- package/template/i18n/posts/article/article3.md +20 -0
- package/template/i18n/posts/article/article4.md +20 -0
- package/template/i18n/posts/article/article5.md +20 -0
- package/template/i18n/posts/article/article6.md +21 -0
- package/template/i18n/posts/article/article7.md +20 -0
- package/template/i18n/posts/article/article8.md +20 -0
- package/template/i18n/posts/article10.md +20 -0
- package/template/i18n/posts/article11.md +20 -0
- package/template/i18n/posts/article12.md +21 -0
- package/template/i18n/posts/article9.md +20 -0
- package/template/i18n/slide.md +433 -0
- package/template/{zh → i18n/zh}/README.md +2 -2
- package/template/{zh → i18n/zh}/guide/README.md +0 -0
- package/template/{zh → i18n/zh}/guide/disable.md +0 -0
- package/template/{zh → i18n/zh}/guide/encrypt.md +0 -0
- package/template/{zh → i18n/zh}/guide/markdown.md +0 -0
- package/template/{zh → i18n/zh}/guide/page.md +0 -0
- package/template/{zh → i18n/zh}/home.md +13 -13
- package/template/{zh → i18n/zh}/posts/article/article1.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article2.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article3.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article4.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article5.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article6.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article7.md +0 -0
- package/template/{zh → i18n/zh}/posts/article/article8.md +0 -0
- package/template/{zh → i18n/zh}/posts/article10.md +0 -0
- package/template/{zh → i18n/zh}/posts/article11.md +0 -0
- package/template/{zh → i18n/zh}/posts/article12.md +0 -0
- package/template/{zh → i18n/zh}/posts/article9.md +0 -0
- package/template/{zh/slides.md → i18n/zh/slide.md} +0 -0
- package/template/zh-CN/.vuepress/.cache/@mr-hope_vuepress-shared_lib_client.js +1402 -0
- package/template/zh-CN/.vuepress/.cache/@mr-hope_vuepress-shared_lib_client.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/@vue_devtools-api.js +41 -0
- package/template/zh-CN/.vuepress/.cache/@vue_devtools-api.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/@vuepress_shared.js +622 -0
- package/template/zh-CN/.vuepress/.cache/@vuepress_shared.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/@vueuse_core.js +6556 -0
- package/template/zh-CN/.vuepress/.cache/@vueuse_core.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/@waline_client.js +3896 -0
- package/template/zh-CN/.vuepress/.cache/@waline_client.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/_metadata.json +161 -0
- package/template/zh-CN/.vuepress/.cache/bcryptjs.js +1909 -0
- package/template/zh-CN/.vuepress/.cache/bcryptjs.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/body-scroll-lock.js +214 -0
- package/template/zh-CN/.vuepress/.cache/body-scroll-lock.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-2JB763FX.js +187 -0
- package/template/zh-CN/.vuepress/.cache/chunk-2JB763FX.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-3EXDT3YR.js +123 -0
- package/template/zh-CN/.vuepress/.cache/chunk-3EXDT3YR.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-G642NIRV.js +8451 -0
- package/template/zh-CN/.vuepress/.cache/chunk-G642NIRV.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-GG2GV5SX.js +65 -0
- package/template/zh-CN/.vuepress/.cache/chunk-GG2GV5SX.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-HY7UP3Y7.js +331 -0
- package/template/zh-CN/.vuepress/.cache/chunk-HY7UP3Y7.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-KX764DYK.js +351 -0
- package/template/zh-CN/.vuepress/.cache/chunk-KX764DYK.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-RHUTP25B.js +243 -0
- package/template/zh-CN/.vuepress/.cache/chunk-RHUTP25B.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-SPNUHUU2.js +105 -0
- package/template/zh-CN/.vuepress/.cache/chunk-SPNUHUU2.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/chunk-UJLLDWRU.js +87 -0
- package/template/zh-CN/.vuepress/.cache/chunk-UJLLDWRU.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/dayjs.js +42 -0
- package/template/zh-CN/.vuepress/.cache/dayjs.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_localizedFormat.js +42 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_localizedFormat.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_objectSupport.js +42 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_objectSupport.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_timezone.js +42 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_timezone.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_utc.js +42 -0
- package/template/zh-CN/.vuepress/.cache/dayjs_plugin_utc.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/flowchart_js.js +4617 -0
- package/template/zh-CN/.vuepress/.cache/flowchart_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/lodash_debounce.js +188 -0
- package/template/zh-CN/.vuepress/.cache/lodash_debounce.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/lodash_throttle.js +203 -0
- package/template/zh-CN/.vuepress/.cache/lodash_throttle.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/mermaid.js +29764 -0
- package/template/zh-CN/.vuepress/.cache/mermaid.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/mitt.js +74 -0
- package/template/zh-CN/.vuepress/.cache/mitt.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/nprogress.js +334 -0
- package/template/zh-CN/.vuepress/.cache/nprogress.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/package.json +1 -0
- package/template/zh-CN/.vuepress/.cache/photoswipe.js +2411 -0
- package/template/zh-CN/.vuepress/.cache/photoswipe.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/photoswipe_dist_photoswipe-ui-default.js +659 -0
- package/template/zh-CN/.vuepress/.cache/photoswipe_dist_photoswipe-ui-default.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/register-service-worker.js +160 -0
- package/template/zh-CN/.vuepress/.cache/register-service-worker.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js.js +1844 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_highlight_highlight_esm_js.js +4549 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_highlight_highlight_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_markdown_markdown_esm_js.js +2897 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_markdown_markdown_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_math_math_esm_js.js +1545 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_math_math_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_notes_notes_esm_js.js +2996 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_notes_notes_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_search_search_esm_js.js +811 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_search_search_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_zoom_zoom_esm_js.js +118 -0
- package/template/zh-CN/.vuepress/.cache/reveal_js_plugin_zoom_zoom_esm_js.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/screenfull.js +220 -0
- package/template/zh-CN/.vuepress/.cache/screenfull.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/vue-router.js +2415 -0
- package/template/zh-CN/.vuepress/.cache/vue-router.js.map +7 -0
- package/template/zh-CN/.vuepress/.cache/vue.js +329 -0
- package/template/zh-CN/.vuepress/.cache/vue.js.map +7 -0
- package/template/zh-CN/.vuepress/.temp/blog/category.js +14 -0
- package/template/zh-CN/.vuepress/.temp/blog/type.js +14 -0
- package/template/zh-CN/.vuepress/.temp/internal/clientAppEnhances.js +19 -0
- package/template/zh-CN/.vuepress/.temp/internal/clientAppRootComponents.js +11 -0
- package/template/zh-CN/.vuepress/.temp/internal/clientAppSetups.js +19 -0
- package/template/zh-CN/.vuepress/.temp/internal/layoutComponents.js +8 -0
- package/template/zh-CN/.vuepress/.temp/internal/pagesComponents.js +80 -0
- package/template/zh-CN/.vuepress/.temp/internal/pagesData.js +78 -0
- package/template/zh-CN/.vuepress/.temp/internal/pagesRoutes.js +67 -0
- package/template/zh-CN/.vuepress/.temp/internal/siteData.js +135 -0
- package/template/zh-CN/.vuepress/.temp/internal/themeData.js +280 -0
- package/template/zh-CN/.vuepress/.temp/pages/404.html.js +60 -0
- package/template/zh-CN/.vuepress/.temp/pages/404.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/article/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/article/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/categorya/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/categorya/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/categoryb/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/categoryb/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/category/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/category//344/275/277/347/224/250/346/214/207/345/215/227/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/category//344/275/277/347/224/250/346/214/207/345/215/227/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/encrypted/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/encrypted/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/disable.html.js +93 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/disable.html.vue +17 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/encrypt.html.js +80 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/encrypt.html.vue +5 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/index.html.js +70 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/index.html.vue +16 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/markdown.html.js +180 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/markdown.html.vue +180 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/page.html.js +127 -0
- package/template/zh-CN/.vuepress/.temp/pages/guide/page.html.vue +41 -0
- package/template/zh-CN/.vuepress/.temp/pages/home.html.js +159 -0
- package/template/zh-CN/.vuepress/.temp/pages/home.html.vue +4 -0
- package/template/zh-CN/.vuepress/.temp/pages/index.html.js +101 -0
- package/template/zh-CN/.vuepress/.temp/pages/index.html.vue +4 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article1.html.js +110 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article1.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article2.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article2.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article3.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article3.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article4.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article4.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article5.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article5.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article6.html.js +112 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article6.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article7.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article7.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article8.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article/article8.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article10.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article10.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article11.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article11.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article12.html.js +112 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article12.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article9.html.js +111 -0
- package/template/zh-CN/.vuepress/.temp/pages/posts/article9.html.vue +6 -0
- package/template/zh-CN/.vuepress/.temp/pages/slide.html.js +69 -0
- package/template/zh-CN/.vuepress/.temp/pages/slide.html.vue +2 -0
- package/template/zh-CN/.vuepress/.temp/pages/slides/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/slides/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/star/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/star/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/markdown/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/markdown/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/tag-a/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/tag-a/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/tag-b/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag/tag-b/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//344/275/277/347/224/250/346/214/207/345/215/227/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//344/275/277/347/224/250/346/214/207/345/215/227/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//346/226/207/347/253/240/345/212/240/345/257/206/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//346/226/207/347/253/240/345/212/240/345/257/206/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//347/246/201/347/224/250/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//347/246/201/347/224/250/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//351/241/265/351/235/242/351/205/215/347/275/256/index.html.js +65 -0
- package/template/zh-CN/.vuepress/.temp/pages/tag//351/241/265/351/235/242/351/205/215/347/275/256/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/pages/timeline/index.html.js +64 -0
- package/template/zh-CN/.vuepress/.temp/pages/timeline/index.html.vue +1 -0
- package/template/zh-CN/.vuepress/.temp/sass-palette/hope-config.scss +6 -0
- package/template/zh-CN/.vuepress/.temp/sass-palette/hope-inject.scss +29 -0
- package/template/zh-CN/.vuepress/.temp/sass-palette/hope-palette.scss +4 -0
- package/template/zh-CN/.vuepress/.temp/sass-palette/hope-style.scss +1 -0
- package/template/zh-CN/.vuepress/.temp/sass-palette/load-hope.js +1 -0
- package/template/zh-CN/.vuepress/.temp/theme-hope/theme-color.scss +1 -0
- package/template/zh-CN/.vuepress/.temp/vite-root/index.html +13 -0
- package/template/zh-CN/.vuepress/config.ts +28 -0
- package/template/zh-CN/.vuepress/navbar.ts +52 -0
- package/template/zh-CN/.vuepress/public/assets/icon/apple-icon-152.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/chrome-192.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/chrome-512.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/chrome-mask-192.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/chrome-mask-512.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/guide-maskable.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/guide-monochrome.png +0 -0
- package/template/zh-CN/.vuepress/public/assets/icon/ms-icon-144.png +0 -0
- package/template/zh-CN/.vuepress/public/favicon.ico +0 -0
- package/template/zh-CN/.vuepress/public/logo.png +0 -0
- package/template/zh-CN/.vuepress/public/logo.svg +1 -0
- package/template/zh-CN/.vuepress/sidebar.ts +45 -0
- package/template/zh-CN/.vuepress/styles/index.scss +0 -0
- package/template/zh-CN/.vuepress/styles/palette.scss +0 -0
- package/template/zh-CN/.vuepress/themeConfig.ts +155 -0
- package/template/zh-CN/README.md +38 -0
- package/template/zh-CN/guide/README.md +15 -0
- package/template/zh-CN/guide/disable.md +41 -0
- package/template/zh-CN/guide/encrypt.md +15 -0
- package/template/zh-CN/guide/markdown.md +302 -0
- package/template/zh-CN/guide/page.md +60 -0
- package/template/zh-CN/home.md +85 -0
- package/template/zh-CN/posts/article/article1.md +19 -0
- package/template/zh-CN/posts/article/article2.md +20 -0
- package/template/zh-CN/posts/article/article3.md +20 -0
- package/template/zh-CN/posts/article/article4.md +20 -0
- package/template/zh-CN/posts/article/article5.md +20 -0
- package/template/zh-CN/posts/article/article6.md +21 -0
- package/template/zh-CN/posts/article/article7.md +20 -0
- package/template/zh-CN/posts/article/article8.md +20 -0
- package/template/zh-CN/posts/article10.md +20 -0
- package/template/zh-CN/posts/article11.md +20 -0
- package/template/zh-CN/posts/article12.md +21 -0
- package/template/zh-CN/posts/article9.md +20 -0
- package/template/zh-CN/slide.md +429 -0
- package/template/.vuepress/config.ts +0 -212
- package/template/.vuepress/configs/index.ts +0 -2
- package/template/.vuepress/configs/navbar/en.ts +0 -52
- package/template/.vuepress/configs/navbar/zh.ts +0 -52
- package/template/.vuepress/configs/sidebar/en.ts +0 -64
- package/template/.vuepress/configs/sidebar/zh.ts +0 -67
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,32 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.0.0-alpha.30](https://github.com/vuepress-theme-hope/vuepress-theme-hope/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2022-02-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package create-vuepress-theme-hope
|
|
9
|
+
|
|
10
|
+
# [2.0.0-alpha.29](https://github.com/vuepress-theme-hope/vuepress-theme-hope/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2022-02-19)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **create:** fix locale language ([23bcf44](https://github.com/vuepress-theme-hope/vuepress-theme-hope/commit/23bcf44fadd6b63c4c4696a8b6a61d11efae0d6a))
|
|
15
|
+
|
|
16
|
+
# [2.0.0-alpha.28](https://github.com/vuepress-theme-hope/vuepress-theme-hope/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2022-02-19)
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
- **create:** fix command ([ee2c91d](https://github.com/vuepress-theme-hope/vuepress-theme-hope/commit/ee2c91d9b8eeb6af627457db889dccacb03835d8))
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
- **create:** add i18n support ([4605db5](https://github.com/vuepress-theme-hope/vuepress-theme-hope/commit/4605db5261b442281ce1f80c7cdc3af122b22c90))
|
|
25
|
+
|
|
26
|
+
# [2.0.0-alpha.27](https://github.com/vuepress-theme-hope/vuepress-theme-hope/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2022-02-16)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **create:** fix template folder path ([3fcc980](https://github.com/vuepress-theme-hope/vuepress-theme-hope/commit/3fcc980865c14a74c54bc7950e93cadab3da2d00))
|
|
31
|
+
|
|
6
32
|
# [2.0.0-alpha.26](https://github.com/vuepress-theme-hope/vuepress-theme-hope/compare/v2.0.0-alpha.25...v2.0.0-alpha.26) (2022-02-16)
|
|
7
33
|
|
|
8
34
|
**Note:** Version bump only for package create-vuepress-theme-hope
|
package/lib/node/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict";var e=require("fs"),s=require("path"),r=require("cac"),t=require("inquirer"),a=require("execa"),n=require("https");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(a);const c=(e,...s)=>{if(0===s.length)return e;const r=s.shift()||{};return Object.keys(r).forEach((s=>{"object"!=typeof e[s]||Array.isArray(e[s])||"object"!=typeof r[s]||Array.isArray(r[s])?"object"==typeof r[s]?Array.isArray(r[s])?e[s]=[...r[s]]:e[s]={...r[s]}:e[s]=r[s]:c(e[s],r[s])})),c(e,...s)},p=s=>{try{e.readdirSync(s)}catch(r){e.mkdirSync(s)}},l=(r,t)=>{const a=s.dirname(t);p(a);const n=e.createReadStream(r),o=e.createWriteStream(t);n.pipe(o)},u=(s,r)=>{p(r);e.readdirSync(s,{withFileTypes:!0}).forEach((e=>{e.isFile()?l(`${s}/${e.name}`,`${r}/${e.name}`):e.isDirectory()&&u(`${s}/${e.name}`,`${r}/${e.name}`)}))},d=e=>new Promise(((s,r)=>{n.get(`https://registry.npmjs.org/-/package/${e}/dist-tags`,(t=>{if(200===t.statusCode){let e="";t.on("data",(s=>e+=s)),t.on("end",(()=>{s(JSON.parse(e).next)}))}else r(new Error(`Get ${e} version failed, please check your network!`))})).on("error",(()=>{r(new Error(`Get ${e} version failed, please check your network!`))}))})),g={"zh-CN":{getVersion:"获取依赖的最新版本...",createPackage:"生成 package.json...",updatePackage:"更新 package.json...",template:"生成模板...",wait:"这可能需要数分钟,请耐心等待.\n我们无法正确输出子进程的进度条,所以进程可能会看似未响应",install:"安装依赖...",success:"模板已成功生成!",devServerAsk:"是否想要现在启动 Demo 查看?",devServer:"启动开发服务器...\n启动成功后,请在浏览器输入给出的开发服务器地址(默认为 'localhost:8080')",hint:'提示: 请使用 "yarn run docs:dev" 命令启动开发服务器',nameMessage:"设置应用名称",nameError:"应用名称应只包含小写字母、数字和连接线 (-)",versionMessage:"设置应用版本号",versionError:"此版本无效,版本号应为 'x.x.x'",descriptionMessage:"设置应用描述",licenseMessage:"设置协议"},"en-US":{getVersion:"Getting lastest version of deps...",createPackage:"Generating package.json...",updatePackage:"Updating package.json...",template:"Generating Template...",wait:"This may take a few minutes, please be patient.\nWe can not correctly output progress bar from child process, so the process may look stuck.",install:"Installing Deps...",success:"Successful Generated!",devServerAsk:"Would you like to preview template now?",devServer:"Staring dev server...\nAfter the dev server starts running, please visit the given server link ('localhost:8080' by default)",hint:'Hint: You should execute "yarn run docs:dev" to start dev server.',nameMessage:"Your project name",nameError:"package name should only contain lowercase characters, numbers and dash",versionMessage:"Your project version",versionError:"This version is not a valid one. Version should be like 'x.x.x'",descriptionMessage:"Your project description",licenseMessage:"Your project lincense"}},m=async(e,s)=>{const r=(e=>a.sync(e?"yarn":"npm",["config","get","registry"]).stdout)(s);if("en-US"===e||"https://registry.npmmirror.com/"===r)return r;const{registry:n}=await t.prompt([{name:"registry",type:"list",message:"选择你想使用的源",choices:["国内镜像源","当前源"]}]);return"国内镜像源"===n?"https://registry.npmmirror.com/":r},
|
|
2
|
+
"use strict";var e=require("fs"),s=require("path"),r=require("cac"),t=require("inquirer"),a=require("execa"),n=require("https");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(a);const c=(e,...s)=>{if(0===s.length)return e;const r=s.shift()||{};return Object.keys(r).forEach((s=>{"object"!=typeof e[s]||Array.isArray(e[s])||"object"!=typeof r[s]||Array.isArray(r[s])?"object"==typeof r[s]?Array.isArray(r[s])?e[s]=[...r[s]]:e[s]={...r[s]}:e[s]=r[s]:c(e[s],r[s])})),c(e,...s)},p=s=>{try{e.readdirSync(s)}catch(r){e.mkdirSync(s)}},l=(r,t)=>{const a=s.dirname(t);p(a);const n=e.createReadStream(r),o=e.createWriteStream(t);n.pipe(o)},u=(s,r)=>{p(r);e.readdirSync(s,{withFileTypes:!0}).forEach((e=>{e.isFile()?l(`${s}/${e.name}`,`${r}/${e.name}`):e.isDirectory()&&u(`${s}/${e.name}`,`${r}/${e.name}`)}))},d=e=>new Promise(((s,r)=>{n.get(`https://registry.npmjs.org/-/package/${e}/dist-tags`,(t=>{if(200===t.statusCode){let e="";t.on("data",(s=>e+=s)),t.on("end",(()=>{s(JSON.parse(e).next)}))}else r(new Error(`Get ${e} version failed, please check your network!`))})).on("error",(()=>{r(new Error(`Get ${e} version failed, please check your network!`))}))})),g={"zh-CN":{getVersion:"获取依赖的最新版本...",createPackage:"生成 package.json...",updatePackage:"更新 package.json...",template:"生成模板...",wait:"这可能需要数分钟,请耐心等待.\n我们无法正确输出子进程的进度条,所以进程可能会看似未响应",install:"安装依赖...",success:"模板已成功生成!",devServerAsk:"是否想要现在启动 Demo 查看?",devServer:"启动开发服务器...\n启动成功后,请在浏览器输入给出的开发服务器地址(默认为 'localhost:8080')",hint:'提示: 请使用 "yarn run docs:dev" 命令启动开发服务器',nameMessage:"设置应用名称",nameError:"应用名称应只包含小写字母、数字和连接线 (-)",versionMessage:"设置应用版本号",versionError:"此版本无效,版本号应为 'x.x.x'",descriptionMessage:"设置应用描述",licenseMessage:"设置协议",i18nMessage:"项目需要用到多语言么?"},"en-US":{getVersion:"Getting lastest version of deps...",createPackage:"Generating package.json...",updatePackage:"Updating package.json...",template:"Generating Template...",wait:"This may take a few minutes, please be patient.\nWe can not correctly output progress bar from child process, so the process may look stuck.",install:"Installing Deps...",success:"Successful Generated!",devServerAsk:"Would you like to preview template now?",devServer:"Staring dev server...\nAfter the dev server starts running, please visit the given server link ('localhost:8080' by default)",hint:'Hint: You should execute "yarn run docs:dev" to start dev server.',nameMessage:"Your project name",nameError:"package name should only contain lowercase characters, numbers and dash",versionMessage:"Your project version",versionError:"This version is not a valid one. Version should be like 'x.x.x'",descriptionMessage:"Your project description",licenseMessage:"Your project lincense",i18nMessage:"Does the project need mutiple languages?"}},m=async()=>{const{language:e}=await t.prompt([{name:"language",type:"list",message:"Select a language to display",choices:["en-US","zh-CN"]}]);return{lang:e,message:g[e]}},v=async(e,s)=>{const r=(e=>a.sync(e?"yarn":"npm",["config","get","registry"]).stdout)(s);if("en-US"===e||"https://registry.npmmirror.com/"===r)return r;const{registry:n}=await t.prompt([{name:"registry",type:"list",message:"选择你想使用的源",choices:["国内镜像源","当前源"]}]);return"国内镜像源"===n?"https://registry.npmmirror.com/":r},y=r.cac("vuepress-theme-hope"),h=(()=>{try{return a.sync("yarn --version",{stdio:"ignore"}),!0}catch(e){return!1}})()?"yarn":"npm";y.command("[dir]","Generate a new vuepress-theme-hope project").action((async r=>{if(!r)return y.outputHelp();const{lang:a,message:n}=await m(),o=s.resolve(process.cwd(),r),p=s.resolve(process.cwd(),"package.json"),g={"docs:build":`vuepress build ${r}`,"docs:clean-dev":`vuepress dev ${r} --clean-cache`,"docs:dev":`vuepress dev ${r}`};console.log(n.getVersion);const f={vuepress:`^${await d("vuepress")}`,"vuepress-theme-hope":`^${await d("vuepress-theme-hope")}`};if(e.existsSync(o)||e.mkdirSync(o),e.existsSync(p)){console.log(n.updatePackage);const s=JSON.parse(e.readFileSync(p,{encoding:"utf-8"}));c(s,{scripts:g,devDependencies:f}),e.writeFileSync(p,`${JSON.stringify(s,null,2)}\n`,{encoding:"utf-8"})}else{console.log(n.createPackage);const s={...await t.prompt([{name:"name",type:"input",message:n.nameMessage,default:"vuepress-theme-hope-template",validate:e=>!!/^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/u.exec(e)||n.nameError},{name:"version",type:"input",message:n.versionMessage,default:"2.0.0",validate:e=>!!/^[0-9]+\.[0-9]+\.(?:[0=9]+|[0-9]+-[a-z]+\.[0-9])$/u.exec(e)||n.versionError},{name:"description",type:"input",message:n.descriptionMessage,default:"A project of vuepress-theme-hope"},{name:"license",type:"input",message:n.licenseMessage,default:"MIT"}]),scripts:g,devDependencies:f};e.writeFileSync(p,`${JSON.stringify(s,null,2)}\n`,{encoding:"utf-8"})}const{i18n:w}=await t.prompt([{name:"i18n",type:"list",message:n.i18nMessage,choices:["Yes","No"]}]);console.log(n.template);const k="Yes"===w?"i18n":a;var S,$;S=s.resolve(__dirname,"../../template",k),$=s.resolve(process.cwd(),r),e.statSync(S).isDirectory()?u(S,$):e.statSync(S).isFile()&&l(S,$),console.log(n.install),console.warn(n.wait);const j=await v(a,h);i.default.sync(h,["install","--registry",j],{stdout:"inherit"}),console.log(n.success);const{choise:M}=await t.prompt([{name:"choise",type:"list",message:n.devServerAsk,choices:["Yes","No"]}]);"Yes"===M?(console.log(n.devServer),await i.default(h,["run","docs:dev"],{stdout:"inherit"})):console.log(n.hint)})),y.help((()=>[{title:"yarn create vuepress-theme-hope <dir> / npm init vuepress-theme-hope <dir>",body:"Create a vuepress-theme-hope template in <dir>"}])),y.parse();
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/lib/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/node/deepAssign.ts","../../src/node/copy.ts","../../src/node/checkVersion.ts","../../src/node/i18n.ts","../../src/node/registry.ts","../../src/node/index.ts","../../src/node/hasYarn.ts"],"sourcesContent":[null,null,null,null,null,null,null],"names":["deepAssign","originObject","assignObjects","length","assignObject","shift","Object","keys","forEach","property","Array","isArray","ensureDirExistSync","dirPath","readdirSync","err","mkdirSync","copyFile","srcFile","targetFile","targetDir","dirname","rs","createReadStream","ws","createWriteStream","pipe","copyDir","srcDir","withFileTypes","file","isFile","name","isDirectory","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/node/deepAssign.ts","../../src/node/copy.ts","../../src/node/checkVersion.ts","../../src/node/i18n.ts","../../src/node/registry.ts","../../src/node/index.ts","../../src/node/hasYarn.ts"],"sourcesContent":[null,null,null,null,null,null,null],"names":["deepAssign","originObject","assignObjects","length","assignObject","shift","Object","keys","forEach","property","Array","isArray","ensureDirExistSync","dirPath","readdirSync","err","mkdirSync","copyFile","srcFile","targetFile","targetDir","dirname","rs","createReadStream","ws","createWriteStream","pipe","copyDir","srcDir","withFileTypes","file","isFile","name","isDirectory","checkForNextVersion","packageName","Promise","resolve","reject","get","res","statusCode","body","on","data","JSON","parse","next","Error","i18n","getVersion","createPackage","updatePackage","template","wait","install","success","devServerAsk","devServer","hint","nameMessage","nameError","versionMessage","versionError","descriptionMessage","licenseMessage","i18nMessage","getLanguage","async","language","prompt","type","message","choices","lang","getRegistry","bin","userRegistry","sync","stdout","getUserRegistry","registry","cli","cac","stdio","e","detectYarn","command","action","dir","outputHelp","targetFolder","process","cwd","packageJsonPath","scripts","console","log","devDependencies","vuepress","existsSync","packageContent","readFileSync","encoding","writeFileSync","stringify","default","validate","input","exec","templateFolder","src","target","__dirname","statSync","warn","execa","choise","help","title"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vuepress-theme-hope",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.30",
|
|
4
4
|
"description": "Create vuepress-theme-hope demo project helper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"execa": "^5.1.1",
|
|
38
38
|
"inquirer": "^8.2.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "bdf89753c00522d9c05ddbb5ca081627912db2db"
|
|
41
41
|
}
|
package/readme.md
CHANGED
|
@@ -7,14 +7,14 @@ Create template shortcut for vuepress-theme-hope.
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm init vuepress-theme-hope <dir>
|
|
10
|
+
npm init vuepress-theme-hope@next <dir>
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Or
|
|
13
|
+
<!-- Or
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
yarn create vuepress-theme-hope <dir>
|
|
17
|
-
```
|
|
17
|
+
``` -->
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -23,11 +23,11 @@ yarn create vuepress-theme-hope <dir>
|
|
|
23
23
|
## 使用
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
npm init vuepress-theme-hope <dir>
|
|
26
|
+
npm init vuepress-theme-hope@next <dir>
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
或
|
|
29
|
+
<!-- 或
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
yarn create vuepress-theme-hope <dir>
|
|
33
|
-
```
|
|
33
|
+
``` -->
|
package/src/node/checkVersion.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { get } from "https";
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const checkForNextVersion = (packageName: string): Promise<string> =>
|
|
4
4
|
new Promise((resolve, reject) => {
|
|
5
5
|
get(
|
|
6
6
|
`https://registry.npmjs.org/-/package/${packageName}/dist-tags`,
|
package/src/node/i18n.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface CreateI18n {
|
|
|
19
19
|
versionError: string;
|
|
20
20
|
descriptionMessage: string;
|
|
21
21
|
licenseMessage: string;
|
|
22
|
+
i18nMessage: string;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
export const i18n: Record<Lang, CreateI18n> = {
|
|
@@ -40,6 +41,7 @@ export const i18n: Record<Lang, CreateI18n> = {
|
|
|
40
41
|
versionError: "此版本无效,版本号应为 'x.x.x'",
|
|
41
42
|
descriptionMessage: "设置应用描述",
|
|
42
43
|
licenseMessage: "设置协议",
|
|
44
|
+
i18nMessage: "项目需要用到多语言么?",
|
|
43
45
|
},
|
|
44
46
|
"en-US": {
|
|
45
47
|
getVersion: "Getting lastest version of deps...",
|
|
@@ -61,6 +63,7 @@ export const i18n: Record<Lang, CreateI18n> = {
|
|
|
61
63
|
"This version is not a valid one. Version should be like 'x.x.x'",
|
|
62
64
|
descriptionMessage: "Your project description",
|
|
63
65
|
licenseMessage: "Your project lincense",
|
|
66
|
+
i18nMessage: "Does the project need mutiple languages?",
|
|
64
67
|
},
|
|
65
68
|
};
|
|
66
69
|
|
package/src/node/index.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { cac } from "cac";
|
|
|
6
6
|
import { prompt } from "inquirer";
|
|
7
7
|
import execa from "execa";
|
|
8
8
|
import { copy } from "./copy";
|
|
9
|
-
import {
|
|
9
|
+
import { checkForNextVersion } from "./checkVersion";
|
|
10
10
|
import { detectYarn } from "./hasYarn";
|
|
11
11
|
import { getLanguage } from "./i18n";
|
|
12
12
|
import { getRegistry } from "./registry";
|
|
@@ -25,15 +25,14 @@ cli
|
|
|
25
25
|
const packageJsonPath = resolve(process.cwd(), "package.json");
|
|
26
26
|
const scripts = {
|
|
27
27
|
"docs:build": `vuepress build ${dir}`,
|
|
28
|
-
"docs:clean-dev": `vuepress dev ${dir} --
|
|
28
|
+
"docs:clean-dev": `vuepress dev ${dir} --clean-cache`,
|
|
29
29
|
"docs:dev": `vuepress dev ${dir}`,
|
|
30
|
-
"docs:eject-theme": `vuepress eject-hope ${dir}`,
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
console.log(message.getVersion);
|
|
34
33
|
|
|
35
|
-
const vuepressVersion = await
|
|
36
|
-
const themeVersion = await
|
|
34
|
+
const vuepressVersion = await checkForNextVersion("vuepress");
|
|
35
|
+
const themeVersion = await checkForNextVersion("vuepress-theme-hope");
|
|
37
36
|
|
|
38
37
|
const devDependencies = {
|
|
39
38
|
vuepress: `^${vuepressVersion}`,
|
|
@@ -72,7 +71,7 @@ cli
|
|
|
72
71
|
name: "name",
|
|
73
72
|
type: "input",
|
|
74
73
|
message: message.nameMessage,
|
|
75
|
-
default: "vuepress-theme-hope-
|
|
74
|
+
default: "vuepress-theme-hope-template",
|
|
76
75
|
validate: (input: string): true | string =>
|
|
77
76
|
/^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/u.exec(
|
|
78
77
|
input
|
|
@@ -84,7 +83,7 @@ cli
|
|
|
84
83
|
name: "version",
|
|
85
84
|
type: "input",
|
|
86
85
|
message: message.versionMessage,
|
|
87
|
-
default: "
|
|
86
|
+
default: "2.0.0",
|
|
88
87
|
validate: (input: string): true | string =>
|
|
89
88
|
/^[0-9]+\.[0-9]+\.(?:[0=9]+|[0-9]+-[a-z]+\.[0-9])$/u.exec(input)
|
|
90
89
|
? true
|
|
@@ -113,9 +112,27 @@ cli
|
|
|
113
112
|
);
|
|
114
113
|
}
|
|
115
114
|
|
|
115
|
+
interface I18nAnswer {
|
|
116
|
+
i18n: "Yes" | "No";
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
const { i18n } = await prompt<I18nAnswer>([
|
|
120
|
+
{
|
|
121
|
+
name: "i18n",
|
|
122
|
+
type: "list",
|
|
123
|
+
message: message.i18nMessage,
|
|
124
|
+
choices: ["Yes", "No"],
|
|
125
|
+
},
|
|
126
|
+
]);
|
|
127
|
+
|
|
116
128
|
console.log(message.template);
|
|
117
129
|
|
|
118
|
-
|
|
130
|
+
const templateFolder = i18n === "Yes" ? "i18n" : lang;
|
|
131
|
+
|
|
132
|
+
copy(
|
|
133
|
+
resolve(__dirname, "../../template", templateFolder),
|
|
134
|
+
resolve(process.cwd(), dir)
|
|
135
|
+
);
|
|
119
136
|
|
|
120
137
|
console.log(message.install);
|
|
121
138
|
console.warn(message.wait);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineHopeConfig } from "vuepress-theme-hope";
|
|
2
|
+
import themeConfig from "./themeConfig";
|
|
3
|
+
|
|
4
|
+
export default defineHopeConfig({
|
|
5
|
+
base: "/",
|
|
6
|
+
|
|
7
|
+
dest: "./dist",
|
|
8
|
+
|
|
9
|
+
head: [
|
|
10
|
+
[
|
|
11
|
+
"link",
|
|
12
|
+
{
|
|
13
|
+
rel: "stylesheet",
|
|
14
|
+
href: "//at.alicdn.com/t/font_2410206_mfj6e1vbwo.css",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
],
|
|
18
|
+
|
|
19
|
+
locales: {
|
|
20
|
+
"/": {
|
|
21
|
+
lang: "en-US",
|
|
22
|
+
title: "Theme Demo",
|
|
23
|
+
description: "A demo for vuepress-theme-hope",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
|
|
27
|
+
themeConfig,
|
|
28
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { defineNavbarConfig } from "vuepress-theme-hope";
|
|
2
|
+
|
|
3
|
+
export default defineNavbarConfig([
|
|
4
|
+
"/",
|
|
5
|
+
"/home",
|
|
6
|
+
{ text: "Guide", icon: "creative", link: "/guide/" },
|
|
7
|
+
{
|
|
8
|
+
text: "Posts",
|
|
9
|
+
icon: "edit",
|
|
10
|
+
prefix: "/posts/",
|
|
11
|
+
children: [
|
|
12
|
+
{
|
|
13
|
+
text: "Articles 1-4",
|
|
14
|
+
icon: "edit",
|
|
15
|
+
prefix: "article/",
|
|
16
|
+
children: [
|
|
17
|
+
{ text: "Article 1", icon: "edit", link: "article1" },
|
|
18
|
+
{ text: "Article 2", icon: "edit", link: "article2" },
|
|
19
|
+
"article3",
|
|
20
|
+
"article4",
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
text: "Articles 5-12",
|
|
25
|
+
icon: "edit",
|
|
26
|
+
children: [
|
|
27
|
+
{
|
|
28
|
+
text: "Article 5",
|
|
29
|
+
icon: "edit",
|
|
30
|
+
link: "article/article5",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
text: "Article 6",
|
|
34
|
+
icon: "edit",
|
|
35
|
+
link: "article/article6",
|
|
36
|
+
},
|
|
37
|
+
"article/article7",
|
|
38
|
+
"article/article8",
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
{ text: "Article 9", icon: "edit", link: "article9" },
|
|
42
|
+
{ text: "Article 10", icon: "edit", link: "article10" },
|
|
43
|
+
"article11",
|
|
44
|
+
"article12",
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
text: "Theme Docs",
|
|
49
|
+
icon: "note",
|
|
50
|
+
link: "https://vuepress-theme-hope.github.io/v2/",
|
|
51
|
+
},
|
|
52
|
+
]);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineSidebarConfig } from "vuepress-theme-hope";
|
|
2
|
+
|
|
3
|
+
export default defineSidebarConfig([
|
|
4
|
+
"",
|
|
5
|
+
"home",
|
|
6
|
+
"slide",
|
|
7
|
+
{
|
|
8
|
+
icon: "creative",
|
|
9
|
+
text: "Guide",
|
|
10
|
+
collapsable: true,
|
|
11
|
+
prefix: "guide/",
|
|
12
|
+
link: "guide/",
|
|
13
|
+
children: ["page", "markdown", "disable", "encrypt"],
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
text: "Articles",
|
|
17
|
+
icon: "note",
|
|
18
|
+
prefix: "posts/",
|
|
19
|
+
children: [
|
|
20
|
+
{
|
|
21
|
+
text: "Articles 1-4",
|
|
22
|
+
icon: "note",
|
|
23
|
+
collapsable: true,
|
|
24
|
+
prefix: "article/",
|
|
25
|
+
children: ["article1", "article2", "article3", "article4"],
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
text: "Articles 5-12",
|
|
29
|
+
icon: "note",
|
|
30
|
+
children: [
|
|
31
|
+
{
|
|
32
|
+
text: "Articles 5-8",
|
|
33
|
+
icon: "note",
|
|
34
|
+
collapsable: true,
|
|
35
|
+
prefix: "article/",
|
|
36
|
+
children: ["article5", "article6", "article7", "article8"],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
text: "Articles 9-12",
|
|
40
|
+
icon: "note",
|
|
41
|
+
children: ["article9", "article10", "article11", "article12"],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
]);
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { defineThemeConfig } from "vuepress-theme-hope";
|
|
2
|
+
import navbar from "./navbar";
|
|
3
|
+
import sidebar from "./sidebar";
|
|
4
|
+
|
|
5
|
+
export default defineThemeConfig({
|
|
6
|
+
hostname: "https://vuepress-theme-hope-v2-demo.mrhope.site",
|
|
7
|
+
|
|
8
|
+
author: {
|
|
9
|
+
name: "Mr.Hope",
|
|
10
|
+
url: "https://mrhope.site",
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
iconPrefix: "iconfont icon-",
|
|
14
|
+
|
|
15
|
+
logo: "/logo.svg",
|
|
16
|
+
|
|
17
|
+
repo: "https://github.com/vuepress-theme-hope/vuepress-theme-hope",
|
|
18
|
+
|
|
19
|
+
docsDir: "demo/src",
|
|
20
|
+
|
|
21
|
+
// navbar
|
|
22
|
+
navbar: navbar,
|
|
23
|
+
|
|
24
|
+
// sidebar
|
|
25
|
+
sidebar: sidebar,
|
|
26
|
+
|
|
27
|
+
footer: "Default footer",
|
|
28
|
+
|
|
29
|
+
displayFooter: true,
|
|
30
|
+
|
|
31
|
+
blog: {
|
|
32
|
+
description: "A FrontEnd programmer",
|
|
33
|
+
intro: "/intro.html",
|
|
34
|
+
medias: {
|
|
35
|
+
Baidu: "https://example.com",
|
|
36
|
+
Bitbucket: "https://example.com",
|
|
37
|
+
Dingding: "https://example.com",
|
|
38
|
+
Discord: "https://example.com",
|
|
39
|
+
Dribbble: "https://example.com",
|
|
40
|
+
Email: "https://example.com",
|
|
41
|
+
Evernote: "https://example.com",
|
|
42
|
+
Facebook: "https://example.com",
|
|
43
|
+
Flipboard: "https://example.com",
|
|
44
|
+
Gitee: "https://example.com",
|
|
45
|
+
GitHub: "https://example.com",
|
|
46
|
+
Gitlab: "https://example.com",
|
|
47
|
+
Gmail: "https://example.com",
|
|
48
|
+
Instagram: "https://example.com",
|
|
49
|
+
Lines: "https://example.com",
|
|
50
|
+
Linkedin: "https://example.com",
|
|
51
|
+
Pinterest: "https://example.com",
|
|
52
|
+
Pocket: "https://example.com",
|
|
53
|
+
QQ: "https://example.com",
|
|
54
|
+
Qzone: "https://example.com",
|
|
55
|
+
Reddit: "https://example.com",
|
|
56
|
+
Rss: "https://example.com",
|
|
57
|
+
Steam: "https://example.com",
|
|
58
|
+
Twitter: "https://example.com",
|
|
59
|
+
Wechat: "https://example.com",
|
|
60
|
+
Weibo: "https://example.com",
|
|
61
|
+
Whatsapp: "https://example.com",
|
|
62
|
+
Youtube: "https://example.com",
|
|
63
|
+
Zhihu: "https://example.com",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
encrypt: {
|
|
68
|
+
config: {
|
|
69
|
+
"/guide/encrypt.html": ["1234"],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
plugins: {
|
|
74
|
+
blog: {
|
|
75
|
+
autoExcerpt: true,
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
comment: {
|
|
79
|
+
type: "waline",
|
|
80
|
+
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
mdEnhance: {
|
|
84
|
+
enableAll: true,
|
|
85
|
+
presentation: {
|
|
86
|
+
plugins: ["highlight", "math", "search", "notes", "zoom"],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
pwa: {
|
|
91
|
+
favicon: "/favicon.ico",
|
|
92
|
+
cachePic: true,
|
|
93
|
+
apple: {
|
|
94
|
+
icon: "/assets/icon/apple-icon-152.png",
|
|
95
|
+
statusBarColor: "black",
|
|
96
|
+
},
|
|
97
|
+
msTile: {
|
|
98
|
+
image: "/assets/icon/ms-icon-144.png",
|
|
99
|
+
color: "#ffffff",
|
|
100
|
+
},
|
|
101
|
+
manifest: {
|
|
102
|
+
icons: [
|
|
103
|
+
{
|
|
104
|
+
src: "/assets/icon/chrome-mask-512.png",
|
|
105
|
+
sizes: "512x512",
|
|
106
|
+
purpose: "maskable",
|
|
107
|
+
type: "image/png",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
src: "/assets/icon/chrome-mask-192.png",
|
|
111
|
+
sizes: "192x192",
|
|
112
|
+
purpose: "maskable",
|
|
113
|
+
type: "image/png",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
src: "/assets/icon/chrome-512.png",
|
|
117
|
+
sizes: "512x512",
|
|
118
|
+
type: "image/png",
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
src: "/assets/icon/chrome-192.png",
|
|
122
|
+
sizes: "192x192",
|
|
123
|
+
type: "image/png",
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
shortcuts: [
|
|
127
|
+
{
|
|
128
|
+
name: "Guide",
|
|
129
|
+
short_name: "Guide",
|
|
130
|
+
url: "/guide/",
|
|
131
|
+
icons: [
|
|
132
|
+
{
|
|
133
|
+
src: "/assets/icon/guide-maskable.png",
|
|
134
|
+
sizes: "192x192",
|
|
135
|
+
purpose: "maskable",
|
|
136
|
+
type: "image/png",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
src: "/assets/icon/guide-monochrome.png",
|
|
140
|
+
sizes: "192x192",
|
|
141
|
+
purpose: "monochrome",
|
|
142
|
+
type: "image/png",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
});
|
|
@@ -7,7 +7,7 @@ heroImage: /logo.svg
|
|
|
7
7
|
heroText: the name of your blog
|
|
8
8
|
tagline: You can put your slogan here
|
|
9
9
|
heroFullScreen: true
|
|
10
|
-
|
|
10
|
+
projects:
|
|
11
11
|
- type: project
|
|
12
12
|
name: project name
|
|
13
13
|
desc: project detailed description
|
|
@@ -35,4 +35,4 @@ This is a blog home page.
|
|
|
35
35
|
|
|
36
36
|
To use this layout, you should set both `layout: Blog` and `home: true` in the page front matter.
|
|
37
37
|
|
|
38
|
-
For related configuration docs, please see [blog homepage](https://vuepress-theme-hope.github.io/v2/guide/blog/home/)
|
|
38
|
+
For related configuration docs, please see [blog homepage](https://vuepress-theme-hope.github.io/v2/guide/blog/home/).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|