-
Notifications
You must be signed in to change notification settings - Fork 268
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
tsd package problematic in serverless projects #819
Comments
Thanks for submitting this issue. |
@micheleangioni Thanks for reporting the issue! The |
Hi @shuowu , We include in our package.json the version 2.1.0 of It then brings this chain of dependencies: |
@micheleangioni @okta/jwt-verifier v2.2.0 which removed the dependency of Meanwhile, we are also working on move tsd to devDependencies in okta-auth-js. PR can be tracked #839 |
Thank you very much @shuowu :) |
Dear team,
I've noticed that fairly recently this application included
tsd
into the dependencies of the project.This has terrible consequences for our projects, because we use it in some AWS lambdas. As you probably know, the lambdas have size limits of the code they can contain. This includes the
node_modules
folder of course.The problem is that
tsd
has an enormous sizeand creates big problems when trying to deploy our lambdas in AWS, forcing us to use unpleasant workarounds.
Moving
tsd
to thedevDependencies
would already fix the problem, as it would be dropped when packaging the lambdas. If not possible, I really invite you to consider using a lighter alternative.Thanks
The text was updated successfully, but these errors were encountered: