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

Expand set of valid characters for a package name to include dot #1295

Closed
Delapouite opened this issue Sep 25, 2024 · 4 comments
Closed

Expand set of valid characters for a package name to include dot #1295

Delapouite opened this issue Sep 25, 2024 · 4 comments

Comments

@Delapouite
Copy link

Hi

From https://docs.npmjs.com/creating-a-package-json-file the current text states:

The "name" field contains your package's name, and must be lowercase and one word, and may contain hyphens and underscores.

It appears that dots can also be used, here's an example of package name with a dot: gssapi.js https://www.npmjs.com/package/gssapi.js

I think this should also be mentioned in the doc.

Thanks.

@kenshanta
Copy link
Contributor

@Delapouite hope you don't mind me creating a PR for this minor fix

wraithgar added a commit that referenced this issue Oct 14, 2024
- Add missing information as per Issue #1295 
- use secure hyperText Transfer Protocol : https

---------

Co-authored-by: Gar <[email protected]>
@kenshanta
Copy link
Contributor

@Delapouite all set to close this issue

@wraithgar
Copy link
Member

Fixed in #1326

@wraithgar
Copy link
Member

updated copy on the docs site

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

No branches or pull requests

4 participants
@wraithgar @Delapouite @kenshanta and others