-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.ts
58 lines (51 loc) · 1.26 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
import {
EslintConfig,
GitConfig,
PrettierConfig,
VscodeConfig,
} from '@atws/projen-config'
import { awscdk } from 'projen'
const cdkVersion = '2.51.0'
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Lorenz Nimmervoll',
authorAddress: '[email protected]',
cdkVersion,
defaultReleaseBranch: 'main',
deps: [],
description:
'A construct that allows you to self-destruct your AWS resources in a given stack',
devDeps: [
'esbuild',
'@atws/projen-config',
'@atws/tsconfig',
],
gitignore: ['cdk.out', 'tsconfig.json'],
jest: true,
jestOptions: {
extraCliOptions: [
'--testMatch "**/(test|src)/**/*(*.)@(spec|test).ts?(x)"',
],
},
keywords: ['cdk', 'awscdk', 'aws-cdk'],
majorVersion: 1,
name: 'cdk-self-destruct',
packageName: 'cdk-self-destruct',
projenrcTs: true,
repositoryUrl: 'https://github.com/NimmLor/cdk-self-destruct.git',
stability: 'experimental',
workflowNodeVersion: '16.x',
})
new PrettierConfig(project)
new EslintConfig(project, {
projenFileRegex: '{src,test}/*.ts',
})
new VscodeConfig(project, {
vscodeExtensions: {
addCdkExtensions: true,
addCoreExtensions: true,
addNodeExtensions: true,
},
})
new GitConfig(project)
project.synth()