-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
49 lines (46 loc) · 1.24 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { CdklabsTypeScriptProject } from 'cdklabs-projen-project-types';
import { RosettaPeerDependency, RosettaVersionLines } from './projenrc/rosetta';
const project = new CdklabsTypeScriptProject({
projenrcTs: true,
private: false,
defaultReleaseBranch: 'main',
name: 'cdk-generate-synthetic-examples',
repository: 'https://github.com/cdklabs/cdk-generate-synthetic-examples',
description: 'Generate synthetic examples for CDK libraries',
deps: [
'@jsii/spec',
'jsii-reflect',
'yargs',
],
devDeps: [
'@types/semver',
'@types/jest',
'@types/yargs',
'cdklabs-projen-project-types',
'jest',
'jsii',
'typescript',
],
tsconfig: {
compilerOptions: {
skipLibCheck: true,
},
},
releaseToNpm: true,
gitignore: ['*.js', '*.d.ts'],
workflowNodeVersion: '18.x',
enablePRAutoMerge: true,
setNodeEngineVersion: false,
});
// Add the new version line here
new RosettaPeerDependency(project, {
supportedVersions: {
[RosettaVersionLines.V1_X]: '^1.85.0',
[RosettaVersionLines.V5_0]: false,
[RosettaVersionLines.V5_1]: '~5.1.2',
[RosettaVersionLines.V5_2]: '~5.2.0',
[RosettaVersionLines.V5_3]: '~5.3.0',
[RosettaVersionLines.V5_4]: '~5.4.0',
},
});
project.synth();