-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.ts
46 lines (36 loc) · 1.25 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
import { cdk, javascript } from "projen";
import { UpdateSnapshot } from "projen/lib/javascript";
const project = new cdk.JsiiProject({
author: "Ten Mile Square",
authorOrganization: true,
authorAddress: "rob@tenmilesquare.com",
npmAccess: javascript.NpmAccess.PUBLIC,
defaultReleaseBranch: "main",
jsiiVersion: "~5.3.0",
name: "tms-projen-projects",
packageName: "@10mi2/tms-projen-projects",
packageManager: javascript.NodePackageManager.NPM,
projenrcTs: true,
repositoryUrl: "https://github.com/10mi2/tms-projen-projects.git",
license: "MIT",
eslint: true,
prettier: true,
projenVersion: ">=0.79.23",
// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
// devDeps: [], /* Build dependencies for this module. */
// packageName: undefined, /* The "name" in package.json. */
peerDeps: ["projen", "constructs"],
jest: true,
jestOptions: {
updateSnapshot: UpdateSnapshot.NEVER,
},
});
if (project.jest) {
project.testTask.env(
"NODE_OPTIONS",
"$NODE_OPTIONS --experimental-vm-modules",
);
}
project.tsconfigDev.addExclude("samples");
project.synth();