feat: update Next.js configuration and package dependencies
- Adjusted `reactStrictMode` in `next.config.ts` to reduce strict mode double mounts during development, addressing hydration issues. - Modified `dev` script in `package.json` to suppress hydration warnings, and added a `dev:strict` script for strict mode development. - Added new dependencies: `@polar-sh/better-auth` and `@polar-sh/sdk` for enhanced authentication and SDK functionalities. - Updated `pnpm-lock.yaml` to reflect new package versions and dependencies.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev": "NEXT_DEV_SUPPRESS_HYDRATION=1 next dev",
|
||||
"dev:strict": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "eslint"
|
||||
@@ -14,6 +15,8 @@
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@napi-rs/canvas": "^0.1.97",
|
||||
"@polar-sh/better-auth": "^1.8.3",
|
||||
"@polar-sh/sdk": "^0.46.7",
|
||||
"@xyflow/react": "^12.10.1",
|
||||
"better-auth": "^1.5.6",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
|
||||
Reference in New Issue
Block a user