-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.projenrc.js
66 lines (62 loc) · 2.31 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
54
55
56
57
58
59
60
61
62
63
64
65
66
const { AwsCdkConstructLibrary } = require('projen');
const project = new AwsCdkConstructLibrary({
author: 'Florian CHAZAL',
authorAddress: '[email protected]',
cdkVersion: '1.118.0',
defaultReleaseBranch: 'main',
name: 'synthetics-canaries-e2e-tests-runner',
repositoryUrl: 'https://github.com/flochaz/synthetics-canaries-e2e-tests-runner.git',
docgen: true,
cdkDependencies: [
'@aws-cdk/core',
'@aws-cdk/aws-synthetics',
'@aws-cdk/aws-stepfunctions',
'@aws-cdk/aws-stepfunctions-tasks',
'@aws-cdk/aws-lambda-nodejs',
'@aws-cdk/pipelines',
'@aws-cdk/aws-codepipeline-actions',
'@aws-cdk/aws-codepipeline',
'@aws-cdk/aws-apigateway',
'@aws-cdk/aws-iam',
'@aws-cdk/aws-datapipeline',
],
npmAccess: 'public',
releaseToNpm: true,
cdkVersionPinning: true,
// cdkTestDependencies: undefined, /* AWS CDK modules required for testing. */
// deps: ['aws-sdk'], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
devDeps: ['[email protected]', 'esbuild'] /* Build dependencies for this module. */,
// packageName: undefined, /* The "name" in package.json. */
// projectType: ProjectType.UNKNOWN, /* Which type of project this is (library/app). */
// release: undefined, /* Add release management to this project. */
// peerDeps: ['aws-sdk'],
// bundledDeps: ['aws-sdk'],
// tsconfig: {
// compilerOptions: {
// esModuleInterop: true,
// },
// },
keywords: ['stepFunctions', 'step-functions', 'canary', 'e2e', 'synthetics canary', 'cloudwatch synthetics'],
});
project.gitignore.addPatterns('cdk.out');
project.eslint.addOverride({
files: ['**/**Canary**'],
rules: {
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/**Canary**'],
optionalDependencies: false,
peerDependencies: true,
},
],
},
});
project.addTask('integ:pipeline:synth', {
exec: 'cdk synth --app=./lib/integrationTests/integ.pipeline-blocker.js --context newStyleStackSynthesis=true',
});
project.addTask('integ:pipeline:deploy', {
exec: 'cdk deploy --app=./lib/integrationTests/integ.pipeline-blocker.js --context newStyleStackSynthesis=true',
});
project.synth();