Hey guys, I’m running `SST CLI` from the root of m...
# sst
a
Hey guys, I’m running
SST CLI
from the root of my repo, but then I have another
package.json
for my Infra in the folder
infrastructure/
, and this is where I define dependency
@serverless-stack/resources
. Is ok to do that? This means that I have 2
package.json
: 1. one at the root level, using
@serverless-stack/cli
2. one at the infrastructure project, using
@serverless-stack/resources
f
Yup, should work. I think that makes sense.
a
@thdxr thoughts on this?
t
Yeah I think that should work
Interesting idea
a
Yeah so I have multiple frontends, multiple backends, and 1 infrastructure folder.
Like… 1. frontend/fe1 2. frontend/fe2 3. backend/services/service1 4. backend/services/service2 5. backend/packages/pkg1 6. infrastructure/
All of those are different NPM projects. I’m thinking now to move the
packages
from backend, into the root, and having
/packages
as a main folder like the others.
This way I can have multi-purpose package folder.