epersonam-notification-client
v0.14.0
Published
Client JS Notification library
Downloads
98
Keywords
Readme
Notification Client
Provides the UI components to list notifications.
WARNING: Before committing please run yarn
so the dist
package gets updated!
Publish
- Bump the
package.json
version. - Update CHANGELOG.md with changes.
- Merge to Master branch: the pipeline will deploy your new version in https://www.npmjs.com/package/epersonam-notification-client
note: during a PR, the pipeline checks if you did update both CHANGELOG.md
and package.json
. If not gives an error.
Manual Publish (old way, deprecated)
- Bump the
package.json
version. - Update CHANGELOG.md with changes.
- Publish to NPM registry:
1. Login to NPM:
npm login
. 2. Publish to NPM:npm publish
Install
Run the following, also whenever you want to update to latest version as we currently don't go with npm registry.
yarn add epersonam-notification-client
Work locally
If you want to avoid deploying this repo everytime you need to test a change you can use the local version of the npm
package.
Old method
- Each time you change this project you have to hit
yarn
- on the client run something like
yarn add file:../epersonam-notification-client
New method
(see: https://classic.yarnpkg.com/en/docs/cli/link/)
- Run from this project
yarn link
- Go to project where notification-client is used (i.e.: epersonam) and run
yarn link "epersonam-notification-client"
: this action will cause that project too use the local copy of the package, instead of the one versioned and published from remote repo. - When finished, just run
yarn unlink "epersonam-notification-client
.