Skip to content

Commit

Permalink
chore: bump deps (#2878)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd authored May 20, 2024
1 parent 64bae64 commit adbb5a3
Show file tree
Hide file tree
Showing 12 changed files with 1,041 additions and 852 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.vue
1 change: 1 addition & 0 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ export default defineConfigWithTheme<ThemeConfig>({
markdown: {
theme: 'github-dark',
config(md) {
// @ts-expect-error - broken type output in vitepress
md.use(headerPlugin)
// .use(textAdPlugin)
}
Expand Down
2 changes: 0 additions & 2 deletions .vitepress/headerMdPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ export interface AugmentedHeader extends Header {
}

export const headerPlugin = (md: MarkdownIt) => {
md.core.ruler.enable('text_join')

md.renderer.rules.heading_open = (tokens, i, options, env, self) => {
for (const child of tokens[i + 1].children!) {
if (child.type === 'text' && child.content.endsWith('*')) {
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { onMounted } from 'vue'
import SiteMap from './SiteMap.vue'
// import NewsLetter from './NewsLetter.vue'
import { load, data, base } from './sponsors'
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build.environment]
NODE_VERSION = "16"
NODE_VERSION = "20"

[build]
publish = ".vitepress/dist"
Expand Down
37 changes: 14 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,24 @@
"dev": "vitepress",
"build": "vitepress build",
"preview": "vitepress preview",
"preinstall": "npx only-allow pnpm"
"preinstall": "npx only-allow pnpm",
"type": "vue-tsc --noEmit"
},
"dependencies": {
"@vue/repl": "^4.0.1",
"@vue/theme": "^2.2.5",
"@vue/repl": "^4.1.2",
"@vue/theme": "^2.2.8",
"dynamics.js": "^1.1.5",
"gsap": "^3.9.0",
"vitepress": "^1.1.0",
"vue": "^3.4.0"
"gsap": "^3.12.5",
"vitepress": "^1.2.0",
"vue": "^3.4.27"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
"@types/node": "^20.10.1",
"terser": "^5.14.2"
"@types/body-scroll-lock": "^3.1.2",
"@types/markdown-it": "^14.1.1",
"@types/node": "^20.12.12",
"terser": "^5.31.0",
"typescript": "^5.4.5",
"vue-tsc": "^2.0.19"
},
"pnpm": {
"overrides": {
"@vitejs/plugin-vue": "5.0.0-beta.1"
},
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search",
"react",
"react-dom",
"@types/react",
"search-insights"
]
}
}
"packageManager": "[email protected]"
}
Loading

0 comments on commit adbb5a3

Please sign in to comment.