-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.ts
52 lines (47 loc) · 1.36 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
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
import { CdklabsConstructLibrary } from "cdklabs-projen-project-types";
import { Stability } from "projen/lib/cdk";
const cdkVersion = "2.162.0";
const project = new CdklabsConstructLibrary({
name: "@cdklabs/cdk-amazonmq",
author: "AWS",
authorAddress: "[email protected]",
cdkVersion,
defaultReleaseBranch: "main",
projenrcTs: true,
private: false,
repositoryUrl: "https://github.com/cdklabs/cdk-amazonmq.git",
prettier: true,
stability: Stability.EXPERIMENTAL,
docgen: true,
devDeps: [
"cdklabs-projen-project-types",
"cdk-nag",
"@aws-sdk/client-ec2",
"@aws-sdk/client-lambda",
"@aws-sdk/client-secrets-manager",
"@aws-sdk/client-ssm",
"@aws-sdk/util-arn-parser",
"@types/aws-lambda",
"esbuild",
"mqtt",
"rabbitmq-client",
"rhea",
],
jsiiVersion: "~5.4.30",
keywords: ["aws", "Amazon MQ", "ActiveMQ", "RabbitMQ", "AWS CDK"],
gitignore: [".vscode", "**/.DS_Store"],
});
project.bundler.addBundle("src/rabbitmq/custom-resource/handler/index.ts", {
target: "node18",
platform: "node",
externals: ["@aws-sdk/*"],
tsconfigPath: "tsconfig.dev.json",
});
project.eslint?.allowDevDeps(
"src/rabbitmq/custom-resource/handler/dynamic-references/secret.ts",
);
project.synth();