-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.projenrc.js
64 lines (60 loc) · 1.88 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
const { awscdk } = require('projen');
const PROJECT_NAME = 'cdk-aurora-globaldatabase';
const PROJECT_DESCRIPTION = 'cdk-aurora-globaldatabase is an AWS CDK construct library that provides Cross Region Create Global Aurora RDS Databases.';
const project = new awscdk.AwsCdkConstructLibrary({
name: PROJECT_NAME,
description: PROJECT_DESCRIPTION,
repository: 'https://github.com/neilkuan/cdk-aurora-globaldatabase.git',
authorName: 'Neil Kuan',
authorEmail: '[email protected]',
keywords: ['aws', 'cdk', 'rds', 'global'],
catalog: {
twitter: 'neil_kuan',
announce: false,
},
compat: true,
cdkVersion: '2.126.0',
/**
* we default release the main branch(cdkv2) with major version 2.
*/
majorVersion: 2,
defaultReleaseBranch: 'master',
/**
* we also release the cdkv1 branch with major version 1.
*/
releaseBranches: {
cdkv1: { npmDistTag: 'cdkv1', majorVersion: 1 },
},
stability: 'experimental',
defaultReleaseBranch: 'master',
autoDetectBin: false,
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
secret: 'AUTOMATION_GITHUB_TOKEN',
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['neilkuan'],
},
publishToPypi: {
distName: 'cdk-aurora-globaldatabase',
module: 'cdk_aurora_globaldatabase',
},
rebuildBot: false,
devDeps: [
],
minNodeVersion: '20.10.0',
workflowNodeVersion: '20.10.0',
typescriptVersion: '^5.5',
jsiiVersion: '5.5.x',
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'image', 'yarn-error.log', 'coverage', 'venv'];
const common_exclude_image = ['cdk.out', 'cdk.context.json', 'yarn-error.log', 'coverage', 'venv', '.history'];
project.gitignore.exclude(...common_exclude_image);
project.npmignore.exclude(...common_exclude);
project.synth();