-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CLI][codegen] Use
yarn create @grafana/plugin
to Generate Front-En…
…d Code (#491) Instead of using a snapshot of the output of `yarn create @grafana/plugin` with some small tweaks when adding the `frontend` component with `grafana-app-sdk project component add`, invoke the `yarn` command directly, then tweak the output as needed. This keeps us from falling behind the current plugin bootstrapping. As yarn is required to build the frontend already, we have the component add check if yarn is installed, and error if not, requesting that the user must have yarn installed to add the frontend component. Resolves #473 --------- Co-authored-by: Igor Suleymanov <[email protected]>
- Loading branch information
1 parent
4184b2b
commit 5562d49
Showing
2 changed files
with
95 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters