-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
33 lines (27 loc) · 1.15 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
import { awscdk } from 'projen';
import { BundleLogLevel } from 'projen/lib/javascript';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Piotr Mionskowski',
authorAddress: '[email protected]',
cdkVersion: '2.147.0',
defaultReleaseBranch: 'main',
jsiiVersion: '~5.4.0',
name: '@brightinventions/cdk-self-signed-certificate',
projenrcTs: true,
repositoryUrl: 'https://github.com/piotr.mionskowski/bright-cdk-self-signed-certificate.git',
bundledDeps: ['selfsigned', '@aws-sdk/client-acm'],
// deps: , /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
devDeps: ['@types/aws-lambda'], /* Build dependencies for this module. */
// packageName: undefined, /* The "name" in package.json. */
});
project.bundler.addBundle('./src/self-signed-certificate-lambda', {
logLevel: BundleLogLevel.INFO,
target: 'node20',
platform: 'node',
});
project.package.addField('publishConfig', {
access: 'public', // https://stackoverflow.com/a/59711239
});
project.addGitIgnore('.idea');
project.synth();