chronograf/ui
Jakub Bednář b52a26b01d
chore(release): release 1.11.0 (#6177)
2026-02-19 14:04:56 +01:00
..
assets/images Update logs loading description (#4452) 2018-09-21 15:33:13 -04:00
cypress chore(cypress): format code 2022-07-15 10:28:25 +02:00
mocks feat: add flag to disable host list page 2020-02-10 13:50:28 -08:00
src chore: tweak eslint.config.mjs and eslint comments in code. 2026-02-12 14:25:34 +01:00
test tests: update jest to 30.2 and fix outdated syntax in tests. 2026-02-11 15:02:54 +01:00
.babelrc chore: remove plugin-proposal-decorators from .babelrc 2022-07-28 09:29:47 +02:00
.babelrc.jest chore: repair jest runner after switch to parcel v2 2022-07-28 09:29:47 +02:00
.gitignore chore: record tests and upload them as artifact 2022-05-09 15:55:37 +02:00
.prettierrc.json chore(prettier): use arrowParens that matches the code 2021-03-08 13:09:02 +01:00
README.md
cypress.json chore: add metaUrl to the Cypress env. table and use connect to it 2022-06-02 14:10:17 +02:00
dist.go fix(ui): defer file close 2022-04-26 19:56:54 +02:00
eslint.config.mjs chore: tweak eslint.config.mjs and eslint comments in code. 2026-02-12 14:25:34 +01:00
githubActions-config.json chore: add metaUrl Cypress env. variable into githubActions Cypress config 2022-06-02 22:56:00 +02:00
jest.config.js chore: cleanup 2023-02-28 10:10:13 -05:00
package.json chore(release): release 1.11.0 (#6177) 2026-02-19 14:04:56 +01:00
tsconfig.json feat(ui): remove experimental decorators from tsconfig 2022-07-28 09:29:47 +02:00
tslint.json

README.md

Packages

We are using yarn 0.19.1.

Run yarn run to see a list of available tasks.

Adding new packages

To add a new package, run

yarn add packageName

Adding devDependency

yarn add --dev packageName

Updating a package

First, run

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

Testing

Tests can be run via command line with yarn test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.