mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* @grafana/toolkit: make ts-loader ignore files that are not bundled * @grafana/toolkit: improve the circleci task (#18133) This PR makes some minor improvements to the circle task Adds build info to plugin.json adds dependencies to deployed artifacts Makes sure prettier has content before writing (avoid writing empty files) renames 'bundle' to 'package' and saves stuff in a 'packages' file * @grafana/toolkit: enable plugin themes to work with common stylesheet (#18160) This makes it possible to use themes styleshheet files and stylesheet imports at the same time. The problem occurred when trying to migrate polystat panel to toolkit: grafana/grafana-polystat-panel#62 |
||
---|---|---|
.. | ||
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>