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

Create-Plugin: Prevent defaulting values causing prompts to bypass #1037

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

jackw
Copy link
Collaborator

@jackw jackw commented Aug 6, 2024

What this PR does / why we need it:
This PR fixes the issue of not being able to run update command and not being able to scaffold backend plugins due to incorrectly set minimist options that recognise "unknown" args and set defaults for booleans.

Which issue(s) this PR fixes:

Fixes #1036

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@5.1.1-canary.1037.06345188962221d.0
# or 
yarn add @grafana/create-plugin@5.1.1-canary.1037.06345188962221d.0

@jackw jackw added create-plugin related to the create-plugin tool patch Increment the patch version when merged release Create a release when this pr is merged labels Aug 6, 2024
@jackw jackw self-assigned this Aug 6, 2024
@jackw jackw requested a review from a team as a code owner August 6, 2024 21:28
@jackw jackw requested review from Ukochka and removed request for a team August 6, 2024 21:28
Copy link

github-actions bot commented Aug 6, 2024

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new patch release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

@jackw jackw force-pushed the jackw/fix-generate-backend branch from cb64a8a to 86f71fc Compare August 6, 2024 21:30
@jackw jackw merged commit 89623ab into main Aug 7, 2024
14 checks passed
@jackw jackw deleted the jackw/fix-generate-backend branch August 7, 2024 07:26
@grafana-plugins-platform-bot
Copy link

🚀 PR was released in @grafana/create-plugin@5.1.1 🚀

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-plugin related to the create-plugin tool patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
Development

Successfully merging this pull request may close these issues.

Bug: Create plugin update argument doesn't exist
3 participants