e5eda117be
Bumped via `bun update --latest` then resolved breakage from two major-version jumps: 1. Next.js 15.5 → 16.2 + @next/eslint-plugin-next 16: dropped the `flatConfig` namespace. Updated web/eslint.config.mjs to use `nextPlugin.configs["core-web-vitals"]` per the new export shape. 2. lucide-react 0.553 → 1.x: lucide upstream removed all brand icons (Github, etc.) — they are now expected to come from a separate brand icon library. Pinned lucide-react at the last 0.x (0.577.0) for now; migrating to a brand-icon library is tracked as a follow-up. All other deps to latest: - react/react-dom 19.2.4 → 19.2.6 - next-intl 4.8 → 4.11 - motion 12.35 → 12.38 - tailwind-merge 3.4 → 3.5 - geist 1.5 → 1.7 - @radix-ui/* unchanged (already latest within their ranges) - @opennextjs/cloudflare 1.17 → 1.19.8 - @playwright/test 1.56 → 1.59 - @tailwindcss/postcss + tailwindcss 4.1 → 4.2.4 - @types/node 22 → 25.6 - @types/react 19 → 19.2.14 - eslint 9 → 10.3 (works because we now reference @next/eslint-plugin-next configs directly, not eslint-config-next) - eslint-plugin-prettier 5.5.4 → 5.5.5 - globals 16 → 17.6 - postcss 8.5.6 → 8.5.14 - prettier 3.6.2 → 3.8.3 (no formatting changes detected by --check) - prettier-plugin-tailwindcss 0.6 → 0.8 - typescript 5.9.3 → 6.0.3 - typescript-eslint 8.56 → 8.59 - wrangler 4.71 → 4.90 Verified locally: - bun install --frozen-lockfile: 685 packages, no errors - bun run format:check: pass (no diffs after `bun run format`) - bun run lint: pass - bun run type-check: pass (TypeScript 6 + @types/node 25) - bun run build: pass (Next 16 build, 21 static pages, all 4 locales) - bunx opennextjs-cloudflare build: pass (.open-next/worker.js produced) Note: Next 16 `build` log relabels the Middleware row to "Proxy (Middleware)" — purely cosmetic, no behavior change.
59 lines
2.1 KiB
JSON
59 lines
2.1 KiB
JSON
{
|
|
"name": "oh-my-openagent-web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"prebuild": "node ./scripts/prepare-build.mjs",
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint \"app/**/*.{ts,tsx}\" \"components/**/*.{ts,tsx}\" \"lib/**/*.{ts,tsx}\" \"e2e/**/*.{ts,tsx}\"",
|
|
"lint:fix": "eslint --fix \"app/**/*.{ts,tsx}\" \"components/**/*.{ts,tsx}\" \"lib/**/*.{ts,tsx}\" \"e2e/**/*.{ts,tsx}\"",
|
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
"type-check": "tsc --noEmit",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"preview": "node ./scripts/prepare-build.mjs && opennextjs-cloudflare build && opennextjs-cloudflare preview",
|
|
"deploy": "node ./scripts/prepare-build.mjs && opennextjs-cloudflare build && opennextjs-cloudflare deploy",
|
|
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
"@radix-ui/react-separator": "^1.1.8",
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"geist": "^1.7.0",
|
|
"lucide-react": "0",
|
|
"motion": "^12.38.0",
|
|
"next": "16.2.6",
|
|
"next-intl": "^4.11.0",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"tailwind-merge": "^3.5.0",
|
|
"tailwindcss-animate": "^1.0.7"
|
|
},
|
|
"devDependencies": {
|
|
"@opennextjs/cloudflare": "^1.19.8",
|
|
"@playwright/test": "1.59.1",
|
|
"@tailwindcss/postcss": "4.2.4",
|
|
"@types/node": "^25.6.2",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"eslint": "^10.3.0",
|
|
"eslint-config-next": "16.2.6",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-prettier": "5.5.5",
|
|
"globals": "^17.6.0",
|
|
"postcss": "^8.5.14",
|
|
"prettier": "3.8.3",
|
|
"prettier-plugin-tailwindcss": "^0.8.0",
|
|
"tailwindcss": "4.2.4",
|
|
"typescript-eslint": "^8.59.2",
|
|
"typescript": "6.0.3",
|
|
"wrangler": "^4.90.0"
|
|
}
|
|
}
|