Thank you for your interest in contributing to this Allen Institute for Cell Science open source project! This document is a set of guidelines to help you contribute to this project.
By participating in this project, you are expected to uphold our Code of Conduct.
The README in the root of the repository should contain or link to
project documentation. If you cannot find the documentation you're
looking for, please file a GitHub issue with details of what
you'd like to see documented.
- Fork the repo on GitHub.
- Create a branch and make your edits on your branch, pushing back to your fork.
- Make sure
npm run typeCheck,npm run testandnpm run lintall exit without errors. Add tests and documentation as needed. - Submit a pull request back to the main branch via GitHub.
- Clone the repo on GitHub.
- Create a branch: for new features name your branch
feature/[THE NEW FEATURE]for bug fixes name your branchfix/[BUG FIX]. Commit edits to your branch. Ideally your commit messages complete the sentence "This commit will ____". - Make sure
npm run typeCheck,npm run testandnpm run lintall exit without errors. Add tests and documentation as needed. - Submit a pull request back to the main branch via GitHub.
- Follow steps 1 and 2 above.
- Run
npm run update-viewerfrom the terminal - Submit a PR back to the main branch
src/
assets/
components/
constants/
containers/
routes/
state/
styles/
util/
| Env var | Default | Options |
|---|---|---|
DEPLOYMENT_ENV |
dev | "dev", "staging", "production" |
Differences in builds by environment:
| Target | Sources Maps | Uglification | NODE_ENV === 'production' |
|---|---|---|---|
| dev | true | false | false |
| staging | true | false | false |
| production | false | true | true |
Run npm update to update dependencies, including simularium-viewer
Automatically builds from main
- Make a new version:
npm version [patch/minor/major] - Push the new package.json version:
git push origin main - Push the new tag:
git push origin [NEW_TAG] - Go to the releases page and write the release notes for the new version. You can refer to the auto-generated CHANGELOG.md for a list of changes.
### ✨ New Features
Just one new feature for this release, so describing it here.
* **Shiny new feature 1** - Description
* **Shiny new feature 2** - Description
### 🐛 Bug Fixes and Improvements
Updated [simularium-viewer](https://github.com/simularium/simularium-viewer) to from vx.x.x to vx.x.x, which includes:
* Something nice
* Something else nice
* Fixed a bug that causes x to do x
* Fixed xyz abc
### 🔧 Behind the Scenes
Maintenance tasks that got done
* Lots of maintenance tasks so here are some bullets
* Another task
Feel free to submit a GitHub issue or talk to us on the Allen Cell Discussion Form - Simularium.