Teams
This repo contains team information and metadata to assist in building
integrations, e.g., a Slack bot.
const { dev } = require( '@quartz/teams' );
const janesSlackUserId = dev
.find( user => 'jane' === user.githubUsername )
.slackUserId;
Updating NPM modules
This repo is published as a scoped NPM module: @quartz/teams
When you make updates to NPM modules, you will need to update the version of the package, publish it, then update the dependency in projects that use it.
You probably want to do steps 1-3 and include step 4 in your pull request.
-
Make sure you have an NPM account and it has been added to the
@quartz
organization. Contact @chriszarate if you would like to be added.
-
Log in to NPM: npm login
-
Update the package version:
cd /path/to/my-package
npm version [patch|minor|major]
-
Commit the version change.
-
Make sure everything is correct! There is no undo!
-
Publish the new version: npm publish
-
Update the dependency in projects that use the package, e.g.:
cd /path/to/my-project-that-uses-my-package
npm update --save-dev my-package@1.0.1