Sam Hulick
08/02/2021, 8:28 PM"dependencies": {
"@aws-cdk/aws-apigatewayv2-authorizers": "1.111.0",
"@aws-cdk/aws-cognito": "1.111.0",
"@aws-cdk/aws-lambda": "1.111.0",
"@aws-cdk/core": "1.111.0",
"@serverless-stack/cli": "0.36.0",
"@serverless-stack/resources": "0.36.0"
}
I can’t just do yarn upgrade-interactive
like I usually do, because yarn sst add-cdk
still adds version 1.111.0 of the packagesFrank
cli
and the resources
package. And when you run an sst
command again, it’s going to prompt you a yarn command to update all the cdk packages.Ashishkumar Pandey
08/02/2021, 9:04 PMnpx sst add-cdk
. Thanks.Sam Hulick
08/02/2021, 9:10 PM@serverless-stack/cli
and @serverless-stack/resources
to "^0.36.0"
?thdxr
08/02/2021, 9:11 PM^
) because I don't want automatic upgrades that might require me to bump cdk as well. Depends on what workflow you preferSam Hulick
08/02/2021, 9:13 PMFrank
~
and ^
behave different for pre v1 (ie. 0.x.y)Sam Hulick
08/03/2021, 6:47 PMFrank
^0.36.0
will only auto update to ^0.36.x
Frank
Sam Hulick
08/03/2021, 6:54 PM<1
is the way to go actually. both ^
and ~
limit the version to 0.36.xSam Hulick
08/03/2021, 6:55 PMSam Hulick
08/03/2021, 7:20 PMupgrade-interactive
, it doesn’t matter. it’ll list the latest anyway, and give you a chance to upgrade to it, ignoring semverFrank