-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
52 lines (48 loc) · 1.17 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
import { awscdk } from "projen";
import {
DeploymentWorkflow,
DestroyWorkflow,
LintWorkflow,
} from "./src/workflows";
const project = new awscdk.AwsCdkTypeScriptApp({
autoApproveOptions: {
allowedUsernames: ["nikovirtala"],
secret: "GITHUB_TOKEN",
},
authorEmail: "[email protected]",
authorName: "Niko Virtala",
buildWorkflow: true,
cdkVersion: "2.173.4",
codeCov: false,
defaultReleaseBranch: "main",
deps: ["@aws-cdk-containers/ecs-service-extensions@^2"],
depsUpgradeOptions: {
workflowOptions: {
labels: ["auto-approve", "auto-merge"],
},
},
devDeps: ["prettier"],
eslint: true,
github: true,
jest: false,
license: "MIT",
licensed: true,
mergify: true,
minNodeVersion: "22.12.0",
name: "cdk-preview-environments",
prettier: true,
projenrcTs: true,
pullRequestTemplate: false,
repository: "https://github.com/nikovirtala/cdk-preview-environments.git",
typescriptVersion: "5.7.2",
});
project.eslint?.addOverride({
files: ["*"],
rules: {
"import/no-extraneous-dependencies": ["warn"],
},
});
new DeploymentWorkflow(project);
new DestroyWorkflow(project);
new LintWorkflow(project);
project.synth();