Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Dec 16, 2024
1 parent b4d3c49 commit b42c21a
Show file tree
Hide file tree
Showing 7 changed files with 419 additions and 428 deletions.
9 changes: 0 additions & 9 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
import path from 'node:path'
import { fileURLToPath, URL } from 'node:url'
import { viteBundler } from '@vuepress/bundler-vite'
import { shikiPlugin } from '@vuepress/plugin-shiki'
import { defaultTheme } from '@vuepress/theme-default'
import { defineUserConfig } from 'vuepress'
import { socialSharePlugin } from 'vuepress-plugin-social-share'
import type { SocialShareNetworkData } from 'vuepress-plugin-social-share'

const __dirname = fileURLToPath(new URL('.', import.meta.url))
const resolve = (...args: string[]) => path.resolve(__dirname, '..', ...args)

const extendsNetworks: SocialShareNetworkData = {
pinterest: {
sharer: 'https://pinterest.com/pin/create/button/?url=@url&media=@media&description=@title',
Expand All @@ -32,10 +27,6 @@ export default defineUserConfig({

bundler: viteBundler(),

alias: {
'@vuepress/plugin-palette/style': resolve('.vuepress/styles/index.scss'),
},

theme: defaultTheme({
repo: 'ntnyq/vuepress-plugin-social-share',
docsRepo: 'ntnyq/vuepress-plugin-social-share',
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.19",
"@vuepress/plugin-shiki": "^2.0.0-rc.65",
"@vuepress/theme-default": "^2.0.0-rc.65",
"sass-embedded": "^1.82.0",
"@vuepress/plugin-shiki": "^2.0.0-rc.66",
"@vuepress/theme-default": "^2.0.0-rc.66",
"sass-embedded": "^1.83.0",
"vuepress": "^2.0.0-rc.19",
"vuepress-plugin-social-share": "workspace:*"
}
Expand Down
4 changes: 1 addition & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/**
* @file ESLint config
*/
// @ts-check

import { defineESLintConfig } from '@ntnyq/eslint-config'

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,21 @@
},
"dependencies": {
"@types/qrcode": "^1.5.5",
"@vuepress/helper": "^2.0.0-rc.65",
"@vuepress/helper": "^2.0.0-rc.66",
"deepmerge": "^4.3.1",
"qrcode": "^1.5.4",
"vue": "^3.5.13"
},
"devDependencies": {
"@ntnyq/eslint-config": "^3.9.1",
"@ntnyq/eslint-config": "^3.9.2",
"@ntnyq/prettier-config": "^1.22.0",
"@types/node": "^22.10.2",
"bumpp": "^9.9.0",
"bumpp": "^9.9.1",
"copyfiles": "^2.4.1",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"nano-staged": "^0.8.0",
"npm-run-all2": "^7.0.1",
"npm-run-all2": "^7.0.2",
"pnpm": "^9.15.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
Expand Down
814 changes: 407 additions & 407 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions prettier.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check

import { config, defineConfig } from '@ntnyq/prettier-config'

export default defineConfig(config)
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"noImplicitAny": true,
"skipLibCheck": true
},
"include": ["./src"]
"include": ["./src", "./*.config.*"]
}

0 comments on commit b42c21a

Please sign in to comment.