0.0.5 • Published 5 months ago

@plastic-ant/nx-cdk-local v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@plastic-ant/nx-cdk-local

MIT license Npm package version Downloads

An Nx (Project Crystal) plugin for developing with the AWS CDK Local(Stack)

Table of Contents

Install

# npm
npm install --save-dev @plastic-ant/nx-cdk-local

# yarn
yarn add --dev @plastic-ant/nx-cdk-local

Usage

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

"plugins": [
    {
      "plugin": "@plastic-ant/nx-cdk-local",
      "options": {
          synthTargetName     (optional) generated target synth, default cdk-local-synth
          deployTargetName    (optional) generated target deploy, default cdk-local-deploy
          bootstrapTargetName (optional) generated target bootstrap, default cdk-local-bootstrap
       }
    }
]

Included executors

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

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

License

This project is MIT licensed 2024 Plastic Ant Software

Links

0.0.5

5 months ago

0.0.4

6 months ago

0.0.3

7 months ago

0.0.2

8 months ago

0.0.1

10 months ago