Skip to content

Commit

Permalink
fix: adopt useDarkMode of @vuepress/helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Feb 17, 2025
1 parent 05e674e commit 3c408b7
Show file tree
Hide file tree
Showing 11 changed files with 501 additions and 1,540 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
shamefully-hoist=true
ignore-workspace-root-check=true
auto-install-peers=false
package-manager-strict=false
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.validate": [
"vue",
"toml",
"yaml",
"json",
"jsonc",
Expand Down Expand Up @@ -34,6 +35,7 @@
"serializers",
"shiki",
"tsbuildinfo",
"vite",
"vuepress",
"weibo"
],
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const packageName = 'vuepress-plugin-social-share'
const VERSIONS: NavbarLinkOptions[] = [
{ text: `v${version} (current)`, link: '/' },
{
text: `Release Notes`,
text: 'Release Notes',
link: `https://github.com/ntnyq/${packageName}/releases`,
},
{ text: 'VuePress v1', link: 'https://social-share-v1.ntnyq.com' },
Expand Down
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"dev": "vuepress dev ."
},
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.19",
"@vuepress/plugin-shiki": "^2.0.0-rc.76",
"@vuepress/theme-default": "^2.0.0-rc.76",
"@vuepress/bundler-vite": "catalog:",
"@vuepress/plugin-shiki": "catalog:",
"@vuepress/theme-default": "catalog:",
"sass-embedded": "^1.85.0",
"vuepress": "^2.0.0-rc.19",
"vuepress": "catalog:",
"vuepress-plugin-social-share": "workspace:*"
}
}
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vuepress-plugin-social-share",
"type": "module",
"version": "2.0.0-beta.28",
"packageManager": "pnpm@10.4.0",
"packageManager": "pnpm@10.4.1",
"description": "Social sharing plugin for VuePress",
"keywords": [
"facebook",
Expand Down Expand Up @@ -41,7 +41,7 @@
"build:lib": "tsc",
"build:site": "run-s build docs:build",
"clean": "premove dist *.tsbuildinfo",
"copy": "copyfiles -a -u 1 -V src/**/*.css dist",
"copy": "node scripts/syncStyle.mjs",
"dev": "run-s clean dev:lib",
"dev:lib": "tsc-watch --onSuccess \"npm run copy\"",
"docs:build": "pnpm -C docs run build",
Expand All @@ -59,17 +59,16 @@
},
"dependencies": {
"@types/qrcode": "^1.5.5",
"@vuepress/helper": "^2.0.0-rc.74",
"@vuepress/helper": "catalog:",
"deepmerge": "^4.3.1",
"qrcode": "^1.5.4",
"vue": "^3.5.13"
},
"devDependencies": {
"@ntnyq/eslint-config": "^4.0.0-beta.4",
"@ntnyq/prettier-config": "^2.0.0-beta.2",
"@ntnyq/eslint-config": "^4.0.0-beta.6",
"@ntnyq/prettier-config": "^2.0.0",
"@types/node": "^22.13.4",
"bumpp": "^10.0.3",
"copyfiles": "^2.4.1",
"eslint": "^9.20.1",
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
Expand All @@ -79,14 +78,14 @@
"tsc-watch": "^6.2.1",
"typescript": "^5.7.3",
"vitest": "^3.0.5",
"vuepress": "^2.0.0-rc.19"
"vuepress": "catalog:"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"nano-staged": {
"*.{js,ts,cjs,mjs,vue,yml,yaml,md,json}": "eslint --fix"
"*.{js,ts,cjs,mjs,vue,md,yml,yaml,json}": "eslint --fix"
}
}
Loading

0 comments on commit 3c408b7

Please sign in to comment.