Stylus Stylus Plugin
Setup
- Make me finish this
Commands
build
$ npm run build
$ yarn run build
test
Runs your test suite(s) (/tests/**
) against your source code (/src/**
).
Doing so allows for accurate code coverage.
Note: Coverage is only collected and reported through the "CI" Github Action (
.github/workflows/ci.yml
).
$ npm test
Publishing
Important: Please finish Setup before continuing!
Once all TODO
notes have been updated & your new module is ready to be shared, all that's left to do is decide its new version โ AKA, do the changes consitute a patch
, minor
, or major
release?
Once decided, you can run the following:
$ npm version <patch|minor|major> && git push origin master --tags && npm publish
# Example:
# npm version patch && git push origin master --tags && npm publish
This command sequence will:
- version your module, updating the
package.json
"version" - create and push a
git
tag (matching the new version) to your repository - build your module (via the
prepublishOnly
script) - publish the module to the npm registry
License
MIT ยฉ Luke Edwards