chore: bump deps

pull/5430/head
Divyansh Singh 3 weeks ago
parent 633decf2e5
commit 4599f26991

@ -6,7 +6,7 @@ VitePress is published under the MIT license (see LICENSE). The published vitepr
License: MIT License: MIT
By: Anthony Fu <anthonyfu117@hotmail.com> By: Anthony Fu <anthonyfu117@hotmail.com>
Repository: https://github.com/antfu/install-pkg Repository: https://github.com/antfu-collective/install-pkg
> MIT License > MIT License
> >

@ -10,7 +10,7 @@
"site:preview": "vitepress preview" "site:preview": "vitepress preview"
}, },
"devDependencies": { "devDependencies": {
"@iconify-json/lucide": "^1.2.126", "@iconify-json/lucide": "^1.2.131",
"vitepress": "workspace:*" "vitepress": "workspace:*"
} }
} }

@ -16,6 +16,6 @@
"postcss-rtlcss": "^6.0.0", "postcss-rtlcss": "^6.0.0",
"vitepress": "workspace:*", "vitepress": "workspace:*",
"vitepress-plugin-group-icons": "^1.7.6", "vitepress-plugin-group-icons": "^1.7.6",
"vitepress-plugin-llms": "^1.13.4" "vitepress-plugin-llms": "^1.13.5"
} }
} }

@ -96,86 +96,86 @@
"@docsearch/css": "^4.7.0", "@docsearch/css": "^4.7.0",
"@docsearch/js": "^4.7.0", "@docsearch/js": "^4.7.0",
"@docsearch/sidepanel-js": "^4.7.0", "@docsearch/sidepanel-js": "^4.7.0",
"@iconify-json/simple-icons": "^1.2.93", "@iconify-json/simple-icons": "^1.2.95",
"@shikijs/transformers": "^4.4.3", "@shikijs/transformers": "^4.4.3",
"@types/markdown-it": "^14.1.2", "@types/markdown-it": "^14.2.0",
"@vitejs/plugin-vue": "^6.0.8", "@vitejs/plugin-vue": "^6.0.8",
"@vue/devtools-api": "^8.2.1", "@vue/devtools-api": "^8.2.1",
"@vue/shared": "^3.5.41", "@vue/shared": "^3.5.42",
"@vueuse/core": "^14.4.0", "@vueuse/core": "^14.4.0",
"@vueuse/integrations": "^14.4.0", "@vueuse/integrations": "^14.4.0",
"focus-trap": "^8.2.2", "focus-trap": "^8.2.2",
"mark.js": "8.11.1", "mark.js": "8.11.1",
"minisearch": "^7.2.0", "minisearch": "^7.2.0",
"shiki": "^4.4.3", "shiki": "^4.4.3",
"vite": "^8.2.1", "vite": "^8.3.0",
"vue": "^3.5.41" "vue": "^3.5.42"
}, },
"devDependencies": { "devDependencies": {
"@arethetypeswrong/cli": "^0.18.5", "@arethetypeswrong/cli": "^0.18.5",
"@clack/prompts": "^1.7.0", "@clack/prompts": "1.7.0",
"@iconify/utils": "^3.1.4", "@iconify/utils": "^3.1.7",
"@mdit-vue/plugin-component": "^3.0.2", "@mdit-vue/plugin-component": "3.0.2",
"@mdit-vue/plugin-frontmatter": "^3.0.2", "@mdit-vue/plugin-frontmatter": "3.0.2",
"@mdit-vue/plugin-headers": "^3.0.2", "@mdit-vue/plugin-headers": "3.0.2",
"@mdit-vue/plugin-sfc": "^3.0.2", "@mdit-vue/plugin-sfc": "3.0.2",
"@mdit-vue/plugin-title": "^3.0.2", "@mdit-vue/plugin-title": "3.0.2",
"@mdit-vue/plugin-toc": "^3.0.2", "@mdit-vue/plugin-toc": "3.0.2",
"@mdit-vue/shared": "^3.0.2", "@mdit-vue/shared": "3.0.2",
"@mdit/plugin-anchor": "^1.1.3", "@mdit/plugin-anchor": "1.1.3",
"@mdit/plugin-attrs": "^1.1.1", "@mdit/plugin-attrs": "1.1.1",
"@mdit/plugin-container": "^1.0.2", "@mdit/plugin-container": "1.0.2",
"@mdit/plugin-emoji": "^1.1.1", "@mdit/plugin-emoji": "1.1.1",
"@mdit/plugin-footnote": "^1.0.2", "@mdit/plugin-footnote": "1.0.2",
"@mdit/plugin-tasklist": "^1.0.2", "@mdit/plugin-tasklist": "1.0.2",
"@polka/compression": "^1.0.0-next.28", "@polka/compression": "^1.0.0-next.28",
"@rolldown/pluginutils": "^1.0.1", "@rolldown/pluginutils": "^1.0.1",
"@types/cross-spawn": "^6.0.6", "@types/cross-spawn": "^6.0.6",
"@types/mark.js": "^8.11.12", "@types/mark.js": "^8.11.12",
"@types/minimist": "^1.2.5", "@types/minimist": "^1.2.5",
"@types/node": "^26.2.0", "@types/node": "^26.5.1",
"@types/picomatch": "^4.0.3", "@types/picomatch": "^4.0.3",
"@types/semver": "^7.8.0", "@types/semver": "^7.8.0",
"@volar/typescript": "^2.4.28", "@volar/typescript": "^2.4.28",
"@vue/language-core": "^3.3.11", "@vue/language-core": "^3.3.11",
"conventional-changelog": "^8.1.1", "conventional-changelog": "^8.1.3",
"conventional-changelog-angular": "^9.2.1", "conventional-changelog-angular": "^9.4.0",
"cross-spawn": "^7.0.6", "cross-spawn": "^7.0.6",
"eta": "^4.6.0", "eta": "^4.6.0",
"get-port": "^7.2.0", "get-port": "^7.2.0",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"image-size": "^2.0.2", "image-size": "^2.0.2",
"lint-staged": "^17.3.0", "lint-staged": "^17.5.1",
"lru-cache": "^11.5.2", "lru-cache": "^11.5.2",
"markdown-it": "^14.3.0", "markdown-it": "^14.3.1",
"markdown-it-async": "^2.2.0", "markdown-it-async": "^2.2.0",
"markdown-it-cjk-friendly": "^2.0.2", "markdown-it-cjk-friendly": "^2.0.3",
"markdown-it-mathjax3": "^4.3.2", "markdown-it-mathjax3": "^4.3.2",
"minimist": "^1.2.8", "minimist": "^1.2.8",
"nanoid": "^6.0.1", "nanoid": "^6.0.1",
"obug": "^2.1.4", "obug": "^2.2.1",
"ora": "^9.4.1", "ora": "^9.4.1",
"p-map": "^7.0.6", "p-map": "^7.0.7",
"package-directory": "^8.2.0", "package-directory": "^8.2.0",
"path-to-regexp": "^6.3.0", "path-to-regexp": "^6.3.0",
"picocolors": "^1.1.1", "picocolors": "^1.1.1",
"picomatch": "^4.0.5", "picomatch": "^4.0.7",
"playwright-chromium": "^1.62.1", "playwright-chromium": "^1.63.0",
"polka": "^1.0.0-next.28", "polka": "^1.0.0-next.28",
"postcss": "^8.5.6", "postcss": "^8.5.6",
"postcss-selector-parser": "^7.1.5", "postcss-selector-parser": "^7.1.6",
"prettier": "^3.9.6", "prettier": "^3.9.6",
"publint": "^0.3.24", "publint": "^0.3.24",
"rolldown": "^1.2.5", "rolldown": "^1.2.8",
"semver": "^7.8.5", "semver": "^7.8.5",
"simple-git-hooks": "^2.13.1", "simple-git-hooks": "^2.14.0",
"sirv": "^3.0.2", "sirv": "^3.0.2",
"sitemap": "^9.0.1", "sitemap": "^9.0.1",
"tinyglobby": "^0.2.17", "tinyglobby": "^0.2.17",
"tsdown": "^0.22.14", "tsdown": "^0.23.0",
"typescript": "^6.0.3", "typescript": "^6.0.3",
"vitest": "^4.1.10", "vitest": "^4.1.11",
"vue-sfc-transformer": "^0.2.5", "vue-sfc-transformer": "^0.3.0",
"vue-tsc": "^3.3.11", "vue-tsc": "^3.3.11",
"wait-on": "^9.1.0" "wait-on": "^9.1.0"
}, },

