Dan Coates
09/30/2021, 4:01 AM- packages
- api1
- src
- index.ts
- package.json
- node_modules
- api2
- src
- index.ts
- package.json
- node_modules
would you have a single install of serverless stack at the root? Or a separate one in each package? Is there an example of working with a monorepo like this?thdxr
09/30/2021, 5:03 AMthdxr
09/30/2021, 5:04 AMthdxr
09/30/2021, 5:04 AMDan Coates
09/30/2021, 5:12 AMOmi Chowdhury
09/30/2021, 1:12 PM- stack1/
- sst.json
- resources/ (has sst stsaks)
- services/ (has lambda handlers)
- stack2/
- sst.json
- resources/ (has sst stsaks)
- services/ (has lambda handlers)
Omi Chowdhury
09/30/2021, 1:15 PMstack1
and services/service1
as yarn workspaces. Otherwise changes in service1 wouldn’t trigger a deploy in stack1