From 43bd0e00e028b499959e4d312cad8d395d799ebe Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Sun, 28 Apr 2024 12:45:17 +0100 Subject: [PATCH] fix: use jsii 5.4 to build package --- .projen/deps.json | 6 +-- .projenrc.ts | 4 +- package-lock.json | 118 ++++++++++++++++++++++++++-------------------- package.json | 6 +-- 4 files changed, 74 insertions(+), 60 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index e008fa03..97582b8e 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -78,12 +78,12 @@ }, { "name": "jsii-rosetta", - "version": "5.1.x", + "version": "5.4.x", "type": "build" }, { "name": "jsii", - "version": "5.1.x", + "version": "5.4.x", "type": "build" }, { @@ -109,7 +109,7 @@ }, { "name": "typescript", - "version": "5.1.x", + "version": "5.4.x", "type": "build" }, { diff --git a/.projenrc.ts b/.projenrc.ts index ac4f31b5..90583637 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -11,8 +11,8 @@ const stableReleases = new StableReleases('v5', { minNodeVersion: '18', releaseSchedule: '0 5 1,15 * *', npmDistTags: ['cdk-v2'], - jsiiVersion: '5.1.x', - typescriptVersion: '5.1.x', + jsiiVersion: '5.4.x', + typescriptVersion: '5.4.x', supportedUntil: true, }, v4: { diff --git a/package-lock.json b/package-lock.json index 9c61d8d2..6071c7fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,17 +25,17 @@ "jest": "^29", "jest-junit": "^15", "jest-mock": "^27.5.1", - "jsii": "5.1.x", + "jsii": "5.4.x", "jsii-diff": "^1.97.0", "jsii-docgen": "^3.8.31", "jsii-pacmak": "^1.97.0", - "jsii-rosetta": "5.1.x", + "jsii-rosetta": "5.4.x", "projen": "^0.81.3", "standard-version": "^9", "ts-jest": "^29", "ts-morph": "^17.0.1", "ts-node": "^10", - "typescript": "5.1.x" + "typescript": "5.4.x" }, "optionalDependencies": { "esbuild": "^0.19.0" @@ -6407,30 +6407,30 @@ } }, "node_modules/jsii": { - "version": "5.1.12", - "resolved": "https://registry.npmjs.org/jsii/-/jsii-5.1.12.tgz", - "integrity": "sha512-iY3zLosUEKbeua6IAGJXjFxibiiI0xHFjyYPyewOc56MBRHC7nczWSVGRP+Jgwyo7HWXs4TvJKLG6w8zSuAZrg==", + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/jsii/-/jsii-5.4.6.tgz", + "integrity": "sha512-Ohqz39ecBfmL/Pd5nnkERnikyOoZmNdqoSqedl+yXATM+js7XLlUGgQ+BdBXaO0rzQU2AEQ40C0COtF0jFXw4A==", "dev": true, "dependencies": { - "@jsii/check-node": "1.88.0", - "@jsii/spec": "^1.88.0", + "@jsii/check-node": "1.97.0", + "@jsii/spec": "^1.97.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-intersect": "^1.4.0", + "semver": "^7.6.0", + "semver-intersect": "^1.5.0", "sort-json": "^2.0.1", - "spdx-license-list": "^6.6.0", - "typescript": "~5.1.6", + "spdx-license-list": "^6.9.0", + "typescript": "~5.4", "yargs": "^17.7.2" }, "bin": { "jsii": "bin/jsii" }, "engines": { - "node": ">= 16.14.0" + "node": ">= 18.12.0" } }, "node_modules/jsii-diff": { @@ -6656,22 +6656,22 @@ } }, "node_modules/jsii-rosetta": { - "version": "5.1.24", - "resolved": "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.1.24.tgz", - "integrity": "sha512-2JUv5LCX5pvtTK/xAC8mKNCSVVc/uGUaPv3lIgQSnZosWcXOlP8jqwjSvAdGX0gIWqCpHzIMle4TQlfuUpHzlg==", + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/jsii-rosetta/-/jsii-rosetta-5.4.6.tgz", + "integrity": "sha512-RyTtc3hJmmrpbiWCLVvgHfy0Is4PWIYDy+Al6/d1xwZDq64DHJU6yU+H99SgL7LRLLwDyCod2QqRmZ1VIywwcQ==", "dev": true, "dependencies": { - "@jsii/check-node": "1.93.0", - "@jsii/spec": "^1.93.0", + "@jsii/check-node": "1.97.0", + "@jsii/spec": "^1.97.0", "@xmldom/xmldom": "^0.8.10", "chalk": "^4", - "commonmark": "^0.30.0", + "commonmark": "^0.31.0", "fast-glob": "^3.3.2", - "jsii": "~5.1.5", - "semver": "^7.5.4", + "jsii": "~5.4.0", + "semver": "^7.6.0", "semver-intersect": "^1.5.0", "stream-json": "^1.8.0", - "typescript": "~5.1.6", + "typescript": "~5.4", "workerpool": "^6.5.1", "yargs": "^17.7.2" }, @@ -6679,20 +6679,7 @@ "jsii-rosetta": "bin/jsii-rosetta" }, "engines": { - "node": ">= 16.14.0" - } - }, - "node_modules/jsii-rosetta/node_modules/@jsii/check-node": { - "version": "1.93.0", - "resolved": "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.93.0.tgz", - "integrity": "sha512-NLn1Js6wEG2hYjH7gE5Q8s/hPlp3I+KhK/T8ykGdYVod7iODnk/0QVSZsk2iEyuw8NzvvgXUDBWreadUIWSz+g==", - "dev": true, - "dependencies": { - "chalk": "^4.1.2", - "semver": "^7.5.4" - }, - "engines": { - "node": ">= 14.17.0" + "node": ">= 18.12.0" } }, "node_modules/jsii-rosetta/node_modules/cliui": { @@ -6709,6 +6696,46 @@ "node": ">=12" } }, + "node_modules/jsii-rosetta/node_modules/commonmark": { + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.31.0.tgz", + "integrity": "sha512-nuDsQ34gjmgAqjyIz6mbRWBW/XPE9wsBempAMBk2V/AA88ekztjTM46oi07J6c6Y/2Y8TdYCZi9L0pIBt/oMZw==", + "dev": true, + "dependencies": { + "entities": "~3.0.1", + "mdurl": "~1.0.1", + "minimist": "~1.2.5", + "string.prototype.repeat": "^1.0.0" + }, + "bin": { + "commonmark": "bin/commonmark" + }, + "engines": { + "node": "*" + } + }, + "node_modules/jsii-rosetta/node_modules/entities": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", + "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", + "dev": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/jsii-rosetta/node_modules/string.prototype.repeat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz", + "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, "node_modules/jsii-rosetta/node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -6753,19 +6780,6 @@ "node": ">=12" } }, - "node_modules/jsii/node_modules/@jsii/check-node": { - "version": "1.88.0", - "resolved": "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.88.0.tgz", - "integrity": "sha512-AveFyqkJIb8qZvGk5nZal/8mEJB6lWhwqvAQLodHmqE3WzpmZD5+h+aspBVt0El5cEFRJ1k1mrQqhAnJCVpvxg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.2", - "semver": "^7.5.4" - }, - "engines": { - "node": ">= 14.17.0" - } - }, "node_modules/jsii/node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -10031,9 +10045,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 84d66271..39d431e0 100644 --- a/package.json +++ b/package.json @@ -62,17 +62,17 @@ "jest": "^29", "jest-junit": "^15", "jest-mock": "^27.5.1", - "jsii": "5.1.x", + "jsii": "5.4.x", "jsii-diff": "^1.97.0", "jsii-docgen": "^3.8.31", "jsii-pacmak": "^1.97.0", - "jsii-rosetta": "5.1.x", + "jsii-rosetta": "5.4.x", "projen": "^0.81.3", "standard-version": "^9", "ts-jest": "^29", "ts-morph": "^17.0.1", "ts-node": "^10", - "typescript": "5.1.x" + "typescript": "5.4.x" }, "peerDependencies": { "aws-cdk-lib": "^2.51.0",