File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "lockfileVersion" : 1 ,
3+ "configVersion" : 0 ,
34 "workspaces" : {
45 "" : {
56 "name" : " sveltekit-api-gen" ,
5253 },
5354 },
5455 },
56+ "overrides" : {
57+ "vite" : " ^7.1.7" ,
58+ },
5559 "packages" : {
5660 "@apidevtools/json-schema-ref-parser" : [
" @apidevtools/[email protected] " ,
" " , {
"dependencies" : {
"@jsdevtools/ono" :
" ^7.1.3" ,
"@types/json-schema" :
" ^7.0.6" ,
"call-me-maybe" :
" ^1.0.1" ,
"js-yaml" :
" ^4.1.0" } },
" sha512-r1w81DpR+KyRWd3f+rk6TNqMgedmAxZP5v5KWlXQWlgMUUtyEJch0DKEci1SorPMiSeM8XPl7MZ3miJ60JIpQg==" ],
5761
Original file line number Diff line number Diff line change 5252 "version:minor" : " npm version minor --no-git-tag-version && npm run package && npm publish" ,
5353 "version:major" : " npm version major --no-git-tag-version && npm run package && npm publish"
5454 },
55+ "resolutions" : {
56+ "vite" : " ^7.1.7"
57+ },
5558 "peerDependencies" : {
5659 "vite" : " ^5.0.0 || ^6.0.0 || ^7.0.0" ,
5760 "@sveltejs/kit" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -4,14 +4,17 @@ import { sveltekit } from '@sveltejs/kit/vite';
44import openapiPlugin from './src/lib/index.js' ;
55
66export default defineConfig ( {
7+ optimizeDeps : {
8+ exclude : [ 'lightningcss' ]
9+ } ,
710 plugins : [
811 tailwindcss ( ) ,
912 openapiPlugin ( {
1013 baseSchemasPath : 'src/lib/schemas.js' ,
1114 prependPath : '' ,
1215 info : {
1316 title : 'SvelteKit OpenAPI Generator Demo' ,
14- version : '1.0.0 ' ,
17+ version : '1.0.1 ' ,
1518 description : 'Demo API showing OpenAPI spec generation from SvelteKit endpoints'
1619 } ,
1720 servers : [
You can’t perform that action at this time.
0 commit comments