-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.js
64 lines (63 loc) · 2.54 KB
/
.projenrc.js
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
const { AwsCdkConstructLibrary } = require('projen/lib/awscdk');
const { NpmAccess } = require('projen/lib/javascript');
const CDK_VERSION = '2.169.0';
const project = new AwsCdkConstructLibrary({
author: '@InfraTeam',
authorAddress: 'bharat.parmar@smallcase.com',
cdkVersion: `${CDK_VERSION}`,
cdkVersionPinning: true,
constructsVersion: '10.0.5',
constructsVersionPinning: false,
releaseWorkflow: true,
defaultReleaseBranch: 'main',
release: true,
name: '@smallcase/cdk-eks-cluster-module',
packageName: '@smallcase/cdk-eks-cluster-module',
repositoryUrl: 'https://github.com/smallcase/cdk-eks-cluster-module.git',
// cdkDependencies: [
// ],
tsconfig: {
compilerOptions: {
strictPropertyInitialization: false,
esModuleInterop: true,
},
},
context: {
'@aws-cdk/core:newStyleStackSynthesis': true,
},
devDeps: [
`aws-cdk-lib@${CDK_VERSION}`,
],
peerDeps: [
`aws-cdk-lib@${CDK_VERSION}`,
],
python: {
distName: 'cdk-eks-cluster-module',
module: 'cdk_eks_cluster_module',
},
publishToGo: {
gitUserName: 'sc-infra-bot',
gitUserEmail: 'infra@smallcase.com',
moduleName: 'github.com/smallcase/cdk-eks-cluster-module-go',
},
npmAccess: NpmAccess.PUBLIC,
releaseToNpm: true,
releaseEveryCommit: true,
depsUpgrade: true,
licensed: true, /* Indicates if a license should be added. */
dependabot: false, /* Include dependabot configuration. */
mergify: false, /* Adds mergify configuration. */
pullRequestTemplate: true, /* Include a GitHub pull request template. */
// cdkDependencies: undefined, /* Which AWS CDK modules (those that start with "@aws-cdk/") does this library require when consumed? */
// cdkTestDependencies: undefined, /* AWS CDK modules required for testing. */
// 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. */
// projectType: ProjectType.UNKNOWN, /* Which type of project this is (library/app). */
// release: undefined, /* Add release management to this project. */
});
const common_exclude = ['cdk.out', 'src/onboard.json', 'cdk.context.json', 'image', 'yarn-error.log', 'coverage', '.vscode'];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude);
project.synth();