-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.ts
30 lines (30 loc) · 1.16 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
import { awscdk } from 'projen';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Estian Yssel',
authorAddress: '[email protected]',
description: 'An AWS CDK construct which creates an AWS Simple-Queue Service (SQS) queue with an appropriately monitored Dead-Letter Queue (DLQ). This so called MonitoredQueue construct will send messages to the specified locations to notify you if messages in the DLQ cross a certain threshold',
cdkVersion: '2.60.0',
defaultReleaseBranch: 'master',
jsiiVersion: '~5.3.8',
name: 'sqs-dlq-monitoring',
projenrcTs: true,
repositoryUrl: 'https://github.com/EYssel/sqs-dlq-monitoring.git',
docgen: false,
jestOptions: {
jestConfig: {
testMatch: ['**/?(*.)+(spec|test).+(ts|tsx|js)'],
},
},
devDeps: [
'esbuild',
],
bundledDeps: ['axios'],
// exclude lambda code in favour of custom esbuild compiling
excludeTypescript: ['src/lambda/**/*', 'playground/**/*'],
majorVersion: 1,
});
project.npmignore!.exclude('scripts/');
project.npmignore!.exclude('playground/');
project.gitignore!.exclude('playground/');
project.compileTask.exec('ts-node ./scripts/buildLambdas.ts');
project.synth();