-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.projenrc.js
62 lines (58 loc) · 1.63 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
const { awscdk } = require('projen');
const PROJECT_NAME = 'cdk-events-notify';
const PROJECT_DESCRIPTION = 'The Events Notify AWS Construct lib for AWS CDK';
const project = new awscdk.AwsCdkConstructLibrary({
authorAddress: '[email protected]',
authorName: 'Neil Kuan',
description: PROJECT_DESCRIPTION,
name: PROJECT_NAME,
repository: 'https://github.com/neilkuan/cdk-events-notify.git',
keywords: ['aws', 'cdk', 'events', 'notify'],
cdkVersion: '2.126.0',
/**
* we default release the main branch(cdkv2) with major version 2.
*/
majorVersion: 2,
defaultReleaseBranch: 'main',
/**
* we also release the cdkv1 branch with major version 1.
*/
// releaseBranches: {
// cdkv1: { npmDistTag: 'cdkv1', majorVersion: 1 },
// },
autoDetectBin: false,
depsUpgradeOptions: {
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve'],
},
},
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['neilkuan'],
},
catalog: {
twitter: 'neil_kuan',
announce: false,
},
compat: true,
publishToPypi: {
distName: PROJECT_NAME,
module: 'cdk_events_notify',
},
stability: 'experimental',
defaultReleaseBranch: 'main',
rebuildBot: false,
devDeps: [
],
minNodeVersion: '20.10.0',
workflowNodeVersion: '20.10.0',
typescriptVersion: '^5',
jsiiVersion: '5.3.x',
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'yarn-error.log', 'coverage', '.env', '.DS_Store'];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude, 'images');
project.synth();