A warm welcome! You've landed on our Contribute page and have taken the step to join our quest to make an amazing Blocks library for Suncel. We would like to thank all contributions, whether it is by finding issues in our code, highlighting features we're missing, or contributing to the codebase. If you've made it here, you'll be ready to join us in building features and fixing bugs in no time. We look forward to your participation!
We also encourage you to join our sprawling Discord online, where you can discuss ideas, ask questions and get inspiration for what to build next.
We've created a Code of Conduct for contributing to the development of Suncel UI.
-
Install Node.js
>=16
minimum, latest LTS is recommended- Recommended: use
nvm
for managing Node.js versions
- Recommended: use
To set up and build all the packages, follow these steps:
git clone https://github.com/suncel-io/suncel-ui
cd suncel-ui
npm i
To test your changes locally, you will need to have a Suncel account and add the environment variable in the .env of the example project in the repo.
Install the dependencies of the example project npm i
and link the suncel-ui package to the example project.
# suncel-ui folder
npm link
cd example
npm link @suncel/ui
npm run dev
Once it is you can build the package each time you have
# suncel-ui folder
npm run build
Or use the npm start
to watch the changes
# suncel-ui folder
npm start
We structure our messages like this:
<type>: <subject>
<BLANK LINE>
<body>
Example
feat: new awesome feature
Closes #111
List of types:
- feat: A new feature (ex: New Block)
- fix: A bug fix
- docs: Documentation only changes (ex: Readme)
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation