forked from cdklabs/jsii-srcmak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
43 lines (36 loc) · 993 Bytes
/
.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
const { typescript } = require('projen');
const project = new typescript.TypeScriptProject({
name: 'jsii-srcmak',
description: 'generate source code in multiple languages from typescript',
repository: 'https://github.com/aws/jsii-srcmak.git',
authorName: 'Elad Ben-Israel',
authorEmail: '[email protected]',
stability: 'experimental',
defaultReleaseBranch: 'main',
bin: {
'jsii-srcmak': 'bin/jsii-srcmak',
},
devDeps: [
'@types/ncp',
'@types/fs-extra@^8',
'constructs',
],
deps: [
'jsii',
'jsii-pacmak',
'fs-extra',
'ncp',
'yargs',
],
releaseToNpm: true,
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
compileBeforeTest: true,
// superchain is needed to ensure jsii-pacmak has everything it needs
workflowContainerImage: 'jsii/superchain:1-buster-slim-nightly',
autoApproveOptions: {
allowedUsernames: ['cdklabs-automation'],
secret: 'GITHUB_TOKEN',
},
autoApproveUpgrades: true,
});
project.synth();