We appreciate your interest in contributing to our project! As a team, we believe in the power of community-driven development and the potential of collaborative open-source projects to create and foster innovation.
- Fork the repository by clicking the "Fork" button in the top-right corner of the page.
- Clone your forked repository to your local machine using
git clone https://github.com/replit/extensions.git
. - Navigate into the repository with
cd extensions
. - Create a new branch for your feature, bug fix, or enhancement:
git checkout -b your-branch-name
. - Make your changes to the codebase.
- Add and commit your changes using clear and concise commit messages:
git add .
,git commit -m "Description of your changes"
. - Push your changes to your forked repository:
git push -u origin your-branch-name
. - Create a pull request from your forked repository to the original repository. Provide a descriptive title and comments explaining your proposed changes.
- Import this repository onto Replit. Make sure you select Typescript as the language. If you make your own fork to create a Pull Request, import that onto Replit instead.
- Install packages by running
pnpm install
in the shell - Run
git reset --hard origin/main
in the shell - Run the Repl
- Open the Extension Devtools and press "Preview" on the Extensions API Tester
- Ensure that your code does not have any syntax or compiler errors. You can check this by running
pnpm type:check
in the shell. - Make sure everything is formatted properly with
pnpm lint
. - Write a test plan showing how we can test that your new implementation works
- Make sure tests pass as expected with the Extensions API Tester. If you introduce a new API method, make sure you write a test for it.
We encourage suggestions to improve our project. If you have an idea for a new feature or enhancement, please create a post on the Ask Forum in the relevant category.