Skip to content

Commit

Permalink
feat: update marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent ade577c commit dd8f27b
Show file tree
Hide file tree
Showing 18 changed files with 848 additions and 1,235 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pnpm nano-staged
12 changes: 0 additions & 12 deletions config/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ const crawlerConfig = {
sitemap: true,
recordExtractor: "hope",
},
"plugin-feed2": {
sitemap: true,
recordExtractor: "hope",
},
"plugin-lightgallery": {
sitemap: true,
recordExtractor: "hope",
Expand Down Expand Up @@ -72,14 +68,6 @@ const crawlerConfig = {
sitemap: true,
recordExtractor: "hope",
},
"plugin-seo2": {
sitemap: true,
recordExtractor: "hope",
},
"plugin-sitemap2": {
sitemap: true,
recordExtractor: "hope",
},

"theme-hope": {
sitemap: true,
Expand Down
3 changes: 1 addition & 2 deletions config/generateCrawler.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// import fs from "fs";
import { fs } from "@vuepress/utils";
import { fs } from "vuepress/utils";
import crawler, { recordExtractorMap } from "./crawler.js";

const functionStore = [];
Expand Down
8 changes: 4 additions & 4 deletions config/plugins/blog.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
},
"items": [
{
"name": "feed2",
"name": "@vuepress/feed",
"icon": "rss",
"tag": "latest",
"recommend": true,
"desc": {
"/": "Feed plugin supporting atom, json and rss syntax feeds",
"/zh/": "支持 atom、json 和 rss 格式的订阅流插件"
},
"source": "vuepress-theme-hope/vuepress-theme-hope/tree/main/packages/feed2/",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-feed/",
"url": {
"/": "plugin-feed2.vuejs.press",
"/zh/": "plugin-feed2.vuejs.press/zh/"
"/": "ecosystem.vuejs.press/plugins/feed/",
"/zh/": "ecosystem.vuejs.press/zh/plugins/feed/"
}
}
]
Expand Down
36 changes: 18 additions & 18 deletions config/plugins/developer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@
"/": "Update route hash when scrolling pages",
"/zh/": "滚动页面时更新路由 Hash"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-active-header-links",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-active-header-links/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/active-header-links.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/active-header-links.html"
"/": "https://ecosystem.vuejs.press/plugins/active-header-links.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/active-header-links.html"
}
},
{
Expand All @@ -96,10 +96,10 @@
"/": "Add a icon to the external link in your markdown content",
"/zh/": "为你的 Markdown 内容中的外部链接添加图标"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-external-link-icon",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-external-link-icon/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/external-link-icon.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/external-link-icon.html"
"/": "https://ecosystem.vuejs.press/plugins/external-link-icon.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/external-link-icon.html"
}
},
{
Expand All @@ -110,10 +110,10 @@
"/": "Collect git information of your pages, including the created and updated time, the contributors, etc.",
"/zh/": "收集页面的 Git 信息,包括创建和更新时间,贡献者等"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-git",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-git/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/git.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/git.html"
"/": "https://ecosystem.vuejs.press/plugins/git.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/git.html"
}
},
{
Expand All @@ -124,10 +124,10 @@
"/": "Provide client data for your theme, with VuePress I18n support.",
"/zh/": "为你的主题提供客户端数据,支持 VuePress 多语言。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-theme-data",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-theme-data/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/theme-data.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/theme-data.html"
"/": "https://ecosystem.vuejs.press/plugins/theme-data.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/theme-data.html"
}
},
{
Expand All @@ -138,10 +138,10 @@
"/": "Provide a table-of-contents (TOC) component.",
"/zh/": "提供一个目录组件。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-toc",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-toc/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/toc.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/toc.html"
"/": "https://ecosystem.vuejs.press/plugins/toc.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/toc.html"
}
},
{
Expand Down Expand Up @@ -171,10 +171,10 @@
"/": " Provide palette support for your theme.",
"/zh/": "为你的主题提供调色板支持。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-palette",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-palette/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/palette.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/palette.html"
"/": "https://ecosystem.vuejs.press/plugins/palette.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/palette.html"
}
},
{
Expand Down
18 changes: 9 additions & 9 deletions config/plugins/feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"/": "Integrate <a href='https://github.com/francoischalifour/medium-zoom#readme' target='_blank'>medium-zoom</a> into VuePress.",
"/zh/": "将 <a href='https://github.com/francoischalifour/medium-zoom#readme' target='_blank'>medium-zoom</a> 集成到VuePress。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-medium-zoom",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-medium-zoom/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/medium-zoom.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/medium-zoom.html"
"/": "https://ecosystem.vuejs.press/plugins/medium-zoom.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/medium-zoom.html"
}
}
]
Expand Down Expand Up @@ -146,10 +146,10 @@
"/": "Back to top button",
"/zh/": "返回顶部按钮"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-back-to-top",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-back-to-top/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/back-to-top.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/back-to-top.html"
"/": "https://ecosystem.vuejs.press/plugins/back-to-top.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/back-to-top.html"
}
},
{
Expand Down Expand Up @@ -193,10 +193,10 @@
"/": "Register Vue components from component files or directory automatically.",
"/zh/": "自动从组件文件或目录中注册 Vue 组件。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-register-components",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-register-components/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/register-components.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/register-components.html"
"/": "https://ecosystem.vuejs.press/plugins/register-components.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/register-components.html"
}
},
{
Expand Down
34 changes: 17 additions & 17 deletions config/plugins/manage.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"/": "Integrate <a href='https://analytics.google.com/' target='_blank'>Google Analytics</a> into VuePress.",
"/zh/": "将 <a href='https://analytics.google.com/' target='_blank'>Google Analytics</a> 集成到 VuePress"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-google-analytics",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-google-analytics/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/google-analytics.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/google-analytics.html"
"/": "https://ecosystem.vuejs.press/plugins/google-analytics.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/google-analytics.html"
}
},
{
Expand Down Expand Up @@ -52,33 +52,33 @@
},
"items": [
{
"name": "seo2",
"name": "@vuepress/seo",
"icon": "wrench",
"tag": "latest",
"recommend": true,
"desc": {
"/": "Auto-generating OGP and JSON-LD tags to enhance SEO",
"/zh/": "自动生成 OGP 和 JSON-LD 标签以增强 SEO"
},
"source": "vuepress-theme-hope/vuepress-theme-hope/tree/main/packages/seo2/",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-seo/",
"url": {
"/": "plugin-seo2.vuejs.press",
"/zh/": "plugin-seo2.vuejs.press/zh/"
"/": "ecosystem.vuejs.press/plugins/seo/",
"/zh/": "ecosystem.vuejs.press/zh/plugins/seo/"
}
},
{
"name": "sitemap2",
"name": "@vuepress/sitemap",
"icon": "sitemap",
"tag": "latest",
"recommend": true,
"desc": {
"/": "Sitemap generator",
"/zh/": "Sitemap 生成器"
},
"source": "vuepress-theme-hope/vuepress-theme-hope/tree/main/packages/sitemap2/",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-sitemap/",
"url": {
"/": "plugin-sitemap2.vuejs.press",
"/zh/": "plugin-sitemap2.vuejs.press/zh/"
"/": "ecosystem.vuejs.press/plugins/sitemap/",
"/zh/": "ecosystem.vuejs.press/zh/plugins/sitemap/"
}
},
{
Expand Down Expand Up @@ -147,10 +147,10 @@
"/": "Make your VuePress site a <a href='https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps' target='_blank'>Progressive Web Application</a> (PWA).",
"/zh/": "使你的 VuePress 网站成为 <a href='https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps' target='_blank'>Progressive Web Application</a> (PWA)"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-pwa",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-pwa/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/pwa.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/pwa.html"
"/": "https://ecosystem.vuejs.press/plugins/pwa.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/pwa.html"
}
},
{
Expand All @@ -160,10 +160,10 @@
"/": "Provide a popup component for users to activate the new PWA service worker manually.",
"/zh/": "提供一个弹窗组件,允许用户手动刷新 PWA Service Worker 。"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-pwa-popup",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-pwa-popup/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/pwa-popup.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/pwa-popup.html"
"/": "https://ecosystem.vuejs.press/plugins/pwa-popup.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/pwa-popup.html"
}
}
]
Expand Down
30 changes: 15 additions & 15 deletions config/plugins/markdown.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"/": "Register markdown custom containers in your VuePress site",
"/zh/": "在你的 VuePress 站点中注册 markdown 自定义容器"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-container",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-container/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/container.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/container.html"
"/": "https://ecosystem.vuejs.press/plugins/container.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/container.html"
}
},
{
Expand All @@ -43,10 +43,10 @@
"/": " Enable syntax highlighting for markdown code fence with <a href='https://prismjs.com/' target='_blank'>Shiki</a>",
"/zh/": "使用 <a href='https://prismjs.com/' target='_blank'>Shiki</a> 为 Markdown 代码块启用语法高亮"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-shiki",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-shiki/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/shiki.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/shiki.html"
"/": "https://ecosystem.vuejs.press/plugins/shiki.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/shiki.html"
}
},
{
Expand Down Expand Up @@ -282,10 +282,10 @@
"/": " Enable syntax highlighting for markdown code fence with <a href='https://prismjs.com/' target='_blank'>Prism.js</a>",
"/zh/": "使用 <a href='https://prismjs.com/' target='_blank'>Prism.js</a> 为 Markdown 代码块启用语法高亮"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-prismjs",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-prismjs/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/prismjs.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/prismjs.html"
"/": "https://ecosystem.vuejs.press/plugins/prismjs.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/prismjs.html"
}
}
]
Expand Down Expand Up @@ -368,10 +368,10 @@
"/": " Enable syntax highlighting for markdown code fence with <a href='https://prismjs.com/' target='_blank'>Shiki</a>",
"/zh/": "使用 <a href='https://prismjs.com/' target='_blank'>Shiki</a> 为 Markdown 代码块启用语法高亮"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-shiki",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-shiki/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/shiki.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/shiki.html"
"/": "https://ecosystem.vuejs.press/plugins/shiki.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/shiki.html"
}
},
{
Expand Down Expand Up @@ -441,10 +441,10 @@
"/": " Enable syntax highlighting for markdown code fence with <a href='https://prismjs.com/' target='_blank'>Prism.js</a>",
"/zh/": "使用 <a href='https://prismjs.com/' target='_blank'>Prism.js</a> 为 Markdown 代码块启用语法高亮"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-prismjs",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-prismjs/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/prismjs.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/prismjs.html"
"/": "https://ecosystem.vuejs.press/plugins/prismjs.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/prismjs.html"
}
}
]
Expand Down
12 changes: 6 additions & 6 deletions config/plugins/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"/": "Integrate <a href='https://docsearch.algolia.com/' target='_blank'>Algolia DocSearch</a> into VuePress",
"/zh/": "将 <a href='https://docsearch.algolia.com/' target='_blank'>Algolia DocSearch</a> 集成到 VuePress"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-docsearch",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-docsearch/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/docsearch.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html"
"/": "https://ecosystem.vuejs.press/plugins/docsearch.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/docsearch.html"
}
}
]
Expand Down Expand Up @@ -49,10 +49,10 @@
"/": "Provide local search to your documentation site.",
"/zh/": "为你的文档网站提供本地搜索"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/plugin-search",
"source": "vuepress/ecosystem/tree/main/plugins/plugin-search/",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/plugin/search.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/plugin/search.html"
"/": "https://ecosystem.vuejs.press/plugins/search.html",
"/zh/": "https://ecosystem.vuejs.press/zh/plugins/search.html"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions config/themes/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"/": "VuePress2 default theme",
"/zh/": "VuePress2 默认主题"
},
"source": "vuepress/vuepress-next/tree/main/ecosystem/theme-default",
"source": "vuepress/ecosystem/tree/main/themes/theme-default",
"url": {
"/": "https://v2.vuepress.vuejs.org/reference/default-theme/config.html",
"/zh/": "https://v2.vuepress.vuejs.org/zh/reference/default-theme/config.html"
"/": "https://ecosystem.vuejs.press/themes/default/config.html",
"/zh/": "https://ecosystem.vuejs.press/zh/themes/default/config.html"
}
},
{
Expand Down
Loading

0 comments on commit dd8f27b

Please sign in to comment.