From e76a68ee0de339714013ac482db9f58ca28ef611 Mon Sep 17 00:00:00 2001 From: Jason Young <44939412+farion1231@users.noreply.github.com> Date: Fri, 1 Aug 2025 00:26:56 +0800 Subject: [PATCH] docs: update CLAUDE.md with current project requirements (#8729) - Update Node.js version requirement to v22.x.x or higher - Update Yarn version to 4.9.1 - Add electron-vite version (v4.0.0) to build system docs - Note usage of experimental rolldown-vite --- CLAUDE.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 28d63a3d9..a97d37d34 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,8 +5,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Development Commands ### Environment Setup -- **Prerequisites**: Node.js v20.x.x, Yarn 4.6.0 -- **Setup Yarn**: `corepack enable && corepack prepare yarn@4.6.0 --activate` +- **Prerequisites**: Node.js v22.x.x or higher, Yarn 4.9.1 +- **Setup Yarn**: `corepack enable && corepack prepare yarn@4.9.1 --activate` - **Install Dependencies**: `yarn install` ### Development @@ -61,7 +61,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co - **Loaders**: Support for various file formats (PDF, DOCX, EPUB, etc.) ### Build System -- **Electron-Vite**: Development and build tooling +- **Electron-Vite**: Development and build tooling (v4.0.0) +- **Rolldown-Vite**: Using experimental rolldown-vite instead of standard vite - **Workspaces**: Monorepo structure with `packages/` directory - **Multiple Entry Points**: Main app, mini window, selection toolbar - **Styled Components**: CSS-in-JS styling with SWC optimization