Skip to content

Commit

Permalink
Merge pull request #921 from hashicorp/upgrade-constructs
Browse files Browse the repository at this point in the history
chore(lib): BREAKING CHANGE upgrade constructs lib to v10
  • Loading branch information
ansgarm committed Aug 26, 2021
2 parents 19b53ed + 26d5d87 commit f0ffd60
Show file tree
Hide file tree
Showing 72 changed files with 866 additions and 160 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,21 @@
## Unreleased Changes

**Breaking Changes**

### Constructs upgrade (`v3` to `v10`)

The `constructs` package serves as the base for all building blocks of the CDKs (e.g. CDK for Terraform, AWS CDK and cdk8s). Recently the `constructs` package was lifted to v10 with a few but major changes. The reason behind those was to make it future proof and stable across different CDKs. In this process the API surface area of the `constructs` base package was reduced and some functionality has been moved directly to the AWS CDK instead. For more information and the underlying motivation for the changes to the `constructs` library refer to the [Removal of Construct Compatibility Layer RFC](https://github.com/aws/aws-cdk-rfcs/blob/master/text/0192-remove-constructs-compat.md).

#### Moved functionality

- `Aspects` are now part of `cdktf` as they've been removed from `constructs`. If you use them, you need to change your import statement to import them from the `cdktf` package. The api also has changed a bit. The new way to register `Aspects` is `Aspects.of(construct).add(aspect)` instead of `construct.node.applyAspect(aspect)`.
- The `construct.node.addInfo()`, `construct.node.addWarning()` and `construct.node.Error()` methods are now available under the `Annotations.of(construct)` API: e.g. `Annotations.of(construct).addWarning('my warning')`. `Annotations` are a part of the `cdktf` base library.

#### Removed functionality

- `construct.onPrepare` / `construct.prepare()` has been removed. Instead you can use `Aspects`: `Aspects.of(this).add({ visit: () => this.prepare() });`.
- `onSynthesize` has been removed. If you find yourself needing support for it, please file a new issue on this repo and describe your use-case.

## 0.5.0 (July 29, 2021)

**New Features**
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/go.md
Expand Up @@ -64,7 +64,7 @@ vim main.go
package main

import (
"github.com/aws/constructs-go/constructs/v3"
"github.com/aws/constructs-go/constructs/v10"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)

Expand Down Expand Up @@ -95,7 +95,7 @@ package main
import (
"cdk.tf/go/stack/generated/kreuzwerker/docker"

"github.com/aws/constructs-go/constructs/v3"
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/go/aws/go.mod
Expand Up @@ -3,7 +3,7 @@ module github.com/hashicorp/terraform-cdk/examples/go/aws
go 1.16

require (
github.com/aws/constructs-go/constructs/v3 v3.3.75
github.com/aws/constructs-go/constructs/v10 v10.0.5
github.com/aws/jsii-runtime-go v1.29.0
github.com/hashicorp/terraform-cdk-go/cdktf v0.0.0
)
Expand Down
6 changes: 4 additions & 2 deletions examples/go/aws/go.sum
@@ -1,17 +1,19 @@
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/aws/constructs-go/constructs/v3 v3.3.75 h1:sunQ8/mQwVoV0OdGYmSh/s8Z2XyUXr8hCc/bKzz6SoU=
github.com/aws/constructs-go/constructs/v3 v3.3.75/go.mod h1:gh+X5UyxGPp/fWyp8iVMa75yMDQev4639pQ93HXXMoA=
github.com/aws/constructs-go/constructs/v10 v10.0.5 h1:oZMlODZsCKlkBZs4KA8O210MqK2XdrakhGpmBfZKzbE=
github.com/aws/constructs-go/constructs/v10 v10.0.5/go.mod h1:l9g2pvi6/NDTGfjih3Zocwk3K4ASge77Pf5KZ2j2484=
github.com/aws/jsii-runtime-go v1.28.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/aws/jsii-runtime-go v1.29.0 h1:JH4GHSauYskfzREWaQMAMTXDRgNR2e5XeLbjD/xf9J0=
github.com/aws/jsii-runtime-go v1.29.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion examples/go/aws/main.go
Expand Up @@ -4,7 +4,7 @@ import (
eks "github.com/hashicorp/terraform-cdk/examples/go/aws/generated/aws_eks_module"
"github.com/hashicorp/terraform-cdk/examples/go/aws/generated/hashicorp/aws"

"github.com/aws/constructs-go/constructs/v3"
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/go/docker/go.mod
Expand Up @@ -3,7 +3,7 @@ module github.com/hashicorp/terraform-cdk/examples/go/docker
go 1.16

require (
github.com/aws/constructs-go/constructs/v3 v3.3.75
github.com/aws/constructs-go/constructs/v10 v10.0.5
github.com/aws/jsii-runtime-go v1.29.0
github.com/hashicorp/terraform-cdk-go/cdktf v0.0.0
)
Expand Down
6 changes: 4 additions & 2 deletions examples/go/docker/go.sum
@@ -1,17 +1,19 @@
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/aws/constructs-go/constructs/v3 v3.3.75 h1:sunQ8/mQwVoV0OdGYmSh/s8Z2XyUXr8hCc/bKzz6SoU=
github.com/aws/constructs-go/constructs/v3 v3.3.75/go.mod h1:gh+X5UyxGPp/fWyp8iVMa75yMDQev4639pQ93HXXMoA=
github.com/aws/constructs-go/constructs/v10 v10.0.5 h1:oZMlODZsCKlkBZs4KA8O210MqK2XdrakhGpmBfZKzbE=
github.com/aws/constructs-go/constructs/v10 v10.0.5/go.mod h1:l9g2pvi6/NDTGfjih3Zocwk3K4ASge77Pf5KZ2j2484=
github.com/aws/jsii-runtime-go v1.28.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/aws/jsii-runtime-go v1.29.0 h1:JH4GHSauYskfzREWaQMAMTXDRgNR2e5XeLbjD/xf9J0=
github.com/aws/jsii-runtime-go v1.29.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion examples/go/docker/main.go
Expand Up @@ -19,7 +19,7 @@ package main
import (
"github.com/hashicorp/terraform-cdk/examples/go/docker/generated/kreuzwerker/docker"

"github.com/aws/constructs-go/constructs/v3"
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
Expand Down
2 changes: 1 addition & 1 deletion examples/go/google/go.mod
Expand Up @@ -2,7 +2,7 @@ module github.com/hashicorp/terraform-cdk/examples/go/google

go 1.16

require github.com/aws/constructs-go/constructs/v3 v3.3.75
require github.com/aws/constructs-go/constructs/v10 v10.0.5

require (
github.com/aws/jsii-runtime-go v1.29.0
Expand Down
6 changes: 4 additions & 2 deletions examples/go/google/go.sum
@@ -1,17 +1,19 @@
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/aws/constructs-go/constructs/v3 v3.3.75 h1:sunQ8/mQwVoV0OdGYmSh/s8Z2XyUXr8hCc/bKzz6SoU=
github.com/aws/constructs-go/constructs/v3 v3.3.75/go.mod h1:gh+X5UyxGPp/fWyp8iVMa75yMDQev4639pQ93HXXMoA=
github.com/aws/constructs-go/constructs/v10 v10.0.5 h1:oZMlODZsCKlkBZs4KA8O210MqK2XdrakhGpmBfZKzbE=
github.com/aws/constructs-go/constructs/v10 v10.0.5/go.mod h1:l9g2pvi6/NDTGfjih3Zocwk3K4ASge77Pf5KZ2j2484=
github.com/aws/jsii-runtime-go v1.28.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/aws/jsii-runtime-go v1.29.0 h1:JH4GHSauYskfzREWaQMAMTXDRgNR2e5XeLbjD/xf9J0=
github.com/aws/jsii-runtime-go v1.29.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion examples/go/google/main.go
@@ -1,7 +1,7 @@
package main

import (
constructs "github.com/aws/constructs-go/constructs/v3"
constructs "github.com/aws/constructs-go/constructs/v10"
"github.com/hashicorp/terraform-cdk-go/cdktf"

jsii "github.com/aws/jsii-runtime-go"
Expand Down
2 changes: 1 addition & 1 deletion examples/go/ucloud/go.mod
Expand Up @@ -3,7 +3,7 @@ module github.com/hashicorp/terraform-cdk/examples/go/ucloud
go 1.16

require (
github.com/aws/constructs-go/constructs/v3 v3.3.75
github.com/aws/constructs-go/constructs/v10 v10.0.5
github.com/aws/jsii-runtime-go v1.30.0
github.com/hashicorp/terraform-cdk-go/cdktf v0.0.0
)
Expand Down
6 changes: 4 additions & 2 deletions examples/go/ucloud/go.sum
@@ -1,7 +1,7 @@
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
github.com/aws/constructs-go/constructs/v3 v3.3.75 h1:sunQ8/mQwVoV0OdGYmSh/s8Z2XyUXr8hCc/bKzz6SoU=
github.com/aws/constructs-go/constructs/v3 v3.3.75/go.mod h1:gh+X5UyxGPp/fWyp8iVMa75yMDQev4639pQ93HXXMoA=
github.com/aws/constructs-go/constructs/v10 v10.0.5 h1:oZMlODZsCKlkBZs4KA8O210MqK2XdrakhGpmBfZKzbE=
github.com/aws/constructs-go/constructs/v10 v10.0.5/go.mod h1:l9g2pvi6/NDTGfjih3Zocwk3K4ASge77Pf5KZ2j2484=
github.com/aws/jsii-runtime-go v1.28.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/aws/jsii-runtime-go v1.29.0/go.mod h1:6tZnlstx8bAB3vnLFF9n8bbkI//LDblAek9zFyMXV3E=
github.com/aws/jsii-runtime-go v1.30.0 h1:KEQ0G78/VVmgRyXKwKdRTbJF2O9VVG39Hv1Y/iROGbo=
Expand All @@ -10,9 +10,11 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2 changes: 1 addition & 1 deletion examples/go/ucloud/main.go
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/aws/constructs-go/constructs/v3"
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/hashicorp/terraform-cdk-go/cdktf"
"github.com/hashicorp/terraform-cdk/examples/go/ucloud/generated/ucloud/ucloud"
Expand Down
2 changes: 1 addition & 1 deletion examples/java/aws/pom.xml
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.constructs</groupId>
<artifactId>constructs</artifactId>
<version>3.3.75</version>
<version>10.0.5</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/java/azure/pom.xml
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.constructs</groupId>
<artifactId>constructs</artifactId>
<version>3.3.75</version>
<version>10.0.5</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/java/google/pom.xml
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.constructs</groupId>
<artifactId>constructs</artifactId>
<version>3.3.75</version>
<version>10.0.5</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/java/gradle-shared-module/common/build.gradle
Expand Up @@ -7,5 +7,5 @@ application {

dependencies {
api 'com.hashicorp:cdktf:0.1.0'
api 'software.constructs:constructs:3.3.75'
api 'software.constructs:constructs:10.0.5'
}
2 changes: 1 addition & 1 deletion examples/java/kubernetes/pom.xml
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.constructs</groupId>
<artifactId>constructs</artifactId>
<version>3.3.75</version>
<version>10.0.5</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/java/ucloud/pom.xml
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.constructs</groupId>
<artifactId>constructs</artifactId>
<version>3.3.75</version>
<version>10.0.5</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/aws-cloudfront-proxy/package.json
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/aws-multiple-stacks/package.json
Expand Up @@ -17,7 +17,7 @@
"cdktf-cli": "0.0.0"
},
"dependencies": {
"constructs": "^3.3.75",
"constructs": "^10.0.5",
"cdktf": "0.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/typescript/aws-prebuilt/package.json
Expand Up @@ -16,6 +16,6 @@
"dependencies": {
"@cdktf/provider-aws": "^0.0.19",
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
}
}
2 changes: 1 addition & 1 deletion examples/typescript/azure-app-service/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/azure/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/backends/azurerm/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/backends/gcs/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/backends/remote/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/backends/s3/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/docker/package.json
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/google-cloudrun/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.27",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/google/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/kubernetes/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/ucloud/package.json
Expand Up @@ -20,7 +20,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/vault/package.json
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"cdktf": "0.0.0",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down
2 changes: 1 addition & 1 deletion packages/@cdktf/hcl2cdk/test/convertProject.test.ts
Expand Up @@ -63,7 +63,7 @@ app.synth();`,
},
"dependencies": {
"cdktf": "*",
"constructs": "^3.3.75"
"constructs": "^10.0.5"
},
"devDependencies": {
"@types/node": "^14.0.26",
Expand Down

0 comments on commit f0ffd60

Please sign in to comment.