-
Notifications
You must be signed in to change notification settings - Fork 37
/
.projenrc.ts
56 lines (50 loc) · 1.66 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
50
51
52
53
54
55
56
import { CdklabsConstructLibrary } from 'cdklabs-projen-project-types';
import { JsonPatch } from 'projen';
import { UpdateSnapshot } from 'projen/lib/javascript';
const project = new CdklabsConstructLibrary({
projenrcTs: true,
private: false,
name: 'cdk-pipelines-github',
description: 'GitHub Workflows support for CDK Pipelines',
author: 'Amazon Web Services',
authorAddress: '[email protected]',
cdkVersion: '2.80.0',
constructsVersion: '10.0.46',
defaultReleaseBranch: 'main',
repositoryUrl: 'https://github.com/cdklabs/cdk-pipelines-github.git',
bundledDeps: ['decamelize', 'yaml', 'fast-json-patch'],
devDeps: [
'cdklabs-projen-project-types',
'aws-cdk-lib',
'@aws-cdk/integ-runner@^2.60.0',
'@aws-cdk/integ-tests-alpha',
],
peerDeps: ['aws-cdk-lib'],
jestOptions: {
jestConfig: {
testMatch: [
'<rootDir>/test/**/*(*.)@(spec|test).ts?(x)',
'<rootDir>/src/**/*(*.)@(spec|test).ts?(x)',
],
},
updateSnapshot: UpdateSnapshot.NEVER,
},
publishToPypi: {
distName: 'cdk-pipelines-github',
module: 'cdk_pipelines_github',
},
publishToMaven: {
javaPackage: 'io.github.cdklabs.cdkpipelines.github',
mavenGroupId: 'io.github.cdklabs',
mavenArtifactId: 'cdk-pipelines-github',
mavenEndpoint: 'https://s01.oss.sonatype.org',
},
publishToNuget: {
dotNetNamespace: 'Cdklabs.CdkPipelinesGitHub',
packageId: 'Cdklabs.CdkPipelinesGitHub',
},
});
// JSII sets this to `false` so we need to be compatible
const tsConfigDev = project.tryFindObjectFile('tsconfig.dev.json');
tsConfigDev?.patch(JsonPatch.replace('/compilerOptions/esModuleInterop', false));
project.synth();