Blake E
08/26/2021, 7:16 PM--language typescript
but I failed to read through docs to add --use-yarn
and my sst add-cdk
is complaining (and using npm).
Where is this set? I’d like to change this after the boilerplating my project 🙏thdxr
08/26/2021, 7:17 PMBlake E
08/26/2021, 7:17 PMyarn.lock
so “Note, that it’ll use Yarn instead if it detects a yarn.lock file in your project.”Blake E
08/26/2021, 7:17 PMBlake E
08/26/2021, 7:18 PMsst add-cdk
is reading npm
true in https://github.com/serverless-stack/serverless-stack/blob/master/packages/cli/scripts/add-cdk.js#L8 (I imagine)
In any case, sst add-cdk
tries an npm install..
not yarnBlake E
08/26/2021, 7:18 PMcliInfo
is getting it’s npm
true from, but figured I’d poke herethdxr
08/26/2021, 7:19 PMthdxr
08/26/2021, 7:20 PMBlake E
08/26/2021, 7:22 PM/common/config/yarn.lock
)Blake E
08/26/2021, 7:23 PMthdxr
08/26/2021, 7:23 PMthdxr
08/26/2021, 7:23 PMBlake E
08/26/2021, 7:23 PMthdxr
08/26/2021, 7:23 PMyarn: true
in sst.json
Blake E
08/26/2021, 7:24 PMthdxr
08/26/2021, 7:24 PMBlake E
08/26/2021, 7:24 PM