OntotextReusableUiComponents

Development

Setup environment

  • Checkout or clone the project from GitHub.
  • Enter the project directory and execute npm install in order to install all needed dependencies locally.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Running unit tests

Run npm run test to execute the unit tests via Jest.

Running integration tests

Run npm run cy:run to execute the integration tests via Cypress.

Run npm run cy:open to open the cypress dashboard and run the tests manually.

Release and publish

When a newer version needs to be published:

  • Increase the version in the package.json by following the semantic versioning approach.
  • Create a new MR and a tag through Github. Beware the version to follow the pattern /v[0-9]+.[0-9]+.[0-9]+(-.*)?$/ as defined in .travis.yml. Any discrepancies will result in version being rejected as appropriate for publish in the NPM.
  • If the build is successful which can be seen in https://travis-ci.com/github/Ontotext-AD/ontotext-reusable-ui-components.

results matching ""

    No results matching ""