-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
68 lines (55 loc) · 1.45 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
const { awscdk, release } = require('projen');
const cdkDependencies = [
'@aws-cdk/aws-cognito',
'@aws-cdk/aws-ec2',
'@aws-cdk/aws-efs',
'@aws-cdk/aws-ecs',
'@aws-cdk/aws-secretsmanager',
'@aws-cdk/aws-elasticloadbalancingv2',
'@aws-cdk/aws-elasticloadbalancingv2-targets',
'@aws-cdk/aws-logs',
'@aws-cdk/core',
];
const project = new awscdk.AwsCdkConstructLibrary({
name: '@wheatstalk/cdk-ecs-website',
description: 'CDK ECS Website Constructs',
authorName: 'Josh Kellendonk',
authorEmail: 'joshkellendonk@gmail.com',
repository: 'git@github.com:wheatstalk/cdk-ecs-website.git',
license: 'MIT',
cdkVersion: '1.68.0',
cdkDependenciesAsDeps: false, // https://dev.to/aws-builders/correctly-defining-dependencies-in-l3-cdk-constructs-45p#update-20210417
cdkDependencies: cdkDependencies,
cdkTestDependencies: [
'aws-cdk',
'@aws-cdk/assert',
'@aws-cdk/aws-rds',
].concat(cdkDependencies),
devDeps: [
'@types/fs-extra@^8.1.0',
'@types/json-diff@^0.5.0',
'json-diff@^0.5.4',
'ts-node@^9.0.0',
'yargs@^16.1.0',
],
bundledDeps: [
'fs-extra',
],
deps: [
'fs-extra@^8.1.0',
],
autoApproveUpgrades: true,
autoApproveOptions: {
allowedUsernames: ['misterjoshua'],
},
defaultReleaseBranch: 'main',
releaseToNpm: true,
releaseTrigger: release.ReleaseTrigger.continuous(),
compat: true,
gitignore: [
'.idea',
'*.iml',
'cdk.out.*',
],
});
project.synth();