diff --git a/.github/agents/marketing-agent.md b/.github/agents/marketing-agent.md index 46d9b8f..0dd62f5 100644 --- a/.github/agents/marketing-agent.md +++ b/.github/agents/marketing-agent.md @@ -12,7 +12,7 @@ instructions: | - **Next.js 16** (App Router, Server Components, Server Actions, Metadata API) - **React 19** (Server/Client Components, Hooks, Suspense, Streaming) - **TypeScript 5.9** (Strict mode, type-safe APIs, interfaces) - - **Node.js 22+** (Runtime optimization, middleware) + - **Node.js 24+** (Runtime optimization, middleware) - **Tailwind CSS** (Utility-first styling, responsive design, custom theming, dark mode) - **shadcn/ui** (Component composition, Radix UI primitives, accessibility) - **Lucide React** (Icon system, consistent visual language) diff --git a/.github/skills/webapp-testing/SKILL.md b/.github/skills/webapp-testing/SKILL.md index 42ea056..09008e6 100644 --- a/.github/skills/webapp-testing/SKILL.md +++ b/.github/skills/webapp-testing/SKILL.md @@ -23,7 +23,7 @@ Use this skill when you need to: ## Prerequisites -- Node.js 22.x installed (LTS — Node 20 is end-of-life) +- Node.js 24.x installed (LTS — Node 20 is end-of-life) - BitSleuth website running locally on port 3000 - Playwright will be installed automatically if not present @@ -250,7 +250,7 @@ When testing the BitSleuth website, verify: ## Limitations -- Requires Node.js 22.x environment +- Requires Node.js 24.x environment - Cannot test native mobile apps (BitSleuth is web-only) - May have issues with complex authentication flows (if implemented) - Next.js App Router may require waiting for hydration to complete diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 5e48b64..7156983 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -34,7 +34,7 @@ Run the workflow manually: ### What the Workflow Does 1. **Checkout** - Clones the repository -2. **Setup Node.js** - Installs Node.js 22 with npm caching +2. **Setup Node.js** - Installs Node.js 24 with npm caching 3. **Install dependencies** - Runs `npm ci` for clean install 4. **Type check** - Validates TypeScript types (non-blocking) 5. **Lint** - Runs ESLint checks (non-blocking) diff --git a/.github/workflows/copilot-test.yml b/.github/workflows/copilot-test.yml index e475f6b..15e8e56 100644 --- a/.github/workflows/copilot-test.yml +++ b/.github/workflows/copilot-test.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v6 with: - node-version: '22' + node-version: '24' cache: 'npm' - name: Install dependencies @@ -127,7 +127,7 @@ jobs: echo "- Next.js: 16.0.10" >> $GITHUB_STEP_SUMMARY echo "- React: 19.2.0" >> $GITHUB_STEP_SUMMARY echo "- TypeScript: 5.9.3" >> $GITHUB_STEP_SUMMARY - echo "- Node.js: 22.x" >> $GITHUB_STEP_SUMMARY + echo "- Node.js: 24.x" >> $GITHUB_STEP_SUMMARY - name: Cleanup if: always() diff --git a/.idx/dev.nix b/.idx/dev.nix index 3fbba9b..a1927b6 100644 --- a/.idx/dev.nix +++ b/.idx/dev.nix @@ -5,7 +5,7 @@ channel = "stable-24.11"; # or "unstable" # Use https://search.nixos.org/packages to find packages packages = [ - pkgs.nodejs_22 + pkgs.nodejs_24 ]; # Sets environment variables in the workspace env = {}; diff --git a/AGENTS.md b/AGENTS.md index 8e58d65..49bc123 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -16,7 +16,7 @@ - **Framework:** Next.js 16.0.10 (App Router) - **Language:** TypeScript 5.9.3 (strict mode enabled) - **Runtime:** React 19.2.0 -- **Node.js:** 22.x (LTS — Node 20 is end-of-life) +- **Node.js:** 24.x (LTS — Node 20 is end-of-life) ### UI & Styling - **CSS Framework:** Tailwind CSS 3.4.18 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 86cd907..621403a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ When creating new documentation (guides, specifications, strategies, etc.), alwa ## 🚀 Getting Started ### Prerequisites -- **Node.js**: 22.x (LTS — Node 20 is end-of-life) +- **Node.js**: 24.x (LTS — Node 20 is end-of-life) - **npm**: Latest version - **Git**: For version control diff --git a/README.md b/README.md index 62da5c6..84e4293 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ npm run ci # Runs lint + typecheck + test + build ## 🚀 Development Workflow ### Prerequisites -- **Node.js**: 22.x (LTS — Node 20 is end-of-life) +- **Node.js**: 24.x (LTS — Node 20 is end-of-life) - **npm**: Latest version (11.7.0 configured via `packageManager`) - **Git**: For version control @@ -390,7 +390,7 @@ Environment variables for production are managed as **Firebase App Hosting secre **Deployment Settings:** - **Max Instances**: 1 (configured in apphosting.*.yaml) -- **Runtime**: Node.js 22.x +- **Runtime**: Node.js 24.x - **Build Command**: `npm run build` - **Start Command**: `npm run start` @@ -883,7 +883,7 @@ Can't find a solution? Try these steps: npm run ci # Check versions - node --version # Should be 22+ + node --version # Should be 24+ npm --version # Should be 11.7.0 # Verify dependencies diff --git a/docs/PRD.md b/docs/PRD.md index c049c10..ed467e3 100644 --- a/docs/PRD.md +++ b/docs/PRD.md @@ -83,7 +83,7 @@ - **Firebase:** Hosting platform and potential future integration for user management **Dependencies:** -- Node.js 22.x (LTS — Node 20 is end-of-life) +- Node.js 24.x (LTS — Node 20 is end-of-life) - Google Analytics Measurement ID for tracking - Firebase App Hosting for deployment diff --git a/docs/PROJECT_SUMMARY.md b/docs/PROJECT_SUMMARY.md index 4004300..0c8bb83 100644 --- a/docs/PROJECT_SUMMARY.md +++ b/docs/PROJECT_SUMMARY.md @@ -49,7 +49,7 @@ BitSleuth is a comprehensive Next.js 16 website serving as the primary marketing - **Next.js:** 16.0.10 (App Router) - **React:** 19.2.0 - **TypeScript:** 5.9.3 -- **Node.js:** 22.x (LTS — Node 20 is end-of-life) +- **Node.js:** 24.x (LTS — Node 20 is end-of-life) ### Styling & UI - **Tailwind CSS:** 3.4.18 (stable v3) @@ -467,7 +467,7 @@ All Radix UI primitives updated to latest versions: ### Development Workflow #### Prerequisites -- Node.js 22.x (LTS — Node 20 is end-of-life) +- Node.js 24.x (LTS — Node 20 is end-of-life) - npm (latest version) #### Local Development diff --git a/package-lock.json b/package-lock.json index 5f595fb..781dbb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -71,7 +71,7 @@ "vitest": "^4.1.8" }, "engines": { - "node": "22.x" + "node": "24.x" } }, "node_modules/@alloc/quick-lru": { diff --git a/package.json b/package.json index 976b6d9..f08aaa5 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "private": true, "packageManager": "npm@11.7.0", "engines": { - "node": "22.x" + "node": "24.x" }, "scripts": { "dev": "next dev --turbopack -p 3000",