-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
57 lines (53 loc) · 1.62 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
const { AwsCdkConstructLibrary, NodePackageManager } = require('projen');
let dependencies = [
'cdk-iam-floyd',
];
const project = new AwsCdkConstructLibrary({
name: '@matthewbonig/wakeywakey',
description: 'A CDK construct that will automatically start a stopped EC2 instance at a given time.',
authorAddress: '[email protected]',
authorName: 'Matthew Bonig',
cdkVersion: '1.89.0',
repository: 'https://github.com/mbonig/wakeywakey',
defaultReleaseBranch: 'master',
packageManager: NodePackageManager.NPM,
deps: dependencies,
peerDeps: dependencies,
devDeps: [
'yarn@^1.22.10',
'esbuild@^0.8.22',
],
cdkDependencies: [
'@aws-cdk/aws-ec2',
'@aws-cdk/aws-events',
'@aws-cdk/aws-events-targets',
'@aws-cdk/aws-iam',
'@aws-cdk/aws-lambda',
'@aws-cdk/aws-lambda-nodejs',
'@aws-cdk/core',
],
keywords: [
'cdk',
'ec2',
],
python: {
module: 'mbonig.wakeywakey',
distName: 'mbonig.wakeywakey',
},
dependabot: true,
buildWorkflow: true,
releaseWorkflow: false,
});
project.compileTask.exec('jsii --silence-warnings=reserved-word --no-fix-peer-dependencies && jsii-docgen && cp src/wakeywakey.handler.ts lib/wakeywakey.handler.ts');
project.addFields({
main: 'lib/wakeywakey.js',
types: 'lib/wakeywakey.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.npmignore.include('lib/wakeywakey.handler.ts');
project.synth();