Thanks for taking the time and for your help in improving this project!
- RudderStack Contributor Agreement
- Contribute to this project
- Submitting a pull request
- 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 buildProdBrowser
: This outputs rudder-analytics.min.js.npm run buildProdBrowserBrotli
: This outputs two files - rudder-analytics.min.br.js (the original minified file, same as above) and rudder-analytics.min.br.js.br (the Brotli-compressed file).npm run buildProdBrowserGzip
: This outputs two files, rudder-analytics.min.gzip.js (the original minified file, same as above) and rudder-analytics.min.gzip.js.gz (the gzipped compressed file).
We use rollup to build our SDKs. The configuration for it is present in
rollup.config.js
in the repo directory.
- For adding or removing integrations, modify the imports in
index.js
under theintegrations
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.