perf: upgrade vuepress to rc.7

This commit is contained in:
pengzhanbo 2024-02-17 00:19:56 +08:00
parent dd19f195ea
commit e707e9a057
17 changed files with 1135 additions and 914 deletions

View File

@ -9,15 +9,15 @@
"docs:serve": "anywhere -s -h localhost -d .vuepress/dist" "docs:serve": "anywhere -s -h localhost -d .vuepress/dist"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.2", "@vuepress/bundler-vite": "2.0.0-rc.7",
"@vuepress/bundler-webpack": "2.0.0-rc.2", "@vuepress/bundler-webpack": "2.0.0-rc.7",
"anywhere": "^1.6.0", "anywhere": "^1.6.0",
"sass": "^1.70.0", "sass": "^1.70.0",
"sass-loader": "^14.0.0", "sass-loader": "^14.1.0",
"vue": "^3.4.15", "vue": "^3.4.19",
"vuepress-theme-plume": "workspace:*" "vuepress-theme-plume": "workspace:*"
} }
} }

View File

@ -3,7 +3,7 @@
"type": "module", "type": "module",
"version": "1.0.0-rc.32", "version": "1.0.0-rc.32",
"private": true, "private": true,
"packageManager": "pnpm@8.15.1", "packageManager": "pnpm@8.15.3",
"author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)", "author": "pengzhanbo <q942450674@outlook.com> (https://github.com/pengzhanbo/)",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
@ -38,8 +38,8 @@
"release:version": "bumpp package.json plugins/*/package.json theme/package.json --execute=\"pnpm release:changelog\" --commit \"build: publish v%s\" --all --tag --push" "release:version": "bumpp package.json plugins/*/package.json theme/package.json --execute=\"pnpm release:changelog\" --commit \"build: publish v%s\" --all --tag --push"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^18.6.0", "@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.0", "@commitlint/config-conventional": "^18.6.2",
"@pengzhanbo/eslint-config-vue": "^1.5.4", "@pengzhanbo/eslint-config-vue": "^1.5.4",
"@pengzhanbo/stylelint-config": "^1.5.4", "@pengzhanbo/stylelint-config": "^1.5.4",
"@types/lodash.merge": "^4.6.9", "@types/lodash.merge": "^4.6.9",
@ -52,17 +52,17 @@
"cpx2": "^7.0.1", "cpx2": "^7.0.1",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"husky": "^9.0.6", "husky": "^9.0.11",
"lint-staged": "^15.2.0", "lint-staged": "^15.2.2",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"stylelint": "^16.2.0", "stylelint": "^16.2.1",
"tsconfig-vuepress": "^4.5.0", "tsconfig-vuepress": "^4.5.0",
"typescript": "^5.3.3", "typescript": "^5.3.3",
"vite": "^5.0.12" "vite": "^5.1.3"
}, },
"pnpm": { "pnpm": {
"patchedDependencies": { "patchedDependencies": {
"@vuepress/markdown@2.0.0-rc.2": "patches/@vuepress__markdown@2.0.0-rc.2.patch" "@vuepress/markdown@2.0.0-rc.7": "patches/@vuepress__markdown@2.0.0-rc.7.patch"
} }
}, },
"lint-staged": { "lint-staged": {

View File

@ -1,5 +1,5 @@
diff --git a/dist/index.js b/dist/index.js diff --git a/dist/index.js b/dist/index.js
index de136bbd25d01677b7b86b6654b780765b9b7cec..b0ff18b8888fe4e691e8c8c2ee3db6ba9fd35ed2 100644 index 057c2897fdb1a01960724b83707a9c9d28205988..169e64c5e1d4b40aa48cdf07d0fb807e404f000e 100644
--- a/dist/index.js --- a/dist/index.js
+++ b/dist/index.js +++ b/dist/index.js
@@ -267,7 +267,7 @@ var codePlugin = (md, { @@ -267,7 +267,7 @@ var codePlugin = (md, {

View File

@ -28,15 +28,15 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"chokidar": "^3.5.3", "chokidar": "^3.6.0",
"create-filter": "^1.0.1", "create-filter": "^1.0.1",
"fast-glob": "^3.3.2", "fast-glob": "^3.3.2",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",

View File

@ -28,12 +28,12 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -32,18 +32,18 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@vue/devtools-api": "6.5.1", "@vue/devtools-api": "6.5.1",
"chokidar": "^3.5.3", "chokidar": "^3.6.0",
"create-filter": "^1.0.1", "create-filter": "^1.0.1",
"vue": "^3.4.15" "vue": "^3.4.19"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -39,11 +39,11 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run ts", "build": "pnpm run clean && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"markdown-it-container": "^4.0.0" "markdown-it-container": "^4.0.0"

View File

@ -32,16 +32,15 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"vue": "^3.4.15", "vue": "^3.4.19"
"vue-router": "4.2.5"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -1,4 +0,0 @@
declare module '@internal/pagesComponents' {
const pagesComponents: Record<string, any>
export { pagesComponents }
}

View File

@ -32,16 +32,16 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@vuepress-plume/plugin-content-update": "workspace:*", "@vuepress-plume/plugin-content-update": "workspace:*",
"vue": "^3.4.15" "vue": "^3.4.19"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -32,16 +32,16 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@iconify/vue": "^4.1.1", "@iconify/vue": "^4.1.1",
"vue": "^3.4.15" "vue": "^3.4.19"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -36,27 +36,27 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@iarna/toml": "^2.2.5", "@iarna/toml": "^2.2.5",
"@netlify/functions": "^2.5.1", "@netlify/functions": "^2.6.0",
"chalk": "^5.3.0", "chalk": "^5.3.0",
"chokidar": "^3.5.3", "chokidar": "^3.6.0",
"cpx2": "^7.0.1", "cpx2": "^7.0.1",
"dotenv": "^16.4.1", "dotenv": "^16.4.4",
"esbuild": "^0.19.12", "esbuild": "^0.20.0",
"execa": "^8.0.1", "execa": "^8.0.1",
"netlify-cli": "^17.15.3", "netlify-cli": "^17.16.2",
"portfinder": "^1.0.32" "portfinder": "^1.0.32"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.11.7" "@types/node": "^20.11.19"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -32,18 +32,18 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@vue/devtools-api": "6.5.1", "@vue/devtools-api": "6.5.1",
"chokidar": "^3.5.3", "chokidar": "^3.6.0",
"create-filter": "^1.0.1", "create-filter": "^1.0.1",
"vue": "^3.4.15" "vue": "^3.4.19"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -26,17 +26,17 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@netlify/functions": "^2.5.1", "@netlify/functions": "^2.6.0",
"leancloud-storage": "^4.15.2", "leancloud-storage": "^4.15.2",
"vue": "^3.4.15", "vue": "^3.4.19",
"vue-router": "4.2.5", "vue-router": "4.2.5",
"vuepress-plugin-netlify-functions": "workspace:*" "vuepress-plugin-netlify-functions": "workspace:*"
}, },

View File

@ -28,19 +28,18 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png}\" lib",
"ts": "tsc -b tsconfig.build.json" "ts": "tsc -b tsconfig.build.json"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@shikijs/transformers": "^1.1.2", "@shikijs/transformers": "^1.1.3",
"@shikijs/twoslash": "^1.1.2", "@shikijs/twoslash": "^1.1.3",
"nanoid": "^5.0.5", "nanoid": "^5.0.5",
"picocolors": "^1.0.0", "shiki": "^1.1.3"
"shiki": "^1.1.2"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

1893
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@
], ],
"scripts": { "scripts": {
"build": "pnpm run clean && pnpm run copy && pnpm run ts", "build": "pnpm run clean && pnpm run copy && pnpm run ts",
"clean": "rimraf lib *.tsbuildinfo", "clean": "rimraf --glob ./lib ./*.tsbuildinfo",
"copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png,woff2}\" lib", "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png,woff2}\" lib",
"copy:watch": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png,woff2}\" lib -w", "copy:watch": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png,woff2}\" lib -w",
"dev": "concurrently \"pnpm copy:watch\" \"pnpm ts:watch\"", "dev": "concurrently \"pnpm copy:watch\" \"pnpm ts:watch\"",
@ -52,7 +52,7 @@
"ts:watch": "tsc -b tsconfig.build.json --watch" "ts:watch": "tsc -b tsconfig.build.json --watch"
}, },
"peerDependencies": { "peerDependencies": {
"vuepress": "2.0.0-rc.2" "vuepress": "2.0.0-rc.7"
}, },
"dependencies": { "dependencies": {
"@pengzhanbo/utils": "^1.1.1", "@pengzhanbo/utils": "^1.1.1",
@ -65,28 +65,28 @@
"@vuepress-plume/plugin-iconify": "workspace:*", "@vuepress-plume/plugin-iconify": "workspace:*",
"@vuepress-plume/plugin-notes-data": "workspace:*", "@vuepress-plume/plugin-notes-data": "workspace:*",
"@vuepress-plume/plugin-shikiji": "workspace:*", "@vuepress-plume/plugin-shikiji": "workspace:*",
"@vuepress/plugin-active-header-links": "2.0.0-rc.7", "@vuepress/plugin-active-header-links": "2.0.0-rc.14",
"@vuepress/plugin-container": "2.0.0-rc.7", "@vuepress/plugin-container": "2.0.0-rc.12",
"@vuepress/plugin-docsearch": "2.0.0-rc.7", "@vuepress/plugin-docsearch": "2.0.0-rc.14",
"@vuepress/plugin-external-link-icon": "2.0.0-rc.7", "@vuepress/plugin-external-link-icon": "2.0.0-rc.14",
"@vuepress/plugin-git": "2.0.0-rc.7", "@vuepress/plugin-git": "2.0.0-rc.12",
"@vuepress/plugin-medium-zoom": "2.0.0-rc.7", "@vuepress/plugin-medium-zoom": "2.0.0-rc.14",
"@vuepress/plugin-nprogress": "2.0.0-rc.7", "@vuepress/plugin-nprogress": "2.0.0-rc.14",
"@vuepress/plugin-palette": "2.0.0-rc.7", "@vuepress/plugin-palette": "2.0.0-rc.14",
"@vuepress/plugin-reading-time": "2.0.0-rc.9", "@vuepress/plugin-reading-time": "2.0.0-rc.14",
"@vuepress/plugin-search": "2.0.0-rc.7", "@vuepress/plugin-search": "2.0.0-rc.14",
"@vuepress/plugin-seo": "2.0.0-rc.9", "@vuepress/plugin-seo": "2.0.0-rc.14",
"@vuepress/plugin-sitemap": "2.0.0-rc.9", "@vuepress/plugin-sitemap": "2.0.0-rc.14",
"@vuepress/plugin-theme-data": "2.0.0-rc.7", "@vuepress/plugin-theme-data": "2.0.0-rc.14",
"@vuepress/plugin-toc": "2.0.0-rc.7", "@vuepress/plugin-toc": "2.0.0-rc.14",
"@vueuse/core": "^10.7.2", "@vueuse/core": "^10.7.2",
"date-fns": "^3.3.1", "date-fns": "^3.3.1",
"katex": "^0.16.9", "katex": "^0.16.9",
"lodash.merge": "^4.6.2", "lodash.merge": "^4.6.2",
"nanoid": "^5.0.4", "nanoid": "^5.0.5",
"vue": "^3.4.15", "vue": "^3.4.19",
"vue-router": "4.2.5", "vue-router": "4.2.5",
"vuepress-plugin-comment2": "2.0.0-rc.20", "vuepress-plugin-comment2": "2.0.0-rc.23",
"vuepress-plugin-md-enhance": "2.0.0-rc.20" "vuepress-plugin-md-enhance": "2.0.0-rc.23"
} }
} }