-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.projenrc.ts
44 lines (40 loc) · 1.48 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
import { UpgradeDependenciesSchedule } from 'projen/lib/javascript';
import { generateCdkCommonOptions } from './projenrc/cdk-common-options';
import { generateCdkConstructLibraryOptions } from './projenrc/cdk-construct-library-options';
import { generateCdkJsiiOptions } from './projenrc/cdk-jsii-options';
import { generateYarnMonorepoOptions } from './projenrc/yarn-monorepo-options';
import { CdklabsJsiiProject } from './src';
const project = new CdklabsJsiiProject({
private: false,
projenrcTs: true,
author: 'AWS',
authorAddress: '[email protected]',
defaultReleaseBranch: 'main',
name: 'cdklabs-projen-project-types',
repositoryUrl: 'https://github.com/cdklabs/cdklabs-projen-project-types.git',
devDeps: ['@jsii/spec', 'jsii-reflect', 'projen'],
bundledDeps: ['yaml'],
peerDeps: ['projen@>=0.88.6 <1.0.0'],
enablePRAutoMerge: true,
cdklabsPublishingDefaults: false,
upgradeCdklabsProjenProjectTypes: false, // that is this project!
setNodeEngineVersion: false,
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.WEEKLY,
},
},
peerDependencyOptions: {
pinnedDevDependency: false,
},
jsiiVersion: '~5.5',
typescriptVersion: '~5.5',
});
project.addPeerDeps('constructs@^10.0.0');
generateCdkCommonOptions(project);
generateYarnMonorepoOptions(project);
generateCdkConstructLibraryOptions(project);
generateCdkJsiiOptions(project);
// that is this package!
project.deps.removeDependency(project.name);
project.synth();