Skip to content

Digital-Intelligence-Unit/diu-npm-component-library

Repository files navigation

Diu Component Library

This codebase is an Angular Library of our re-usable components for the NHS BI Platform.

Useful commands

  • Run the command ng build <project-name> --prod (or ng build <project-name> --configuration production for newer versions of Angular) from your workspace folder to build your component, the output files are created in the dist/<project-name> folder.
  • Run npm login from the command line and enter the credentials that you used to sign up to npm in the first step.
  • Navigate to the project dist folder with the command cd dist/<project-name>
  • Run the command npm publish --ignore-scripts to publish the component the npm.
  • Now go and check out your new Angular component on the npm website at https://www.npmjs.com/package/project-name. You can also run npm info <project-name> from the command line to see all the metadata info about your package that's stored on the npm registry.

NOTE: To update your package in npm you just need to increment the version number in the package.json file and run npm publish again.

Terms of Use

This specific code repository and all code within is © Crown copyright and available under the terms of the Open Government 3.0 licence.

The code has been developed and is maintained by the NHS and where possible we will try to adhere to the NHS Open Source Policy (https://github.com/nhsx/open-source-policy/blob/main/open-source-policy.md).

It shall remain free to the NHS and all UK public services.

Contributions

This code has been authored by colleagues in the Digital Intelligence Unit @ NHS Blackpool CCG.

This project and all code within is © Crown copyright and available under the terms of the Open Government 3.0 licence.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •