-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
47 lines (44 loc) · 1.2 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
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkTypeScriptApp({
cdkVersion: '2.70.0',
defaultReleaseBranch: 'main',
name: 'amazon-chime-sdk-voice-connector-cdr-processor',
license: 'MIT-0',
author: 'Court Schuett',
copyrightOwner: 'Amazon.com, Inc.',
authorAddress: 'https://aws.amazon.com',
defaultReleaseBranch: 'main',
appEntrypoint: 'amazon-chime-sdk-voice-connector-cdr-processor.ts',
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['schuettc'],
},
deps: ['dotenv', '@aws-cdk/aws-glue-alpha'],
autoApproveUpgrades: true,
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
defaultReleaseBranch: 'main',
prettierOptions: {
overrides: {
quoteProps: 'consistent',
},
},
});
const common_exclude = [
'.yalc',
'cdk.out',
'cdk.context.json',
'yarn-error.log',
'dependabot.yml',
'.DS_Store',
];
project.addTask('launch', {
exec: 'yarn && yarn projen && yarn build && yarn cdk bootstrap && yarn cdk deploy --require-approval never',
});
project.gitignore.exclude(...common_exclude);
project.synth();