From d10c406e3f46c2a4c9f328ebef451ad67831884b Mon Sep 17 00:00:00 2001 From: Christopher Rybicki Date: Thu, 16 Dec 2021 06:14:16 -0800 Subject: [PATCH] chore: Revert "feat!: migrate to constructs v10" (#395) Reverts cdk8s-team/cdk8s-image#393 Related to https://github.com/cdk8s-team/cdk8s-core/pull/154 --- .projen/deps.json | 2 -- .projenrc.js | 2 +- API.md | 2 +- package.json | 4 ++-- yarn.lock | 8 ++++---- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index 46a84bc3..788adf41 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -25,7 +25,6 @@ }, { "name": "constructs", - "version": "10.0.0", "type": "build" }, { @@ -102,7 +101,6 @@ }, { "name": "constructs", - "version": "^10", "type": "peer" } ], diff --git a/.projenrc.js b/.projenrc.js index 9d6f69a6..b796a8f0 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -10,7 +10,7 @@ const project = new cdk.JsiiProject({ 'kubernetes', ], peerDeps: [ - 'constructs@^10', + 'constructs', 'cdk8s', ], name: 'cdk8s-image', diff --git a/API.md b/API.md index 41ac78a4..8cf73e5a 100644 --- a/API.md +++ b/API.md @@ -25,7 +25,7 @@ push`. The URL of the pushed image can be accessed through `image.url`. If you push to a registry other then docker hub, you can specify the registry URL through the `registry` option. -__Implements__: [IConstruct](#constructs-iconstruct), [IDependable](#constructs-idependable) +__Implements__: [IConstruct](#constructs-iconstruct) __Extends__: [Construct](#constructs-construct) ### Initializer diff --git a/package.json b/package.json index ff4b2de5..8f8a7719 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "cdk8s": "1.3.0", - "constructs": "10.0.0", + "constructs": "3.3.166", "eslint": "^8", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^2.5.0", @@ -57,7 +57,7 @@ }, "peerDependencies": { "cdk8s": "^1.3.0", - "constructs": "^10" + "constructs": "^3.3.166" }, "bundledDependencies": [], "keywords": [ diff --git a/yarn.lock b/yarn.lock index d8fad5dc..2c0158fe 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1618,10 +1618,10 @@ console-control-strings@^1.0.0, console-control-strings@^1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -constructs@10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.0.0.tgz#a6d498540111f6d75663711d0fa65f32fc8f1786" - integrity sha512-MIwjmrXZpM9RtwyrSD4HotDIQl8HTdIefQhU+MU1asvtSyVN3kK8kjeUOWMFb+fdyT4RX3QvvcaaPBluLEX1SA== +constructs@3.3.166: + version "3.3.166" + resolved "https://registry.yarnpkg.com/constructs/-/constructs-3.3.166.tgz#0d8ff31366cbe3c15df6f7aeba15b4d5e81f0087" + integrity sha512-vhFswEqFb5BRkeYbWPd66A+BtvSSSdRI/1TYNwetC2reJul+ztI40vK9l2CNx1Vi/EOAQp1qjjjTEg+29irtYA== conventional-changelog-angular@^5.0.12: version "5.0.13"