How to contribute to WebChucK IDE development!
NOTE: All development is done on the dev branch. main is reserved for
release.
Make sure you have Git and Node installed.
Clone the repository if you haven't already.
git clone https://github.com/ccrma/webchuck-ide.git
In the webchuck-ide repo, install npm dependencies
npm install
To run WebChucK IDE on a local development server for testing:
npm run dev
Build WebChucK IDE to a static site by running:
npm run build
This will build WebChucK IDE and place all necessary files in the ./dist folder.
To release a new version of WebChucK IDE:
- On the
devbranch, bump the version number (without creating a tag yet):
npm version patch --no-git-tag-version # or minor/major as appropriate
git add package.json package-lock.json
git commit -m "Bump version to X.X.X"
git push origin dev
-
Create a pull request merging
devintomainwith the version bump -
Once merged to
main, build and deploy:
npm run clean
npm install
npm run build
Copy the ./dist/ folder to hosting destination.
- Tag the release on the
mainmerge commit:
git tag -a vX.X.X -m "Release version X.X.X"
git push origin vX.X.X
This will trigger a GitHub release. Talk to @gewang to update the WebChucK IDE site.