Thanks for taking the time and for your help in improving this project!
- RudderStack Contributor Agreement
- Contribute to this project
- Adding your own integrations
- Committing
- Installing and setting up RudderStack
- Getting help
To contribute to this project, we need you to sign the Contributor License Agreement (“CLA”) for the first commit you make. By agreeing to the CLA we can add you to list of approved contributors and review the changes proposed by you.
If you encounter a bug or have any suggestion for improving this project, you can submit an issue describing your proposed change. Alternatively, you can propose a change by making a pull request and tagging our team members.
For more information on the different ways in which you can contribute to RudderStack, you can chat with us on our Slack channel.
One way you can contribute to this project is by adding integrations of your choice for sending the data through their respective web (JavaScript) SDKs.
-
Look for run scripts in the
package.json
file for getting the browser minified and non-minified builds. The builds are updated in thedist
folder of the directory. Among the others, some of the important ones are:npm run build:browser
: This outputs rudder-analytics.min.js.npm run build:npm
: This outputs rudder-sdk-js folder that contains the npm package contents.npm run build:integration:all
: This outputs integrations folder that contains the integrations.
We use rollup to build our SDKs. The configurations for them are present in
rollup-configs
folder.
- For adding or removing integrations, modify the imports in
index.js
under thesrc/integrations
folder.
We prefer squash or rebase commits so that all changes from a branch are committed to master as a single commit. All pull requests are squashed when merged, but rebasing prior to merge gives you better control over the commit message.
To contribute to this project, you may need to install RudderStack on your machine. You can do so by following our docs and set up RudderStack in no time.
For any questions, concerns, or queries, you can start by asking a question on our Slack channel.