Clayton
11/05/2021, 2:33 PMaws-cdk
packages in a stack (e.g. @aws-cdk/aws-events
) and have been able to successfully run and build the stack without having to install these packages first in the project.
Is this ok, or should they be listed in the project’s package.json? And if so, is it ok for them to be devDependencies only?thdxr
11/05/2021, 2:34 PMDerek Kershner
11/05/2021, 2:35 PMDerek Kershner
11/05/2021, 2:35 PMAnd if so, is it ok for them to be devDependencies only?I generally go devDependencies for all infrastructure related stuff, like sst and cdk and save the dependencies for things inside lambdas and such.
Clayton
11/05/2021, 2:40 PMthdxr
11/05/2021, 2:41 PMClayton
11/05/2021, 2:46 PMthdxr
11/05/2021, 2:46 PMthdxr
11/05/2021, 2:46 PMthdxr
11/05/2021, 2:47 PMsst add-cdk @aws-cdk/aws-events
which should add the right versionClayton
11/05/2021, 2:47 PMDerek Kershner
11/05/2021, 2:48 PMsst update
also works on installed packages in my experiencethdxr
11/05/2021, 2:48 PMsst update
because I found this particularly annoying hahaDerek Kershner
11/05/2021, 2:49 PMClayton
11/05/2021, 2:49 PMsst add-cdk
helper first sst update
keeps everything in sync afterward?Derek Kershner
11/05/2021, 2:50 PMBlake E
11/24/2021, 7:31 PMBlake E
11/24/2021, 7:32 PM