-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.projenrc.ts
56 lines (52 loc) · 1.3 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
52
53
54
55
56
const { awscdk } = require('projen');
const dependencies = [
'@aws-sdk/client-ecs',
'cdk-iam-floyd',
];
const project = new awscdk.AwsCdkConstructLibrary({
name: '@matthewbonig/nightynight',
repositoryUrl: 'https://github.com/mbonig/nightynight',
author: '[email protected]',
description: 'A CDK construct that will automatically stop a running EC2 instance at a given time.',
authorAddress: '[email protected]',
authorName: 'Matthew Bonig',
cdkVersion: '2.80.0',
projenrcTs: true,
majorVersion: 2,
repository: 'https://github.com/mbonig/nightynight',
defaultReleaseBranch: 'main',
deps: [],
peerDeps: [],
bundledDeps: [
'aws-sdk',
'@aws-sdk/client-ecs',
'cdk-iam-floyd',
],
devDeps: [
'yarn',
'esbuild',
'eslint',
],
keywords: [
'cdk',
'ec2',
'rds',
'cron',
],
python: {
module: 'mbonig.nightynight',
distName: 'mbonig.nightynight',
},
buildWorkflow: true,
});
project.addFields({
main: 'lib/index.js',
types: 'lib/index.d.ts',
awscdkio: {
twitter: 'mattbonig',
},
public: true,
});
project.gitignore.exclude('cdk.context.json', '.cdk.staging/', '.idea/', '.parcel-cache/', 'cdk.out/');
project.npmignore.exclude('cdk.context.json', '.cdk.staging/', '.idea/', '.parcel-cache/', 'cdk.out/');
project.synth();