- yarn create @bazel com_kindlyops_bazel_cdk_demo --typescript
After updating package versions or adding packages run
bazel run @nodejs//:yarn
bazel run cdk -- ls
If you have direnv set up we have a wrapper script called cdk in ./scripts
This is useful as a build artifact for deployment in a pipeline
bazel build synth
For example, to add a dependency on the aws-sdk-go library, run
bazel run //:gazelle -- update-repos github.com/aws/aws-sdk-go