-
Notifications
You must be signed in to change notification settings - Fork 4
/
.projenrc.js
60 lines (52 loc) · 1.51 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
const { AwsCdkConstructLibrary } = require('projen');
const project = new AwsCdkConstructLibrary({
name: '@pgarbe/cdk-ecr-sync',
description:
'An CDK Construct to synchronizes Docker images from Docker Hub to ECR.',
authorName: 'Philipp Garbe',
authorUrl: 'https://garbe.io',
repository: 'https://github.com/pgarbe/cdk-ecr-sync.git',
keywords: ['cdk', 'ecr'],
defaultReleaseBranch: 'main',
releaseEveryCommit: false,
catalog: {
twitter: 'pgarbe',
},
// creates PRs for projen upgrades
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
cdkVersion: '1.88.0',
cdkDependencies: [
'@aws-cdk/aws-cloudformation',
'@aws-cdk/aws-codebuild',
'@aws-cdk/aws-codepipeline',
'@aws-cdk/aws-codepipeline-actions',
'@aws-cdk/aws-ecr',
'@aws-cdk/aws-ecs',
'@aws-cdk/aws-events',
'@aws-cdk/aws-events-targets',
'@aws-cdk/aws-iam',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-lambda-nodejs',
'@aws-cdk/aws-logs',
'@aws-cdk/aws-s3',
'@aws-cdk/aws-ssm',
'@aws-cdk/core',
'@aws-cdk/custom-resources',
],
devDeps: ['esbuild', 'pre-commit'],
deps: ['aws-sdk', 'jszip'],
bundledDeps: ['aws-sdk', 'jszip'],
// jsii publishing
// java: {
// javaPackage: 'com.github.pgarbe.cdk-ecr-sync',
// mavenGroupId: 'com.github.pgarbe',
// mavenArtifactId: 'cdk-ecr-sync'
// },
// python: {
// distName: 'cdk-ecr-sync',
// module: 'cdk_ecr_sync'
// }
});
project.gitignore.exclude('cdk.out');
project.npmignore.exclude('examples');
project.synth();