Upgrade Next.js to v16 and refactor API client
Bump Next.js from v9 to v16.2.6 and add node-ical to serverExternalPackages. Remove Geist font dependencies in favor of system fonts. Fix state updates in geocode hooks to prevent stale closures. Expose ApiClient methods as public and improve error handling in fetchWithRetry.
This commit is contained in:
+5
-3
@@ -1,8 +1,8 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
import type {} from "vitest/config";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import path from "path";
|
||||
|
||||
export default defineConfig({
|
||||
const config = {
|
||||
plugins: [react()],
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
@@ -14,4 +14,6 @@ export default defineConfig({
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
||||
Reference in New Issue
Block a user