Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump deps, fix dts generation (#3856)
- Loading branch information
Showing
9 changed files
with
392 additions
and
394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,19 +104,20 @@ | |
"dependencies": { | ||
"@docsearch/css": "^3.6.0", | ||
"@docsearch/js": "^3.6.0", | ||
"@shikijs/core": "^1.3.0", | ||
"@shikijs/transformers": "^1.3.0", | ||
"@types/markdown-it": "^14.0.1", | ||
"@shikijs/core": "^1.4.0", | ||
"@shikijs/transformers": "^1.4.0", | ||
"@types/markdown-it": "^14.1.1", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vue/devtools-api": "^7.0.27", | ||
"@vue/shared": "^3.4.26", | ||
"@vueuse/core": "^10.9.0", | ||
"@vueuse/integrations": "^10.9.0", | ||
"focus-trap": "^7.5.4", | ||
"mark.js": "8.11.1", | ||
"minisearch": "^6.3.0", | ||
"shiki": "^1.3.0", | ||
"vite": "^5.2.10", | ||
"vue": "^3.4.25" | ||
"shiki": "^1.4.0", | ||
"vite": "^5.2.11", | ||
"vue": "^3.4.26" | ||
}, | ||
"devDependencies": { | ||
"@clack/prompts": "^0.7.0", | ||
|
@@ -141,13 +142,12 @@ | |
"@types/mark.js": "^8.11.12", | ||
"@types/markdown-it-attrs": "^4.1.3", | ||
"@types/markdown-it-container": "^2.0.10", | ||
"@types/markdown-it-emoji": "^2.0.5", | ||
"@types/markdown-it-emoji": "^3.0.1", | ||
"@types/micromatch": "^4.0.7", | ||
"@types/minimist": "^1.2.5", | ||
"@types/node": "^20.12.7", | ||
"@types/node": "^20.12.8", | ||
"@types/postcss-prefix-selector": "^1.16.3", | ||
"@types/prompts": "^2.4.9", | ||
"@vue/shared": "^3.4.25", | ||
"chokidar": "^3.6.0", | ||
"conventional-changelog-cli": "^4.1.0", | ||
"cross-spawn": "^7.0.3", | ||
|
@@ -161,7 +161,7 @@ | |
"gray-matter": "^4.0.3", | ||
"lint-staged": "^15.2.2", | ||
"lodash.template": "^4.5.0", | ||
"lru-cache": "^10.2.1", | ||
"lru-cache": "^10.2.2", | ||
"markdown-it": "^14.1.0", | ||
"markdown-it-anchor": "^8.6.7", | ||
"markdown-it-attrs": "^4.1.6", | ||
|
@@ -184,7 +184,7 @@ | |
"prompts": "^2.4.2", | ||
"punycode": "^2.3.1", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.17.0", | ||
"rollup": "^4.17.2", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-esbuild": "^6.1.1", | ||
"semver": "^7.6.0", | ||
|
@@ -194,8 +194,8 @@ | |
"sort-package-json": "^2.10.0", | ||
"supports-color": "^9.4.0", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.2", | ||
"vue-tsc": "^2.0.14", | ||
"vitest": "^1.5.3", | ||
"vue-tsc": "2.0.14", | ||
"wait-on": "^7.2.0" | ||
}, | ||
"peerDependencies": { | ||
|
@@ -223,8 +223,8 @@ | |
"ora>string-width": "^5" | ||
}, | ||
"patchedDependencies": { | ||
"@types/markdown-it@14.0.1": "patches/@types__markdown-it@14.0.1.patch", | ||
"[email protected]": "patches/[email protected].patch" | ||
"markdown-it[email protected]": "patches/markdown-it[email protected].patch", | ||
"[email protected]": "patches/[email protected].patch" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/dist/rollup-plugin-dts.mjs b/dist/rollup-plugin-dts.mjs | ||
index 4a9412285c48c37d03340a086c771f8e61fd82ac..c73cba3bf47550f69011366e37d2ae974f0c9fc0 100644 | ||
--- a/dist/rollup-plugin-dts.mjs | ||
+++ b/dist/rollup-plugin-dts.mjs | ||
@@ -675,6 +675,8 @@ function preProcess({ sourceFile }) { | ||
const nextToken = children[idx + 1]; | ||
const isPunctuation = nextToken.kind >= ts.SyntaxKind.FirstPunctuation && nextToken.kind <= ts.SyntaxKind.LastPunctuation; | ||
if (isPunctuation) { | ||
+ const addSpace = code.slice(token.getEnd(), nextToken.getStart()) != " "; | ||
+ code.appendLeft(nextToken.getStart(), `${addSpace ? " " : ""}${defaultExport}`); | ||
code.appendLeft(nextToken.getStart(), defaultExport); | ||
} | ||
else { |
Oops, something went wrong.