-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.projenrc.ts
47 lines (38 loc) · 1.13 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
import { awscdk, javascript } from "projen";
const MIN_CDK_VERSION = "2.69.0";
const project = new awscdk.AwsCdkTypeScriptApp({
cdkVersion: MIN_CDK_VERSION,
defaultReleaseBranch: "main",
appEntrypoint: "infrastructure/cdk/main.ts",
github: true,
lambdaAutoDiscover: false,
minNodeVersion: "18.12.1",
license: "Unlicense",
name: "@wisegpt/slack-bot",
packageName: "@wisegpt/slack-bot",
packageManager: javascript.NodePackageManager.NPM,
prettier: true,
projenrcTs: true,
release: true,
deps: [
"@wisegpt/awscdk-slack-event-bus",
"@wisegpt/gpt-conversation-prompt",
"@aws-sdk/client-secrets-manager",
"@aws-sdk/client-dynamodb",
"@aws-sdk/lib-dynamodb",
"@aws-sdk/client-sqs",
"@aws-sdk/client-lambda",
`@aws-cdk/aws-apigatewayv2-alpha@${MIN_CDK_VERSION}-alpha.0`,
`@aws-cdk/aws-apigatewayv2-integrations-alpha@^${MIN_CDK_VERSION}-alpha.0`,
"@slack/web-api",
"openai",
"gpt3-tokenizer",
],
devDeps: [
"@types/aws-lambda",
// 'undici' is added as a dev dependency for;
// missing type support of fetch see src/global.d.ts
"undici",
],
});
project.synth();