-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.projenrc.ts
94 lines (82 loc) · 2.4 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
import { AwsCdkConstructLibrary } from "@pepperize/projen-awscdk-construct";
import { javascript, awscdk } from "projen";
const project = new AwsCdkConstructLibrary({
author: "Patrick Florek",
authorAddress: "patrick.florek@gmail.com",
cdkVersion: "2.48.0",
defaultReleaseBranch: "main",
name: "cdk-github",
description:
"Manage GitHub resources like repositories, teams, members, integrations and workflows with the AWS CDK as Custom Resources in CloudFormation with [cdk-github](https://github.com/pepperize/cdk-github).",
keywords: [
"aws",
"cdk",
"construct",
"custom-resource",
"github",
"actions",
"secret",
"provider",
"repository",
"teams",
"user",
"octokit",
"rest",
"github app",
"Utilities",
],
repositoryUrl: "https://github.com/pepperize/cdk-github.git",
projenrcTs: true,
devDeps: [
"@aws-sdk/util-arn-parser",
"@octokit/auth-app",
"@octokit/auth-token",
"@octokit/auth-unauthenticated",
"@octokit/core",
"@octokit/rest",
"@octokit/request-error",
"@octokit/types",
"@pepperize/projen-awscdk-construct@latest",
"@types/aws-lambda",
"@types/libsodium-wrappers",
"aws-lambda",
"aws-sdk",
"libsodium",
"libsodium-wrappers",
],
versionrcOptions: {
types: [{ type: "chore", section: "Chore", hidden: false }],
},
releaseToNpm: true,
npmAccess: javascript.NpmAccess.PUBLIC,
packageName: "@pepperize/cdk-github",
publishToNuget: {
dotNetNamespace: "Pepperize.CDK",
packageId: "Pepperize.CDK.Github",
},
publishToPypi: {
distName: "pepperize.cdk-github",
module: "pepperize_cdk_github",
},
publishToMaven: {
mavenEndpoint: "https://s01.oss.sonatype.org",
mavenGroupId: "com.pepperize",
mavenArtifactId: "cdk-github",
javaPackage: "com.pepperize.cdk.github",
},
gitpod: true,
gitignore: ["cdk.out"],
lambdaOptions: {
runtime: awscdk.LambdaRuntime.NODEJS_22_X,
},
});
project.eslint?.allowDevDeps("src/custom-resource-provider/encrypt.ts");
project.eslint?.allowDevDeps("src/custom-resource-provider/execute-github-api-call.ts");
project.eslint?.allowDevDeps("src/custom-resource-provider/get-secret-value.ts");
project.gitpod?.addCustomTask({
name: "setup",
init: "yarn install && npx projen build",
command: "npx projen watch",
});
project.gitpod?.addVscodeExtensions("dbaeumer.vscode-eslint");
project.synth();