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: Check if inside a plugin directory #706

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

leventebalogh
Copy link
Collaborator

@leventebalogh leventebalogh commented Jan 30, 2024

Split out from: #702
Builds on: #705

What changed?

This PR adds a check to see if the update command is running inside a valid plugin directory, and shows an error message if not.

Examples

Not a plugin directory (expand for video)
Screen.Recording.2024-01-29.at.14.17.30.mov

@sympatheticmoose for visibility.

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@3.2.0-canary.706.8d661c1.0
# or 
yarn add @grafana/create-plugin@3.2.0-canary.706.8d661c1.0

@leventebalogh leventebalogh added minor Increment the minor version when merged release Create a release when this pr is merged labels Jan 30, 2024
@leventebalogh leventebalogh self-assigned this Jan 30, 2024
@leventebalogh leventebalogh requested a review from a team as a code owner January 30, 2024 09:36
@leventebalogh leventebalogh requested review from oshirohugo and removed request for a team January 30, 2024 09:36
Copy link

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

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

1 similar comment
Copy link

github-actions bot commented Jan 30, 2024

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

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

Base automatically changed from leventebalogh/git-error-messages to main February 1, 2024 09:50
@leventebalogh leventebalogh force-pushed the leventebalogh/plugin-dir-error-message branch from 50bba8e to 8d661c1 Compare February 1, 2024 09:54
@leventebalogh leventebalogh merged commit 8901548 into main Feb 1, 2024
14 checks passed
@leventebalogh leventebalogh deleted the leventebalogh/plugin-dir-error-message branch February 1, 2024 12:21
@grafana-plugins-platform-bot
Copy link

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

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot added the released This issue/pull request has been released. label Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor 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.

2 participants