grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
57 stars 28 forks source link

bug: creating a plugin with the name <plugintype> strips it from the id #828

Open sympatheticmoose opened 5 months ago

sympatheticmoose commented 5 months ago

very low priority, but still an oddity.

npx @grafana/create-plugin@latest --pluginName='panel' --orgName='org' --pluginDescription='description' --pluginType='panel' --no-hasGithubWorkflows --no-hasGithubLevitateWorkflow

Results in a folder/plugin-id of org--panel

It also occurs with substrings - i.e. for an app, using a name: meapp and an org: meapp, results in meapp-me-app