@cfxlabsinc/nx-sstWorkspace-internal Nx plugin for the apps deployed with SST.
createNodesV2 watches **/sst.config.ts and contributes two targets:
| Target | Command |
|---|---|
deploy |
bun sst deploy --stage <stage> |
cancel |
bun sst unlock --stage <stage> |
Both default to the dev configuration; prod is the other. cancel releases the stage lock a killed or timed-out deploy leaves behind — the SST counterpart to pulumi cancel, which is where the name comes from.
nx deploy admin-dashboard # dev
nx deploy admin-dashboard -c prod
nx cancel admin-dashboard
forwardAllArgs: false is deliberate: the stage already arrives through the configuration's args, so forwarding the caller's argv too would pass --stage twice.
sst.config.ts is the markerIt is the file the SST CLI itself resolves to identify an app, so the targets exist exactly where sst would actually run — no tag to keep in sync. Today that is admin-dashboard, bank-dashboard and customer-dashboard.
Registered in workspace nx.json under plugins:
{
"plugin": "@cfxlabsinc/nx-sst",
"options": {}
}
Resolves through the workspace dependency in the root package.json:
"@cfxlabsinc/nx-sst": "workspace:*"