-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix(bundlesize): move 'aws-lambda' as devDependency #331
Conversation
dcaef4f
to
acb2aac
Compare
@baoshan @wolfy1339 I would like you to take a look at this if you have time. |
Can we remove it altogether instead? It's not used in the code, only the types package is |
acb2aac
to
826ab52
Compare
826ab52
to
1b299c4
Compare
The types are a runtime dependency for typescript |
Ugh. @wolfy1339 is right in that it is a production dependency when using typescript. It's really annoying, I really wish we had The only thing that I could think of would be to remove the middleware entirely from this repository, and release it in an external package, such as I really would like to remove What do you think? |
Good catch @wolfy1339. Always saving me 👼🏽 |
This reverts commit 1b299c4.
I completely agree. I created an issue. In the meantime, is there an easy way to make our CI fail if we remove a required |
I don't think there's an easy way to check, since we would still need dev dependencies for testing |
🎉 This PR is included in version 4.0.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Move
aws-lambda
dependency fromoptionalDependency
todevDependency
Context
This prevents users from installing
aws-lambda
since this dependency is installed by default.Fixes #330
Previous context: #283