projen-cdktf-hybrid-construct 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/.projenrc.ts +37 -0
  2. package/package.json +2 -1
package/.projenrc.ts ADDED
@@ -0,0 +1,37 @@
1
+ import { typescript } from "projen";
2
+ import { NpmAccess } from "projen/lib/javascript";
3
+
4
+ const name = "projen-cdktf-hybrid-construct";
5
+ const project = new typescript.TypeScriptProject({
6
+ defaultReleaseBranch: "main",
7
+ name,
8
+ packageName: name,
9
+ prettier: true,
10
+ projenrcTs: true,
11
+ description:
12
+ "Projen template for CDKTF Constructs that should also be used as Terraform Modules.",
13
+ license: "MIT",
14
+ copyrightOwner: "Daniel Schmidt",
15
+
16
+ deps: ["projen"],
17
+ devDeps: ["fs-extra", "glob", "@types/fs-extra", "@types/glob"],
18
+
19
+ release: true,
20
+ releaseToNpm: true,
21
+ npmAccess: NpmAccess.PUBLIC,
22
+ autoApproveUpgrades: true,
23
+ autoApproveProjenUpgrades: true,
24
+ autoApproveOptions: {
25
+ label: "auto-approve",
26
+ allowedUsernames: ["DanielMSchmidt", "github-bot"],
27
+ },
28
+ });
29
+ project.tsconfig?.exclude?.push("src/exampleCode/**");
30
+ project.tsconfig?.exclude?.push("example/**");
31
+
32
+ project.addTask("buildExample", {
33
+ exec: "yarn projen && yarn && yarn build",
34
+ cwd: "./example",
35
+ });
36
+
37
+ project.synth();
package/package.json CHANGED
@@ -47,6 +47,7 @@
47
47
  "projen": "^0.53.6",
48
48
  "standard-version": "^9",
49
49
  "ts-jest": "^27.1.3",
50
+ "ts-node": "^9",
50
51
  "typescript": "^4.6.2"
51
52
  },
52
53
  "dependencies": {
@@ -54,7 +55,7 @@
54
55
  },
55
56
  "main": "lib/index.js",
56
57
  "license": "MIT",
57
- "version": "0.1.1",
58
+ "version": "0.1.2",
58
59
  "jest": {
59
60
  "testMatch": [
60
61
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",