Skip to content

Commit

Permalink
chore: bump deps (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed May 20, 2024
1 parent 104b692 commit 572bf71
Show file tree
Hide file tree
Showing 8 changed files with 1,163 additions and 679 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
with:
version: 8.6.10
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: install and test
run: |
pnpm install
pnpm test
pnpm demo-build
2 changes: 1 addition & 1 deletion demo/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { h } from 'vue'
export default {
...VPTheme,
Layout() {
return h(VPTheme.Layout, null, {
return h(VPTheme.Layout!, null, {
// uncomment to test layout slots

// 'sidebar-top': () => h('div', 'hello top'),
Expand Down
5 changes: 2 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent Netlify npm install
NODE_VERSION = "20"

[build]
publish = "demo/.vitepress/dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npm run demo-build"
command = "pnpm demo-build"
33 changes: 18 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "2.2.5",
"description": "The VitePress theme for vuejs.org.",
"main": "src/index.ts",
"type": "module",
"exports": {
".": "./src/index.ts",
"./config": {
Expand Down Expand Up @@ -31,37 +32,39 @@
"scripts": {
"lint": "prettier --check --write --parser typescript \"{__tests__,docs,src,types}/**/*.ts\"",
"lint:fail": "prettier --check --parser typescript \"{__tests__,docs,src,types}/**/*.ts\"",
"type": "tsc --noEmit",
"type": "vue-tsc --noEmit",
"test": "npm run lint && npm run type",
"dev": "vitepress dev demo",
"demo-build": "vitepress build demo",
"serve": "npm run demo-build && vitepress serve demo"
},
"dependencies": {
"@docsearch/css": "^3.2.1",
"@docsearch/js": "^3.2.1",
"@vueuse/core": "^9.1.1",
"body-scroll-lock": "^3.1.5",
"@docsearch/css": "^3.6.0",
"@docsearch/js": "^3.6.0",
"@vueuse/core": "^10.9.0",
"body-scroll-lock": "^4.0.0-beta.0",
"normalize.css": "^8.0.1"
},
"devDependencies": {
"@mdit-vue/types": "^0.11.0",
"@types/body-scroll-lock": "^3.1.0",
"@types/estree": "^1.0.0",
"@types/node": "^18.15.3",
"prettier": "^2.7.1",
"typescript": "^4.9.5",
"vitepress": "^1.0.0-alpha.60",
"vue": "^3.2.47"
"@mdit-vue/types": "^2.1.0",
"@types/body-scroll-lock": "^3.1.2",
"@types/estree": "^1.0.5",
"@types/node": "^20.12.12",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"vitepress": "^1.2.0",
"vue": "^3.4.27",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"vitepress": "^1.0.0-alpha.60"
"vitepress": "^1.2.0"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
}
},
"packageManager": "pnpm@9.1.1"
}
Loading

0 comments on commit 572bf71

Please sign in to comment.