@simplefocus/prettier-config
Simple Focus base prettier configuration.
Usage
Install:
$ yarn add --dev @simplefocus/prettier-config
Create prettier.config.js
:
module.exports = require('@simplefocus/prettier-config')
Extending/overwriting
Note: In most cases this shouldn't be necessary.
module.exports = {
...require('@simplefocus/prettier-config'),
tabWidth: 2,
}
Publishing to npm
Read npm's docs on How to Update a Package.
-
Checkout and pull the
main
branch. -
Run the release script to bump the version numbers (the script will create a commit and push up the release branch to GitHub for you).
sh ./scripts/release
Use semantic versioning to choose the appropriate version number.
-
Submit and merge a PR from the release branch into
main
. -
Make sure you're logged into npm from the command line using
npm whoami
. If you're not logged in,npm login
. -
npm publish