diff --git a/.projen/tasks.json b/.projen/tasks.json index cf2fdb2c..a8299a2f 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -178,7 +178,8 @@ "name": "release:release-v2", "description": "Prepare a release from \"release-v2\" branch", "env": { - "RELEASE": "true" + "RELEASE": "true", + "MAJOR": "2" }, "steps": [ { diff --git a/.projenrc.js b/.projenrc.js index 851ed7ab..3edfcba5 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -6,7 +6,6 @@ const project = new awscdk.AwsCdkConstructLibrary({ name: '@myhelix/cdk-watchful', description: 'Watching your CDK apps since 2019', defaultReleaseBranch: 'release-v2', - authorName: 'Elad Ben-Israel (maintained by myhelix)', authorEmail: 'ops@helix.com', repository: 'https://github.com/myhelix/cdk-watchful.git', @@ -17,10 +16,12 @@ const project = new awscdk.AwsCdkConstructLibrary({ cdkVersion, cdkVersionPinning: true, - devDeps: ['aws-sdk', '@aws-cdk/assert'], }); +// use same version with cdkVersion +project.package.addVersion(cdkVersion); + project.gitignore.exclude('.env', '.idea'); project.gitignore.exclude('example/*.js', 'example/*.d.ts');