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

Add option to check devDependencies when uploading package.json #999

Open
lorypelli opened this issue Apr 13, 2023 · 6 comments
Open

Add option to check devDependencies when uploading package.json #999

lorypelli opened this issue Apr 13, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@lorypelli
Copy link

Make them to be showed also

@styfle
Copy link
Owner

styfle commented Apr 13, 2023

When you run npm install <somepkg> it wont install the devDependencies of that package, only the dependencies.

So it doesn't make sense to show them in Package Phobia either.

@styfle styfle closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2023
@lorypelli
Copy link
Author

When you run npm install <somepkg> it wont install the devDependencies of that package, only the dependencies.

So it doesn't make sense to show them in Package Phobia either.

I mean if use use dev flag on that command

@lorypelli
Copy link
Author

and you are able to install that dependency as dev in your project but if Import a package.json of one project, it doesn't show dev dependencies

@styfle
Copy link
Owner

styfle commented Apr 13, 2023

Is your suggestion for the package.json upload feature?

image

@lorypelli
Copy link
Author

Is your suggestion for the package.json upload feature?

image

Yes

@styfle styfle reopened this Apr 14, 2023
@styfle styfle added the enhancement New feature or request label Apr 14, 2023
@styfle styfle changed the title Dev Dependencies Add option to check devDependencies when uploading package.json Apr 14, 2023
@styfle
Copy link
Owner

styfle commented Apr 14, 2023

I updated the title to better describe your request. Feel free to submit a PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants