Skip to content

Types should be in "devDependencies" #428

Open
@iSuslov

Description

@iSuslov

Checklist

  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Type packages should be in dev dependencies. npm prune and other similar tools does not delete it and it has overhead when deploying an application.

I can see that it was addressed once #91 but then it back again.

Since this package is used extensively by popular libraries would be very nice to have it fixed

Reproduction

Check package.json

https://github.com/auth0/node-jwks-rsa/blob/c4767cd2b1048a24f567b86f5f6b732507d0635d/package.json#L15C6-L16

Additional context

No response

jwks-rsa version

latest

Node.js version

all

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions