This repository has been archived by the owner on Dec 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.projenrc.js
62 lines (60 loc) · 2.04 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
const { ConstructLibrary, DependenciesUpgradeMechanism, ScheduleInterval } = require('projen');
const { DependabotScheduleInterval } = require('projen/lib/github');
const PROJECT_DESCRIPTION = 'cdk8s-aws-load-balancer-controller is an CDK8S construct library that provides AWS Alb Load Balancer Controller Configure.';
const CDK_VERSION = '^1.113.0';
const CDK8S_VERSION = '1.0.0-beta.10';
const CONSTRCUTS_VERSION = '^3.3.147';
const project = new ConstructLibrary({
description: PROJECT_DESCRIPTION,
authorAddress: 'guan840912@gmail.com',
authorName: 'Neil Kuan',
name: 'cdk8s-aws-load-balancer-controller',
repository: 'https://github.com/neilkuan/cdk8s-aws-load-balancer-controller.git',
keywords: ['aws', 'cdk8s', 'aws-load-balancer-controller'],
defaultReleaseBranch: 'main',
catalog: {
twitter: 'neil_kuan',
announce: false,
},
minNodeVersion: '14.15.0',
python: {
distName: 'cdk8s-aws-load-balancer-controller',
module: 'cdk8s_aws_load_balancer_controller',
},
peerDeps: [
`constructs@${CONSTRCUTS_VERSION}`,
`@aws-cdk/aws-iam@${CDK_VERSION}`,
`@aws-cdk/core@${CDK_VERSION}`,
`cdk8s@${CDK8S_VERSION}`,
],
devDeps: [
'@types/js-yaml@^3.12.5',
'js-yaml@^3.14.0',
// `cdk8s@${CDK8S_VERSION}`,
// `constructs@${CONSTRCUTS_VERSION}`,
// `@aws-cdk/aws-iam@${CDK_VERSION}`,
// `@aws-cdk/core@${CDK_VERSION}`,
],
bundledDeps: [
'@types/js-yaml@^3.12.5',
'js-yaml@^3.14.0',
],
depsUpgrade: DependenciesUpgradeMechanism.githubWorkflow({
workflow: false,
}),
workflowBootstrapSteps: [
{
name: 'Install Helm',
id: 'install_helm',
run: `curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
helm repo add eks https://aws.github.io/eks-charts
helm repo update`,
},
],
});
const common_exclude = ['cdk.out', 'cdk.context.json', 'image', 'yarn-error.log', 'coverage'];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude);
project.synth();