From ed33d4968da62aca38a62aa310762b5add3ebe66 Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Kwon <855115+xiehan@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:27:58 +0200 Subject: [PATCH] chore(deps): upgrade jsii & typescript to v5.4 in examples (#170) This should have been done at the same time as #159 and was an accidental oversight on my part. --- examples/hybrid-module/.projen/deps.json | 8 +- examples/hybrid-module/package.json | 10 +-- examples/hybrid-module/yarn.lock | 84 +++++++++---------- examples/terraform-module/.projen/deps.json | 8 +- examples/terraform-module/package.json | 10 +-- examples/terraform-module/yarn.lock | 84 +++++++++---------- src/hybrid-module.ts | 6 +- src/terraform-module.ts | 6 +- test/__snapshots__/hybrid-module.test.ts.snap | 10 +-- .../terraform-module.test.ts.snap | 10 +-- 10 files changed, 118 insertions(+), 118 deletions(-) diff --git a/examples/hybrid-module/.projen/deps.json b/examples/hybrid-module/.projen/deps.json index fb87905..743eaba 100644 --- a/examples/hybrid-module/.projen/deps.json +++ b/examples/hybrid-module/.projen/deps.json @@ -79,12 +79,12 @@ }, { "name": "jsii-rosetta", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { "name": "jsii", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { @@ -111,7 +111,7 @@ }, { "name": "typescript", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { @@ -121,7 +121,7 @@ }, { "name": "constructs", - "version": ">=10.0.107", + "version": ">=10.3.0", "type": "peer" }, { diff --git a/examples/hybrid-module/package.json b/examples/hybrid-module/package.json index 3ac0069..8d5a0e3 100644 --- a/examples/hybrid-module/package.json +++ b/examples/hybrid-module/package.json @@ -41,7 +41,7 @@ "@typescript-eslint/parser": "^7", "cdktf": "0.20.0", "cdktf-cli": "~0.20.0", - "constructs": "10.0.107", + "constructs": "10.3.0", "eslint": "^8", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-typescript": "^2.7.1", @@ -49,21 +49,21 @@ "eslint-plugin-prettier": "^4.2.1", "jest": "^29", "jest-junit": "^15", - "jsii": "~5.2.0", + "jsii": "~5.4.0", "jsii-diff": "^1.102.0", "jsii-docgen": "^10.0.0", "jsii-pacmak": "^1.102.0", - "jsii-rosetta": "~5.2.0", + "jsii-rosetta": "~5.4.0", "prettier": "^2.8.8", "projen": "^0.86.0", "standard-version": "^9", "ts-jest": "^29", "ts-node": ">=10.9.1", - "typescript": "~5.2.0" + "typescript": "~5.4.0" }, "peerDependencies": { "cdktf": ">=0.20.0", - "constructs": ">=10.0.107" + "constructs": ">=10.3.0" }, "dependencies": { "@cdktf/tf-module-stack": ">=5.0.0" diff --git a/examples/hybrid-module/yarn.lock b/examples/hybrid-module/yarn.lock index 259b420..866ca9a 100644 --- a/examples/hybrid-module/yarn.lock +++ b/examples/hybrid-module/yarn.lock @@ -990,13 +990,13 @@ chalk "^4.1.2" semver "^7.6.3" -"@jsii/check-node@1.92.0": - version "1.92.0" - resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.92.0.tgz#e05908d2c0875a728db14d73bb30459a73bd008e" - integrity sha512-MQnFvDIn/VOz4FzchobZ4dfrl6qfuZIlYviNbGXhPMSeJ92BVB2F+NEyem9Sg/Csy2ehhtO1FGaUj4mO9/7Ntg== +"@jsii/check-node@1.103.0": + version "1.103.0" + resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.103.0.tgz#a85ff4968fdd27bdb89de01e66d5d173600d0b57" + integrity sha512-fnlzGcQSJ5/SPSOoSv7qaJMSARz2MN7gER0ZKbkHhTrBQU3A/TNrLvTLzOtRnygx9xOlKZkgt05UXG5Ovr4iww== dependencies: chalk "^4.1.2" - semver "^7.5.4" + semver "^7.6.3" "@jsii/check-node@1.93.0": version "1.93.0" @@ -1020,12 +1020,12 @@ dependencies: ajv "^8.17.1" -"@jsii/spec@^1.92.0": - version "1.92.0" - resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.92.0.tgz#8fcd72a0ced63e83e72a010a499518d603f00198" - integrity sha512-6jbwQ2uCVOUq6eddKQG/cPzuUsdJwaszQstTZtruhhjWNuoC4CjT5eHlzjeBqtxQZpGiKkRRwPHb1bCEGgffxA== +"@jsii/spec@^1.103.0": + version "1.103.0" + resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.103.0.tgz#a0cfe50d03b773eaa3c57b23e501599ebaf6444e" + integrity sha512-SLKkITTr6d2wSMCC/HITBNLwBcwz6PStV83oZpM98SDtyNHDbpLNlkwS5m8DpmP+ufMqgI6IvgF7iiyrwz8DRg== dependencies: - ajv "^8.12.0" + ajv "^8.17.1" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -2292,17 +2292,12 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -constructs@10.0.107: - version "10.0.107" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.0.107.tgz#837c296f9b97d7663a2cddaf9771090bae296576" - integrity sha512-RijsrEEyjWYatW2HmKphxKT2GCNCYnabk9oGHadn+XPoqO3mpk11/uSQ6CqIuqGnCMAhnxGWBl64jaccJvpuTw== - constructs@10.1.167: version "10.1.167" resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.1.167.tgz#7012962af80a53124cc8bf461184149a3e2a944a" integrity sha512-zGt88EmcJUtWbd/sTM9GKcHRjYWzEx5jzMYuK69vl25Dj01sJAc7uF6AEJgZBtlLAc3VnRUvzgitHwmJkS9BFw== -constructs@^10.0.0: +constructs@10.3.0, constructs@^10.0.0: version "10.3.0" resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.3.0.tgz#4c246fce9cf8e77711ad45944e9fbd41f1501965" integrity sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ== @@ -4732,22 +4727,22 @@ jsii-rosetta@^1.93.0: workerpool "^6.5.1" yargs "^16.2.0" -jsii-rosetta@~5.2.0: - version "5.2.5" - resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.2.5.tgz#2268dfb0be85105c9e3a68d7ddf8d7ee08843b54" - integrity sha512-lJPJAlrVt+jxJ1RwtM3DocLik8B/74daOB8dbuZzcGHGhVBLQ2No2GYwjn9EsyLnvzO2ULeSWduEhdgc61XhwQ== +jsii-rosetta@~5.4.0: + version "5.4.33" + resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.4.33.tgz#43bf050b94714bbcaa29692c23ef77aff132d8ec" + integrity sha512-7KKrFfhh4Z9LYqDIiIqQzHVdkreWA0RJ29Hn84gaPQtrKtyygfsQqBrysuQuCcpzCS9SyAR/9qrghzh2a+Jxsw== dependencies: - "@jsii/check-node" "1.92.0" - "@jsii/spec" "^1.92.0" + "@jsii/check-node" "1.103.0" + "@jsii/spec" "^1.103.0" "@xmldom/xmldom" "^0.8.10" chalk "^4" - commonmark "^0.30.0" + commonmark "^0.31.1" fast-glob "^3.3.2" - jsii "~5.2.5" - semver "^7.5.4" + jsii "~5.4.0" + semver "^7.6.3" semver-intersect "^1.5.0" stream-json "^1.8.0" - typescript "~5.2.2" + typescript "~5.4" workerpool "^6.5.1" yargs "^17.7.2" @@ -4819,13 +4814,13 @@ jsii@5.3.3, jsii@~5.3.0: typescript "~5.3" yargs "^17.7.2" -jsii@~5.2.0, jsii@~5.2.5: - version "5.2.38" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.38.tgz#4548a7b88b3e2a1ef582f037c81bd20db88b5df0" - integrity sha512-QGt5Kd01wHrE3ASylXu1Rycsa0i4dn6jCqGDU/oxs8/K4zBDGJr0yqiJ2W3lgqIpDxn94PxZppHXSV8zJ8pJog== +jsii@~5.2.41: + version "5.2.44" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.44.tgz#7a768412f1a28f5f1ff3e92ab5f5b7e7430c3ae1" + integrity sha512-Z7sTqYzQ5yoJU/ie+svjqSzrOF5rl4pW/bojvCb/7MfJ+SaGqhMUQMxQGTfqmSvauME8JoVYqwMH89x6qreJ8A== dependencies: - "@jsii/check-node" "1.92.0" - "@jsii/spec" "^1.92.0" + "@jsii/check-node" "1.93.0" + "@jsii/spec" "^1.93.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" @@ -4838,23 +4833,23 @@ jsii@~5.2.0, jsii@~5.2.5: typescript "~5.2" yargs "^17.7.2" -jsii@~5.2.41: - version "5.2.44" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.44.tgz#7a768412f1a28f5f1ff3e92ab5f5b7e7430c3ae1" - integrity sha512-Z7sTqYzQ5yoJU/ie+svjqSzrOF5rl4pW/bojvCb/7MfJ+SaGqhMUQMxQGTfqmSvauME8JoVYqwMH89x6qreJ8A== +jsii@~5.4.0: + version "5.4.34" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.4.34.tgz#b53c35ecb3c2460147f18bde405cab94a11702d6" + integrity sha512-idn53IyKrxUY9M/lZQZfq5VnaE5cCiI1IsdVWzbxruItqELjyB77LdX1Q/JwNbNGYLfC9LvIVYHsw3IbP4GhFw== dependencies: - "@jsii/check-node" "1.93.0" - "@jsii/spec" "^1.93.0" + "@jsii/check-node" "1.102.0" + "@jsii/spec" "^1.102.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" fast-deep-equal "^3.1.3" log4js "^6.9.1" - semver "^7.5.4" + semver "^7.6.3" semver-intersect "^1.5.0" sort-json "^2.0.1" - spdx-license-list "^6.8.0" - typescript "~5.2" + spdx-license-list "^6.9.0" + typescript "~5.4" yargs "^17.7.2" json-buffer@3.0.1: @@ -6821,7 +6816,7 @@ typescript@~3.9.10: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== -typescript@~5.2, typescript@~5.2.0, typescript@~5.2.2: +typescript@~5.2: version "5.2.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== @@ -6831,6 +6826,11 @@ typescript@~5.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== +typescript@~5.4, typescript@~5.4.0: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== + uglify-js@^3.1.4: version "3.19.2" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.2.tgz#319ae26a5fbd18d03c7dc02496cfa1d6f1cd4307" diff --git a/examples/terraform-module/.projen/deps.json b/examples/terraform-module/.projen/deps.json index 6a657df..59b537c 100644 --- a/examples/terraform-module/.projen/deps.json +++ b/examples/terraform-module/.projen/deps.json @@ -79,12 +79,12 @@ }, { "name": "jsii-rosetta", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { "name": "jsii", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { @@ -111,7 +111,7 @@ }, { "name": "typescript", - "version": "~5.2.0", + "version": "~5.4.0", "type": "build" }, { @@ -121,7 +121,7 @@ }, { "name": "constructs", - "version": ">=10.0.107", + "version": ">=10.3.0", "type": "peer" } ], diff --git a/examples/terraform-module/package.json b/examples/terraform-module/package.json index 6769ba9..747e4a2 100644 --- a/examples/terraform-module/package.json +++ b/examples/terraform-module/package.json @@ -40,7 +40,7 @@ "@typescript-eslint/parser": "^7", "cdktf": "0.20.0", "cdktf-cli": "~0.20.0", - "constructs": "10.0.107", + "constructs": "10.3.0", "eslint": "^8", "eslint-config-prettier": "^8.10.0", "eslint-import-resolver-typescript": "^2.7.1", @@ -48,21 +48,21 @@ "eslint-plugin-prettier": "^4.2.1", "jest": "^29", "jest-junit": "^15", - "jsii": "~5.2.0", + "jsii": "~5.4.0", "jsii-diff": "^1.102.0", "jsii-docgen": "^10.0.0", "jsii-pacmak": "^1.102.0", - "jsii-rosetta": "~5.2.0", + "jsii-rosetta": "~5.4.0", "prettier": "^2.8.8", "projen": "^0.86.0", "standard-version": "^9", "ts-jest": "^29", "ts-node": ">=10.9.1", - "typescript": "~5.2.0" + "typescript": "~5.4.0" }, "peerDependencies": { "cdktf": ">=0.20.0", - "constructs": ">=10.0.107" + "constructs": ">=10.3.0" }, "keywords": [ "cdk", diff --git a/examples/terraform-module/yarn.lock b/examples/terraform-module/yarn.lock index fd13440..56bec71 100644 --- a/examples/terraform-module/yarn.lock +++ b/examples/terraform-module/yarn.lock @@ -985,13 +985,13 @@ chalk "^4.1.2" semver "^7.6.3" -"@jsii/check-node@1.92.0": - version "1.92.0" - resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.92.0.tgz#e05908d2c0875a728db14d73bb30459a73bd008e" - integrity sha512-MQnFvDIn/VOz4FzchobZ4dfrl6qfuZIlYviNbGXhPMSeJ92BVB2F+NEyem9Sg/Csy2ehhtO1FGaUj4mO9/7Ntg== +"@jsii/check-node@1.103.0": + version "1.103.0" + resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.103.0.tgz#a85ff4968fdd27bdb89de01e66d5d173600d0b57" + integrity sha512-fnlzGcQSJ5/SPSOoSv7qaJMSARz2MN7gER0ZKbkHhTrBQU3A/TNrLvTLzOtRnygx9xOlKZkgt05UXG5Ovr4iww== dependencies: chalk "^4.1.2" - semver "^7.5.4" + semver "^7.6.3" "@jsii/check-node@1.93.0": version "1.93.0" @@ -1015,12 +1015,12 @@ dependencies: ajv "^8.17.1" -"@jsii/spec@^1.92.0": - version "1.92.0" - resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.92.0.tgz#8fcd72a0ced63e83e72a010a499518d603f00198" - integrity sha512-6jbwQ2uCVOUq6eddKQG/cPzuUsdJwaszQstTZtruhhjWNuoC4CjT5eHlzjeBqtxQZpGiKkRRwPHb1bCEGgffxA== +"@jsii/spec@^1.103.0": + version "1.103.0" + resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.103.0.tgz#a0cfe50d03b773eaa3c57b23e501599ebaf6444e" + integrity sha512-SLKkITTr6d2wSMCC/HITBNLwBcwz6PStV83oZpM98SDtyNHDbpLNlkwS5m8DpmP+ufMqgI6IvgF7iiyrwz8DRg== dependencies: - ajv "^8.12.0" + ajv "^8.17.1" "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -2287,17 +2287,12 @@ concat-stream@^2.0.0: readable-stream "^3.0.2" typedarray "^0.0.6" -constructs@10.0.107: - version "10.0.107" - resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.0.107.tgz#837c296f9b97d7663a2cddaf9771090bae296576" - integrity sha512-RijsrEEyjWYatW2HmKphxKT2GCNCYnabk9oGHadn+XPoqO3mpk11/uSQ6CqIuqGnCMAhnxGWBl64jaccJvpuTw== - constructs@10.1.167: version "10.1.167" resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.1.167.tgz#7012962af80a53124cc8bf461184149a3e2a944a" integrity sha512-zGt88EmcJUtWbd/sTM9GKcHRjYWzEx5jzMYuK69vl25Dj01sJAc7uF6AEJgZBtlLAc3VnRUvzgitHwmJkS9BFw== -constructs@^10.0.0: +constructs@10.3.0, constructs@^10.0.0: version "10.3.0" resolved "https://registry.yarnpkg.com/constructs/-/constructs-10.3.0.tgz#4c246fce9cf8e77711ad45944e9fbd41f1501965" integrity sha512-vbK8i3rIb/xwZxSpTjz3SagHn1qq9BChLEfy5Hf6fB3/2eFbrwt2n9kHwQcS0CPTRBesreeAcsJfMq2229FnbQ== @@ -4727,22 +4722,22 @@ jsii-rosetta@^1.93.0: workerpool "^6.5.1" yargs "^16.2.0" -jsii-rosetta@~5.2.0: - version "5.2.5" - resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.2.5.tgz#2268dfb0be85105c9e3a68d7ddf8d7ee08843b54" - integrity sha512-lJPJAlrVt+jxJ1RwtM3DocLik8B/74daOB8dbuZzcGHGhVBLQ2No2GYwjn9EsyLnvzO2ULeSWduEhdgc61XhwQ== +jsii-rosetta@~5.4.0: + version "5.4.33" + resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.4.33.tgz#43bf050b94714bbcaa29692c23ef77aff132d8ec" + integrity sha512-7KKrFfhh4Z9LYqDIiIqQzHVdkreWA0RJ29Hn84gaPQtrKtyygfsQqBrysuQuCcpzCS9SyAR/9qrghzh2a+Jxsw== dependencies: - "@jsii/check-node" "1.92.0" - "@jsii/spec" "^1.92.0" + "@jsii/check-node" "1.103.0" + "@jsii/spec" "^1.103.0" "@xmldom/xmldom" "^0.8.10" chalk "^4" - commonmark "^0.30.0" + commonmark "^0.31.1" fast-glob "^3.3.2" - jsii "~5.2.5" - semver "^7.5.4" + jsii "~5.4.0" + semver "^7.6.3" semver-intersect "^1.5.0" stream-json "^1.8.0" - typescript "~5.2.2" + typescript "~5.4" workerpool "^6.5.1" yargs "^17.7.2" @@ -4814,13 +4809,13 @@ jsii@5.3.3, jsii@~5.3.0: typescript "~5.3" yargs "^17.7.2" -jsii@~5.2.0, jsii@~5.2.5: - version "5.2.38" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.38.tgz#4548a7b88b3e2a1ef582f037c81bd20db88b5df0" - integrity sha512-QGt5Kd01wHrE3ASylXu1Rycsa0i4dn6jCqGDU/oxs8/K4zBDGJr0yqiJ2W3lgqIpDxn94PxZppHXSV8zJ8pJog== +jsii@~5.2.41: + version "5.2.44" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.44.tgz#7a768412f1a28f5f1ff3e92ab5f5b7e7430c3ae1" + integrity sha512-Z7sTqYzQ5yoJU/ie+svjqSzrOF5rl4pW/bojvCb/7MfJ+SaGqhMUQMxQGTfqmSvauME8JoVYqwMH89x6qreJ8A== dependencies: - "@jsii/check-node" "1.92.0" - "@jsii/spec" "^1.92.0" + "@jsii/check-node" "1.93.0" + "@jsii/spec" "^1.93.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" @@ -4833,23 +4828,23 @@ jsii@~5.2.0, jsii@~5.2.5: typescript "~5.2" yargs "^17.7.2" -jsii@~5.2.41: - version "5.2.44" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.2.44.tgz#7a768412f1a28f5f1ff3e92ab5f5b7e7430c3ae1" - integrity sha512-Z7sTqYzQ5yoJU/ie+svjqSzrOF5rl4pW/bojvCb/7MfJ+SaGqhMUQMxQGTfqmSvauME8JoVYqwMH89x6qreJ8A== +jsii@~5.4.0: + version "5.4.34" + resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.4.34.tgz#b53c35ecb3c2460147f18bde405cab94a11702d6" + integrity sha512-idn53IyKrxUY9M/lZQZfq5VnaE5cCiI1IsdVWzbxruItqELjyB77LdX1Q/JwNbNGYLfC9LvIVYHsw3IbP4GhFw== dependencies: - "@jsii/check-node" "1.93.0" - "@jsii/spec" "^1.93.0" + "@jsii/check-node" "1.102.0" + "@jsii/spec" "^1.102.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" fast-deep-equal "^3.1.3" log4js "^6.9.1" - semver "^7.5.4" + semver "^7.6.3" semver-intersect "^1.5.0" sort-json "^2.0.1" - spdx-license-list "^6.8.0" - typescript "~5.2" + spdx-license-list "^6.9.0" + typescript "~5.4" yargs "^17.7.2" json-buffer@3.0.1: @@ -6816,7 +6811,7 @@ typescript@~3.9.10: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== -typescript@~5.2, typescript@~5.2.0, typescript@~5.2.2: +typescript@~5.2: version "5.2.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== @@ -6826,6 +6821,11 @@ typescript@~5.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== +typescript@~5.4, typescript@~5.4.0: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== + uglify-js@^3.1.4: version "3.19.2" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.2.tgz#319ae26a5fbd18d03c7dc02496cfa1d6f1cd4307" diff --git a/src/hybrid-module.ts b/src/hybrid-module.ts index 4049dba..820e5e6 100644 --- a/src/hybrid-module.ts +++ b/src/hybrid-module.ts @@ -176,10 +176,10 @@ export class HybridModule extends JsiiProject { lintProjenRc: false, }), postBuildSteps: [], - jsiiVersion: "~5.2.0", - typescriptVersion: "~5.2.0", // should always be the same major/minor as JSII + jsiiVersion: "~5.4.0", + typescriptVersion: "~5.4.0", // should always be the same major/minor as JSII }); - const constructVersion = options.constructVersion || "10.0.107"; + const constructVersion = options.constructVersion || "10.3.0"; const cdktfVersion = options.cdktfVersion || "0.20.0"; console.log({ cdktfVersion, constructVersion }); diff --git a/src/terraform-module.ts b/src/terraform-module.ts index 2f06065..7c60cee 100644 --- a/src/terraform-module.ts +++ b/src/terraform-module.ts @@ -60,10 +60,10 @@ export class TerraformModule extends ConstructLibrary { lintProjenRc: false, }), postBuildSteps: [], - jsiiVersion: "~5.2.0", - typescriptVersion: "~5.2.0", // should always be the same major/minor as JSII + jsiiVersion: "~5.4.0", + typescriptVersion: "~5.4.0", // should always be the same major/minor as JSII }); - const constructVersion = options.constructVersion || "10.0.107"; + const constructVersion = options.constructVersion || "10.3.0"; const cdktfVersion = options.cdktfVersion || "0.20.0"; const constructSrcCode = ` diff --git a/test/__snapshots__/hybrid-module.test.ts.snap b/test/__snapshots__/hybrid-module.test.ts.snap index 59351ca..759e372 100644 --- a/test/__snapshots__/hybrid-module.test.ts.snap +++ b/test/__snapshots__/hybrid-module.test.ts.snap @@ -868,7 +868,7 @@ exports[`HybridModule snapshot: package.json 1`] = ` "@typescript-eslint/parser": "^7", "cdktf": "0.20.0", "cdktf-cli": "~0.20.0", - "constructs": "10.0.107", + "constructs": "10.3.0", "eslint": "^8", "eslint-config-prettier": "*", "eslint-import-resolver-typescript": "*", @@ -876,17 +876,17 @@ exports[`HybridModule snapshot: package.json 1`] = ` "eslint-plugin-prettier": "*", "jest": "*", "jest-junit": "^15", - "jsii": "~5.2.0", + "jsii": "~5.4.0", "jsii-diff": "*", "jsii-docgen": "^10.0.0", "jsii-pacmak": "*", - "jsii-rosetta": "~5.2.0", + "jsii-rosetta": "~5.4.0", "prettier": "*", "projen": "*", "standard-version": "^9", "ts-jest": "*", "ts-node": ">=10.9.1", - "typescript": "~5.2.0", + "typescript": "~5.4.0", }, "jest": { "clearMocks": true, @@ -956,7 +956,7 @@ exports[`HybridModule snapshot: package.json 1`] = ` "name": "my-module", "peerDependencies": { "cdktf": ">=0.20.0", - "constructs": ">=10.0.107", + "constructs": ">=10.3.0", }, "publishConfig": { "access": "public", diff --git a/test/__snapshots__/terraform-module.test.ts.snap b/test/__snapshots__/terraform-module.test.ts.snap index 28162cd..3454c61 100644 --- a/test/__snapshots__/terraform-module.test.ts.snap +++ b/test/__snapshots__/terraform-module.test.ts.snap @@ -1413,7 +1413,7 @@ exports[`TerraformModule snapshot: package.json 1`] = ` "@typescript-eslint/parser": "^7", "cdktf": "0.20.0", "cdktf-cli": "~0.20.0", - "constructs": "10.0.107", + "constructs": "10.3.0", "eslint": "^8", "eslint-config-prettier": "*", "eslint-import-resolver-typescript": "*", @@ -1421,17 +1421,17 @@ exports[`TerraformModule snapshot: package.json 1`] = ` "eslint-plugin-prettier": "*", "jest": "*", "jest-junit": "^15", - "jsii": "~5.2.0", + "jsii": "~5.4.0", "jsii-diff": "*", "jsii-docgen": "^10.0.0", "jsii-pacmak": "*", - "jsii-rosetta": "~5.2.0", + "jsii-rosetta": "~5.4.0", "prettier": "*", "projen": "*", "standard-version": "^9", "ts-jest": "*", "ts-node": ">=10.9.1", - "typescript": "~5.2.0", + "typescript": "~5.4.0", }, "jest": { "clearMocks": true, @@ -1496,7 +1496,7 @@ exports[`TerraformModule snapshot: package.json 1`] = ` "name": "my-module", "peerDependencies": { "cdktf": ">=0.20.0", - "constructs": ">=10.0.107", + "constructs": ">=10.3.0", }, "publishConfig": { "access": "public",