Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 954 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 954 Bytes

MoNA Angular Libraries

This project was contains several shared Angular libraries to be used in MoNA and related projects. It was generated with Angular CLI version 9.1.0.

2021/04/21: ng-mass-spec-plotter has been upgraded to Angular v10.

2023/07/14: All packages work with Angular >= v15.

Build and Deployment

Each library can be built individually. For example, ng-mona-client can be built using:

ng build ng-mona-client

This should built a production version by default.

To deploy a new version of the library, first ensure you are authenticated using npm login. Then, bump the package version in projects/ng-mona-client/package.json.

Finally, move to the build directory and publish the package:

cd dist/ng-mona-client
npm publish --access public

Testing

To run tests for each project, use ng test and the project name. For example:

ng test ng-mona-client