-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.ts
30 lines (26 loc) · 1.04 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
import * as src from './src';
const project = new src.Cdk8sTeamJsiiProject({
name: '@cdk8s/projen-common',
description: 'Common projen configuration shared between cdk8s-team org projects.',
// Must use >=, <, because ^ does not have correct semantics for 0.x versions
peerDeps: ['projen@>=0.81.0 <1'],
peerDependencyOptions: {
pinnedDevDependency: false,
},
deps: ['codemaker'],
bundledDeps: ['codemaker', 'deepmerge'],
projenrcTs: true,
defaultReleaseBranch: 'main',
pypi: false,
maven: false,
nuget: false,
golang: false,
});
// Do not force a node version as install requirement since this can fail upgrading
// Consuming packages will update node versions AFTER the upgrade
project.package.file.addOverride('engines.node', undefined);
// copy the components to lib because it contains
// resources required at runtime. should probably do done via tsconfig.json
// but since it is generated by jsii I don't think thats configurable.
project.preCompileTask.exec('mkdir -p lib && cp -r ./src/components ./lib');
project.synth();