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

Non-NPM Package Name Conflict #62008

Open
fowl2 opened this issue Aug 29, 2022 · 1 comment
Open

Non-NPM Package Name Conflict #62008

fowl2 opened this issue Aug 29, 2022 · 1 comment

Comments

@fowl2
Copy link
Contributor

fowl2 commented Aug 29, 2022

The readme says:

If the package you are adding typings for is not on npm, make sure the name you choose for it does not conflict with the name of a package on npm. (You can use npm info to check for the existence of the package.)

This isn't much guidance, and doesn't seem to consider that someone could create an npm package after this check.

This has happened @types/xrm provides types for the js APIs available within the Microsoft Dataverse platform (previously known as Dynamics CRM), which is not on NPM. Now someone has created an NPM package xrm and the Typescript bot is linking to it.

Renaming the existing types package for the non-npm code would be disruptive.
If this newly created npm package started needing types, they would be hard to find.

Not sure what to do? Some extra metadata somewhere?

@jfer1990

This comment was marked as off-topic.

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

2 participants