Install Node.js 18+
nvm install lts/hydrogen
nvm alias default lts/hydrogen # set default node version
nvm use lts/hydrogen
Clone the repository
git clone git@github.com:bytedance/flowgram.ai.git
Install required global dependencies
npm i -g pnpm@10.6.5 @microsoft/rush@5.150.0
Install project dependencies
rush install
Build the project
rush build
Run docs or demo
rush dev:docs # docs
rush dev:demo-fixed-layout
rush dev:demo-free-layout
After that, you can start to develop projects inside this repository.
Create a new branch from main using the format:
feat/description for featuresfix/description for bug fixesdocs/description for documentationchore/description for maintenanceWrite code and tests
Ensure quality
cd path/to/packageName && npm test for all testsrush lint for code stylerush build to verify buildCreate Pull Request
Review Process
Commit Message Format
type(scope): subject
body
Types: feat, fix, docs, style, refactor, test, chore
Report bugs via GitHub Issues. Please include:
This project is under the MIT License. By submitting code, you agree to these terms.