Library | Latest version available |
---|---|
egeria-js-commons | |
egeria-ui-core | |
egeria-ui-components | |
happi-graph |
Version | |
---|---|
NodeJS | 16.13.0 (LTS) |
NPM | 8.1.0 |
$ npm install
$ npm test
The backend API URL from odpi/egeria (ui-chassis-spring, here [0]), which needs to start with CORS filter on.
$ npm run start --api-url=http://localhost:8443
The backend API URL from odpi/egeria-api-mocks (egeria-api-mocks, here [1]).
$ npm run start --api-url=http://localhost:9000
Outputs the build in /build/prod
with no config what so ever.
$ npm run build
Outputs the build with all HTTP requests prefixed with the given API_URL parameter. The API server needs to have the CORS filter on.
npm run build --api-url=http://api.app.prod
The theme folder now sits statically under the themes
folder, changing the files
here will change the theme directly. It is directly referenced in the index.html
page.
Egeria-UI use GitHub as its dependency provider, this means that all the releases are being pushed to the Github Egeria-UI repository here [2].
$ git clone https://github.com/odpi/egeria-ui # clone and checkout to main branch
$ vim release-notes.md # add release notes
$ git commit -m "Add release notes"
$ npm version patch # (minor or major) this will create a new commit with the bumped version
# and also a git version tag
$ # `npm publish .` won't be executed since we are using GitHub as a direct dependency
$ git push origin main
$ git push origin main --tags
$ # the released version will be available at the git version tag or in the
# release page here [1]
[1] - https://github.com/odpi/egeria-api-mocks
[2] - https://github.com/odpi/egeria-ui
SPDX-License-Identifier: Apache-2.0
Copyright Contributors to the ODPi Egeria project.