From 09fadd99e4ead59a084b1f00a8ec2a539ebde072 Mon Sep 17 00:00:00 2001 From: Ben Stickley Date: Fri, 4 Aug 2023 14:13:47 -0400 Subject: [PATCH] build: use beta prerelease --- .projenrc.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.projenrc.js b/.projenrc.js index f6783792..434bcbfe 100644 --- a/.projenrc.js +++ b/.projenrc.js @@ -15,7 +15,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ // ignorePatterns: ['assets/**/*'] }, majorVersion: 3, - // prerelease: 'pre', + prerelease: 'beta', tsconfig: { compilerOptions: { noUnusedLocals: false }, include: ['assets/**/*.ts'] }, tsconfigDev: { compilerOptions: { noUnusedLocals: false } }, @@ -44,6 +44,7 @@ const project = new awscdk.AwsCdkConstructLibrary({ // do not generate sample test files sampleCode: false, }); + const packageJson = project.tryFindObjectFile('package.json'); if (packageJson) { packageJson.patch( @@ -53,8 +54,5 @@ if (packageJson) { ]) ); } -// project.eslint.addOverride({ -// rules: {}, -// }); -// project.tsconfig.addInclude('assets/**/*.ts'); + project.synth();