This repository has been archived by the owner on Sep 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.projenrc.js
54 lines (48 loc) · 1.41 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
const { AwsCdkConstructLibrary, DependenciesUpgradeMechanism } = require('projen');
const AUTOMATION_TOKEN = 'PROJEN_GITHUB_TOKEN';
const project = new AwsCdkConstructLibrary({
authorAddress: '[email protected]',
authorName: 'Pahud Hsieh',
cdkVersion: '1.82.0',
name: 'cdk-ssm-parameter-store',
description: 'AWS CDK construct that allows you to get the latest Version of the AWS SSM Parameters',
repository: 'https://github.com/pahud/cdk-ssm-parameter-store.git',
defaultReleaseBranch: 'master',
cdkDependencies: [
'@aws-cdk/core',
'@aws-cdk/custom-resources',
'@aws-cdk/aws-iam',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-ssm',
],
minNodeVersion: '12.20.0',
depsUpgrade: DependenciesUpgradeMechanism.githubWorkflow({
ignoreProjen: false,
workflowOptions: {
labels: ['auto-approve', 'auto-merge'],
secret: AUTOMATION_TOKEN,
},
}),
autoApproveOptions: {
secret: 'GITHUB_TOKEN',
allowedUsernames: ['pahud'],
},
keywords: [
'ssm',
'parameter',
'cdk',
],
catalog: {
twitter: 'pahudnet',
announce: false,
},
python: {
distName: 'cdk-ssm-parameter-store',
module: 'cdk_ssm_parameter_store',
},
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'images', 'yarn-error.log',
'docker-image-publish.yml', 'utils'];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.synth();