-
Notifications
You must be signed in to change notification settings - Fork 1
/
.projenrc.js
59 lines (55 loc) · 1.26 KB
/
.projenrc.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
const {
awscdk,
} = require('projen');
const PROJECT_NAME = 'cdk-ecr-image-scan-handler';
const PROJECT_DESCRIPTION = 'A JSII construct for ECR image scan results processing and reporting via Email or Microsoft Teams webhook';
const project = new awscdk.AwsCdkConstructLibrary({
name: PROJECT_NAME,
description: PROJECT_DESCRIPTION,
repository: 'https://github.com/markusl/cdk-ecr-image-scan-handler.git',
authorName: 'Markus Lindqvist',
authorEmail: 'markus.lindqvist@iki.fi',
stability: 'stable',
defaultReleaseBranch: 'master',
typescriptVersion: '~5.1.3',
minNodeVersion: '16.20.0',
tsconfig: {
compilerOptions: {
lib: ['ES2022', 'DOM'],
target: 'ES2022',
},
},
cdkVersion: '2.83.0',
docgen: true,
devDeps: [
'@types/aws-lambda',
'@types/node-fetch',
'esbuild@0.18.2',
],
deps: [
'aws-lambda',
'constructs',
],
bundledDeps: [
'aws-lambda',
'node-fetch@2.6.6',
'@aws-sdk/client-ecr',
'@aws-sdk/client-ses',
],
});
project.addFields({
keywords: [
'aws',
'ecr',
'imagescan',
],
});
const common_exclude = [
'cdk.context.json',
'cdk.out',
'coverage',
'doc',
];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude);
project.synth();