-
Notifications
You must be signed in to change notification settings - Fork 2
/
.projenrc.js
48 lines (42 loc) · 1.43 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
const path = require('path');
const { awscdk } = require('projen');
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Matthew Bonig',
authorAddress: 'matthew.bonig@gmail.com',
description: 'A construct for working with RDS SQL servers',
cdkVersion: '2.50.0',
defaultReleaseBranch: 'main',
jsiiFqn: 'matthewbonig.rdsTools',
name: '@matthewbonig/rds-tools',
homepage: 'https://github.com/mbonig/rds-tools',
repositoryUrl: 'https://github.com/mbonig/rds-tools.git',
jsiiVersion: '^5.1.1',
devDeps: [
'eslint',
'esbuild',
],
license: 'MIT',
depsUpgrade: false,
npmAccess: 'public',
keywords: [
'aws', 'awscdk', 'RDS', 'SQL',
],
publishToNuget: {
dotNetNamespace: 'MBonig.RdsTools',
packageId: 'MBonig.RdsTools',
},
publishToPypi: {
distName: 'mbonig.rds-tools',
module: 'mbonig.rds_tools',
},
});
project.addFields({
awscdkio: {
twitter: 'mattbonig',
},
});
project.gitignore.exclude('cdk.context.json', '.cdk.staging/', '.idea/', 'cdk.out/', 'npm-cache/');
project.npmignore.exclude('cdk.context.json', '.cdk.staging/', '.idea/', 'cdk.out/');
project.npmignore.include('./lib/handlers/*');
project.compileTask.exec('jsii --silence-warnings=reserved-word --no-fix-peer-dependencies && jsii-docgen && cp src/handlers/*.ts lib/handlers/ && cp src/handlers/cfn-response.js lib/handlers/ && cp -R src/layer lib/layer && cp src/handlers/package* lib/handlers/');
project.synth();