-
Notifications
You must be signed in to change notification settings - Fork 11
/
.projenrc.ts
60 lines (58 loc) · 1.58 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
import { awscdk, JsonPatch } from "projen"
import { NodePackageManager } from "projen/lib/javascript"
const tmpDirectories = ["cdk.context.json", ".idea/", "cdk.out/", ".envrc"]
const project = new awscdk.AwsCdkConstructLibrary({
author: "Berend de Boer",
authorAddress: "berend@pobox.com",
authorEmail: "berend@pobox.com",
name: "cdk-rds-sql",
description:
"A CDK construct that allows creating roles and databases an on Aurora Serverless Postgresql cluster.",
defaultReleaseBranch: "main",
repositoryUrl: "https://github.com/berenddeboer/cdk-rds-sql.git",
projenrcTs: true,
packageManager: NodePackageManager.NPM,
depsUpgrade: true,
depsUpgradeOptions: {
workflow: false,
},
constructsVersion: "10.3.0",
cdkVersion: "2.144.0",
disableTsconfig: true,
tsconfigDev: {
compilerOptions: {
esModuleInterop: true,
noUnusedLocals: false,
},
},
eslint: true,
eslintOptions: {
dirs: ["src"],
prettier: true,
},
gitignore: tmpDirectories,
npmignore: tmpDirectories,
docgen: false,
workflowNodeVersion: "20.x",
deps: ["exponential-backoff", "@types/aws-lambda"],
bundledDeps: [
"@types/aws-lambda",
"@aws-sdk/client-secrets-manager",
"pg",
"node-pg-format",
"ms",
"exponential-backoff",
"source-map-support",
],
devDeps: ["@types/ms", "@types/pg", "testcontainers", "esbuild"],
keywords: ["aws", "aws-cdk", "rds", "aurora"],
minMajorVersion: 1,
})
project.addGitIgnore("*~")
if (project.eslint) {
project.eslint.addRules({
semi: ["off"],
quotes: ["error", "double"],
})
}
project.synth()