-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.projenrc.ts
51 lines (47 loc) · 1.36 KB
/
.projenrc.ts
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
import { awscdk } from 'projen';
import { UpdateSnapshot, UpgradeDependenciesSchedule } from 'projen/lib/javascript';
const project = new awscdk.AwsCdkConstructLibrary({
// publish
author: 'Yohta Kimura',
authorAddress: 'kitakita7617@gmail.com',
name: 'low-cost-ecs',
description: 'Easy and low-cost ECS on EC2 server without a load balancer',
repositoryUrl: 'https://github.com/rajyan/low-cost-ecs.git',
license: 'MIT',
cdkVersion: '2.37.0',
defaultReleaseBranch: 'main',
keywords: ['cdk', 'ecs', 'stepfunctions', 'route53', 'certbot', 'loadbalancer'],
devDeps: ['aws-cdk', 'ts-node'],
stability: 'experimental',
publishToPypi: {
distName: 'low-cost-ecs',
module: 'low_cost_ecs',
},
// workflows
autoApproveOptions: {
allowedUsernames: ['rajyan'],
},
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.WEEKLY,
labels: ['auto-approve'],
},
},
// dev settings
prettier: true,
prettierOptions: {
settings: {
printWidth: 100,
singleQuote: true,
},
},
jestOptions: {
updateSnapshot: UpdateSnapshot.NEVER,
},
projenrcTs: true,
});
const excludes = ['.idea/', 'cdk.out/', 'cdk.context.json', 'yarn-error.log'];
project.npmignore?.exclude(...excludes);
project.gitignore.exclude(...excludes);
project.tsconfigDev.addInclude('examples/**/*.ts');
project.synth();