-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.projenrc.js
75 lines (64 loc) · 1.71 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
const { awscdk, TextFile, javascript } = require('projen');
const nodejsVersion = '14.17.6';
const project = new awscdk.AwsCdkConstructLibrary({
// Metadata
stability: 'experimental',
authorName: 'Alma Media',
authorOrganization: true,
authorAddress: 'opensource@almamedia.dev',
name: '@alma-cdk/cross-region-parameter',
description: 'Store AWS SSM Parameter Store Parameters into another AWS Region with AWS CDK',
repositoryUrl: 'https://github.com/alma-cdk/cross-region-parameter.git',
keywords: ['cdk', 'aws-cdk', 'awscdk', 'aws', 'cross-region', 'ssm', 'parameter'],
// Publish configuration
defaultReleaseBranch: 'main',
packageManager: javascript.NodePackageManager.NPM,
npmAccess: javascript.NpmAccess.PUBLIC,
// python: {
// distName: 'alma-cdk.cross-region-parameter',
// module: 'alma_cdk.cross_region_parameter',
// },
publishToGo: {
moduleName: 'github.com/alma-cdk/cross-region-parameter-go',
},
majorVersion: 0,
releaseBranches: {
beta: {
majorVersion: 1,
prerelease: 'beta',
npmDistTag: 'beta',
},
},
// Dependencies
minNodeVersion: nodejsVersion,
cdkVersion: '2.24.1',
constructsVersion: '10.0.0',
peerDeps: [
'constructs',
'aws-cdk-lib',
],
devDeps: [
'constructs',
'aws-cdk-lib',
'aws-sdk',
'@types/prettier@2.6.0',
'@types/change-case',
],
bundledDeps: [
'aws-sdk',
'change-case',
],
// Gitignore
gitignore: [
'.DS_Store',
'/examples/**/cdk.context.json',
'/examples/**/node_modules',
'/examples/**/cdk.out',
'/examples/**/.git',
],
});
new TextFile(project, '.nvmrc', {
lines: [nodejsVersion],
});
project.addPackageIgnore('/examples/');
project.synth();