Please read the Code of Conduct first.
The development branch is main and this is the branch that all pull requests should be made against.
To develop locally:
- Fork this repository to your own Github account and then clone it to your local device.
- Create a new branch:
git checkout -b MY_BRANCH_NAME- Install yarn:
npm install -g yarn- Install dependencies with:
yarn- Link dependencies with
yarn bootstrapTo develop a package, open your terminal on packages/PACKAGE_NAME.
- Use
yarn buildto build the source of the package. - Use
yarn cleanto clean the build directory. - Use
yarn type-checkto perform type-checking. - Use
yarn lintto perform linting.
You can also use the same commands on the project root.
Examples are made through Vite. Examples should be marked as private packages (through "private": true in package.json) to keep them from being published. When using local packages as dependencies, make sure to use the exact version in the "dependencies" of the examples.
The development of this project heavily relies on the use of Classic Yarn (1.x) for managing packages and Lerna for managing the workspace.
TODO