-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
93 lines (84 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
import { cdktf } from "projen";
import { JobPermission } from "projen/lib/github/workflows-model";
const project = new cdktf.ConstructLibraryCdktf({
author: "Walid Ziouche",
authorAddress: "[email protected]",
cdktfVersion: "^0.16",
defaultReleaseBranch: "main",
jsiiVersion: "~5.1",
name: "cdktf-gke-auth",
projenrcTs: true,
repositoryUrl: "https://github.com/01walid/cdktf-gke-auth.git",
prettier: true,
releaseToNpm: true,
jest: true,
majorVersion: 1,
gitpod: true,
depsUpgradeOptions: {
workflow: true,
workflowOptions: {
permissions: {
pullRequests: JobPermission.WRITE,
idToken: JobPermission.WRITE,
contents: JobPermission.READ,
},
},
},
jestOptions: {
jestConfig: {
coverageProvider: "v8",
testEnvironment: "node",
testMatch: ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"],
preset: "ts-jest",
setupFilesAfterEnv: ["<rootDir>/setup.js"],
// transform: { "^.+\\.ts?$": ["ts-jest", {}] },
},
},
publishToPypi: {
distName: "cdktf-gke-auth",
module: "cdktf_gke_auth",
},
// Requires "MAVEN_GPG_PRIVATE_KEY", "MAVEN_GPG_PRIVATE_KEY_PASSPHRASE", "MAVEN_PASSWORD",
// "MAVEN_USERNAME", and "MAVEN_STAGING_PROFILE_ID" to be set.
// publishToMaven: {
// javaPackage: "com.your-org.your-project-name ",
// mavenGroupId: "com.your-org",
// mavenArtifactId: "your-project-name",
// },
// Requires "NUGET_API_KEY" to be set.
// publishToNuget: {
// dotNetNamespace: "01walid.CDKTFGKEAuth",
// packageId: "01walid.CDKTFGKEAuth",
// },
publishToGo: {
gitUserName: "01walid",
gitUserEmail: "[email protected]",
moduleName: "github.com/01walid/cdktf-gke-auth-go",
},
keywords: [
"cdktf",
"gke",
"auth",
"kubernetes",
"k8s",
"gcp",
"google",
"google-cloud",
"constructs",
],
// deps: ["cdktf@^0.16", "constructs@~10.2", "@cdktf/provider-google@^7.0"],
// 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. */
});
project.addPeerDeps(
"cdktf@^0.16",
"constructs@~10.2",
"@cdktf/provider-google@^7.0"
);
project.gitpod?.addCustomTask({
name: "Setup",
init: "yarn install",
command: "npx projen build",
});
project.synth();