Any example of Lerna SST app? (other than <this>)?
# help
ö
Any example of Lerna SST app? (other than this)?
How does the SST CLI know that the stacks are defined in
lib
folder?
f
Hey @Ömer Toraman, the path to stack
index
can be specified in
sst.json
, default to
lib/index.js
or
lib/index.ts
.
Here’s a fullstack GraphQL example @thdxr put together. It doesn’t use Lerna, but it’s a Yarn workspace setup that we recommend. https://github.com/serverless-stack/graphql-stack
And it uses
stacks/index.ts
instead of the
lib
folder https://github.com/serverless-stack/graphql-stack/blob/main/sst.json#L6