Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
fix(projen): fix projen config & update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
neilkuan committed Oct 31, 2020
1 parent 1dfb63a commit 56e8323
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 26 deletions.
26 changes: 18 additions & 8 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const { AwsCdkConstructLibrary, GithubWorkflow } = require('projen');
const PROJECT_NAME = 'cdk-s3bucket-ng';
const PROJECT_DESCRIPTION = 'cdk-s3bucket-ng is an AWS CDK construct library that provides a drop-in replacement for the Bucket construct with the capability to remove non-empty S3 buckets.';
const AUTOMATION_TOKEN = 'AUTOMATION_GITHUB_TOKEN';
const CDK_VERSION = '1.71.0';

const project = new AwsCdkConstructLibrary({
name: PROJECT_NAME,
description: PROJECT_DESCRIPTION,
Expand All @@ -18,15 +20,23 @@ const project = new AwsCdkConstructLibrary({
projenUpgradeSecret: 'AUTOMATION_GITHUB_TOKEN',
stability: 'experimental',
autoReleaseSchedule: 'never',
cdkVersion: '1.71.0',
cdkVersion: CDK_VERSION,
compat: true,
cdkDependencies: [
'@aws-cdk/aws-iam',
'@aws-cdk/aws-s3',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-logs',
'@aws-cdk/core',
'@aws-cdk/custom-resources',
deps: [
`@aws-cdk/aws-iam@^${CDK_VERSION}`,
`@aws-cdk/aws-s3@^${CDK_VERSION}`,
`@aws-cdk/aws-lambda@^${CDK_VERSION}`,
`@aws-cdk/aws-logs@^${CDK_VERSION}`,
`@aws-cdk/core@^${CDK_VERSION}`,
`@aws-cdk/custom-resources@^${CDK_VERSION}`,
],
peerDeps: [
`@aws-cdk/aws-iam@^${CDK_VERSION}`,
`@aws-cdk/aws-s3@^${CDK_VERSION}`,
`@aws-cdk/aws-lambda@^${CDK_VERSION}`,
`@aws-cdk/aws-logs@^${CDK_VERSION}`,
`@aws-cdk/core@^${CDK_VERSION}`,
`@aws-cdk/custom-resources@^${CDK_VERSION}`,
],
python: {
distName: 'cdk-s3bucket-ng',
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ cdk deploy
# will delete object in S3 , and delete S3 Bucket
cdk destroy
```

## :clap: Supporters
[![Stargazers repo roster for @guan840912/cdk-s3bucket](https://reporoster.com/stars/guan840912/cdk-s3bucket)](https://github.com/guan840912/cdk-s3bucket/stargazers)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"jsii-pacmak": "^1.11.0",
"jsii-release": "^0.1.6",
"json-schema": "^0.2.5",
"projen": "^0.3.137",
"projen": "^0.3.138",
"standard-version": "^9.0.0",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
Expand Down
51 changes: 34 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -795,9 +795,9 @@
"@sinonjs/commons" "^1.7.0"

"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.7":
version "7.1.10"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.10.tgz#ca58fc195dd9734e77e57c6f2df565623636ab40"
integrity sha512-x8OM8XzITIMyiwl5Vmo2B1cR1S1Ipkyv4mdlbJjMa1lmuKvKY9FrBbEANIaMlnWn5Rf7uO+rC/VgYabNkE17Hw==
version "7.1.11"
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.11.tgz#7fae4660a009a4031e293f25b213f142d823b3c4"
integrity sha512-E5nSOzrjnvhURYnbOR2dClTqcyhPbPvtEwLHf7JJADKedPbcZsoJVfP+I2vBNfBjz4bnZIuhL/tNmRi5nJ7Jlw==
dependencies:
"@babel/parser" "^7.1.0"
"@babel/types" "^7.0.0"
Expand Down Expand Up @@ -1205,9 +1205,9 @@ aws-sign2@~0.7.0:
integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=

aws4@^1.8.0:
version "1.10.1"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.1.tgz#e1e82e4f3e999e2cfd61b161280d16a111f86428"
integrity sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA==
version "1.11.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.11.0.tgz#d61f46d83b2519250e2784daf5b09479a8b41c59"
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==

babel-jest@^26.6.1:
version "26.6.1"
Expand Down Expand Up @@ -1364,6 +1364,14 @@ cache-base@^1.0.1:
union-value "^1.0.0"
unset-value "^1.0.0"

call-bind@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.0.tgz#24127054bb3f9bdcb4b1fb82418186072f77b8ce"
integrity sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==
dependencies:
function-bind "^1.1.1"
get-intrinsic "^1.0.0"

callsites@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
Expand Down Expand Up @@ -1621,9 +1629,9 @@ concat-stream@^2.0.0:
typedarray "^0.0.6"

constructs@^3.2.0:
version "3.2.5"
resolved "https://registry.yarnpkg.com/constructs/-/constructs-3.2.5.tgz#16e050b6a16c27330e554248a149f557467f95fc"
integrity sha512-nBLv3YnTwbh8GN9YQ60drSoFcI8L4Nq1Isgs4NmgAKELOlHcl5sI8FhJXErInUKNTmyme8LDdN5KgoEclAqmYQ==
version "3.2.7"
resolved "https://registry.yarnpkg.com/constructs/-/constructs-3.2.7.tgz#4f0d7c89b5c3c10a87cfabf976f7353bd3305aa2"
integrity sha512-+Hwxty+tOIDI5sZM5E6OMwryOe4snLV7d6d05fT28d2xbcl0OJphfY5bMpv8WWbbswmcHk13i+hIc4Tpa5jJgg==

contains-path@^0.1.0:
version "0.1.0"
Expand Down Expand Up @@ -2694,6 +2702,15 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5:
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==

get-intrinsic@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.0.1.tgz#94a9768fcbdd0595a1c9273aacf4c89d075631be"
integrity sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==
dependencies:
function-bind "^1.1.1"
has "^1.0.3"
has-symbols "^1.0.1"

get-package-type@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a"
Expand Down Expand Up @@ -4537,12 +4554,12 @@ object-visit@^1.0.0:
isobject "^3.0.0"

object.assign@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.1.tgz#303867a666cdd41936ecdedfb1f8f3e32a478cdd"
integrity sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==
version "4.1.2"
resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940"
integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==
dependencies:
call-bind "^1.0.0"
define-properties "^1.1.3"
es-abstract "^1.18.0-next.0"
has-symbols "^1.0.1"
object-keys "^1.1.1"

Expand Down Expand Up @@ -4849,10 +4866,10 @@ progress@^2.0.0:
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==

projen@^0.3.137:
version "0.3.137"
resolved "https://registry.yarnpkg.com/projen/-/projen-0.3.137.tgz#3f085f6df648972e50cc368390840ae57ee631f4"
integrity sha512-cJRIn72H13ixLKiXzUagrJNzj3m6CvI0OVu5KidDFhPmlKU8KTRiPeprP7KFlWE2xt8LGp4GWQipuw/8Iaglkg==
projen@^0.3.138:
version "0.3.138"
resolved "https://registry.yarnpkg.com/projen/-/projen-0.3.138.tgz#a7c47ae5ec2206e3035595e5e5265289e553ecc6"
integrity sha512-ksnx4t2eeSdCBUWo9iSMomcGYeskV+qnRVaI+hyOV6ABn5Pnqbcbt79Qs+qdyjwZuE+tGqvKUK3qZ8dud/iaMw==
dependencies:
"@iarna/toml" "^2.2.5"
chalk "^4.1.0"
Expand Down

0 comments on commit 56e8323

Please sign in to comment.