From 76b17eba93eb855720837be088d0ebe553569ff7 Mon Sep 17 00:00:00 2001 From: yicr Date: Fri, 15 Mar 2024 14:46:25 +0900 Subject: [PATCH 1/2] feat: version up to typescript@5.2.x with jsii@5.2.x --- .projen/deps.json | 6 +++--- .projenrc.ts | 4 ++-- package.json | 6 +++--- yarn.lock | 50 ++++++++++++++++++++--------------------------- 4 files changed, 29 insertions(+), 37 deletions(-) diff --git a/.projen/deps.json b/.projen/deps.json index f22e423..ac1d9da 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -55,12 +55,12 @@ }, { "name": "jsii-rosetta", - "version": "5.1.x", + "version": "5.2.x", "type": "build" }, { "name": "jsii", - "version": "5.1.x", + "version": "5.2.x", "type": "build" }, { @@ -82,7 +82,7 @@ }, { "name": "typescript", - "version": "5.1.x", + "version": "5.2.x", "type": "build" }, { diff --git a/.projenrc.ts b/.projenrc.ts index d3ea177..8db27b5 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -4,8 +4,8 @@ const project = new awscdk.AwsCdkConstructLibrary({ authorAddress: 'yicr@users.noreply.github.com', cdkVersion: '2.80.0', constructsVersion: '10.0.5', - typescriptVersion: '5.1.x', - jsiiVersion: '5.1.x', + typescriptVersion: '5.2.x', + jsiiVersion: '5.2.x', defaultReleaseBranch: 'main', name: '@gammarer/aws-waf-ip-restriction-rule-group', description: 'This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2', diff --git a/package.json b/package.json index 55f6a92..c8a2edf 100644 --- a/package.json +++ b/package.json @@ -49,16 +49,16 @@ "eslint-plugin-import": "^2.29.1", "jest": "^29.7.0", "jest-junit": "^15", - "jsii": "5.1.x", + "jsii": "5.2.x", "jsii-diff": "^1.95.0", "jsii-docgen": "^10.3.21", "jsii-pacmak": "^1.95.0", - "jsii-rosetta": "5.1.x", + "jsii-rosetta": "5.2.x", "projen": "^0.80.10", "standard-version": "^9", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", - "typescript": "5.1.x" + "typescript": "5.2.x" }, "peerDependencies": { "aws-cdk-lib": "^2.80.0", diff --git a/yarn.lock b/yarn.lock index 83da06f..7407aa2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -638,14 +638,6 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jsii/check-node@1.88.0": - version "1.88.0" - resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.88.0.tgz#fa20e012230c692ad36976cde29301be1ed28c67" - integrity sha512-AveFyqkJIb8qZvGk5nZal/8mEJB6lWhwqvAQLodHmqE3WzpmZD5+h+aspBVt0El5cEFRJ1k1mrQqhAnJCVpvxg== - dependencies: - chalk "^4.1.2" - semver "^7.5.4" - "@jsii/check-node@1.93.0": version "1.93.0" resolved "https://registry.yarnpkg.com/@jsii/check-node/-/check-node-1.93.0.tgz#3adcc6012654bb69fb8dc508e757b83ea9cd1708" @@ -662,7 +654,7 @@ chalk "^4.1.2" semver "^7.5.4" -"@jsii/spec@1.95.0", "@jsii/spec@^1.88.0", "@jsii/spec@^1.93.0", "@jsii/spec@^1.95.0": +"@jsii/spec@1.95.0", "@jsii/spec@^1.93.0", "@jsii/spec@^1.95.0": version "1.95.0" resolved "https://registry.yarnpkg.com/@jsii/spec/-/spec-1.95.0.tgz#b523504c5e4d3d5d941f58121caab24cfdf257ee" integrity sha512-gQtNQHAvSYIsuOEt/Et256SNFJJhG4mpm4k6bwJ5BX2ibEAN4t0amAKjYslrYLhJo8iSGcMedh/YC9hOReL2Iw== @@ -3397,10 +3389,10 @@ jsii-reflect@^1.95.0: oo-ascii-tree "^1.95.0" yargs "^16.2.0" -jsii-rosetta@5.1.x: - version "5.1.24" - resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.1.24.tgz#ead75edc6f33f3218c6a4bf23dde28a52d4c88b0" - integrity sha512-2JUv5LCX5pvtTK/xAC8mKNCSVVc/uGUaPv3lIgQSnZosWcXOlP8jqwjSvAdGX0gIWqCpHzIMle4TQlfuUpHzlg== +jsii-rosetta@5.2.x: + version "5.2.11" + resolved "https://registry.yarnpkg.com/jsii-rosetta/-/jsii-rosetta-5.2.11.tgz#7b8ccb229332674c3a4fc570850fb903c6fec62c" + integrity sha512-MtzCWfXX835kUc6sNnncXzpc5g88MdS+paWj3n97DnYnJQCl3OMxytkG1jjICJE0oxlrbvC44OiJb28+0jEmAg== dependencies: "@jsii/check-node" "1.93.0" "@jsii/spec" "^1.93.0" @@ -3408,11 +3400,11 @@ jsii-rosetta@5.1.x: chalk "^4" commonmark "^0.30.0" fast-glob "^3.3.2" - jsii "~5.1.5" + jsii "~5.2.5" semver "^7.5.4" semver-intersect "^1.5.0" stream-json "^1.8.0" - typescript "~5.1.6" + typescript "~5.2.2" workerpool "^6.5.1" yargs "^17.7.2" @@ -3453,23 +3445,23 @@ jsii@1.95.0: typescript "~3.9.10" yargs "^16.2.0" -jsii@5.1.x, jsii@~5.1.5: - version "5.1.12" - resolved "https://registry.yarnpkg.com/jsii/-/jsii-5.1.12.tgz#0ac6d92d52c6732a6e0e3e27f9f07453318715f2" - integrity sha512-iY3zLosUEKbeua6IAGJXjFxibiiI0xHFjyYPyewOc56MBRHC7nczWSVGRP+Jgwyo7HWXs4TvJKLG6w8zSuAZrg== +jsii@5.2.x, jsii@~5.2.5: + 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.88.0" - "@jsii/spec" "^1.88.0" + "@jsii/check-node" "1.93.0" + "@jsii/spec" "^1.93.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-intersect "^1.5.0" sort-json "^2.0.1" - spdx-license-list "^6.6.0" - typescript "~5.1.6" + spdx-license-list "^6.8.0" + typescript "~5.2" yargs "^17.7.2" json-buffer@3.0.1: @@ -4515,7 +4507,7 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz#887da8aa73218e51a1d917502d79863161a93f9c" integrity sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg== -spdx-license-list@^6.6.0, spdx-license-list@^6.8.0: +spdx-license-list@^6.8.0: version "6.9.0" resolved "https://registry.yarnpkg.com/spdx-license-list/-/spdx-license-list-6.9.0.tgz#5543abb3a15f985a12808f642a622d2721c372ad" integrity sha512-L2jl5vc2j6jxWcNCvcVj/BW9A8yGIG02Dw+IUw0ZxDM70f7Ylf5Hq39appV1BI9yxyWQRpq2TQ1qaXvf+yjkqA== @@ -4926,10 +4918,10 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript@5.1.x, typescript@~5.1.6: - version "5.1.6" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" - integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== +typescript@5.2.x, typescript@~5.2, typescript@~5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== typescript@next: version "5.5.0-dev.20240311" From ee282f6b85f0fa9c3c1e658bf579795bccaaee19 Mon Sep 17 00:00:00 2001 From: yicr Date: Fri, 15 Mar 2024 16:14:34 +0900 Subject: [PATCH 2/2] chore: update readme (add construct hub badge) --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7515c7e..89aee20 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# AWS WAF(V2) IP Restriction Rule Group + [![GitHub](https://img.shields.io/github/license/yicr/aws-waf-ip-restriction-rule-group?style=flat-square)](https://github.com/yicr/aws-waf-ip-restriction-rule-group/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@gammarer/aws-waf-ip-restriction-rule-group?style=flat-square)](https://www.npmjs.com/package/@gammarer/aws-waf-ip-restriction-rule-group) [![PyPI](https://img.shields.io/pypi/v/gammarer.aws-waf-ip-restriction-rule-group?style=flat-square)](https://pypi.org/project/gammarer.aws-waf-ip-restriction-rule-group/) @@ -6,7 +8,7 @@ [![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/yicr/aws-waf-ip-restriction-rule-group/release.yml?branch=main&label=release&style=flat-square)](https://github.com/yicr/aws-waf-ip-restriction-rule-group/actions/workflows/release.yml) [![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/yicr/aws-waf-ip-restriction-rule-group?sort=semver&style=flat-square)](https://github.com/yicr/aws-waf-ip-restriction-rule-group/releases) -# AWS WAF(V2) IP Restriction Rule Group +[![View on Construct Hub](https://constructs.dev/badge?package=@gammarer/aws-waf-ip-restriction-rule-group)](https://constructs.dev/packages/@gammarer/aws-waf-ip-restriction-rule-group) This is an AWS CDK Construct for IP Restriction Rule Group on WAF V2 @@ -49,7 +51,6 @@ Add the following to pom.xml: ``` - ## Example ```typescript @@ -66,4 +67,4 @@ new WafIpRestrictRuleGroup(stack, 'WafIpRestrictRuleGroup', { ## License -This project is licensed under the Apache-2.0 License. \ No newline at end of file +This project is licensed under the Apache-2.0 License.