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

Chore: Remove unused deps from scaffolded plugins #221

Merged
merged 1 commit into from
Mar 10, 2023

Conversation

leventebalogh
Copy link
Collaborator

@leventebalogh leventebalogh commented Mar 9, 2023

What changed?

Similar to the changes in #215, this PR removes the unnecessary dependencies in the generated plugins (dependencies which are either unused or are defined as dependencies of the @grafana/eslint-config package).

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @grafana/create-plugin@1.1.2-canary.221.156b869.0
# or 
yarn add @grafana/create-plugin@1.1.2-canary.221.156b869.0

@leventebalogh leventebalogh 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 Mar 9, 2023
@leventebalogh leventebalogh self-assigned this Mar 9, 2023
Copy link
Collaborator

@jackw jackw left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"eslint": "8.26.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: removing eslint causes a peer dependency warning from eslint-webpack-plugin. It's still available due to @grafana/eslint-config.

@leventebalogh leventebalogh merged commit abe30e6 into main Mar 10, 2023
@leventebalogh leventebalogh deleted the leventebalogh/remove-unused-deps-from-plugins branch March 10, 2023 12:55
@grafanabot
Copy link
Contributor

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

@grafanabot grafanabot added the released This issue/pull request has been released. label Mar 10, 2023
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.

4 participants