@ -1,18 +0,0 @@
diff --git a/dist/rolldown.mjs b/dist/rolldown.mjs
index 7e04d96c703656b81220193b1f01426778b6a42f..26e96378fc0ad985237302e673ed0ab07674bf41 100644
--- a/dist/rolldown.mjs
+++ b/dist/rolldown.mjs
@@ -196,10 +196,11 @@ function resolveCache(options) {
async function transpileScript(code, filename = "__sfc.ts") {
const result = await transform(filename, code, {
lang: "ts",
- sourcemap: false
+ sourcemap: false,
+ typescript: { onlyRemoveTypeImports: true }
});
if (result.errors.length) throw new AggregateError(result.errors, `[vue-sfc-transformer] failed to transpile script in ${filename}`);
- return result.code ?? code;
+ return (result.code ?? code).replace(/\n?export \{\};?[\s\n]*$/, "");
}
function vueSfcPlugin(pluginOptions) {
const cwd = pluginOptions.cwd ?? process.cwd();

File diff suppressed because it is too large Load Diff

@ -15,9 +15,6 @@ minimumReleaseAge: 1440
overrides: overrides:
esbuild: '-' esbuild: '-'
patchedDependencies:
vue-sfc-transformer: patches/vue-sfc-transformer.patch
shellEmulator: true shellEmulator: true
strictPeerDependencies: true strictPeerDependencies: true

Loading…
Cancel
Save