sdk-codegen
sdk-codegen copied to clipboard
Typescript is not in "devDependencies" for @looker/sdk
Hi,
according to package.json files typescript and ts-node are listed in section dependencies
instead of devDependencies
. This bloats production installation since TS is a huge package (50MB).
"ts-node": "^8.4.1",
"typescript": "^3.8.2"
This especially noticeable on aws lambda where TS takes up to 90% of the whole installation. I don't know if it's a bug or a feature, but JS users would appreciate if npm ci --production
doesn't install TS and doesn't bloat node_modules
in production mode.
The packages/sdk/package.json
doesn't refer to ts-node or typescript. Perhaps it did back when you created this issue? However, I do see some cruft in that package.json
file so I'll remove it. Thanks!