serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
111 stars 15 forks source link

feat: Support `serverless-compose.{ts/js/json/yaml}` configs #77

Closed pgrzesik closed 2 years ago

pgrzesik commented 2 years ago

Closes: #56

pgrzesik commented 2 years ago

Hey @mnapoli - do you think we should advertise these alternative configuration options in README or just keep it as "hidden" feature?

mnapoli commented 2 years ago

do you think we should advertise these alternative configuration options in README or just keep it as "hidden" feature?

Yes I think we should mention it, but as shortly as possible (i.e. mention it exists just for those who would know what it is).

Could it also be possible to dynamically put the file name in error messages that mention serverless-compose.yml? As discussed previously, I still think we should mention the file name (this is much more concrete and understandable than "service configuration"), but ideally we should us the correct extension in error messages.

pgrzesik commented 2 years ago

Good suggestion @mnapoli - I'll look into that