-
Notifications
You must be signed in to change notification settings - Fork 4
/
.projenrc.js
51 lines (48 loc) · 1.29 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
const {
awscdk,
} = require('projen');
const PROJECT_NAME = 'cdk-codepipeline-bitbucket-build-result-reporter';
const PROJECT_DESCRIPTION = 'A JSII construct lib for reporting AWS CodePipeline and build statuses to a Bitbucket server instance';
const project = new awscdk.AwsCdkConstructLibrary({
name: PROJECT_NAME,
description: PROJECT_DESCRIPTION,
authorName: 'Markus Lindqvist',
authorEmail: '[email protected]',
stability: 'stable',
repository: 'https://github.com/markusl/cdk-codepipeline-bitbucket-build-result-reporter.git',
cdkVersion: '2.40.0',
constructsVersion: '10.1.93',
defaultReleaseBranch: 'master',
minNodeVersion: '14.17.0',
tsconfig: {
compilerOptions: {
lib: ['ES2020', 'DOM'],
},
},
devDeps: [
'@types/aws-lambda',
'@types/node-fetch',
'aws-sdk-client-mock',
'esbuild',
'@aws-sdk/types',
],
bundledDeps: [
'@aws-sdk/client-iam',
'@aws-sdk/client-ssm',
'@aws-sdk/client-s3',
'@aws-sdk/client-codebuild',
'@aws-sdk/client-codepipeline',
'@aws-sdk/signature-v4-crt',
'aws-lambda',
'node-fetch',
],
});
const common_exclude = [
'cdk.context.json',
'cdk.out',
'coverage',
'doc',
];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude);
project.synth();