forked from cdklabs/cfunctions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
32 lines (27 loc) · 909 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
const { JsiiProject, DependenciesUpgradeMechanism } = require('projen');
const project = new JsiiProject({
authorAddress: '[email protected]',
authorName: 'Elad Ben-Israel',
name: 'cfunctions',
repository: 'https://github.com/eladb/cfunctions.git',
defaultReleaseBranch: 'main',
projenUpgradeSecret: 'PROJEN_GITHUB_TOKEN',
publishToPypi: {
module: 'cfunctions',
distName: 'cfunctions',
},
depsUpgradeOptions: {
// see https://github.com/cdklabs/cfunctions/issues/145
exclude: ['esbuild'],
},
autoApproveOptions: {
allowedUsernames: ['cdklabs-automation'],
secret: 'GITHUB_TOKEN',
},
autoApproveUpgrades: true,
});
project.addBundledDeps('fs-extra@8');
project.addDevDeps('@types/fs-extra@8', 'esbuild');
// since it's a native module we have to rely on consumer to install it on their system
// project.addPeerDeps('esbuild@^0.8.21');
project.synth();