Skip to content

Commit

Permalink
Information about publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaal committed Apr 25, 2023
1 parent 08271e0 commit 0dbccf0
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Luupzig

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.5.
[![Actions Status](https://github.com/UUDigitalHumanitieslab/luupzig/workflows/Unit%20tests/badge.svg)](https://github.com/UUDigitalHumanitieslab/luupzig/actions)
[![npm version](https://badge.fury.io/js/luupzig.svg)](https://badge.fury.io/js/luupzig)

This project consists of:

Expand All @@ -13,7 +14,7 @@ This project consists of:

Run `yarn build library` first.

Run `yarn start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
Run `yarn start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files of the frontend. If you make any changes to the library then you will need to rebuild the library and restart the dev server.

## Code scaffolding

Expand All @@ -27,12 +28,16 @@ Run `yarn build library` to build the project. The build artifacts will be store

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
Run `yarn test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

## Publishing a new version

1. Compile using `yarn build library`
2. `cd dist/luupzig`
3. Optionally run `npm pack` to test the package locally
4. Remove the `luupzig-x.xx.x.tgz` file (if generated in 3)
5. Run `npm publish`

0 comments on commit 0dbccf0

Please sign in to comment.