Skip to content

Commit

Permalink
build: use beta prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
bestickley committed Aug 4, 2023
1 parent e49b5aa commit 09fadd9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } },
Expand Down Expand Up @@ -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(
Expand All @@ -53,8 +54,5 @@ if (packageJson) {
])
);
}
// project.eslint.addOverride({
// rules: {},
// });
// project.tsconfig.addInclude('assets/**/*.ts');

project.synth();

0 comments on commit 09fadd9

Please sign in to comment.