-
Notifications
You must be signed in to change notification settings - Fork 4
/
.projenrc.ts
66 lines (61 loc) · 1.31 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
import {javascript, cdk, TextFile} from 'projen'
const nodeVersion = '20'
const project = new cdk.JsiiProject({
author: 'Amin Fazl',
authorAddress: 'amin.fazl@mondo.com.au',
defaultReleaseBranch: 'main',
name: 'deployable-awscdk-app-ts',
description: 'A projen project for Typescript AWS CDK App',
keywords: [
'projen',
'Typescript',
'AWS CDK',
'Deployment',
],
projenrcTs: true,
repositoryUrl: 'https://github.com/AminFazlMondo/deployable-awscdk-app-ts.git',
packageManager: javascript.NodePackageManager.NPM,
pnpmVersion: '8',
npmAccess: javascript.NpmAccess.PUBLIC,
deps: [
'projen',
],
bundledDeps: [
'semver',
],
peerDeps: [
'projen',
'constructs',
],
devDeps: [
'fs-extra',
'@types/fs-extra',
'@types/semver',
'yaml',
],
workflowNodeVersion: nodeVersion,
publishTasks: true,
autoApproveOptions: {
allowedUsernames: ['AminFazlMondo'],
},
autoApproveUpgrades: true,
jsiiVersion: '5.5.x',
releaseFailureIssue: true,
})
new TextFile(project, '.nvmrc', {
lines: [nodeVersion],
})
project.eslint?.addRules({
'curly': [
'error',
'multi',
'consistent',
],
'semi': [
'error',
'never',
],
'object-curly-spacing': 'error',
'nonblock-statement-body-position': ['error', 'below'],
})
project.synth()