0.1.2 • Published 1 year ago

@plastic-ant/nx-cdktf v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@plastic-ant/nx-cdktf

MIT license Npm package version Downloads

An Nx (Project Crystal) plugin for developing with the cdktf

Table of Contents

Install

# npm
npm install --save-dev @plastic-ant/nx-cdktf

# yarn
yarn add --dev @plastic-ant/nx-cdktf

Usage

For using the inferred tasks (Project Crystal) add the plugin to your nx.json config:

"plugins": [
    {
      "plugin": "@plastic-ant/nx-cdktf",
      "options": {
          synthTargetName  (optional) generated target synth, default cdktf-synth
          deployTargetName (optional) generated target deploy, default cdktf-deploy
          getTargetName    (optional) generated target get, default cdktf-get
       }
    }
]

Included executors

Each executor has options that mirror the same cdktf CLI command with the addtional of postTargets to be run synchronously.

"targets": {
      "get": {
        "executor": "@plastic-ant/nx-cdktf:get",
        "options": {
          "postTargets": []
        }
      },
      "synth": {
        "executor": "@plastic-ant/nx-cdktf:synth",
        "options": {
          "postTargets": ["{projectName}:postSynth"]
        }
      },
      "deploy": {
        "executor": "@plastic-ant/nx-cdktf:deploy",
        "options": {
          "postTargets": ["sendSQS"]
        }
      }
    }
    ...

License

This project is MIT licensed 2024 Plastic Ant Software

Links

0.7.11

11 months ago

0.7.10

12 months ago

0.7.9

12 months ago

0.8.4

7 months ago

0.7.5

12 months ago

0.7.8

12 months ago

0.7.7

12 months ago

0.8.1

9 months ago

0.8.0

11 months ago

0.8.3

8 months ago

0.8.2

9 months ago

0.7.3

12 months ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.5.6

1 year ago

0.3.7

1 year ago

0.5.4

1 year ago

0.5.0

1 year ago

0.2.0

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago