-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
52 lines (48 loc) · 1.62 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
const { AwsCdkConstructLibrary } = require('projen');
const AWS_CDK_LATEST_RELEASE = '1.74.0';
const PROJECT_NAME = 'cdk-changelog-slack-notify';
const MODULE_NAME = 'cdk_changelog_slack_notify';
const PROJECT_DESCRIPTION =
'A JSII construct lib to deploy a service to send new changes pushed to codecommit to slack channel';
const project = new AwsCdkConstructLibrary({
authorAddress: '[email protected]',
authorName: 'mikeyangyo',
cdkVersion: AWS_CDK_LATEST_RELEASE,
name: PROJECT_NAME,
repository: 'https://github.com/mikeyangyo/cdk-changelog-slack-notify.git',
description: PROJECT_DESCRIPTION,
license: 'MIT',
deps: [
`@aws-cdk/core@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-codecommit@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-iam@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-lambda@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-events-targets@${AWS_CDK_LATEST_RELEASE}`,
],
peerDeps: [
`@aws-cdk/core@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-codecommit@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-iam@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-lambda@${AWS_CDK_LATEST_RELEASE}`,
`@aws-cdk/aws-events-targets@${AWS_CDK_LATEST_RELEASE}`,
],
keywords: ['aws', 'cdk', 'codecommit', 'slack', 'changelog'],
python: {
distName: PROJECT_NAME,
module: MODULE_NAME,
},
defaultReleaseBranch: 'main',
codeCov: true,
codeCovTokenSecret: 'CODECOV_TOKEN',
});
const common_exclude = [
'cdk.out',
'cdk.context.json',
'yarn-error.log',
'.env',
'.vscode',
'images',
];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.synth();