@cfxlabsinc/nx-pulumiWorkspace-internal Nx plugin that contributes Pulumi targets to any project that has a pulumi/Pulumi.yaml.
The plugin's createNodesV2 watches for **/pulumi/Pulumi.yaml. When it finds one alongside the project's project.json, it contributes:
pulumi-up (dependsOn: ["build"])pulumi-preview (dependsOn: ["build"])pulumi-cancelpulumi-refreshpulumi-destroypulumi-stack-initEach target has dev and prod configurations (defaultConfiguration: "dev") wired to the right AWS profile and S3 backend bucket.
The full executor and command live in this plugin — no targetDefaults indirection. To change the Pulumi command shape, edit src/plugin.ts.
Plugin is registered in workspace nx.json under plugins:
{
"plugin": "@cfxlabsinc/nx-pulumi",
"options": {}
}
Resolves through the path mapping in tsconfig.base.json:
"@cfxlabsinc/nx-pulumi": ["./packages/nx-pulumi/src/index.ts"]