@wheelofnames/lib-node v0.1.0
Wheel of Names lib for browserless environments
This package provides APIs to draw the Wheel of Names in environments where you don't have access to
the DOM and the browser JavaScript runtime. It contains some common utilities used by the Wheel of
Names API, Discord bot, as well as various other tools. It should be used in conjunction with
@wheelofnames/lib
. This package is likely useless to you if you are not a Wheel of Names
developer.
Contents
- WheelController class from
@wheelofnames/lib-node
- ImageUtil functions from
@wheelofnames/lib-node/ImageUtil
Developing
This package is part of the Wheel of Names monorepo, which is private. Everything below this point is only useful for those with access to the repo.
Install dev dependencies with npm i
.
Testing
Run the tests with npm run test
.
To test local changes to lib-node in a service, run npm uninstall @wheelofnames/lib-node
, then
npm i ../lib-node
. Don't forget to revert the package.json
and package-lock.json
before
committing, since local dependencies don't work in CI/CD.
Publishing
Publish a new version:
npm run publish:patch # or minor/major