Skip to content

Commit

Permalink
feat: bump vuepress to rc-8
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Mar 13, 2024
1 parent 232a7db commit 37e56ee
Show file tree
Hide file tree
Showing 11 changed files with 1,892 additions and 1,656 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3

- run: pnpm install --frozen-lockfile
- run: pnpm run lint
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx nano-staged
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ import { defineUserConfig } from 'vuepress'
import { svgIconPlugin } from '@goy/vuepress-plugin-svg-icons'

export default defineUserConfig({
plugins: [
svgIconPlugin(),
],
plugins: [svgIconPlugin()],
})
```

Expand Down
6 changes: 5 additions & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { defaultTheme, defineUserConfig } from 'vuepress'
import { defineUserConfig } from 'vuepress'
import { viteBundler } from '@vuepress/bundler-vite'
import { defaultTheme } from '@vuepress/theme-default'
import { svgIconPlugin } from '@goy/vuepress-plugin-svg-icons'

export default defineUserConfig({
title: 'vuepress-plugin-svg-icons',

description: 'Using SVG sprite icons in VuePress',

bundler: viteBundler(),

plugins: [svgIconPlugin()],

theme: defaultTheme({
Expand Down
4 changes: 3 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"dev": "vuepress dev ."
},
"devDependencies": {
"@goy/vuepress-plugin-svg-icons": "workspace:*"
"@goy/vuepress-plugin-svg-icons": "workspace:*",
"@vuepress/bundler-vite": "2.0.0-rc.8",
"@vuepress/theme-default": "2.0.0-rc.20"
}
}
45 changes: 16 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@goy/vuepress-plugin-svg-icons",
"type": "module",
"version": "5.4.0",
"packageManager": "pnpm@8.6.9",
"packageManager": "pnpm@8.15.4",
"description": "SVG sprite icon plugin for VuePress",
"keywords": [
"vuepress-plugin",
Expand All @@ -24,10 +24,10 @@
"exports": {
".": "./dist/node/index.js",
"./client": "./dist/client/index.js",
"./*": "./*"
"./client/*": "./dist/client/*",
"./package.json": "./package.json"
},
"main": "./dist/node/index.js",
"module": "./dist/node/index.js",
"types": "./dist/node/index.d.ts",
"files": [
"dist"
Expand All @@ -42,45 +42,32 @@
"dev:docs": "pnpm --filter=docs run dev",
"dev:lib": "tsc-watch --onSuccess \"npm run copy\"",
"lint": "eslint .",
"prepare": "husky install",
"prepare": "husky",
"prepublishOnly": "run-s build typecheck lint",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"vuepress": "2.0.0-beta.66",
"vuepress-vite": "2.0.0-beta.66",
"vuepress-webpack": "2.0.0-beta.66"
},
"peerDependenciesMeta": {
"vuepress": {
"optional": true
},
"vuepress-vite": {
"optional": true
},
"vuepress-webpack": {
"optional": true
}
"vuepress": "2.0.0-rc.8"
},
"dependencies": {
"@vuepress/client": "2.0.0-beta.66",
"@vuepress/client": "2.0.0-rc.8",
"svg-mixer": "^2.3.14",
"vue": "^3.3.4"
"vue": "^3.4.21"
},
"devDependencies": {
"@ntnyq/eslint-config": "^1.12.0",
"@ntnyq/prettier-config": "^1.12.0",
"@ntnyq/eslint-config": "^1.20.3",
"@ntnyq/prettier-config": "^1.20.3",
"copyfiles": "^2.4.1",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"pnpm": "^8.6.9",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"pnpm": "^8.15.4",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"tsc-watch": "^6.0.4",
"typescript": "^5.1.6",
"vuepress": "2.0.0-beta.66"
"typescript": "^5.4.2",
"vuepress": "2.0.0-rc.8"
},
"pnpm": {
"peerDependencyRules": {
Expand Down

0 comments on commit 37e56ee

Please sign in to comment.