| commit | cb58031db63b34a8a182335dbc82de7209a931b6 | [log] [tgz] |
|---|---|---|
| author | Fine0830 <fanxue0830@gmail.com> | Mon May 08 16:28:54 2023 +0800 |
| committer | Fine0830 <fanxue0830@gmail.com> | Mon May 08 16:28:54 2023 +0800 |
| tree | 5fec3c5b1c676584213434d0795898a2f16e3750 | |
| parent | a19e250259156aba9a3d6475e3caf7e5db8360a9 [diff] |
feat: validation
Install dependencies
yarn install
Build plugin in development mode and run in watch mode
yarn dev
Build plugin in production mode
yarn build
Run the tests (using Jest)
# Runs the tests and watches for changes, requires git init first yarn test # Exits after running all the tests yarn test:ci
Spin up a Grafana instance and run the plugin inside it (using Docker)
yarn server
Run the E2E tests (using Cypress)
# Spins up a Grafana instance first that we tests against yarn server # Starts the tests yarn e2e
Run the linter
yarn lint # or yarn lint:fix