I see with SST v1, the `aws-cdk-lib` is part of th...
# general
a
I see with SST v1, the
aws-cdk-lib
is part of the
@serverless-stack/resources
package rather than installed separately. I’m not sure if I have something set up wrong in my editor, but I seem to have lost intellisense for importing new CDK packages with this change. Manually installing
aws-cdk-lib
into my project seems to fix this, but then I can run into conflicts because it is installed twice in
node_modules
. What is the recommendation here? I assume the desire is to just leverage
aws-cdk-lib
from the SST package, but is there something else I need to do to get the auto-import intellisense back in VS Code?
t
you should install it in your project but make sure the version matches
we didn't intend people not to do this with v1
we need to move those to peer dependencies
a
Okay that helps. Is there a way to easily install the same version? I know pre-v1 this was sort of handled automatically with the upgrade command
t
yeah that should still work but we're at 2.24.0 right now
a
Got it. Thanks!