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

fix: respect package manager in update next steps #819

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

sympatheticmoose
Copy link
Contributor

@sympatheticmoose sympatheticmoose commented Mar 14, 2024

What this PR does / why we need it:

Currently the next steps following update always state to do npm install even if an alternative package manager has been used to scaffold the plugin i.e. yarn
Screenshot 2024-03-14 at 09 18 34

This PR updates to fetch the package manager being used and updates a couple of messages.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@4.2.3-canary.819.d1980ac.0
# or 
yarn add @grafana/create-plugin@4.2.3-canary.819.d1980ac.0

Copy link

github-actions bot commented Mar 14, 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.

@sympatheticmoose sympatheticmoose added the create-plugin related to the create-plugin tool label Mar 14, 2024
@sympatheticmoose sympatheticmoose changed the title chore: respect package manager in update next steps fix: respect package manager in update next steps Mar 14, 2024
@sympatheticmoose sympatheticmoose added type/bug Something isn't working patch Increment the patch version when merged labels Mar 14, 2024
@sympatheticmoose sympatheticmoose added the release Create a release when this pr is merged label Mar 14, 2024
@sympatheticmoose sympatheticmoose marked this pull request as ready for review March 14, 2024 10:27
@sympatheticmoose sympatheticmoose requested a review from a team as a code owner March 14, 2024 10:27
@sympatheticmoose sympatheticmoose requested review from mckn and removed request for a team March 14, 2024 10:27
Copy link
Collaborator

@leventebalogh leventebalogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one 👏

@sympatheticmoose sympatheticmoose merged commit d163192 into main Mar 14, 2024
15 of 16 checks passed
@sympatheticmoose sympatheticmoose deleted the dh-update-cmd branch March 14, 2024 12:36
@grafana-plugins-platform-bot
Copy link

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

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Mar 14, 2024
@sympatheticmoose sympatheticmoose removed the request for review from mckn March 14, 2024 12:45
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. type/bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants