OpenAPI: bundle cjs deps

This commit is contained in:
Fuma Nama
2026-05-17 17:25:01 +08:00
parent 891b733ab9
commit 0576884bfb
4 changed files with 15 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'fumadocs-openapi': patch
---
Bundle `xml-js`
+5 -4
View File
@@ -63,8 +63,7 @@
"remark": "^15.0.1",
"remark-rehype": "^11.1.2",
"shiki": "^4.0.2",
"tailwind-merge": "^3.6.0",
"xml-js": "^1.6.11"
"tailwind-merge": "^3.6.0"
},
"devDependencies": {
"@fastify/deepmerge": "^3.2.1",
@@ -81,7 +80,8 @@
"json-schema-typed": "^8.0.2",
"tailwindcss": "^4.3.0",
"tsconfig": "workspace:*",
"tsdown": "0.22.0"
"tsdown": "0.22.0",
"xml-js": "^1.6.11"
},
"peerDependencies": {
"@scalar/api-client-react": "2.0.1",
@@ -110,6 +110,7 @@
"@scalar/openapi-upgrader": "0.2.7",
"fast-content-type-parse": "3.0.0",
"pathe": "2.0.3",
"yaml": "2.8.4"
"xml-js": "1.6.11",
"yaml": "2.9.0"
}
}
+2
View File
@@ -36,6 +36,8 @@ export default defineConfig({
'yaml',
'@scalar/helpers',
'@scalar/openapi-upgrader',
'xml-js',
],
neverBundle: [/^node:/],
},
+3 -3
View File
@@ -2717,9 +2717,6 @@ importers:
tailwind-merge:
specifier: ^3.6.0
version: 3.6.0
xml-js:
specifier: ^1.6.11
version: 1.6.11
devDependencies:
'@fastify/deepmerge':
specifier: ^3.2.1
@@ -2766,6 +2763,9 @@ importers:
tsdown:
specifier: 0.22.0
version: 0.22.0(@tsdown/[email protected])([email protected](@emnapi/[email protected])(@emnapi/[email protected]))([email protected])([email protected])([email protected])
xml-js:
specifier: ^1.6.11
version: 1.6.11
packages/preview:
dependencies: