To add a new package, run
yarn add packageName
yarn add packageName --dev
First, run the command:
yarn outdated
... to determine which packages may need upgrading.
We really should not upgrade all packages at once, but, one at a time and make darn sure to test.
To upgrade a single package named packageName
:
yarn upgrade packageName
Unit tests can be run via command line with yarn test
, from within the /ui
directory. For more detailed reporting, use yarn test -- --reporters=verbose
.
cloud platform
make remocal-dev APPS=ui DETACHED=1
PUBLIC
(your remocal url)yarn install && yarn start:dev:remocal
yarn link
different javascript libraries (e.g. giraffe, clockface, flux-lsp) as needed.
yarn link
to this directory.oss platform
localhost:8086
make
and restart influxdbyarn install && yarn start:dev:oss
localhost:8080
cloud platform
export NS=<your-remocal-namespace>
yarn test:e2e:remocal
to test on tsm storageyarn test:e2e:remocal:iox
to test on iox storageoss platform
--e2e-testing
flag.yarn test:e2e:oss
Generating Test Reports
yarn test:e2e:<whatever>:report
yarn test:e2e:remocal:report
, yarn test:e2e:remocal:iox:report
, yarn test:e2e:oss:report
cypress/videos
and cypress/screenshots
Oats is how we automatically generate our typescript definitions based open the openapi contract. See here for more details. After one of the yarn generate
scripts are run, the typescript definitions are usually output to ./src/client/
.
Troubleshooting: If your Zuora form isn't rendering or calling your callback function which you passed in client.render
.
When running UI locally using Monitor CI, get Zuora PageID which you are using to render the form. Then, from Zuora admin console, get the Host
and Port
that PageID is corresponding to. Make sure to match those Host
and Port
with your INGRESS_HOST
and PORT_HTTPS
provided in the .env
file of monitor-ci
.