forked from kcwinner/cdk-appsync-transformer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
96 lines (89 loc) · 2.12 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
86
87
88
89
90
91
92
93
94
95
96
const { AwsCdkConstructLibrary } = require('projen');
const project = new AwsCdkConstructLibrary({
authorAddress: 'kcswinner@gmail.com',
authorName: 'Ken Winner',
name: 'cdk-appsync-transformer',
repository: 'https://github.com/kcwinner/cdk-appsync-transformer.git',
stability: 'experimental',
catalog: {
twitter: 'KenWin0x539',
},
license: 'Apache-2.0',
workflowNodeVersion: '12.17.0',
defaultReleaseBranch: 'main',
typescriptVersion: '^4.1.2',
keywords: [
'aws',
'cdk',
'appsync',
'amplify',
],
mergify: false,
rebuildBot: false,
codeCov: true,
dependabotOptions: {
ignore: [
{ dependencyName: '@aws-cdk*' },
],
},
jestOptions: {
jestConfig: {
testPathIgnorePatterns: [
'<rootDir>/test/mappedTransformer',
],
},
},
// Ignore our generated appsync files
npmignore: [
'appsync/*',
],
gitignore: [
'appsync/*',
],
// Jsii packaging
python: {
distName: 'cdk-appsync-transformer',
module: 'cdk_appsync_transformer',
},
// Dependency information
cdkVersion: '1.77.0',
cdkDependencies: [
'@aws-cdk/aws-appsync',
'@aws-cdk/aws-cognito',
'@aws-cdk/aws-dynamodb',
'@aws-cdk/aws-iam',
'@aws-cdk/aws-lambda',
'@aws-cdk/core',
],
devDeps: [
'@types/deep-diff',
'@types/jest',
'@typescript-eslint/eslint-plugin',
'@typescript-eslint/parser',
'eslint',
'jest',
'ts-jest',
'cloudform-types@^4.2.0',
],
bundledDeps: [
'graphql@^14.5.8',
'graphql-auth-transformer',
'graphql-connection-transformer',
'graphql-dynamodb-transformer',
'graphql-function-transformer',
'graphql-http-transformer',
'graphql-key-transformer',
'graphql-mapping-template',
'graphql-relational-schema-transformer',
'graphql-transformer-common',
'graphql-transformer-core',
'graphql-ttl-transformer', // Community transformer
'graphql-versioned-transformer',
],
scripts: {
['prepare']: 'npm run compile',
},
});
// Override the @types/node version so dependabot leaves us alone
project.addDevDeps('@types/node@^10.17.48');
project.synth();