Shared config for prettier
npm i --save-dev @caspeco/prettier-config // package.json
{
"name": "my-project",
"version": "1.0.0",
+ "prettier": "@caspeco/prettier-config"
}- Go to Github Releases
- Click "Draft a new release"
- Enter the version that you'd like to release, skip the
vprefix. - Publish
You can ignore the version in the package.json file, that is only used when you're publishing manually to NPM, e.g. a preview version.
npm --ignore-scripts publish --access public --tag nextThis step requires you to be a collaborator on the NPM package.