-
Notifications
You must be signed in to change notification settings - Fork 2
/
.projenrc.js
76 lines (74 loc) · 1.75 KB
/
.projenrc.js
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
70
71
72
73
74
75
76
const { awscdk } = require("projen");
const { Stability } = require("projen/lib/cdk/jsii-project");
const project = new awscdk.AwsCdkConstructLibrary({
author: "Florian Fuß",
stability: Stability.STABLE,
cdkVersion: "2.78.0",
defaultReleaseBranch: "main",
name: "cdk-internal-gateway",
repositoryUrl: "https://github.com/pharindoko/cdk-internal-gateway.git",
license: "Apache-2.0",
description:
"CDK construct to create to create internal serverless applications.",
sampleCode: false,
devDeps: ["cdk-nag"],
keywords: [
"cdk",
"apigateway",
"internal",
"private",
"gateway",
"vpc",
"network",
"api",
"website",
"application",
"company",
"enterprise",
],
gitignore: ["cdk.out", "cdk.context.json", "/.idea", "status.json"],
releaseToNpm: true,
publishToPypi: {
distName: "pharindoko.cdk-internal-gateway",
module: "pharindoko.cdk_internal_gateway",
},
sampleCode: false,
compat: true,
depsUpgradeOptions: {
workflowOptions: {
labels: ["auto-approve"],
schedule: {
cron: ["0 0 * * 1"],
},
},
},
githubOptions: {
pullRequestLintOptions: {
semanticTitleOptions: {
types: ["feat", "fix", "chore", "docs"],
},
},
mergify: true,
mergifyOptions: {
autoMergeLabel: "auto-approve",
strict: true,
requiredStatusChecks: ["build"],
},
},
pullRequestTemplate: false,
prettier: true,
jest: true,
jestOptions: {
updateSnapshot: false,
},
majorVersion: 1,
});
project.vscode.settings.addSettings({
"editor.formatOnSave": true,
"eslint.format.enable": false,
"prettier.enable": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
});
project.synth();