-
Notifications
You must be signed in to change notification settings - Fork 20
/
.projenrc.js
80 lines (69 loc) · 2.01 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
const { awscdk, javascript, release, DependencyType } = require("projen");
const CDK_VERSION = "2.117.0";
const project = new awscdk.AwsCdkConstructLibrary({
author: "AWS Professional Services",
authorAddress: "[email protected]",
description:
"The AWS DataOps Development Kit is an open source development framework for customers that build data workflows and modern data architecture on AWS.",
keywords: [
"cdk",
"ddk",
"data-analytics",
"data-pipelines",
"aws",
"aws-event-bridge",
"aws-codepipeline",
"aws-mwaa",
"aws-emr",
"aws-lambda",
"aws-sqs",
"aws-glue",
"aws-athena",
"aws-redshift",
"aws-kinesisfirehose",
"aws-sns",
],
cdkVersion: CDK_VERSION,
defaultReleaseBranch: "main",
majorVersion: 1,
publishDryRun: true,
releaseTrigger: release.ReleaseTrigger.manual(),
name: "aws-ddk-core",
repositoryUrl: "https://github.com/awslabs/aws-ddk/tree/main",
depsUpgradeOptions: {
workflowOptions: {
schedule: javascript.UpgradeDependenciesSchedule.WEEKLY,
},
},
// Artifact config: Python
publishToPypi: {
distName: "aws-ddk-core",
module: "aws_ddk_core",
},
prettier: true,
prettierOptions: {
settings: {
trailingComma: javascript.TrailingComma.ALL,
printWidth: 120,
},
},
gitignore: [".vscode/", "*.code-workspace", ".python-version", ".DS_Store", "**/*snapshot/*"],
});
// Experimental modules
[
"@aws-cdk/aws-kinesisfirehose-alpha",
"@aws-cdk/aws-kinesisfirehose-destinations-alpha",
"@aws-cdk/aws-glue-alpha",
"@aws-cdk/integ-tests-alpha",
].forEach((dep) => {
project.deps.addDependency(`${dep}@^${CDK_VERSION}-alpha.0`, DependencyType.PEER);
project.deps.addDependency(`${dep}@${CDK_VERSION}-alpha.0`, DependencyType.DEVENV);
});
// Other Bundled dependencies
["[email protected]", "ts-node", "yaml"].forEach((dep) => {
project.addBundledDeps(dep);
});
project.eslint.addRules({
"prettier/prettier": ["error", { singleQuote: false }],
});
project.synth();