- stackDeps.js - parses the
cdk.out/manifest.json
and returns our stacks - generateStackGraphs.js - uses
stackDeps.js
andcdk synth
to generate thegraph.json
- graph.json - the generated graph from our
npx projen generate:stack-graphs
task - graphDeploy.js - custom projen deploy workflow that generates the
deploy.yml
for the project. We take the graph fromgenerated/graph.json
and create a workflow based on the dependencies.
# Generate the stack graphs first
npx projen generate:stack-graphs # custom task in .projenrc.js
# Then run projen default to create the workflow
npx projen