diff --git a/package.json b/package.json index af276ca..6a802c0 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-simple-import-sort": "^8.0.0", - "next": "^15.3.4", + "next": "^16", "prettier": "^2.7.1", "react": "^19.0.0", "react-dom": "^19.0.0", @@ -58,7 +58,7 @@ "vitest": "^1.6.1" }, "peerDependencies": { - "next": "^15.0.0", + "next": "^15.0.0 || ^16.0.0", "react": "^19.0.0", "react-dom": "^19.0.0" }, diff --git a/tsconfig.json b/tsconfig.json index 4f97f5b..cd9f1d4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "react-jsx",