@codedrifters/configulator 0.0.324 → 0.0.325

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -11044,6 +11044,16 @@ interface DeployWorkflowOptions {
11044
11044
  */
11045
11045
  readonly deployAfterTargets?: Array<AwsDeploymentTarget>;
11046
11046
  }
11047
+ /**
11048
+ * Adds a build + deploy GitHub Actions workflow for an AwsCdkTypeScriptApp.
11049
+ *
11050
+ * Deploy URLs are surfaced via a naming convention: any CfnOutput whose
11051
+ * logical ID ends in `Endpoint` is rendered into the PR sticky comment and
11052
+ * the job summary. See the docs page for the full convention and naming
11053
+ * guidance.
11054
+ *
11055
+ * @see docs/packages/@codedrifters/configulator/workflows/aws-deploy-workflow.md
11056
+ */
11047
11057
  declare class AwsDeployWorkflow extends Component {
11048
11058
  project: AwsCdkTypeScriptApp;
11049
11059
  options: DeployWorkflowOptions;
package/lib/index.d.ts CHANGED
@@ -11093,6 +11093,16 @@ interface DeployWorkflowOptions {
11093
11093
  */
11094
11094
  readonly deployAfterTargets?: Array<AwsDeploymentTarget>;
11095
11095
  }
11096
+ /**
11097
+ * Adds a build + deploy GitHub Actions workflow for an AwsCdkTypeScriptApp.
11098
+ *
11099
+ * Deploy URLs are surfaced via a naming convention: any CfnOutput whose
11100
+ * logical ID ends in `Endpoint` is rendered into the PR sticky comment and
11101
+ * the job summary. See the docs page for the full convention and naming
11102
+ * guidance.
11103
+ *
11104
+ * @see docs/packages/@codedrifters/configulator/workflows/aws-deploy-workflow.md
11105
+ */
11096
11106
  declare class AwsDeployWorkflow extends Component {
11097
11107
  project: AwsCdkTypeScriptApp;
11098
11108
  options: DeployWorkflowOptions;
package/lib/index.js CHANGED
@@ -35707,6 +35707,8 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Compone
35707
35707
  if: "hashFiles('cdk-outputs.json') != ''",
35708
35708
  shell: "bash",
35709
35709
  run: [
35710
+ '# Convention: CfnOutputs whose logical ID ends in "Endpoint" are surfaced.',
35711
+ "# See docs/packages/@codedrifters/configulator/workflows/aws-deploy-workflow#surfacing-deploy-urls",
35710
35712
  'echo "## Deployed endpoints" >> "$GITHUB_STEP_SUMMARY"',
35711
35713
  `jq -r '[.[] | to_entries[] | select(.key | test("Endpoint$")) | .value] | .[] | "- [\\(.)](\\(.))"' cdk-outputs.json | tee deploy-urls.md >> "$GITHUB_STEP_SUMMARY"`,
35712
35714
  'echo "" >> "$GITHUB_STEP_SUMMARY"',