perf: update vue to latest

This commit is contained in:
pengzhanbo 2024-03-04 03:44:17 +08:00
parent 8778705380
commit 1eb541efae
13 changed files with 563 additions and 1723 deletions

View File

@ -1,9 +1,12 @@
const fs = require('node:fs') import fs from 'node:fs'
const path = require('node:path') import path from 'node:path'
import { fileURLToPath } from 'node:url'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
const packages = fs.readdirSync(path.resolve(__dirname, 'plugins')) const packages = fs.readdirSync(path.resolve(__dirname, 'plugins'))
module.exports = { export default {
extends: ['@commitlint/config-conventional'], extends: ['@commitlint/config-conventional'],
rules: { rules: {
'scope-enum': [2, 'always', ['docs', 'theme', ...packages]], 'scope-enum': [2, 'always', ['docs', 'theme', ...packages]],

View File

@ -13,11 +13,8 @@
}, },
"dependencies": { "dependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.8", "@vuepress/bundler-vite": "2.0.0-rc.8",
"@vuepress/bundler-webpack": "2.0.0-rc.8",
"anywhere": "^1.6.0", "anywhere": "^1.6.0",
"sass": "^1.71.1", "vue": "^3.4.21",
"sass-loader": "^14.1.1",
"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.39", "version": "1.0.0-rc.39",
"private": true, "private": true,
"packageManager": "pnpm@8.15.3", "packageManager": "pnpm@8.15.4",
"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.1", "@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^18.6.2", "@commitlint/config-conventional": "^19.0.3",
"@pengzhanbo/eslint-config-vue": "^1.6.1", "@pengzhanbo/eslint-config-vue": "^1.6.1",
"@pengzhanbo/stylelint-config": "^1.6.1", "@pengzhanbo/stylelint-config": "^1.6.1",
"@types/lodash.merge": "^4.6.9", "@types/lodash.merge": "^4.6.9",
@ -51,7 +51,7 @@
"conventional-changelog-cli": "^4.1.0", "conventional-changelog-cli": "^4.1.0",
"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.57.0",
"husky": "^9.0.11", "husky": "^9.0.11",
"lint-staged": "^15.2.2", "lint-staged": "^15.2.2",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",

View File

@ -43,7 +43,7 @@
"@vue/devtools-api": "6.5.1", "@vue/devtools-api": "6.5.1",
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"create-filter": "^1.0.1", "create-filter": "^1.0.1",
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -40,7 +40,7 @@
"vuepress": "2.0.0-rc.8" "vuepress": "2.0.0-rc.8"
}, },
"dependencies": { "dependencies": {
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -41,7 +41,7 @@
}, },
"dependencies": { "dependencies": {
"@vuepress-plume/plugin-content-update": "workspace:*", "@vuepress-plume/plugin-content-update": "workspace:*",
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -41,7 +41,7 @@
}, },
"dependencies": { "dependencies": {
"@iconify/vue": "^4.1.1", "@iconify/vue": "^4.1.1",
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -52,11 +52,11 @@
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"esbuild": "^0.20.1", "esbuild": "^0.20.1",
"execa": "^8.0.1", "execa": "^8.0.1",
"netlify-cli": "^17.16.4", "netlify-cli": "^17.17.1",
"portfinder": "^1.0.32" "portfinder": "^1.0.32"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.11.19" "@types/node": "^20.11.24"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -43,7 +43,7 @@
"@vue/devtools-api": "6.5.1", "@vue/devtools-api": "6.5.1",
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"create-filter": "^1.0.1", "create-filter": "^1.0.1",
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -36,7 +36,7 @@
"dependencies": { "dependencies": {
"@netlify/functions": "^2.6.0", "@netlify/functions": "^2.6.0",
"leancloud-storage": "^4.15.2", "leancloud-storage": "^4.15.2",
"vue": "^3.4.19", "vue": "^3.4.21",
"vue-router": "4.2.5", "vue-router": "4.2.5",
"vuepress-plugin-netlify-functions": "workspace:*" "vuepress-plugin-netlify-functions": "workspace:*"
}, },

View File

@ -41,14 +41,14 @@
}, },
"dependencies": { "dependencies": {
"@vuepress/helper": "2.0.0-rc.15", "@vuepress/helper": "2.0.0-rc.15",
"@vueuse/core": "^10.8.0", "@vueuse/core": "^10.9.0",
"@vueuse/integrations": "^10.8.0", "@vueuse/integrations": "^10.9.0",
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"focus-trap": "^7.5.4", "focus-trap": "^7.5.4",
"mark.js": "^8.11.1", "mark.js": "^8.11.1",
"minisearch": "^6.3.0", "minisearch": "^6.3.0",
"p-map": "^7.0.1", "p-map": "^7.0.1",
"vue": "^3.4.19" "vue": "^3.4.21"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

2238
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -79,13 +79,13 @@
"@vuepress/plugin-sitemap": "2.0.0-rc.17", "@vuepress/plugin-sitemap": "2.0.0-rc.17",
"@vuepress/plugin-theme-data": "2.0.0-rc.15", "@vuepress/plugin-theme-data": "2.0.0-rc.15",
"@vuepress/plugin-toc": "2.0.0-rc.15", "@vuepress/plugin-toc": "2.0.0-rc.15",
"@vueuse/core": "^10.8.0", "@vueuse/core": "^10.9.0",
"bcrypt-ts": "^5.0.2", "bcrypt-ts": "^5.0.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.6", "nanoid": "^5.0.6",
"vue": "^3.4.19", "vue": "^3.4.21",
"vue-router": "4.2.5", "vue-router": "4.2.5",
"vuepress-plugin-comment2": "2.0.0-rc.25", "vuepress-plugin-comment2": "2.0.0-rc.25",
"vuepress-plugin-md-enhance": "2.0.0-rc.25" "vuepress-plugin-md-enhance": "2.0.0-rc.25"