projen-cdktf-hybrid-construct 0.1.54 → 0.1.57
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.
- package/.gitattributes +0 -1
- package/.jsii +574 -0
- package/.projenrc.ts +17 -5
- package/API.md +7347 -0
- package/CHANGELOG.md +5 -7
- package/README.md +45 -21
- package/lib/defaults.d.ts +0 -1
- package/lib/defaults.js +1 -1
- package/lib/hybrid-module.d.ts +48 -20
- package/lib/hybrid-module.js +28 -20
- package/lib/index.js +3 -7
- package/lib/publishing.d.ts +5 -0
- package/lib/publishing.js +25 -3
- package/lib/terraform-module.d.ts +35 -16
- package/lib/terraform-module.js +19 -10
- package/node_modules/camel-case/LICENSE +21 -0
- package/node_modules/camel-case/README.md +47 -0
- package/node_modules/camel-case/dist/index.d.ts +5 -0
- package/node_modules/camel-case/dist/index.js +23 -0
- package/node_modules/camel-case/dist/index.js.map +1 -0
- package/node_modules/camel-case/dist/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist/index.spec.js +26 -0
- package/node_modules/camel-case/dist/index.spec.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/camel-case/dist.es2015/index.js +17 -0
- package/node_modules/camel-case/dist.es2015/index.js.map +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/camel-case/package.json +89 -0
- package/node_modules/capital-case/LICENSE +21 -0
- package/node_modules/capital-case/README.md +37 -0
- package/node_modules/capital-case/dist/index.d.ts +4 -0
- package/node_modules/capital-case/dist/index.js +16 -0
- package/node_modules/capital-case/dist/index.js.map +1 -0
- package/node_modules/capital-case/dist/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist/index.spec.js +24 -0
- package/node_modules/capital-case/dist/index.spec.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/capital-case/dist.es2015/index.js +11 -0
- package/node_modules/capital-case/dist.es2015/index.js.map +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/capital-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/capital-case/package.json +90 -0
- package/node_modules/change-case/LICENSE +21 -0
- package/node_modules/change-case/README.md +44 -0
- package/node_modules/change-case/dist/index.d.ts +11 -0
- package/node_modules/change-case/dist/index.js +15 -0
- package/node_modules/change-case/dist/index.js.map +1 -0
- package/node_modules/change-case/dist/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist/index.spec.js +9 -0
- package/node_modules/change-case/dist/index.spec.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.d.ts +11 -0
- package/node_modules/change-case/dist.es2015/index.js +12 -0
- package/node_modules/change-case/dist.es2015/index.js.map +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/change-case/dist.es2015/index.spec.js +7 -0
- package/node_modules/change-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/change-case/package.json +101 -0
- package/node_modules/constant-case/LICENSE +21 -0
- package/node_modules/constant-case/README.md +37 -0
- package/node_modules/constant-case/dist/index.d.ts +3 -0
- package/node_modules/constant-case/dist/index.js +12 -0
- package/node_modules/constant-case/dist/index.js.map +1 -0
- package/node_modules/constant-case/dist/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist/index.spec.js +26 -0
- package/node_modules/constant-case/dist/index.spec.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/constant-case/dist.es2015/index.js +8 -0
- package/node_modules/constant-case/dist.es2015/index.js.map +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/constant-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/constant-case/package.json +90 -0
- package/node_modules/dot-case/LICENSE +21 -0
- package/node_modules/dot-case/README.md +37 -0
- package/node_modules/dot-case/dist/index.d.ts +3 -0
- package/node_modules/dot-case/dist/index.js +11 -0
- package/node_modules/dot-case/dist/index.js.map +1 -0
- package/node_modules/dot-case/dist/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist/index.spec.js +26 -0
- package/node_modules/dot-case/dist/index.spec.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/dot-case/dist.es2015/index.js +7 -0
- package/node_modules/dot-case/dist.es2015/index.js.map +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
- package/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/dot-case/package.json +89 -0
- package/node_modules/header-case/LICENSE +21 -0
- package/node_modules/header-case/README.md +37 -0
- package/node_modules/header-case/dist/index.d.ts +3 -0
- package/node_modules/header-case/dist/index.js +11 -0
- package/node_modules/header-case/dist/index.js.map +1 -0
- package/node_modules/header-case/dist/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist/index.spec.js +24 -0
- package/node_modules/header-case/dist/index.spec.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/header-case/dist.es2015/index.js +7 -0
- package/node_modules/header-case/dist.es2015/index.js.map +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/header-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/header-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/header-case/package.json +89 -0
- package/node_modules/lower-case/LICENSE +21 -0
- package/node_modules/lower-case/README.md +35 -0
- package/node_modules/lower-case/dist/index.d.ts +8 -0
- package/node_modules/lower-case/dist/index.js +53 -0
- package/node_modules/lower-case/dist/index.js.map +1 -0
- package/node_modules/lower-case/dist/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist/index.spec.js +36 -0
- package/node_modules/lower-case/dist/index.spec.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/lower-case/dist.es2015/index.js +48 -0
- package/node_modules/lower-case/dist.es2015/index.js.map +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
- package/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/lower-case/package.json +87 -0
- package/node_modules/no-case/LICENSE +21 -0
- package/node_modules/no-case/README.md +37 -0
- package/node_modules/no-case/dist/index.d.ts +10 -0
- package/node_modules/no-case/dist/index.js +35 -0
- package/node_modules/no-case/dist/index.js.map +1 -0
- package/node_modules/no-case/dist/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist/index.spec.js +59 -0
- package/node_modules/no-case/dist/index.spec.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.d.ts +10 -0
- package/node_modules/no-case/dist.es2015/index.js +31 -0
- package/node_modules/no-case/dist.es2015/index.js.map +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/no-case/dist.es2015/index.spec.js +57 -0
- package/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/no-case/package.json +85 -0
- package/node_modules/param-case/LICENSE +21 -0
- package/node_modules/param-case/README.md +37 -0
- package/node_modules/param-case/dist/index.d.ts +3 -0
- package/node_modules/param-case/dist/index.js +11 -0
- package/node_modules/param-case/dist/index.js.map +1 -0
- package/node_modules/param-case/dist/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist/index.spec.js +24 -0
- package/node_modules/param-case/dist/index.spec.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/param-case/dist.es2015/index.js +7 -0
- package/node_modules/param-case/dist.es2015/index.js.map +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/param-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/param-case/package.json +91 -0
- package/node_modules/pascal-case/LICENSE +21 -0
- package/node_modules/pascal-case/README.md +47 -0
- package/node_modules/pascal-case/dist/index.d.ts +5 -0
- package/node_modules/pascal-case/dist/index.js +24 -0
- package/node_modules/pascal-case/dist/index.js.map +1 -0
- package/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist/index.spec.js +25 -0
- package/node_modules/pascal-case/dist/index.spec.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
- package/node_modules/pascal-case/dist.es2015/index.js +18 -0
- package/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/pascal-case/package.json +90 -0
- package/node_modules/path-case/LICENSE +21 -0
- package/node_modules/path-case/README.md +37 -0
- package/node_modules/path-case/dist/index.d.ts +3 -0
- package/node_modules/path-case/dist/index.js +11 -0
- package/node_modules/path-case/dist/index.js.map +1 -0
- package/node_modules/path-case/dist/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist/index.spec.js +24 -0
- package/node_modules/path-case/dist/index.spec.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/path-case/dist.es2015/index.js +7 -0
- package/node_modules/path-case/dist.es2015/index.js.map +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/path-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/path-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/path-case/package.json +88 -0
- package/node_modules/sentence-case/LICENSE +21 -0
- package/node_modules/sentence-case/README.md +37 -0
- package/node_modules/sentence-case/dist/index.d.ts +4 -0
- package/node_modules/sentence-case/dist/index.js +19 -0
- package/node_modules/sentence-case/dist/index.js.map +1 -0
- package/node_modules/sentence-case/dist/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist/index.spec.js +24 -0
- package/node_modules/sentence-case/dist/index.spec.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.d.ts +4 -0
- package/node_modules/sentence-case/dist.es2015/index.js +14 -0
- package/node_modules/sentence-case/dist.es2015/index.js.map +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js +22 -0
- package/node_modules/sentence-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/sentence-case/package.json +89 -0
- package/node_modules/snake-case/LICENSE +21 -0
- package/node_modules/snake-case/README.md +37 -0
- package/node_modules/snake-case/dist/index.d.ts +3 -0
- package/node_modules/snake-case/dist/index.js +11 -0
- package/node_modules/snake-case/dist/index.js.map +1 -0
- package/node_modules/snake-case/dist/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist/index.spec.js +25 -0
- package/node_modules/snake-case/dist/index.spec.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.d.ts +3 -0
- package/node_modules/snake-case/dist.es2015/index.js +7 -0
- package/node_modules/snake-case/dist.es2015/index.js.map +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js +23 -0
- package/node_modules/snake-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/snake-case/package.json +90 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/modules/index.js +55 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +38 -0
- package/node_modules/tslib/tslib.d.ts +398 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +248 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +317 -0
- package/node_modules/upper-case/README.md +34 -0
- package/node_modules/upper-case/dist/index.d.ts +8 -0
- package/node_modules/upper-case/dist/index.js +49 -0
- package/node_modules/upper-case/dist/index.js.map +1 -0
- package/node_modules/upper-case/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist/index.spec.js +34 -0
- package/node_modules/upper-case/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.d.ts +8 -0
- package/node_modules/upper-case/dist.es2015/index.js +44 -0
- package/node_modules/upper-case/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js +32 -0
- package/node_modules/upper-case/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case/package.json +86 -0
- package/node_modules/upper-case-first/LICENSE +21 -0
- package/node_modules/upper-case-first/README.md +32 -0
- package/node_modules/upper-case-first/dist/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist/index.js +11 -0
- package/node_modules/upper-case-first/dist/index.js.map +1 -0
- package/node_modules/upper-case-first/dist/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist/index.spec.js +20 -0
- package/node_modules/upper-case-first/dist/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.d.ts +4 -0
- package/node_modules/upper-case-first/dist.es2015/index.js +7 -0
- package/node_modules/upper-case-first/dist.es2015/index.js.map +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.d.ts +1 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js +18 -0
- package/node_modules/upper-case-first/dist.es2015/index.spec.js.map +1 -0
- package/node_modules/upper-case-first/package.json +87 -0
- package/node_modules/uuid/CHANGELOG.md +229 -0
- package/node_modules/uuid/CONTRIBUTING.md +18 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +505 -0
- package/node_modules/uuid/dist/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm-browser/index.js +9 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +215 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +35 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +19 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +96 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +64 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +24 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +7 -0
- package/node_modules/uuid/dist/esm-browser/version.js +11 -0
- package/node_modules/uuid/dist/esm-node/index.js +9 -0
- package/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/node_modules/uuid/dist/esm-node/nil.js +1 -0
- package/node_modules/uuid/dist/esm-node/parse.js +35 -0
- package/node_modules/uuid/dist/esm-node/regex.js +1 -0
- package/node_modules/uuid/dist/esm-node/rng.js +12 -0
- package/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/node_modules/uuid/dist/esm-node/stringify.js +29 -0
- package/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/node_modules/uuid/dist/esm-node/v35.js +64 -0
- package/node_modules/uuid/dist/esm-node/v4.js +24 -0
- package/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/node_modules/uuid/dist/esm-node/validate.js +7 -0
- package/node_modules/uuid/dist/esm-node/version.js +11 -0
- package/node_modules/uuid/dist/index.js +79 -0
- package/node_modules/uuid/dist/md5-browser.js +223 -0
- package/node_modules/uuid/dist/md5.js +23 -0
- package/node_modules/uuid/dist/nil.js +8 -0
- package/node_modules/uuid/dist/parse.js +45 -0
- package/node_modules/uuid/dist/regex.js +8 -0
- package/node_modules/uuid/dist/rng-browser.js +26 -0
- package/node_modules/uuid/dist/rng.js +24 -0
- package/node_modules/uuid/dist/sha1-browser.js +104 -0
- package/node_modules/uuid/dist/sha1.js +23 -0
- package/node_modules/uuid/dist/stringify.js +39 -0
- package/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidParse.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +85 -0
- package/node_modules/uuid/dist/v1.js +107 -0
- package/node_modules/uuid/dist/v3.js +16 -0
- package/node_modules/uuid/dist/v35.js +78 -0
- package/node_modules/uuid/dist/v4.js +37 -0
- package/node_modules/uuid/dist/v5.js +16 -0
- package/node_modules/uuid/dist/validate.js +17 -0
- package/node_modules/uuid/dist/version.js +21 -0
- package/node_modules/uuid/package.json +135 -0
- package/node_modules/uuid/wrapper.mjs +10 -0
- package/package.json +37 -6
- package/releasetag.txt +1 -0
- package/version.txt +1 -0
package/.gitattributes
CHANGED
package/.jsii
ADDED
@@ -0,0 +1,574 @@
|
|
1
|
+
{
|
2
|
+
"author": {
|
3
|
+
"email": "danielmschmidt92@gmail.com",
|
4
|
+
"name": "Daniel Schmidt",
|
5
|
+
"roles": [
|
6
|
+
"author"
|
7
|
+
]
|
8
|
+
},
|
9
|
+
"bundled": {
|
10
|
+
"change-case": "^4.1.2",
|
11
|
+
"uuid": "^8.3.2"
|
12
|
+
},
|
13
|
+
"dependencies": {
|
14
|
+
"projen": ">= 0.53.6"
|
15
|
+
},
|
16
|
+
"dependencyClosure": {
|
17
|
+
"projen": {
|
18
|
+
"submodules": {
|
19
|
+
"projen.awscdk": {},
|
20
|
+
"projen.build": {},
|
21
|
+
"projen.cdk": {},
|
22
|
+
"projen.cdk8s": {},
|
23
|
+
"projen.cdktf": {},
|
24
|
+
"projen.github": {},
|
25
|
+
"projen.github.workflows": {},
|
26
|
+
"projen.gitlab": {},
|
27
|
+
"projen.java": {},
|
28
|
+
"projen.javascript": {},
|
29
|
+
"projen.python": {},
|
30
|
+
"projen.release": {},
|
31
|
+
"projen.typescript": {},
|
32
|
+
"projen.vscode": {},
|
33
|
+
"projen.web": {}
|
34
|
+
},
|
35
|
+
"targets": {
|
36
|
+
"go": {
|
37
|
+
"moduleName": "github.com/projen/projen-go"
|
38
|
+
},
|
39
|
+
"java": {
|
40
|
+
"maven": {
|
41
|
+
"artifactId": "projen",
|
42
|
+
"groupId": "io.github.cdklabs"
|
43
|
+
},
|
44
|
+
"package": "io.github.cdklabs.projen"
|
45
|
+
},
|
46
|
+
"js": {
|
47
|
+
"npm": "projen"
|
48
|
+
},
|
49
|
+
"python": {
|
50
|
+
"distName": "projen",
|
51
|
+
"module": "projen"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"description": "Projen template for CDKTF Constructs that should also be used as Terraform Modules.",
|
57
|
+
"docs": {
|
58
|
+
"stability": "stable"
|
59
|
+
},
|
60
|
+
"homepage": "https://github.com/DanielMSchmidt/projen-cdktf-hybrid-construct.git",
|
61
|
+
"jsiiVersion": "1.57.0 (build f614666)",
|
62
|
+
"license": "MIT",
|
63
|
+
"metadata": {
|
64
|
+
"jsii": {
|
65
|
+
"pacmak": {
|
66
|
+
"hasDefaultInterfaces": true
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"tscRootDir": "src"
|
70
|
+
},
|
71
|
+
"name": "projen-cdktf-hybrid-construct",
|
72
|
+
"readme": {
|
73
|
+
"markdown": "# Projen-CDKTF-Hybrid-Construct\n\nProjen template for CDKTF Constructs that should also be used as Terraform Modules and for republishing Terraform Modules as Constructs.\n\n## Usage\n\n### `HybridModule`\n\nIf you want to write a CDKTF construct and also publish it as a Terraform Module you can use the `HybridModule` template.\n\nYou can initialize such a project using `npx projen new --from projen-cdktf-hybrid-construct hybrid-module`.\n\nA configutation might look like this:\n\n```js\nconst { HybridModule } = require(\"projen-cdktf-hybrid-construct\");\n\nconst project = new HybridModule({\n // The name of the module & repository need to start with terraform-cdk-\n name: \"terraform-cdk-my-new-hybrid-construct\",\n repositoryUrl:\n \"github.com/DanielMSchmidt/terraform-cdk-my-new-hybrid-construct\",\n\n author: \"Daniel Schmidt\",\n authorAddress: \"danielmschmidt92@gmail.com\",\n\n // If enabled an example folder with terraform code will be created\n terraformExamples: {\n enabled: true,\n folder: \"terraform\",\n // The configuration to add to the example terraform file\n providerConfig: `\n terraform {\n required_providers {\n aws = {\n source = \"hashicorp/aws\"\n version = \"~> 3.74\"\n }\n }\n # Terraform binary version constraint\n required_version = \"~> 1.1.0\"\n }\n\n\n provider \"aws\" {\n region = \"eu-central-1\"\n }\n `,\n },\n\n // If enabled a constructs example folder will be created\n constructExamples: {\n enabled: true,\n folder: \"construct-examples\",\n },\n});\nproject.synth();\n```\n\n### `TerraformModule`\n\nIf you want to republish an existing Terraform module as a CDKTF construct or if you want to repackage them with an easier to use API you can use the `TerraformModule` template.\n\nYou can initialize such a project using `npx projen new --from projen-cdktf-hybrid-construct terraform-module`.\n\nA configutation might look like this:\n\n```js\nconst { TerraformModule } = require(\"projen-cdktf-hybrid-construct\");\n\nconst project = new TerraformModule({\n name: \"my-module\",\n author: \"Daniel Schmidt\",\n authorAddress: \"danielmschmidt92@gmail.com\",\n repositoryUrl: \"github.com/DanielMSchmidt/my-module\",\n\n terraformModules: [\n {\n name: \"eks\",\n source: \"terraform-aws-modules/eks/aws\",\n version: \"~> 18.0\",\n },\n {\n name: \"eks-managed-nodegroup\",\n source: \"terraform-aws-modules/eks/aws//modules/eks-managed-node-group\",\n version: \"~> 18.0\",\n },\n ],\n});\n\nproject.synth();\n```\n\n## Publishing\n\n### Open Source\n\nWe have a helper method for easy configuration, but there are still some manual steps required.\n\n```js\nconst {\n HybridModule,\n publishToRegistries,\n} = require(\"projen-cdktf-hybrid-construct\");\n\nconst project = new HybridModule({\n // ... all the other options\n ...publishToRegistries({\n name: \"my-new-hybrid-construct\",\n namespace: \"my-org\",\n registries: [\"npm\", \"pypi\", \"nuget\", \"maven\"],\n }),\n});\n```\n\n#### Terraform\n\n1. [Sign in at the registry](https://registry.terraform.io/sign-in)\n2. [Select your repository](https://registry.terraform.io/github/create) and create the module\n\nPlease make sure your repository name starts with `terraform-cdk-`.\n\n#### npm (Typescript)\n\n1. Create an account at [npmjs.com](https://npmjs.com/)\n2. Create an [automation token](https://docs.npmjs.com/creating-and-viewing-access-tokens) on npm\n3. Create a [GitHub Action Secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) with the name `NPM_TOKEN` and the value of the token\n\n#### pypi (Python)\n\n1. Create an account at [pypi.org](https://pypi.org/)\n2. Create an [API token](https://pypi.org/help/#apitoken) on pypi\n3. Create a [GitHub Action Secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) with the name `TWINE_USERNAME` and the value `__token__` and a second one with the name `TWINE_PASSWORD` and the value of the token\n4. Set the `publishToPypi` section in the options of `HybridModule` or `TerraformModule` (or use the helper mentioned above)\n\n```js\nconst name = \"name-of-my-hybrid-construct\";\nnew HybridModule({\n name,\n // ... other options\n publishToPypi: {\n distName: name,\n module: name.replace(/-/g, \"_\"),\n },\n});\n```\n\n#### Maven (Java)\n\n1. [Create a Sonatype account and repository](https://central.sonatype.org/publish/publish-guide/#introduction)\n2. Create [GitHub Action Secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to configure maven:\n - `MAVEN_USERNAME`\n - `MAVEN_PASSWORD`\n - `MAVEN_STAGING_PROFILE_ID`\n - `MAVEN_GPG_PRIVATE_KEY_PASSPHRASE`\n - `MAVEN_GPG_PRIVATE_KEY_PASSPHRASE`\n3. Setup the `publishToMaven` section in the options of `HybridModule` or `TerraformModule` (or use the helper mentioned above)\n\n```js\nconst githubNamespace = \"my-org\";\nconst name = \"name-of-my-hybrid-construct\";\nnew HybridModule({\n name,\n // ... other options\n publishToMaven: {\n javaPackage: name.replace(/-/g, \"_\"),\n mavenGroupId: `com.${githubNamespace}`,\n mavenArtifactId: name,\n },\n});\n```\n\n#### NuGet (C#)\n\n1. [Create a NuGet account](https://www.nuget.org/users/account/LogOn) (you might need to create a Microsoft Account if you don't have one)\n2. [Create API keys](https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package#create-api-keys)\n3. Create a [GitHub Action Secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) with the name `NUGET_API_KEY` and the value of the token\n4. Setup the `publishToNuget` section in the options of `HybridModule` or `TerraformModule` (or use the helper mentioned above)\n\n```js\nconst githubNamespace = \"my-org\";\nconst name = \"name-of-my-hybrid-construct\";\n\nnew HybridModule({\n name,\n // ... other options\n publishToNuget: {\n dotNetNamespace: `MyOrg.NameOfMyHybridConstruct`,\n packageId: `MyOrg.NameOfMyHybridConstruct`,\n },\n});\n```\n\n### Github Packages\n\nWe have a helper method for easy configuration, no extra steps needed:\n\n```js\nconst {\n HybridModule,\n publishToGithubPackages,\n} = require(\"projen-cdktf-hybrid-construct\");\n\nconst project = new HybridModule({\n // ... all the other options\n ...publishToGithubPackages({\n name: \"my-new-hybrid-construct\",\n namespace: \"my-org\",\n registries: [\"npm\", \"maven\"], // pypi and nuget are not yet supported\n }),\n});\n```\n\n### Artifactory\n\nWe have a helper method for easy configuration, but there are also some manual steps required.\n\n```js\nconst {\n HybridModule,\n publishToGithubPackages,\n} = require(\"projen-cdktf-hybrid-construct\");\n\nconst project = new HybridModule({\n // ... all the other options\n ...publishToGithubPackages({\n name: \"my-new-hybrid-construct\",\n namespace: \"my-org\",\n registries: [\"npm\", \"pypi\", \"nuget\"], // maven is currently not supported, PRs welcome\n artifactoryApiUrl: \"https://artifactory.my-org.com/api/\",\n artifactoryRepository: \"my-repo\", // needs to be the same across all registries, defaults to namespace so \"my-org\" in this case\n }),\n});\n```\n\n#### Terraform\n\nYou can find more information about publishing Terraform Modules to Artifactory [here](https://www.jfrog.com/confluence/display/JFROG/Terraform+Registry#TerraformRegistry-SettingupaLocalModule/ProviderRegistry).\n\n#### npm (Typescript)\n\n1. [Create a virtual npm registry](https://www.jfrog.com/confluence/display/JFROG/npm+Registry#npmRegistry-VirtualnpmRegistry)\n2. [Authenticate against artifactory to get a token](https://www.jfrog.com/confluence/display/JFROG/npm+Registry#npmRegistry-AuthenticatingthenpmClient)\n3. Create a [GitHub Action Secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) with the name `NPM_TOKEN` and the value of the token\n\n#### pypi (Python)\n\n1. Create a [local repository](https://www.jfrog.com/confluence/display/JFROG/PyPI+Repositories#PyPIRepositories-LocalRepositories)\n2. Create a [GitHub Action Secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) with the name `TWINE_USERNAME` and the artifactory user name and a second one with the name `TWINE_PASSWORD` and the artifactory password\n"
|
74
|
+
},
|
75
|
+
"repository": {
|
76
|
+
"type": "git",
|
77
|
+
"url": "https://github.com/DanielMSchmidt/projen-cdktf-hybrid-construct.git"
|
78
|
+
},
|
79
|
+
"schema": "jsii/0.10.0",
|
80
|
+
"targets": {
|
81
|
+
"js": {
|
82
|
+
"npm": "projen-cdktf-hybrid-construct"
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"types": {
|
86
|
+
"projen-cdktf-hybrid-construct.ConstructExamplesOption": {
|
87
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
88
|
+
"datatype": true,
|
89
|
+
"docs": {
|
90
|
+
"stability": "stable"
|
91
|
+
},
|
92
|
+
"fqn": "projen-cdktf-hybrid-construct.ConstructExamplesOption",
|
93
|
+
"kind": "interface",
|
94
|
+
"locationInModule": {
|
95
|
+
"filename": "src/hybrid-module.ts",
|
96
|
+
"line": 6
|
97
|
+
},
|
98
|
+
"name": "ConstructExamplesOption",
|
99
|
+
"properties": [
|
100
|
+
{
|
101
|
+
"abstract": true,
|
102
|
+
"docs": {
|
103
|
+
"stability": "stable"
|
104
|
+
},
|
105
|
+
"immutable": true,
|
106
|
+
"locationInModule": {
|
107
|
+
"filename": "src/hybrid-module.ts",
|
108
|
+
"line": 8
|
109
|
+
},
|
110
|
+
"name": "enabled",
|
111
|
+
"type": {
|
112
|
+
"primitive": "boolean"
|
113
|
+
}
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"abstract": true,
|
117
|
+
"docs": {
|
118
|
+
"stability": "stable"
|
119
|
+
},
|
120
|
+
"immutable": true,
|
121
|
+
"locationInModule": {
|
122
|
+
"filename": "src/hybrid-module.ts",
|
123
|
+
"line": 10
|
124
|
+
},
|
125
|
+
"name": "folder",
|
126
|
+
"optional": true,
|
127
|
+
"type": {
|
128
|
+
"primitive": "string"
|
129
|
+
}
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"symbolId": "src/hybrid-module:ConstructExamplesOption"
|
133
|
+
},
|
134
|
+
"projen-cdktf-hybrid-construct.HybridModule": {
|
135
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
136
|
+
"base": "projen.cdk.JsiiProject",
|
137
|
+
"docs": {
|
138
|
+
"custom": {
|
139
|
+
"pjid": "hybrid-module"
|
140
|
+
},
|
141
|
+
"stability": "stable",
|
142
|
+
"summary": "Hybrid CDKTF Construct / Terraform Module."
|
143
|
+
},
|
144
|
+
"fqn": "projen-cdktf-hybrid-construct.HybridModule",
|
145
|
+
"initializer": {
|
146
|
+
"docs": {
|
147
|
+
"stability": "stable"
|
148
|
+
},
|
149
|
+
"locationInModule": {
|
150
|
+
"filename": "src/hybrid-module.ts",
|
151
|
+
"line": 144
|
152
|
+
},
|
153
|
+
"parameters": [
|
154
|
+
{
|
155
|
+
"name": "options",
|
156
|
+
"type": {
|
157
|
+
"fqn": "projen-cdktf-hybrid-construct.HybridModuleOptions"
|
158
|
+
}
|
159
|
+
}
|
160
|
+
]
|
161
|
+
},
|
162
|
+
"kind": "class",
|
163
|
+
"locationInModule": {
|
164
|
+
"filename": "src/hybrid-module.ts",
|
165
|
+
"line": 143
|
166
|
+
},
|
167
|
+
"name": "HybridModule",
|
168
|
+
"symbolId": "src/hybrid-module:HybridModule"
|
169
|
+
},
|
170
|
+
"projen-cdktf-hybrid-construct.HybridModuleOptions": {
|
171
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
172
|
+
"datatype": true,
|
173
|
+
"docs": {
|
174
|
+
"stability": "stable"
|
175
|
+
},
|
176
|
+
"fqn": "projen-cdktf-hybrid-construct.HybridModuleOptions",
|
177
|
+
"interfaces": [
|
178
|
+
"projen.cdk.ConstructLibraryOptions"
|
179
|
+
],
|
180
|
+
"kind": "interface",
|
181
|
+
"locationInModule": {
|
182
|
+
"filename": "src/hybrid-module.ts",
|
183
|
+
"line": 22
|
184
|
+
},
|
185
|
+
"name": "HybridModuleOptions",
|
186
|
+
"properties": [
|
187
|
+
{
|
188
|
+
"abstract": true,
|
189
|
+
"docs": {
|
190
|
+
"custom": {
|
191
|
+
"featured": "true"
|
192
|
+
},
|
193
|
+
"default": "\"^0.10.1\"",
|
194
|
+
"stability": "stable",
|
195
|
+
"summary": "Minimum target version of this library."
|
196
|
+
},
|
197
|
+
"immutable": true,
|
198
|
+
"locationInModule": {
|
199
|
+
"filename": "src/hybrid-module.ts",
|
200
|
+
"line": 28
|
201
|
+
},
|
202
|
+
"name": "cdktfVersion",
|
203
|
+
"optional": true,
|
204
|
+
"type": {
|
205
|
+
"primitive": "string"
|
206
|
+
}
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"abstract": true,
|
210
|
+
"docs": {
|
211
|
+
"custom": {
|
212
|
+
"featured": "true"
|
213
|
+
},
|
214
|
+
"default": "undefined",
|
215
|
+
"stability": "stable",
|
216
|
+
"summary": "If set a construct examples folder will be created."
|
217
|
+
},
|
218
|
+
"immutable": true,
|
219
|
+
"locationInModule": {
|
220
|
+
"filename": "src/hybrid-module.ts",
|
221
|
+
"line": 48
|
222
|
+
},
|
223
|
+
"name": "constructExamples",
|
224
|
+
"optional": true,
|
225
|
+
"type": {
|
226
|
+
"fqn": "projen-cdktf-hybrid-construct.ConstructExamplesOption"
|
227
|
+
}
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"abstract": true,
|
231
|
+
"docs": {
|
232
|
+
"default": "\"^10.0.12\"",
|
233
|
+
"stability": "stable",
|
234
|
+
"summary": "Construct version to use."
|
235
|
+
},
|
236
|
+
"immutable": true,
|
237
|
+
"locationInModule": {
|
238
|
+
"filename": "src/hybrid-module.ts",
|
239
|
+
"line": 34
|
240
|
+
},
|
241
|
+
"name": "constructVersion",
|
242
|
+
"optional": true,
|
243
|
+
"type": {
|
244
|
+
"primitive": "string"
|
245
|
+
}
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"abstract": true,
|
249
|
+
"docs": {
|
250
|
+
"stability": "stable",
|
251
|
+
"summary": "If set a terraform examples folder will be created Defaults to a uuid string as cdktf would Mostly used for testing to have a predictable result."
|
252
|
+
},
|
253
|
+
"immutable": true,
|
254
|
+
"locationInModule": {
|
255
|
+
"filename": "src/hybrid-module.ts",
|
256
|
+
"line": 55
|
257
|
+
},
|
258
|
+
"name": "projectId",
|
259
|
+
"optional": true,
|
260
|
+
"type": {
|
261
|
+
"primitive": "string"
|
262
|
+
}
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"abstract": true,
|
266
|
+
"docs": {
|
267
|
+
"custom": {
|
268
|
+
"featured": "true"
|
269
|
+
},
|
270
|
+
"default": "undefined",
|
271
|
+
"stability": "stable",
|
272
|
+
"summary": "If set a terraform examples folder will be created."
|
273
|
+
},
|
274
|
+
"immutable": true,
|
275
|
+
"locationInModule": {
|
276
|
+
"filename": "src/hybrid-module.ts",
|
277
|
+
"line": 41
|
278
|
+
},
|
279
|
+
"name": "terraformExamples",
|
280
|
+
"optional": true,
|
281
|
+
"type": {
|
282
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformExamplesOption"
|
283
|
+
}
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"symbolId": "src/hybrid-module:HybridModuleOptions"
|
287
|
+
},
|
288
|
+
"projen-cdktf-hybrid-construct.TerraformExamplesOption": {
|
289
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
290
|
+
"datatype": true,
|
291
|
+
"docs": {
|
292
|
+
"stability": "stable"
|
293
|
+
},
|
294
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformExamplesOption",
|
295
|
+
"kind": "interface",
|
296
|
+
"locationInModule": {
|
297
|
+
"filename": "src/hybrid-module.ts",
|
298
|
+
"line": 13
|
299
|
+
},
|
300
|
+
"name": "TerraformExamplesOption",
|
301
|
+
"properties": [
|
302
|
+
{
|
303
|
+
"abstract": true,
|
304
|
+
"docs": {
|
305
|
+
"stability": "stable"
|
306
|
+
},
|
307
|
+
"immutable": true,
|
308
|
+
"locationInModule": {
|
309
|
+
"filename": "src/hybrid-module.ts",
|
310
|
+
"line": 15
|
311
|
+
},
|
312
|
+
"name": "enabled",
|
313
|
+
"type": {
|
314
|
+
"primitive": "boolean"
|
315
|
+
}
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"abstract": true,
|
319
|
+
"docs": {
|
320
|
+
"stability": "stable"
|
321
|
+
},
|
322
|
+
"immutable": true,
|
323
|
+
"locationInModule": {
|
324
|
+
"filename": "src/hybrid-module.ts",
|
325
|
+
"line": 17
|
326
|
+
},
|
327
|
+
"name": "folder",
|
328
|
+
"optional": true,
|
329
|
+
"type": {
|
330
|
+
"primitive": "string"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"abstract": true,
|
335
|
+
"docs": {
|
336
|
+
"stability": "stable"
|
337
|
+
},
|
338
|
+
"immutable": true,
|
339
|
+
"locationInModule": {
|
340
|
+
"filename": "src/hybrid-module.ts",
|
341
|
+
"line": 19
|
342
|
+
},
|
343
|
+
"name": "providerConfig",
|
344
|
+
"optional": true,
|
345
|
+
"type": {
|
346
|
+
"primitive": "string"
|
347
|
+
}
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"symbolId": "src/hybrid-module:TerraformExamplesOption"
|
351
|
+
},
|
352
|
+
"projen-cdktf-hybrid-construct.TerraformModule": {
|
353
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
354
|
+
"base": "projen.cdk.ConstructLibrary",
|
355
|
+
"docs": {
|
356
|
+
"custom": {
|
357
|
+
"pjid": "terraform-module"
|
358
|
+
},
|
359
|
+
"stability": "stable",
|
360
|
+
"summary": "Terraform Modules republished as CDKTF Constructs."
|
361
|
+
},
|
362
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformModule",
|
363
|
+
"initializer": {
|
364
|
+
"docs": {
|
365
|
+
"stability": "stable"
|
366
|
+
},
|
367
|
+
"locationInModule": {
|
368
|
+
"filename": "src/terraform-module.ts",
|
369
|
+
"line": 51
|
370
|
+
},
|
371
|
+
"parameters": [
|
372
|
+
{
|
373
|
+
"name": "options",
|
374
|
+
"type": {
|
375
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformModuleOptions"
|
376
|
+
}
|
377
|
+
}
|
378
|
+
]
|
379
|
+
},
|
380
|
+
"kind": "class",
|
381
|
+
"locationInModule": {
|
382
|
+
"filename": "src/terraform-module.ts",
|
383
|
+
"line": 50
|
384
|
+
},
|
385
|
+
"name": "TerraformModule",
|
386
|
+
"symbolId": "src/terraform-module:TerraformModule"
|
387
|
+
},
|
388
|
+
"projen-cdktf-hybrid-construct.TerraformModuleOptions": {
|
389
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
390
|
+
"datatype": true,
|
391
|
+
"docs": {
|
392
|
+
"stability": "stable"
|
393
|
+
},
|
394
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformModuleOptions",
|
395
|
+
"interfaces": [
|
396
|
+
"projen.cdk.ConstructLibraryOptions"
|
397
|
+
],
|
398
|
+
"kind": "interface",
|
399
|
+
"locationInModule": {
|
400
|
+
"filename": "src/terraform-module.ts",
|
401
|
+
"line": 16
|
402
|
+
},
|
403
|
+
"name": "TerraformModuleOptions",
|
404
|
+
"properties": [
|
405
|
+
{
|
406
|
+
"abstract": true,
|
407
|
+
"docs": {
|
408
|
+
"custom": {
|
409
|
+
"featured": "true"
|
410
|
+
},
|
411
|
+
"stability": "stable",
|
412
|
+
"summary": "List of modules to generate bindings for."
|
413
|
+
},
|
414
|
+
"immutable": true,
|
415
|
+
"locationInModule": {
|
416
|
+
"filename": "src/terraform-module.ts",
|
417
|
+
"line": 39
|
418
|
+
},
|
419
|
+
"name": "terraformModules",
|
420
|
+
"type": {
|
421
|
+
"collection": {
|
422
|
+
"elementtype": {
|
423
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformVersionConstraint"
|
424
|
+
},
|
425
|
+
"kind": "array"
|
426
|
+
}
|
427
|
+
}
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"abstract": true,
|
431
|
+
"docs": {
|
432
|
+
"custom": {
|
433
|
+
"featured": "true"
|
434
|
+
},
|
435
|
+
"default": "\"^0.10.1\"",
|
436
|
+
"stability": "stable",
|
437
|
+
"summary": "Minimum target version of this library."
|
438
|
+
},
|
439
|
+
"immutable": true,
|
440
|
+
"locationInModule": {
|
441
|
+
"filename": "src/terraform-module.ts",
|
442
|
+
"line": 22
|
443
|
+
},
|
444
|
+
"name": "cdktfVersion",
|
445
|
+
"optional": true,
|
446
|
+
"type": {
|
447
|
+
"primitive": "string"
|
448
|
+
}
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"abstract": true,
|
452
|
+
"docs": {
|
453
|
+
"default": "\"^10.0.12\"",
|
454
|
+
"stability": "stable",
|
455
|
+
"summary": "Construct version to use."
|
456
|
+
},
|
457
|
+
"immutable": true,
|
458
|
+
"locationInModule": {
|
459
|
+
"filename": "src/terraform-module.ts",
|
460
|
+
"line": 28
|
461
|
+
},
|
462
|
+
"name": "constructVersion",
|
463
|
+
"optional": true,
|
464
|
+
"type": {
|
465
|
+
"primitive": "string"
|
466
|
+
}
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"abstract": true,
|
470
|
+
"docs": {
|
471
|
+
"stability": "stable"
|
472
|
+
},
|
473
|
+
"immutable": true,
|
474
|
+
"locationInModule": {
|
475
|
+
"filename": "src/terraform-module.ts",
|
476
|
+
"line": 42
|
477
|
+
},
|
478
|
+
"name": "projectId",
|
479
|
+
"optional": true,
|
480
|
+
"type": {
|
481
|
+
"primitive": "string"
|
482
|
+
}
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"abstract": true,
|
486
|
+
"docs": {
|
487
|
+
"stability": "stable",
|
488
|
+
"summary": "List of provider bindings to generate in addition to the modules."
|
489
|
+
},
|
490
|
+
"immutable": true,
|
491
|
+
"locationInModule": {
|
492
|
+
"filename": "src/terraform-module.ts",
|
493
|
+
"line": 33
|
494
|
+
},
|
495
|
+
"name": "terraformProviders",
|
496
|
+
"optional": true,
|
497
|
+
"type": {
|
498
|
+
"collection": {
|
499
|
+
"elementtype": {
|
500
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformVersionConstraint"
|
501
|
+
},
|
502
|
+
"kind": "array"
|
503
|
+
}
|
504
|
+
}
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"symbolId": "src/terraform-module:TerraformModuleOptions"
|
508
|
+
},
|
509
|
+
"projen-cdktf-hybrid-construct.TerraformVersionConstraint": {
|
510
|
+
"assembly": "projen-cdktf-hybrid-construct",
|
511
|
+
"datatype": true,
|
512
|
+
"docs": {
|
513
|
+
"stability": "stable"
|
514
|
+
},
|
515
|
+
"fqn": "projen-cdktf-hybrid-construct.TerraformVersionConstraint",
|
516
|
+
"kind": "interface",
|
517
|
+
"locationInModule": {
|
518
|
+
"filename": "src/terraform-module.ts",
|
519
|
+
"line": 7
|
520
|
+
},
|
521
|
+
"name": "TerraformVersionConstraint",
|
522
|
+
"properties": [
|
523
|
+
{
|
524
|
+
"abstract": true,
|
525
|
+
"docs": {
|
526
|
+
"stability": "stable"
|
527
|
+
},
|
528
|
+
"immutable": true,
|
529
|
+
"locationInModule": {
|
530
|
+
"filename": "src/terraform-module.ts",
|
531
|
+
"line": 9
|
532
|
+
},
|
533
|
+
"name": "name",
|
534
|
+
"type": {
|
535
|
+
"primitive": "string"
|
536
|
+
}
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"abstract": true,
|
540
|
+
"docs": {
|
541
|
+
"stability": "stable"
|
542
|
+
},
|
543
|
+
"immutable": true,
|
544
|
+
"locationInModule": {
|
545
|
+
"filename": "src/terraform-module.ts",
|
546
|
+
"line": 11
|
547
|
+
},
|
548
|
+
"name": "source",
|
549
|
+
"type": {
|
550
|
+
"primitive": "string"
|
551
|
+
}
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"abstract": true,
|
555
|
+
"docs": {
|
556
|
+
"stability": "stable"
|
557
|
+
},
|
558
|
+
"immutable": true,
|
559
|
+
"locationInModule": {
|
560
|
+
"filename": "src/terraform-module.ts",
|
561
|
+
"line": 13
|
562
|
+
},
|
563
|
+
"name": "version",
|
564
|
+
"type": {
|
565
|
+
"primitive": "string"
|
566
|
+
}
|
567
|
+
}
|
568
|
+
],
|
569
|
+
"symbolId": "src/terraform-module:TerraformVersionConstraint"
|
570
|
+
}
|
571
|
+
},
|
572
|
+
"version": "0.1.57",
|
573
|
+
"fingerprint": "0Hxvr6BJuoBmGHf3q6ahZPYWm4aPYSKWX8jCou+vPp0="
|
574
|
+
}
|
package/.projenrc.ts
CHANGED
@@ -1,10 +1,13 @@
|
|
1
|
-
import { typescript } from "projen";
|
2
1
|
import { NpmAccess } from "projen/lib/javascript";
|
2
|
+
import { JsiiProject } from "projen/lib/cdk";
|
3
3
|
|
4
4
|
const name = "projen-cdktf-hybrid-construct";
|
5
|
-
const project = new
|
5
|
+
const project = new JsiiProject({
|
6
6
|
defaultReleaseBranch: "main",
|
7
7
|
name,
|
8
|
+
repositoryUrl: `https://github.com/DanielMSchmidt/${name}.git`,
|
9
|
+
author: "Daniel Schmidt",
|
10
|
+
authorAddress: "danielmschmidt92@gmail.com",
|
8
11
|
packageName: name,
|
9
12
|
prettier: true,
|
10
13
|
projenrcTs: true,
|
@@ -13,9 +16,6 @@ const project = new typescript.TypeScriptProject({
|
|
13
16
|
license: "MIT",
|
14
17
|
copyrightOwner: "Daniel Schmidt",
|
15
18
|
|
16
|
-
deps: ["projen", "@types/uuid", "uuid", "@types/change-case", "change-case"],
|
17
|
-
devDeps: ["fs-extra", "glob", "@types/fs-extra", "@types/glob"],
|
18
|
-
|
19
19
|
release: true,
|
20
20
|
releaseToNpm: true,
|
21
21
|
npmAccess: NpmAccess.PUBLIC,
|
@@ -34,6 +34,18 @@ project.addTask("buildExample", {
|
|
34
34
|
exec: "yarn buildExample:hybrid && yarn buildExample:terraform",
|
35
35
|
});
|
36
36
|
|
37
|
+
project.addPeerDeps("projen@>= 0.53.6");
|
38
|
+
project.addBundledDeps("uuid", "change-case");
|
39
|
+
project.addDevDeps(
|
40
|
+
"fs-extra",
|
41
|
+
"glob",
|
42
|
+
"projen@0.53.6",
|
43
|
+
"@types/fs-extra",
|
44
|
+
"@types/glob",
|
45
|
+
"@types/uuid",
|
46
|
+
"@types/change-case"
|
47
|
+
);
|
48
|
+
|
37
49
|
project.addPackageIgnore("examples");
|
38
50
|
|
39
51
|
project.addTask("buildExample:hybrid", {
|