Got questions? Tag a Stack Overflow question with alasql.
Inputs to improvement? Open an issue.
All contributions are much welcome and greatly appreciated(!)
- Make sure you have git, Node and yarn installed (
npm install -g yarn) - Fork the repo here on Github (button top right)
- Clone your forked repo and install dependencies
git clone https://github.com/MYUSERNAME/alasql/ --depth 1 && cd alasql && yarn - Make sure you work with the develop branch
git checkout develop - Run tests to verify all is good
yarn test - Implement a test that reflects the issue.
- Add a new test file for the issue: Copy
test/test000.jsand replace000with a new number. Preferably the number of the issue you are solving.
- Add a new test file for the issue: Copy
- Run
yarn testto verify only the new test fails - Implement your contributions in
src/ - Run
yarn testand verify all tests are OK - Format the souce with
yarn format - Commit changes to git and push to your forked repo
- Click "Create Pull-request" when looking at your forked repo on Github
Please note that
npm testwill compile fromsrc/and overwritedist/before running all tests- If you would like to change the alasql.org website please make a PR to https://github.com/alasql/alasql-org
- To help debug a problem you can see some advice on #1415 (comment)