This repository is a collection of packages relating to Brightspace's OAuth2 framework.
- brightspace-auth-assertions
- brightspace-auth-keys
- brightspace-auth-provisioning
- brightspace-auth-token
- brightspace-auth-validation
npm test
Running npm test
will lint all packages using the same set of rules. It will
then run the tests of each package one-by-one.
-
Fork the repository. Committing directly against this repository is highly discouraged.
-
Make your modifications in a branch, updating and writing new unit tests as necessary.
-
Ensure that all tests pass with
npm test
-
rebase
your changes against master. Do not merge. -
Submit a pull request to this repository. Wait for tests to run and someone to chime in.
When installing new dependencies, do so at the top-level. Static analysis of each package will copy the dependencies to the packages at time of release.
This repository is configured with EditorConfig and ESLint rules.
When it comes time do a release, update the versions of each package and commit and tag the changes. A script is available to do this for you:
./bin/set-version-and-commit.sh 4.1.7
Push the version update and tag to GitHub and travis-ci will take care of publishing the release:
git push upstream master v4.1.7