Skip to content

Commit ae09b6c

Browse files
committed
chore: update dependencies and configuration for Vite and package resolution
1 parent 499c68d commit ae09b6c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

bun.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"lockfileVersion": 1,
3+
"configVersion": 0,
34
"workspaces": {
45
"": {
56
"name": "sveltekit-api-gen",
@@ -52,6 +53,9 @@
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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
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",

vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ import { sveltekit } from '@sveltejs/kit/vite';
44
import openapiPlugin from './src/lib/index.js';
55

66
export 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: [

0 commit comments

Comments
 (0)