-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
62 lines (51 loc) · 1.87 KB
/
.projenrc.ts
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
import { AwsCdkConstructLibrary } from "@pepperize/projen-awscdk-construct";
import { javascript } from "projen";
const project = new AwsCdkConstructLibrary({
author: "Patrick Florek",
authorAddress: "[email protected]",
cdkVersion: "2.29.1",
defaultReleaseBranch: "main",
name: "@pepperize/cdk-lambda-deno",
description: "AWS CDK custom AWS Lambda runtime with Deno",
keywords: ["aws", "cdk", "lambda", "layer", "runtime", "function", "deno", "javascript", "typescript"],
repositoryUrl: "https://github.com/pepperize/cdk-lambda-deno.git",
projenrcTs: true,
devDeps: ["@pepperize/projen-awscdk-construct@~0.0.730", "@types/mock-fs", "mock-fs"],
releaseToNpm: true,
npmAccess: javascript.NpmAccess.PUBLIC,
publishToNuget: {
dotNetNamespace: "Pepperize.CDK",
packageId: "Pepperize.CDK.LambdaDeno",
},
publishToPypi: {
distName: "pepperize.cdk-lambda-deno",
module: "pepperize_cdk_lambda_deno",
},
publishToMaven: {
mavenEndpoint: "https://s01.oss.sonatype.org",
mavenGroupId: "com.pepperize",
mavenArtifactId: "cdk-lambda-deno",
javaPackage: "com.pepperize.cdk.lambda_deno",
},
gitpod: true,
});
project.addDevDeps("ts-node@^10");
project.addDevDeps("@types/jest@^27");
project.addDevDeps("jest@^27");
project.addDevDeps("ts-jest@^27");
project.addDevDeps("@types/[email protected]");
project.gitignore.exclude("src/layer.zip");
project.npmignore?.exclude("example/");
project.npmignore?.exclude("layer/");
project.npmignore?.exclude("src/layer.zip");
project.npmignore?.include("lib/layer.zip");
project.formatTask.reset(
"prettier --write example/**/*.ts src/**/*.ts test/**/*.ts .projenrc.ts CONTRIBUTING.md README.md"
);
project.gitpod?.addCustomTask({
name: "setup",
init: "yarn install && npx projen build",
command: "npx projen watch",
});
project.gitpod?.addVscodeExtensions("dbaeumer.vscode-eslint");
project.synth();