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

Provide npm option #156

Closed
hongbo-miao opened this issue Nov 22, 2022 · 1 comment · Fixed by #226
Closed

Provide npm option #156

hongbo-miao opened this issue Nov 22, 2022 · 1 comment · Fixed by #226
Assignees
Labels
enhancement New feature or request released This issue/pull request has been released.

Comments

@hongbo-miao
Copy link

hongbo-miao commented Nov 22, 2022

Background

  • yarn v1 is very slow and has not been updated for over 1.5 years.
  • And yarn v2 is totally different and lack of ecosystem.
  • npm has a lot of improvements in last a few years, so yarn does not have clear advantages than before.

For example, simply switching from yarn v1 to npm v7, speeds up a lot based in my past experiment.

(Left side is yarn v1, right side is npm v7)

image

Today Node.js 18 comes with npm v8 which is even better. (Latest npm version is v9)

It would be great to provide generating plugin in npm option, or totally move to npm (?) To developers, one less dependency is also a good thing especially yarn v1 is very old and npm is faster today. 😃

This commit will help a little bit hongbo-miao/hongbomiao.com@41da617 for npm option.

BTW, for this repo itself, it may speed up a lot when switching to npm too. 👻

@jackw jackw added the enhancement New feature or request label Mar 6, 2023
@jackw jackw moved this from 📬 Uncategorized to 🧑‍💻 In development (Limit 6) in Plugins Platform / Grafana Community Mar 7, 2023
@jackw jackw moved this from 🧑‍💻 In development (Limit 6) to 🔬 In review (Limit 8) in Plugins Platform / Grafana Community Apr 21, 2023
@github-project-automation github-project-automation bot moved this from 🔬 In review (Limit 8) to 🚀 Shipped in Plugins Platform / Grafana Community Apr 28, 2023
@grafanabot
Copy link
Contributor

🚀 Issue was released in @grafana/create-plugin@1.3.0 🚀

@grafanabot grafanabot added the released This issue/pull request has been released. label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released This issue/pull request has been released.
Projects
Development

Successfully merging a pull request may close this issue.

3 participants