mirror of
https://github.com/pdfme/pdfme.git
synced 2026-04-20 22:19:27 -04:00
* Add English version of Cline Memory Bank and .clinerules Co-Authored-By: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com> * Update .clinerules to enhance project guidelines and remove outdated English version --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Kyohei Fukuda <kyouhei.fukuda0729@gmail.com> Co-authored-by: Kyohei Fukuda <kyoheif@wix.com>
1.1 KiB
1.1 KiB
PDFme Technical Context
Technologies Used
- Language: TypeScript
- Framework: React (UI components)
- Build Tools: npm scripts, webpack
- Testing: Jest
- Documentation: Docusaurus
- Dependent Libraries:
- pdf-lib (forked): PDF generation
- fontkit: Font rendering
- PDF.js: PDF viewing
- antd: UI components
- react-moveable, react-selecto: Designer UI
- dnd-kit: Drag & drop functionality
Development Setup
- Clone the repository
- Install dependencies with
npm install - Build packages with
npm run build - Run tests with
npm run test - Start development mode with
npm run devin each package - Test changes in playground:
cd playground && npm install && npm run dev
Technical Constraints
- Requires Node.js 16 or higher
- Must work in both browser and Node.js environments
- Maintain minimal dependencies
- Prioritize performance
- Maintain backward compatibility
Dependency Management
- Carefully consider adding new dependencies
- Consolidate common functionality in @pdfme/common
- Each package has clearly separated responsibilities