Shouldn't pnpm init make the package name attribute valid? #9498
Unanswered
MrAmericanMike
asked this question in
Q&A
Replies: 1 comment
-
To lower case sounds good to me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I'll post this as a question just to be sure, I believe it should be a feature request but...
Lets say I have a folder called "Playground", it's an empty folder, I go inside it and run
pnpm init
I get something that looks like this:
on "Playground" I get a warning that says:
(I'm guessing it's Visual Studio Code doing this)
If it's something "standard" that a project name must be lowercase in package.json, and follow whatever all that regex pattern means.
Shouldn't pnpm at least do folder name to lowercase? Or even better try to convert whatever the folder name is, to something that would be valid "name" field for a package.json file?
Beta Was this translation helpful? Give feedback.
All reactions