-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.projenrc.js
85 lines (83 loc) · 2.14 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
const { GemeenteNijmegenCdkApp } = require('@gemeentenijmegen/projen-project-type');
const project = new GemeenteNijmegenCdkApp({
cdkVersion: '2.22.0',
defaultReleaseBranch: 'production',
majorVersion: 1,
name: 'mijnnijmegen',
depsUpgradeOptions: {
workflowOptions: {
branches: ['development'],
labels: ['auto-merge'],
},
},
deps: [
'@aws-lambda-powertools/logger',
'@aws-sdk/client-dynamodb',
'@aws-sdk/client-secrets-manager',
'@gemeentenijmegen/projen-project-type',
'@gemeentenijmegen/aws-constructs',
'@gemeentenijmegen/apiclient',
'@gemeentenijmegen/apigateway-http',
'@gemeentenijmegen/session',
'@gemeentenijmegen/utils',
'dotenv',
'@aws-sdk/client-secrets-manager',
'@aws-solutions-constructs/aws-lambda-dynamodb',
'@pepperize/cdk-route53-health-check',
'cdk-remote-stack',
'openid-client',
'mustache',
'@types/mustache',
'axios',
'cookie',
'openid-client',
'object-mapper',
'xml2js',
'jsonwebtoken',
'zod',
'validator',
], /* Runtime dependencies of this module. */
devDeps: [
'@types/validator',
'@types/aws-lambda',
'@aws-sdk/types',
'@aws-sdk/client-ssm',
'aws-sdk-client-mock',
'axios-mock-adapter',
'copyfiles',
'@playwright/test',
'@playwright/test',
'aws-sdk-client-mock',
'@glen/jest-raw-loader',
'jest-aws-client-mock',
], /* Build dependencies for this module. */
mutableBuild: true,
jestOptions: {
jestConfig: {
setupFiles: ['dotenv/config'],
moduleFileExtensions: [
'js', 'json', 'jsx', 'ts', 'tsx', 'node', 'mustache',
],
transform: {
'\\.[jt]sx?$': 'ts-jest',
'^.+\\.mustache$': '@glen/jest-raw-loader',
},
testPathIgnorePatterns: ['/node_modules/', '/cdk.out', '/test/playwright'],
roots: ['src', 'test'],
},
},
eslintOptions: {
devdirs: ['src/**/tests', '/test', '/build-tools'],
},
bundlerOptions: {
loaders: {
mustache: 'text',
},
},
gitignore: [
'src/app/**/tests/output',
'test/playwright/report',
'test/playwright/screenshots',
],
});
project.synth();