-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
47 lines (39 loc) · 1.39 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 { ProjenStruct, Struct } from "@mrgrain/jsii-struct-builder";
import { ReleasableCommits, awscdk } from "projen";
import { ProseWrap } from "projen/lib/javascript";
const project = new awscdk.AwsCdkConstructLibrary({
author: "Ben Limmer",
authorAddress: "[email protected]",
cdkVersion: "2.73.0", // Released in April 2023
defaultReleaseBranch: "main",
name: "@blimmer/cdk-circleci-oidc",
repositoryUrl: "https://github.com/blimmer/cdk-circleci-oidc.git",
description: "AWS CDK construct to create OIDC roles for CircleCI jobs",
keywords: ["cdk", "aws-cdk", "awscdk", "aws", "iam", "circleci", "oidc", "openid-connect"],
majorVersion: 1,
projenrcTs: true,
jsiiVersion: "~5.0.0",
releasableCommits: ReleasableCommits.featuresAndFixes(), // don't release "chore" commits
python: {
distName: "cdk-circleci-oidc",
module: "cdk_circleci_oidc",
},
// deps: [],
devDeps: ["@mrgrain/jsii-struct-builder"],
depsUpgrade: false,
eslintOptions: {
dirs: ["src"],
ignorePatterns: ["src/generated/*.ts"], // ignore generated files
},
prettier: true,
prettierOptions: {
settings: {
printWidth: 120,
proseWrap: ProseWrap.ALWAYS,
},
},
});
new ProjenStruct(project, { name: "RoleProps", filePath: "src/generated/IamRoleProps.ts" }).mixin(
Struct.fromFqn("aws-cdk-lib.aws_iam.RoleProps").omit("assumedBy").withoutDeprecated(),
);
project.synth();