feat: add config.json for deployment and update dependencies in bun.lock and nuxt.config.ts

This commit is contained in:
2025-09-30 11:37:24 +02:00
parent f73276df8f
commit 506152a986
3 changed files with 17 additions and 6 deletions

View File

@@ -0,0 +1 @@
{"configPath":"../../.output/server/wrangler.json"}

View File

@@ -5,7 +5,7 @@
"name": "nuxt-app", "name": "nuxt-app",
"dependencies": { "dependencies": {
"@antfu/eslint-config": "^5.4.1", "@antfu/eslint-config": "^5.4.1",
"@iconify-json/devicon": "^1.2.44", "@iconify-json/devicon": "^1.2.45",
"@iconify-json/logos": "^1.2.9", "@iconify-json/logos": "^1.2.9",
"@iconify-json/ph": "^1.2.2", "@iconify-json/ph": "^1.2.2",
"@iconify-json/simple-icons": "^1.2.53", "@iconify-json/simple-icons": "^1.2.53",
@@ -18,7 +18,7 @@
"@nuxtjs/google-fonts": "^3.2.0", "@nuxtjs/google-fonts": "^3.2.0",
"@nuxtjs/i18n": "10.1.0", "@nuxtjs/i18n": "10.1.0",
"@pinia/nuxt": "^0.11.2", "@pinia/nuxt": "^0.11.2",
"@tailwindcss/typography": "^0.5.18", "@tailwindcss/typography": "^0.5.19",
"@vueuse/math": "13.9.0", "@vueuse/math": "13.9.0",
"@vueuse/motion": "^3.0.3", "@vueuse/motion": "^3.0.3",
"better-sqlite3": "^12.4.1", "better-sqlite3": "^12.4.1",
@@ -29,13 +29,13 @@
"remark-parse": "^11.0.0", "remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2", "remark-rehype": "^11.1.2",
"typescript": "^5.9.2", "typescript": "^5.9.2",
"vue": "^3.5.21", "vue": "^3.5.22",
"vue-router": "^4.5.1", "vue-router": "^4.5.1",
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^24.5.2", "@types/node": "^24.6.0",
"@vueuse/nuxt": "^13.9.0", "@vueuse/nuxt": "^13.9.0",
"vue-tsc": "^3.0.8", "vue-tsc": "^3.1.0",
}, },
}, },
}, },

View File

@@ -51,6 +51,12 @@ export default defineNuxtConfig({
}, },
}, },
vite: {
build: {
sourcemap: false,
},
},
// Nuxt Color Mode // Nuxt Color Mode
colorMode: { colorMode: {
preference: 'system', preference: 'system',
@@ -108,9 +114,13 @@ export default defineNuxtConfig({
// Nitro // Nitro
nitro: { nitro: {
experimental: { experimental: {
websocket: true,
openAPI: true, openAPI: true,
}, },
preset: 'cloudflare-module',
cloudflare: {
deployConfig: true,
nodeCompat: true,
},
}, },
// Nuxt Env // Nuxt Env