-
Notifications
You must be signed in to change notification settings - Fork 1
/
.projenrc.ts
40 lines (37 loc) · 989 Bytes
/
.projenrc.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { cdk } from 'projen';
import { NpmAccess } from 'projen/lib/javascript';
const project = new cdk.JsiiProject({
author: 'bridgecrew',
authorAddress: '[email protected]',
defaultReleaseBranch: 'main',
jsiiVersion: '~5.0.0',
name: '@bridgecrew/cdk-validator-checkov',
projenrcTs: true,
repositoryUrl: 'https://github.com/bridgecrewio/cdk-validator-checkov.git',
keywords: [
'cdk',
'validator',
'policy as code',
],
npmAccess: NpmAccess.PUBLIC,
release: true,
publishToPypi: {
distName: 'cdk-validator-checkov',
module: 'cdk_validator_checkov',
},
devDeps: [
'aws-cdk-lib@^2.73.0',
'constructs',
],
peerDeps: [
'aws-cdk-lib@^2.73.0',
],
githubOptions: {
pullRequestLintOptions: {
runsOn: ['self-hosted', 'public', 'linux', 'x64'],
},
},
});
project.gitignore.exclude('.idea');
project.addScripts({ postinstall: '[ \"$(command -v checkov)\" ] && exit 0; pip install -U checkov' });
project.synth();