Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI][codegen] Use yarn create @grafana/plugin to Generate Front-End Code #491

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

IfSentient
Copy link
Contributor

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

@IfSentient IfSentient requested a review from a team as a code owner November 20, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrapped Front-End Build Fails on Linux for node > 18
1 participant