-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
77 lines (69 loc) · 1.66 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
65
66
67
68
69
70
71
72
73
74
75
76
77
const { AwsCdkConstructLibrary } = require('projen');
const deps = [
'alps-unified-ts',
];
const project = new AwsCdkConstructLibrary({
authorAddress: '[email protected]',
authorName: 'Martin Mueller',
name: 'cdk-alps-spec-rest-api',
defaultReleaseBranch: 'main',
cdkVersion: '1.75.0',
repository: 'https://github.com/mmuller88/cdk-alps-spec-rest-api.git',
deps: deps,
// peerDeps: deps,
bundledDeps: deps,
cdkDependencies: [
'@aws-cdk/core',
'@aws-cdk/aws-apigateway',
'@aws-cdk/aws-iam',
],
java: {
javaPackage: 'com.github.mmuller88.cdkAlpsSpecRestApi',
mavenGroupId: 'com.github.mmuller88',
mavenArtifactId: 'cdk-alps-spec-rest-api',
},
dotnet: {
dotNetNamespace: 'com.github.mmuller88',
packageId: 'com.github.mmuller88.CdkAlpsSpecRestApi',
},
python: {
distName: 'cdk-alps-spec-rest-api',
module: 'cdk_alps_spec_rest_api',
},
releaseBranches: ['main'],
keywords: [
'cdk',
'aws',
'alps',
'apigateway',
],
});
project.github.addMergifyRules({
name: 'Label core contributions',
actions: {
label: {
add: ['contribution/core'],
},
},
conditions: [
'author~=^(mmuller88)$',
'label!=contribution/core',
],
});
project.github.addMergifyRules({
name: 'Label auto-merge for core',
actions: {
label: {
add: ['auto-merge'],
},
},
conditions: [
'label=contribution/core',
'label!=auto-merge',
],
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'images', 'yarn-error.log', 'tmp'];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.antitamper = false;
project.synth();