@cdktn/cli-core 0.25.0-pre.52 → 0.25.0-pre.54
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/build/lib/cdktf-project.d.ts +4 -1
- package/build/lib/cdktf-project.d.ts.map +1 -1
- package/build/lib/cdktf-project.js +45 -55
- package/build/lib/dependencies/dependency-manager.d.ts.map +1 -1
- package/build/lib/dependencies/dependency-manager.js +4 -1
- package/build/lib/dependencies/package-manager.d.ts.map +1 -1
- package/build/lib/dependencies/package-manager.js +92 -15
- package/build/lib/error-reporting.d.ts +1 -1
- package/build/lib/error-reporting.d.ts.map +1 -1
- package/build/lib/error-reporting.js +85 -29
- package/build/lib/init.d.ts +2 -1
- package/build/lib/init.d.ts.map +1 -1
- package/build/lib/init.js +42 -8
- package/build/lib/models/terraform-cli.d.ts.map +1 -1
- package/build/lib/models/terraform-cli.js +5 -2
- package/build/lib/synth-stack.d.ts +6 -2
- package/build/lib/synth-stack.d.ts.map +1 -1
- package/build/lib/synth-stack.js +23 -6
- package/build/lib/watch.d.ts.map +1 -1
- package/build/lib/watch.js +55 -24
- package/package.json +8 -9
- package/templates/csharp/cdktf.json +1 -0
- package/templates/go/cdktf.json +1 -0
- package/templates/java/cdktf.json +1 -0
- package/templates/python/cdktf.json +1 -0
- package/templates/python-pip/cdktf.json +1 -0
- package/templates/typescript/.hooks.sscaff.js +86 -4
- package/templates/typescript/cdktf.json +2 -1
- package/templates/typescript/help +16 -16
- package/templates/typescript/jest.config.js +1 -1
- package/templates/typescript/package.json +2 -2
- package/templates/typescript-pnpm/pnpm-workspace.yaml +4 -0
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
cat help Print this message
|
|
6
6
|
|
|
7
7
|
Compile:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
{{ pmRun }} get Import/update Terraform providers and modules (you should check-in this directory)
|
|
9
|
+
{{ pmRun }} compile Compile typescript code to javascript (or "{{ pmRun }} watch")
|
|
10
|
+
{{ pmRun }} watch Watch for changes and compile typescript in the background
|
|
11
|
+
{{ pmRun }} build Compile typescript
|
|
12
12
|
|
|
13
13
|
Synthesize:
|
|
14
14
|
cdktn synth [stack] Synthesize Terraform resources from stacks to cdktf.out/ (ready for 'terraform apply')
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
cdktn destroy [stack] Destroy the stack
|
|
24
24
|
|
|
25
25
|
Test:
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
{{ pmRun }} test Runs unit tests (edit __tests__/main-test.ts to add your own tests)
|
|
27
|
+
{{ pmRun }} test:watch Watches the tests and reruns them on change
|
|
28
28
|
|
|
29
29
|
Upgrades:
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
{{ pmRun }} upgrade Upgrade cdktn modules to latest version
|
|
31
|
+
{{ pmRun }} upgrade:next Upgrade cdktn modules to latest "@next" version (last commit)
|
|
32
32
|
|
|
33
33
|
Use Providers:
|
|
34
34
|
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
cdktn provider add "aws@~>3.0" null kreuzwerker/docker
|
|
38
38
|
|
|
39
39
|
You can find all prebuilt providers on npm: https://www.npmjs.com/search?q=keywords:cdktn
|
|
40
|
-
You can also install these providers directly through
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
You can also install these providers directly through {{ packageManager }}:
|
|
41
|
+
|
|
42
|
+
{{ pmAdd }} @cdktn/provider-aws
|
|
43
|
+
{{ pmAdd }} @cdktn/provider-google
|
|
44
|
+
{{ pmAdd }} @cdktn/provider-azurerm
|
|
45
|
+
{{ pmAdd }} @cdktn/provider-docker
|
|
46
|
+
{{ pmAdd }} @cdktn/provider-github
|
|
47
|
+
{{ pmAdd }} @cdktn/provider-null
|
|
48
48
|
|
|
49
49
|
You can also build any module or provider locally. Learn more https://cdktn.io/docs/concepts/providers
|
|
50
50
|
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"watch": "tsc -w",
|
|
14
14
|
"test": "jest",
|
|
15
15
|
"test:watch": "jest --watch",
|
|
16
|
-
"upgrade": "
|
|
17
|
-
"upgrade:next": "
|
|
16
|
+
"upgrade": "{{ pmAdd }} cdktn@latest cdktn-cli@latest",
|
|
17
|
+
"upgrade:next": "{{ pmAdd }} cdktn@next cdktn-cli@next"
|
|
18
18
|
},
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=22.0"
|