-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
64 lines (61 loc) · 1.81 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 { awscdk } = require('projen');
const { Stability } = require('projen/lib/cdk');
const { UpgradeDependenciesSchedule } = require('projen/lib/javascript');
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Stefan Freitag',
authorAddress: '[email protected]',
authorOrganization: false,
cdkVersion: '2.161.0',
defaultReleaseBranch: 'main',
name: 'terraform-backend-s3-bucket',
description: 'Creates an S3 bucket and a DynamoDB table for Terraform state and lock management.',
repositoryUrl:
'https://github.com/stefanfreitag/terraform-backend-s3-bucket.git',
codeCov: true,
jsiiVersion: '~5.3.2',
jestOptions: {
jestVersion: '^29',
},
devDeps: [
'@aws-cdk/[email protected]',
'@aws-cdk/[email protected]',
'ts-node',
],
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.MONTHLY,
},
},
keywords: ['aws', 'backend', 's3', 'terraform'],
majorVersion: 1,
stability: Stability.STABLE,
publishToMaven: {
javaPackage: 'io.github.stefanfreitag.cdk.terraformstatebackend',
mavenArtifactId: 'terraformStateBackend',
mavenGroupId: 'io.github.stefanfreitag',
},
publishToNuget: {
dotNetNamespace: 'Io.Github.StefanFreitag',
packageId: 'Io.Github.StefanFreitag.TerraformStateBackend',
},
publishToPypi: {
module: 'terraform_backend_s3_bucket',
distName: 'terraform-backend-s3-bucket',
},
tsconfigDev: {
compilerOptions: {
ignoreDeprecations: '5.0',
},
},
tsconfig: {
compilerOptions: {
ignoreDeprecations: '5.0',
},
},
typescriptVersion: '~5.1.6',
});
const common_exclude = ['.history/', '.dccache'];
project.npmignore.exclude(...common_exclude);
project.gitignore.exclude(...common_exclude);
project.synth();