Skip to content

Commit 7d17050

Browse files
committed
fix: upgrade nuxthub 0.10.6, new hyperdrive, move bindings to config
1 parent d9f7983 commit 7d17050

File tree

6 files changed

+366
-277
lines changed

6 files changed

+366
-277
lines changed

nuxt.config.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,21 @@ export default defineNuxtConfig({
3030
viewTransition: true,
3131
},
3232
hub: {
33-
blob: true,
34-
kv: true,
35-
db: 'postgresql',
33+
blob: { driver: 'cloudflare-r2', binding: 'BLOB', bucketName: 'crypto-map-blob' },
34+
kv: { namespaceId: 'bda3fdd277fa4ae0a6fba540b0a7e087' },
35+
cache: { namespaceId: 'de83ac81c26b4b54bffdab7d49c1e1e1' },
36+
db: { dialect: 'postgresql', connection: { hyperdriveId: '13b2f378321849e289540144583857e5' } },
37+
},
38+
nitro: {
39+
cloudflare: {
40+
wrangler: {
41+
name: 'crypto-map',
42+
account_id: 'cf9baad7d68d7ee717f3339731e81dfb',
43+
compatibility_date: '2026-02-19',
44+
compatibility_flags: ['nodejs_compat'],
45+
observability: { enabled: true, logs: { enabled: true, head_sampling_rate: 1, invocation_logs: true } },
46+
},
47+
},
3648
},
3749
eslint: {
3850
config: {
@@ -95,5 +107,5 @@ export default defineNuxtConfig({
95107
include: ['maplibre-gl'],
96108
},
97109
},
98-
compatibilityDate: '2025-10-01',
110+
compatibilityDate: '2026-02-19',
99111
})

patches/@nuxthub__core-nightly.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)