-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
38 lines (38 loc) · 1.32 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
33
34
35
36
37
38
import { awscdk, javascript } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'yicr',
authorAddress: 'yicr@users.noreply.github.com',
cdkVersion: '2.80.0',
constructsVersion: '10.0.5',
typescriptVersion: '5.2.x',
jsiiVersion: '5.2.x',
defaultReleaseBranch: 'main',
name: '@gammarers/aws-waf-geo-restriction-rule-group',
description: 'This is an AWS CDK Construct for Geo Restriction Rule Group on WAF V2',
keywords: ['aws', 'cdk', 'aws-cdk', 'waf', 'geo', 'restriction'],
majorVersion: 1,
projenrcTs: true,
repositoryUrl: 'https://github.com/gammarers/aws-waf-geo-restriction-rule-group.git',
npmAccess: javascript.NpmAccess.PUBLIC,
minNodeVersion: '18.0.0',
workflowNodeVersion: '20.11.0',
depsUpgradeOptions: {
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
schedule: javascript.UpgradeDependenciesSchedule.expressions(['0 19 * * 1']), // every monday (JST/THU:02:00)
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['yicr'],
},
publishToPypi: {
distName: 'gammarers.aws-waf-geo-restriction-rule-group',
module: 'gammarers.aws_waf_geo_restriction_rule_group',
},
publishToNuget: {
dotNetNamespace: 'Gammarers.CDK.AWS',
packageId: 'Gammarers.CDK.AWS.WafGeoRestrictionRuleGroup',
},
});
project.synth();