dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.73k stars 167 forks source link

[v3.0.0] [Typescript] Type definitions not part of the package #230

Closed paulsouche closed 2 years ago

paulsouche commented 2 years ago

Hello !

serverless-http.d.ts is not part of the package anymore. This breaks the typings

image

I could help to fix the issue but I don't know how you publish this. I thought there was a "files" key in package.json that could explain the issue but no :cry:

Thank you anyway for the great job !

dougmoscrop commented 2 years ago

ahh I accidentally left in in .npmignore after experimenting with bundling the definitions - can you try 3.0.1?

paulsouche commented 2 years ago

Hello again !

Version 3.0.1 works like a charm.

I should have thought about the .npmignore. Easier to use "files" in package.json to be sure to not publish something by mistake.

Thanks again for the really quick answer