mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Testing lerna on circle * Remove dependency on test task, fix yarn * yarn fix * Run lerna from local bin * Use packages cache, run lern via npx * Add packages:build * Install packages before release * Remove cache tmp * add lerna bootstrap * temporarily add tsignore * lerna add data package to ui * Remove @types/lodas resolution * Try any... * Typo fix * Add publishing packages * update lerna publish script * Reset git befgore publishing package * Correct lerna version * Packages version bump * Remove postpublish * Publish to npm * Set git creds before commit * Rename job and run it after frontend tests and build passes * Run next packages release on master but not when tagged with release * Minor copy * Update circle's config * Fix config |
||
---|---|---|
.. | ||
grafana-data | ||
grafana-runtime | ||
grafana-toolkit | ||
grafana-ui | ||
README.md | ||
tsconfig.json |
Grafana frontend packages
Releasing new version
We use Lerna for packages versioning and releases
Manual release
- Run
packages:prepare
script from root directory. This will perform cleanup, run all tests and bump version for all packages. Also, it will create@packages@[version]
tag and version bump commit withPackages: publish [version]
message. - Run
packages:build
script that will prepare distribution packages. - Run
packages:publish
to publish new versions- add
--dist-tag next
to publish undernext
tag
- add
- Push version commit
Building individual packages
To build induvidual packages run grafana-toolkit package:build --scope=<ui|toolkit|runtime|data>