-
Notifications
You must be signed in to change notification settings - Fork 4
/
.projenrc.js
53 lines (43 loc) · 1.31 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
const { AwsCdkConstructLibrary } = require('projen');
const project = new AwsCdkConstructLibrary({
author: 'Yigong Liu',
authorAddress: 'ygl.code@gmail.com',
cdkVersion: '1.91.0',
defaultReleaseBranch: 'main',
jsiiFqn: 'projen.AwsCdkConstructLibrary',
name: 'cdk-stack-resource-rename',
repositoryUrl: 'https://github.com/yglcode/cdk-stack-resource-rename.git',
deps: [
'@aws-cdk/core',
],
devDeps: [
'@aws-cdk/core',
'@aws-cdk/aws-apigateway',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-s3',
],
peerDeps: [
'@aws-cdk/core',
],
releaseBranches: ['main'],
publishToMaven: {
javaPackage: 'io.github.yglcode.cdkutils.aspects.resourcerename',
mavenGroupId: 'io.github.yglcode.cdkutils.aspects.resourcerename',
mavenArtifactId: 'cdk-stack-resource-rename',
mavenEndpoint: 'https://s01.oss.sonatype.org',
},
publishToPypi: {
distName: 'cdk-stack-resource-rename',
module: 'cdk_stack_resource_rename',
},
publishToNuget: {
dotNetNamespace: 'CdkUtils.Aspects.ResourceRename',
packageId: 'CdkUtils.Aspects.ResourceRename',
},
});
const common_exclude = [
'cdk.out', 'cdk.context.json', 'images', 'yarn-error.log',
];
project.npmignore.exclude(...common_exclude, 'maven_release*');
project.gitignore.exclude(...common_exclude);
project.synth();