-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
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.1.0", | ||
cdkVersion: "2.73.0", // Released in April 2023 | ||
defaultReleaseBranch: "main", | ||
name: "@blimmer/cdk-circleci-oidc", | ||
repositoryUrl: "https://github.com/blimmer/cdk-circleci-oidc.git", | ||
majorVersion: 1, | ||
|
||
projenrcTs: true, | ||
|
||
|
@@ -19,20 +21,25 @@ const project = new awscdk.AwsCdkConstructLibrary({ | |
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, | ||
}, | ||
}, | ||
|
||
// deps: [], /* Runtime dependencies of this module. */ | ||
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */ | ||
// devDeps: [], /* Build dependencies for this module. */ | ||
// packageName: undefined, /* The "name" in package.json. */ | ||
}); | ||
|
||
new ProjenStruct(project, { name: "RoleProps", filePath: "src/generated/IamRoleProps.ts" }).mixin( | ||
Struct.fromFqn("aws-cdk-lib.aws_iam.RoleProps").omit("assumedBy").withoutDeprecated(), | ||
); | ||
|
||
project.synth(); |