-
Notifications
You must be signed in to change notification settings - Fork 1
/
.projenrc.js
53 lines (53 loc) · 1.6 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
const { awscdk } = require('projen');
const baselineCdkVersion = '2.42.1';
const pythonAlphaVersionSuffix = 'alpha.0';
const project = new awscdk.AwsCdkConstructLibrary({
author: 'Lumigo',
authorEmail: '[email protected]',
authorOrganization: true,
authorUrl: 'https://lumigo.io',
cdkVersion: baselineCdkVersion,
defaultReleaseBranch: 'main',
name: 'lumigo-cdk-constructs',
description: 'Home to the Lumigo constructs for the AWS Cloud Development Kit (AWS CDK)',
repositoryUrl: 'https://github.com/lumigo-io/lumigo-cdk-constructs.git',
bugsUrl: 'https://github.com/lumigo-io/lumigo-cdk-constructs/issues',
peerDeps: [
`aws-cdk-lib@^${baselineCdkVersion} < 3`,
`@aws-cdk/aws-lambda-python-alpha@>= ${baselineCdkVersion}-${pythonAlphaVersionSuffix} < 3`,
],
devDeps: [
'@jest/globals',
`aws-cdk-lib@${baselineCdkVersion}`,
`@aws-cdk/aws-lambda-python-alpha@${baselineCdkVersion}-${pythonAlphaVersionSuffix}`,
],
packageName: '@lumigo/cdk-constructs-v2', /* The "name" in package.json. */
keywords: [
'awscdk',
'cloud-native',
'infrastructure-as-code',
'observability',
'serverless',
'tracing',
],
majorVersion: 0,
projenTokenSecret: 'GITHUB_TOKEN',
dependabot: true,
dependabotOptions: {
// We want precisey these versions as baseline we support
ignore: [
{
dependencyName: 'aws-cdk-lib',
},
{
dependencyName: '@aws-cdk/aws-lambda-python-alpha',
},
],
},
});
project.package.addField('peerDependenciesMeta', {
'@aws-cdk/aws-lambda-python-alpha': {
optional: true,
},
});
project.synth();