-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
34 lines (31 loc) · 979 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
const { cdk } = require('projen');
const { NpmAccess } = require('projen/lib/javascript');
const organizationName = '@gemeentenijmegen';
const projectName = 'projen-project-type';
const packageName = `${organizationName}/${projectName}`;
const project = new cdk.JsiiProject({
author: organizationName,
repository: 'https://github.com/GemeenteNijmegen/modules-projen.git',
defaultReleaseBranch: 'main',
majorVersion: 1,
name: projectName,
license: 'EUPL-1.2',
release: true,
releaseToNpm: true,
npmAccess: NpmAccess.PUBLIC,
devDeps: [
'@types/[email protected]', // Pin and exclude as jsii complains about dependencies otherwise...
],
peerDeps: [
'projen',
'constructs',
], // Make sure the consuming library will provide a projen version.
packageName: packageName,
depsUpgradeOptions: {
exclude: ['@types/jest'],
},
scripts: {
extract: 'cd dist/js && rm -rf package && tar -xzvf projen-project-type@*',
},
});
project.synth();