forked from taimos/taimos-projen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
36 lines (33 loc) · 1.01 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
const { cdk, javascript, github, DevEnvironmentDockerImage } = require('projen');
const project = new cdk.JsiiProject({
name: '@taimos/projen',
authorAddress: '[email protected]',
authorName: 'Thorsten Hoeger',
authorOrganization: true,
copyrightOwner: 'Taimos GmbH',
copyrightPeriod: '2020',
repository: 'https://github.com/taimos/taimos-projen.git',
defaultReleaseBranch: 'main',
peerDeps: [
'projen',
],
devDeps: [
'projen',
],
license: 'Apache-2.0',
licensed: true,
releaseToNpm: true,
npmAccess: javascript.NpmAccess.PUBLIC,
gitpod: true,
autoApproveUpgrades: true,
autoApproveOptions: { allowedUsernames: ['hoegertn', 'taimos-projen[bot]'], secret: 'GITHUB_TOKEN' },
githubOptions: {
projenCredentials: github.GithubCredentials.fromApp(),
},
});
project.gitpod.addDockerImage(DevEnvironmentDockerImage.fromImage('taimos/gitpod'));
project.gitpod.addCustomTask({
init: 'yarn install --check-files --frozen-lockfile',
command: 'npx projen build',
});
project.synth();