-
Notifications
You must be signed in to change notification settings - Fork 67
/
.projenrc.js
72 lines (70 loc) · 1.75 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
60
61
62
63
64
65
66
67
68
69
70
71
72
const { awscdk } = require('projen');
const AUTOMATION_TOKEN = 'PROJEN_GITHUB_TOKEN';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Amazon Web Services',
authorAddress: '[email protected]',
cdkVersion: '2.54.0',
defaultReleaseBranch: 'main',
majorVersion: 2,
npmDistTag: 'latest',
jsiiFqn: 'projen.AwsCdkConstructLibrary',
name: 'cdk-serverless-clamscan',
repositoryUrl: 'https://github.com/awslabs/cdk-serverless-clamscan',
description: 'Serverless architecture to virus scan objects in Amazon S3.',
devDeps: ['@aws-cdk/assert@^2.11', 'cdk-nag@^2.15.18'],
keywords: [
'clamav',
'virus scan',
'aws',
'docker',
'serverless',
'lambda',
's3',
'efs',
'eventbridge',
'sqs',
],
license: 'Apache-2.0',
gitignore: [
'.vscode/',
'.venv/',
'cdk.out',
'cdk.context.json',
'dockerAssets.d',
'package-lock.json',
'yarn-error.log',
],
pullRequestTemplateContents: [
'',
'----',
'',
'*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*',
],
publishToPypi: {
distName: 'cdk-serverless-clamscan',
module: 'cdk_serverless_clamscan',
},
projenUpgradeSecret: AUTOMATION_TOKEN,
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['dontirun'],
},
autoApproveUpgrades: true,
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve'],
secret: AUTOMATION_TOKEN,
},
},
buildWorkflow: true,
release: true,
});
project.package.addField('resolutions', {
'set-value': '^4.0.1',
'ansi-regex': '^5.0.1',
'json-schema': '^0.4.0',
'@types/prettier': '2.6.0',
'@types/babel__traverse': '7.18.2',
});
project.synth();