Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
chore: use vue2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Dec 21, 2022
1 parent b84d452 commit 20ee4a9
Show file tree
Hide file tree
Showing 123 changed files with 2,805 additions and 3,808 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm

- name: Build project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm

- name: Build project
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm

- name: Build project
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- "12"
- "14"
- "16"
- "18"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -33,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm

- name: Build project
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: pnpm

- name: Build project
Expand Down
18 changes: 18 additions & 0 deletions demo/add-this/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "add-this-demo",
"version": "1.31.0-beta.2",
"private": true,
"description": "Demo for vuepress-plugin-add-this",
"license": "MIT",
"author": "Mr.Hope",
"scripts": {
"demo:build": "vuepress build src",
"demo:clean-dev": "vuepress dev src --no-cache",
"demo:dev": "vuepress dev src",
"demo:eject": "vuepress eject-hope src"
},
"devDependencies": {
"vuepress": "1.9.7",
"vuepress-plugin-add-this": "workspace:*"
}
}
File renamed without changes.
18 changes: 18 additions & 0 deletions demo/comment/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "comment-demo",
"version": "1.31.0-beta.2",
"private": true,
"description": "Demo for vuepress-plugin-comment1",
"license": "MIT",
"author": "Mr.Hope",
"scripts": {
"demo:build": "vuepress build src",
"demo:clean-dev": "vuepress dev src --no-cache",
"demo:dev": "vuepress dev src",
"demo:eject": "vuepress eject-hope src"
},
"devDependencies": {
"vuepress": "1.9.7",
"vuepress-plugin-comment1": "workspace:*"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ module.exports = {
[
"comment1",
{
// type: "valine",
// author: "Mr.Hope",
// appId: "GG2VSnGiz09Rx18y2OUzdaHS-gzGzoHsz",
// appKey: "fBf2dptTBHxNqALKrzUlBXeB",

provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Valine",
appId: "GG2VSnGiz09Rx18y2OUzdaHS-gzGzoHsz",
appKey: "fBf2dptTBHxNqALKrzUlBXeB",
},
],
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ actionLink: https://vuepress-theme-hope.github.io/v1/comment/
footer: MIT Licensed | Copyright © 2019-present Mr.Hope
---

This page should not have page info or comment.
This page should not have comment.
3 changes: 3 additions & 0 deletions demo/comment/src/test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Test

This page should have comment.
18 changes: 18 additions & 0 deletions demo/copy-code/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "copy-code-demo",
"version": "1.31.0-beta.2",
"private": true,
"description": "Demo for vuepress-plugin-copy-code1",
"license": "MIT",
"author": "Mr.Hope",
"scripts": {
"demo:build": "vuepress build src",
"demo:clean-dev": "vuepress dev src --no-cache",
"demo:dev": "vuepress dev src",
"demo:eject": "vuepress eject-hope src"
},
"devDependencies": {
"vuepress": "1.9.7",
"vuepress-plugin-copy-code1": "workspace:*"
}
}
File renamed without changes.
18 changes: 0 additions & 18 deletions demo/package.json

This file was deleted.

File renamed without changes.
18 changes: 18 additions & 0 deletions demo/theme/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "theme-demo",
"version": "1.31.0-beta.2",
"private": true,
"description": "Demo for vuepress-theme-hope",
"license": "MIT",
"author": "Mr.Hope",
"scripts": {
"demo:build": "vuepress build src",
"demo:clean-dev": "vuepress dev src --no-cache",
"demo:dev": "vuepress dev src",
"demo:eject": "vuepress eject-hope src"
},
"devDependencies": {
"vuepress": "1.9.7",
"vuepress-theme-hope": "workspace:*"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,11 @@ export default hope.config({
displayFooter: true,

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

copyrightPlugin: {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 5 additions & 2 deletions docs/add-this/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ export default hope.config({
addThis: "ra-5f829c59e6c6bc9a",

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/components/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/copy-code/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/feed/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/md-enhance/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/photo-swipe/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/pwa/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/seo/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/sitemap/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ export default hope.config({
},

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

cleanUrl: false,
Expand Down
7 changes: 5 additions & 2 deletions docs/theme/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ export default hope.config({
displayFooter: true,

comment: {
provider: "Waline",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
provider: "Giscus",
repo: "vuepress-theme-hope/giscus-discussions",
repoId: "R_kgDOG_Pt2A",
category: "Announcements",
categoryId: "DIC_kwDOG_Pt2M4COD69",
},

copyrightPlugin: {
Expand Down
Loading

0 comments on commit 20ee4a9

Please sign in to comment.