Josias Duarte Busiquia
08/04/2021, 11:24 AMsst.json
each imply multiple installations of SST?Josias Duarte Busiquia
08/04/2021, 11:28 AM> nx run sync-functions:build --verbose
Preparing your SST app
No valid package.json found in /../nx-workspace/apps/sync-functions/package.json
Josias Duarte Busiquia
08/04/2021, 1:46 PM.
├── apps
│ ├── sync-functions # <- 2nd SST app
│ │ ├── lib
│ │ ├── src
│ │ ├── test
│ │ └── sst.json
├── cdk.context.json
├── infra # <- first/main SST app
│ ├── cdk.out
│ ├── src
│ ├── lib
│ └── test
│ └── index.ts
├── libs
├── nx.json
├── package.json # <- @serverless-stack/cli listed here w/ all deps
├── package-lock.json
└── sst.json
Root `sst.json`:
{
"name": "MyWorkspace",
"stage": "dev",
"region": "us-west-2",
"lint": false,
"typeCheck": false,
"main": "infra/index.ts"
}
`apps/sync-functions/sst.json`:
{
"name": "sync-functions",
"stage": "dev",
"region": "us-west-2",
"lint": false,
"typeCheck": false
}
Josias Duarte Busiquia
08/04/2021, 1:59 PMln -s ../../package.json apps/sognisport-sync/package.json
Frank