@norwelo/medbook-widgets v0.2.2
Medbook Widgets
This project was generated with Angular CLI version 18.0.2.
Development server
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
Build
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Publish
Run npm login first to login using an authorized account to login to Npm Registry before publishing.
Considerations
First check the latest published version, and bump up the version in case it's needed. Npm will not publish same package with an existing version.
Checking published versions
Run npm view @norwelo/medbook-widgets versions to list the current published versions.
Make sure the version to be published is not in the list of versions displayed by above command.
Update the version in package.json if necessary.
After updating the version in package.json commit the code to the repository and push/merge to main. Create a tag in github for the version, if necessary.
Optional
Create a release in the Github repository that complies with the version number.
Actual Publish
Run npm run publish. This will run a local build, run the postbuild script to create an index.js, and a prepublishOnly script to check the current version is not already published to Npm Registry. If the current version is published the publish script will exit with error.
Further help
To get more help on the Medbook Widgets contact with Norwelo support.