Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit adbb5a3

Browse files
authoredMay 20, 2024
chore: bump deps (#2878)
1 parent 64bae64 commit adbb5a3

File tree

12 files changed

+1041
-852
lines changed

12 files changed

+1041
-852
lines changed
 

‎.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.vue

‎.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ export default defineConfigWithTheme<ThemeConfig>({
737737
markdown: {
738738
theme: 'github-dark',
739739
config(md) {
740+
// @ts-expect-error - broken type output in vitepress
740741
md.use(headerPlugin)
741742
// .use(textAdPlugin)
742743
}

‎.vitepress/headerMdPlugin.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export interface AugmentedHeader extends Header {
1919
}
2020

2121
export const headerPlugin = (md: MarkdownIt) => {
22-
md.core.ruler.enable('text_join')
23-
2422
md.renderer.rules.heading_open = (tokens, i, options, env, self) => {
2523
for (const child of tokens[i + 1].children!) {
2624
if (child.type === 'text' && child.content.endsWith('*')) {

‎.vitepress/theme/components/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref, onMounted } from 'vue'
2+
import { onMounted } from 'vue'
33
import SiteMap from './SiteMap.vue'
44
// import NewsLetter from './NewsLetter.vue'
55
import { load, data, base } from './sponsors'

‎netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build.environment]
2-
NODE_VERSION = "16"
2+
NODE_VERSION = "20"
33

44
[build]
55
publish = ".vitepress/dist"

‎package.json

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,24 @@
77
"dev": "vitepress",
88
"build": "vitepress build",
99
"preview": "vitepress preview",
10-
"preinstall": "npx only-allow pnpm"
10+
"preinstall": "npx only-allow pnpm",
11+
"type": "vue-tsc --noEmit"
1112
},
1213
"dependencies": {
13-
"@vue/repl": "^4.0.1",
14-
"@vue/theme": "^2.2.5",
14+
"@vue/repl": "^4.1.2",
15+
"@vue/theme": "^2.2.8",
1516
"dynamics.js": "^1.1.5",
16-
"gsap": "^3.9.0",
17-
"vitepress": "^1.1.0",
18-
"vue": "^3.4.0"
17+
"gsap": "^3.12.5",
18+
"vitepress": "^1.2.0",
19+
"vue": "^3.4.27"
1920
},
2021
"devDependencies": {
21-
"@types/markdown-it": "^12.2.3",
22-
"@types/node": "^20.10.1",
23-
"terser": "^5.14.2"
22+
"@types/body-scroll-lock": "^3.1.2",
23+
"@types/markdown-it": "^14.1.1",
24+
"@types/node": "^20.12.12",
25+
"terser": "^5.31.0",
26+
"typescript": "^5.4.5",
27+
"vue-tsc": "^2.0.19"
2428
},
25-
"pnpm": {
26-
"overrides": {
27-
"@vitejs/plugin-vue": "5.0.0-beta.1"
28-
},
29-
"peerDependencyRules": {
30-
"ignoreMissing": [
31-
"@algolia/client-search",
32-
"react",
33-
"react-dom",
34-
"@types/react",
35-
"search-insights"
36-
]
37-
}
38-
}
29+
"packageManager": "pnpm@9.1.1"
3930
}

‎pnpm-lock.yaml

Lines changed: 1016 additions & 812 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/api/api.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// a file ending with data.(j|t)s will be evaluated in Node.js
33
import fs from 'fs'
44
import path from 'path'
5-
import type { MultiSidebarConfig } from '@vue/theme/src/vitepress/config'
5+
import type { MultiSidebarConfig } from '@vue/theme/src/vitepress/config.ts'
66
import { sidebar } from '../../.vitepress/config'
77

88
interface APIHeader {

‎src/ecosystem/themes/ThemeProduct.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { VTLink } from '@vue/theme'
33
4-
const props = defineProps<{
4+
defineProps<{
55
product: Record<string, any>
66
}>()
77
</script>

‎src/examples/ExampleRepl.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
import { Repl, useStore, useVueImportMap } from '@vue/repl'
33
import CodeMirror from '@vue/repl/codemirror-editor'
44
import { data } from './examples.data'
5-
import {
6-
inject,
7-
watchEffect,
8-
version,
9-
Ref,
10-
onMounted,
11-
ref,
12-
onUnmounted
13-
} from 'vue'
5+
import { inject, watchEffect, Ref, onMounted, ref, onUnmounted } from 'vue'
146
import {
157
resolveSFCExample,
168
resolveNoBuildExample,

‎src/tutorial/TutorialRepl.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import { Repl, useStore, useVueImportMap } from '@vue/repl'
33
import CodeMirror from '@vue/repl/codemirror-editor'
4-
import { inject, watch, version, Ref, ref, computed, nextTick } from 'vue'
4+
import { inject, watch, Ref, ref, computed, nextTick } from 'vue'
55
import { data } from './tutorial.data'
66
import {
77
resolveSFCExample,

‎tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
"outDir": "dist",
44
"target": "esnext",
55
"module": "esnext",
6-
"moduleResolution": "node",
6+
"moduleResolution": "bundler",
77
"esModuleInterop": true,
88
"resolveJsonModule": true,
99
"allowJs": true,
1010
"strict": true,
11+
"noUnusedLocals": true,
12+
"skipLibCheck": true,
1113
"jsx": "preserve",
1214
"baseUrl": ".",
1315
"paths": {

0 commit comments

Comments
 (0)
Please sign in to comment.