From adbb5a3d272c12cace73b11f7e7a8c89fa218054 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Mon, 20 May 2024 10:53:44 +0530 Subject: [PATCH] chore: bump deps (#2878) --- .prettierignore | 1 + .vitepress/config.ts | 1 + .vitepress/headerMdPlugin.ts | 2 - .vitepress/theme/components/Home.vue | 2 +- netlify.toml | 2 +- package.json | 37 +- pnpm-lock.yaml | 1828 ++++++++++++++----------- src/api/api.data.ts | 2 +- src/ecosystem/themes/ThemeProduct.vue | 2 +- src/examples/ExampleRepl.vue | 10 +- src/tutorial/TutorialRepl.vue | 2 +- tsconfig.json | 4 +- 12 files changed, 1041 insertions(+), 852 deletions(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..65a7d058 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.vue diff --git a/.vitepress/config.ts b/.vitepress/config.ts index bc6b2af2..13bc24f5 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -737,6 +737,7 @@ export default defineConfigWithTheme({ markdown: { theme: 'github-dark', config(md) { + // @ts-expect-error - broken type output in vitepress md.use(headerPlugin) // .use(textAdPlugin) } diff --git a/.vitepress/headerMdPlugin.ts b/.vitepress/headerMdPlugin.ts index d7e6c7ba..2a0db534 100644 --- a/.vitepress/headerMdPlugin.ts +++ b/.vitepress/headerMdPlugin.ts @@ -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('*')) { diff --git a/.vitepress/theme/components/Home.vue b/.vitepress/theme/components/Home.vue index 2ab0b880..d1786f47 100644 --- a/.vitepress/theme/components/Home.vue +++ b/.vitepress/theme/components/Home.vue @@ -1,5 +1,5 @@ diff --git a/src/examples/ExampleRepl.vue b/src/examples/ExampleRepl.vue index fc56e992..4247fb4b 100644 --- a/src/examples/ExampleRepl.vue +++ b/src/examples/ExampleRepl.vue @@ -2,15 +2,7 @@ import { Repl, useStore, useVueImportMap } from '@vue/repl' import CodeMirror from '@vue/repl/codemirror-editor' import { data } from './examples.data' -import { - inject, - watchEffect, - version, - Ref, - onMounted, - ref, - onUnmounted -} from 'vue' +import { inject, watchEffect, Ref, onMounted, ref, onUnmounted } from 'vue' import { resolveSFCExample, resolveNoBuildExample, diff --git a/src/tutorial/TutorialRepl.vue b/src/tutorial/TutorialRepl.vue index 804dcd66..a8ccac73 100644 --- a/src/tutorial/TutorialRepl.vue +++ b/src/tutorial/TutorialRepl.vue @@ -1,7 +1,7 @@