-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.ts
69 lines (56 loc) · 1.55 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { awscdk, javascript } from "projen";
import { LambdaRuntime } from "projen/lib/awscdk";
import { NpmAccess } from "projen/lib/javascript";
const MIN_CDK_VERSION = "2.69.0";
const project = new awscdk.AwsCdkConstructLibrary({
author: "Yiğitcan UÇUM",
authorAddress: "[email protected]",
majorVersion: 1,
name: "@wisegpt/awscdk-slack-event-bus",
packageName: "@wisegpt/awscdk-slack-event-bus",
npmAccess: NpmAccess.PUBLIC,
description:
"Exposes a Slack Events API Request URL that validates and sends all received events to an AWS Event Bus",
keywords: [
"aws",
"cdk",
"awscdk",
"Amazon EventBridge",
"slack",
"events-api",
],
workflowNodeVersion: "18.x",
license: "Unlicense",
cdkVersion: MIN_CDK_VERSION,
defaultReleaseBranch: "main",
lambdaOptions: {
runtime: LambdaRuntime.NODEJS_18_X,
bundlingOptions: {
externals: ["@aws-sdk/*", "@aws-cdk/*"],
},
},
github: true,
release: true,
packageManager: javascript.NodePackageManager.NPM,
prettier: true,
projenrcTs: true,
repositoryUrl: "https://github.com/wisegpt/awscdk-slack-event-bus.git",
peerDeps: [
`@aws-cdk/aws-apigatewayv2-alpha@^${MIN_CDK_VERSION}-alpha.0`,
`@aws-cdk/aws-apigatewayv2-integrations-alpha@^${MIN_CDK_VERSION}-alpha.0`,
],
devDeps: [
"@types/aws-lambda",
"@aws-sdk/client-secrets-manager",
"@aws-sdk/client-eventbridge",
],
});
project.npmignore?.exclude(
"/lib/internal/**",
".DS_Store",
".prettier*",
"*.iml",
".projenrc.ts",
".git*"
);
project.synth();