Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
Some thoughts to help you contribute to this project
- Always discuss your suggested contribution in an issue, so that we agree on the concept and implementation before the actual work.
- Leave a detailed description in the Pull Request.
- Screenshots are preferable for visuals changes.
- Always communicate. Whether it is in the issue or the pull request, keeping the lines of communication helps everyone around you.
- If you have any questions, let's discuss.
-
Fork the repo
https://github.com/live-codes/livecodes
-
Clone
$ git clone https://github.com/<your-name>/livecodes $ cd livecodes
-
Install dependencies
$ npm install
-
Export all source texts for i18n (more details)
$ npm run i18n-export
-
Build
$ npm run build
-
Serve the app on http://127.0.0.1:8080
$ npm run serve
-
Start the app and watch for changes
$ npm run start
-
Start the docs and watch for changes: http://localhost:3000/docs
$ npm run docs
-
Start storybook and watch for changes: http://localhost:6006
$ npm run storybook
-
Run linters, formatters & unit tests
$ npm run test
-
Run e2e tests
$ npm run e2e
-
Deploy to GitHub Pages (make sure you have built the app first)
$ npm run gh-pages
-
Start a release (more details)
$ npm run start-release
We actively welcome your pull requests, however linking your work to an existing issue is preferred.
- Fork the repo and create your branch from
develop
. - Name your branch something that is descriptive to the work you are doing. i.e. adds-new-thing or fixes-mobile
- If you've added code that should be tested, add tests.
- If you've changed APIs, update the documentation.
- If you make visual changes, screenshots are required.
- Ensure the test suite passes.
- Make sure you address any lint warnings.
- If you make the existing code better, please let us know in your PR description.
- If your changes are related to i18n, please check the i18n guide first.
- A PR description and title are required.
- Link to an issue in the project. An issue is required to announce your intentions and discuss decisions.
This project uses Conventional Commits to automatically generate changelog.
GitHub has support for draft pull requests, which will disable the merge button until the PR is marked as ready for merge.
If you plan to contribute a change based on an open issue, please assign yourself by commenting on the following word .take
. Issues that are not assigned are assumed open, and to avoid conflicts, please assign yourself before beginning work on any issues.
If you would like to contribute to the project for the first time, please consider checking the docs, bug or good first issue labels.
Also, all questions are welcomed.
LiveCodes is a part of GitHub Sponsors. If you would like to contribute, please note the sponsor page for details.
By contributing to the LiveCodes project, you agree that your contributions will be licensed under its MIT license.