-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
32 lines (32 loc) · 1.02 KB
/
.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
import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: 'yicr@users.noreply.github.com',
cdkVersion: '2.80.0',
typescriptVersion: '5.5.x',
jsiiVersion: '5.5.x',
defaultReleaseBranch: 'main',
name: '@gammarers/aws-waf-ip-restrict-rule',
description: 'This is an AWS CDK Construct for IP Restriction Rule on WAF V2',
majorVersion: 2,
projenrcTs: true,
repositoryUrl: 'https://github.com/gammarers/aws-waf-ip-restrict-rule.git',
npmAccess: javascript.NpmAccess.PUBLIC,
minNodeVersion: '16.0.0',
workflowNodeVersion: '22.4.x',
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
schedule: javascript.UpgradeDependenciesSchedule.expressions(['0 19 * * 1']),
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
publishToPypi: {
distName: 'gammarers.aws-waf-ip-restrict-rule',
module: 'gammarers.aws_waf_ip_restrict_rule',
},
});
project.synth();