@codedrifters/configulator 0.0.421 → 0.0.423
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 +81 -4
- package/lib/index.d.ts +81 -4
- package/lib/index.js +178 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +178 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +7 -7
package/lib/index.d.mts
CHANGED
|
@@ -11343,7 +11343,7 @@ declare const VERSION: {
|
|
|
11343
11343
|
/**
|
|
11344
11344
|
* Version of the AWS Constructs library to use.
|
|
11345
11345
|
*/
|
|
11346
|
-
readonly AWS_CONSTRUCTS_VERSION: "10.8.
|
|
11346
|
+
readonly AWS_CONSTRUCTS_VERSION: "10.8.1";
|
|
11347
11347
|
/**
|
|
11348
11348
|
* Version of Node.js to use in CI workflows at github actions.
|
|
11349
11349
|
*/
|
|
@@ -11356,11 +11356,11 @@ declare const VERSION: {
|
|
|
11356
11356
|
/**
|
|
11357
11357
|
* Version of PNPM to use in workflows at github actions.
|
|
11358
11358
|
*/
|
|
11359
|
-
readonly PNPM_VERSION: "11.
|
|
11359
|
+
readonly PNPM_VERSION: "11.20.0";
|
|
11360
11360
|
/**
|
|
11361
11361
|
* Version of Projen to use.
|
|
11362
11362
|
*/
|
|
11363
|
-
readonly PROJEN_VERSION: "0.101.
|
|
11363
|
+
readonly PROJEN_VERSION: "0.101.25";
|
|
11364
11364
|
/**
|
|
11365
11365
|
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
11366
11366
|
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
@@ -12342,6 +12342,36 @@ declare class AstroProject extends TypeScriptProject {
|
|
|
12342
12342
|
}
|
|
12343
12343
|
|
|
12344
12344
|
declare const PROD_DEPLOY_NAME = "prod-deploy";
|
|
12345
|
+
/**
|
|
12346
|
+
* Opt-in `cdk diff` capture for a deploy workflow.
|
|
12347
|
+
*
|
|
12348
|
+
* With `enabled` unset (the default), no diff jobs are emitted and the
|
|
12349
|
+
* generated workflow is byte-identical to one configured without a `diff`
|
|
12350
|
+
* block at all.
|
|
12351
|
+
*/
|
|
12352
|
+
interface DeployDiffOptions {
|
|
12353
|
+
/**
|
|
12354
|
+
* Emit one `cdk diff` job per deployment target.
|
|
12355
|
+
*
|
|
12356
|
+
* @default false
|
|
12357
|
+
*/
|
|
12358
|
+
readonly enabled?: boolean;
|
|
12359
|
+
/**
|
|
12360
|
+
* Upload the captured diff as a per-run CI artifact, named uniquely per
|
|
12361
|
+
* target so parallel diff jobs do not collide under `actions/upload-artifact`
|
|
12362
|
+
* v4+ immutability semantics.
|
|
12363
|
+
*
|
|
12364
|
+
* @default true (when `enabled`)
|
|
12365
|
+
*/
|
|
12366
|
+
readonly artifact?: boolean;
|
|
12367
|
+
/**
|
|
12368
|
+
* Render the captured diff into the job summary, wrapped in a `<details>`
|
|
12369
|
+
* block and truncated below GitHub's per-step summary limit.
|
|
12370
|
+
*
|
|
12371
|
+
* @default true (when `enabled`)
|
|
12372
|
+
*/
|
|
12373
|
+
readonly summary?: boolean;
|
|
12374
|
+
}
|
|
12345
12375
|
interface DeployWorkflowOptions {
|
|
12346
12376
|
/**
|
|
12347
12377
|
* What type of deploy is this workflow for?
|
|
@@ -12368,6 +12398,17 @@ interface DeployWorkflowOptions {
|
|
|
12368
12398
|
* Projects that should complete deployment before this one starts.
|
|
12369
12399
|
*/
|
|
12370
12400
|
readonly deployAfterTargets?: Array<AwsDeploymentTarget>;
|
|
12401
|
+
/**
|
|
12402
|
+
* Opt into a `cdk diff` job per deployment target.
|
|
12403
|
+
*
|
|
12404
|
+
* The `cdk diff` flags themselves are **not** configured here — they come
|
|
12405
|
+
* from the {@link CdkCli} precedence chain (per-stage built-in → per-stage
|
|
12406
|
+
* `diffDefaults` → per-account override → per-target `cdkOptions.diff`). This
|
|
12407
|
+
* option only controls whether the jobs are emitted and what they publish.
|
|
12408
|
+
*
|
|
12409
|
+
* @default - no diff jobs are emitted
|
|
12410
|
+
*/
|
|
12411
|
+
readonly diff?: DeployDiffOptions;
|
|
12371
12412
|
}
|
|
12372
12413
|
/**
|
|
12373
12414
|
* Adds a build + deploy GitHub Actions workflow for an AwsCdkTypeScriptApp.
|
|
@@ -12414,6 +12455,11 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12414
12455
|
* Projects that should complete deployment before this one starts.
|
|
12415
12456
|
*/
|
|
12416
12457
|
deployAfterTargets: Array<AwsDeploymentTarget>;
|
|
12458
|
+
/**
|
|
12459
|
+
* Resolved `cdk diff` capture settings. Every field is concrete so callers
|
|
12460
|
+
* never have to re-apply the defaults.
|
|
12461
|
+
*/
|
|
12462
|
+
readonly diffOptions: Required<DeployDiffOptions>;
|
|
12417
12463
|
constructor(project: AwsCdkTypeScriptApp, options?: DeployWorkflowOptions);
|
|
12418
12464
|
setupNode: () => Array<JobStep>;
|
|
12419
12465
|
setupPnpm: () => Array<JobStep>;
|
|
@@ -12424,6 +12470,21 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12424
12470
|
* header so dev/stage/prod comments don't collide on the same PR.
|
|
12425
12471
|
*/
|
|
12426
12472
|
private buildJobName;
|
|
12473
|
+
/**
|
|
12474
|
+
* Build the deterministic GitHub Actions job name for a target's `cdk diff`
|
|
12475
|
+
* job. Mirrors {@link buildJobName} with a `diff` verb so the diff and deploy
|
|
12476
|
+
* jobs for one target sort next to each other in the run view.
|
|
12477
|
+
*/
|
|
12478
|
+
private buildDiffJobName;
|
|
12479
|
+
/**
|
|
12480
|
+
* Build the CI artifact name for a target's captured diff.
|
|
12481
|
+
*
|
|
12482
|
+
* Carries every component that makes a target unique — including
|
|
12483
|
+
* `deploymentTargetRole`, which two otherwise-identical targets can differ
|
|
12484
|
+
* on. `actions/upload-artifact` v4+ treats artifacts as immutable and rejects
|
|
12485
|
+
* a duplicate name within a run, so parallel diff jobs cannot share one.
|
|
12486
|
+
*/
|
|
12487
|
+
private buildDiffArtifactName;
|
|
12427
12488
|
/**
|
|
12428
12489
|
* Builds a GitHub Actions condition string that checks if the current branch
|
|
12429
12490
|
* matches any of the provided branch patterns.
|
|
@@ -12436,6 +12497,22 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12436
12497
|
*/
|
|
12437
12498
|
private buildBranchFilterCondition;
|
|
12438
12499
|
private deploySteps;
|
|
12500
|
+
/**
|
|
12501
|
+
* Steps for a target's optional `cdk diff` job.
|
|
12502
|
+
*
|
|
12503
|
+
* Mirrors {@link deploySteps}' toolchain and credential setup — same pnpm /
|
|
12504
|
+
* Node setup, same floating `aws-cdk` install, same OIDC role — so both jobs
|
|
12505
|
+
* move together when the CLI version is pinned.
|
|
12506
|
+
*
|
|
12507
|
+
* The `cdk diff` flags come from the {@link CdkCli} precedence chain via
|
|
12508
|
+
* `diffOptionsFor(target)`, so `method`, `securityOnly`, `fail`, and the rest
|
|
12509
|
+
* are consumer-controlled per stage, per account, or per target. Four options
|
|
12510
|
+
* are pinned at the call site because the capture mechanism depends on them:
|
|
12511
|
+
* `app` and `stackPatterns` target the built cloud assembly, and `ci` /
|
|
12512
|
+
* `noColor` force the human-readable diff onto stdout without ANSI escapes
|
|
12513
|
+
* (without `--ci` the CLI interleaves it into stderr alongside logs).
|
|
12514
|
+
*/
|
|
12515
|
+
private diffSteps;
|
|
12439
12516
|
preSynthesize(): void;
|
|
12440
12517
|
}
|
|
12441
12518
|
|
|
@@ -14156,4 +14233,4 @@ declare function pinPnpmActionSetup(project: Project$1): void;
|
|
|
14156
14233
|
*/
|
|
14157
14234
|
declare function pinSetupNodeVersion(project: Project$1): void;
|
|
14158
14235
|
|
|
14159
|
-
export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, type ActionItemFilingConfig, type ActivateBranchNameEnvVarOptions, type AddStorybookOptions, type AgentCommand, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRegistryEntry, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, BUNDLE_OWNERSHIP, type BundleOwnership, CDK_BOOTSTRAP_DEFAULTS_BY_STAGE, CDK_DEPLOY_DEFAULTS_BY_STAGE, CDK_DEPLOY_METHOD, CDK_DESTROY_DEFAULTS_BY_STAGE, CDK_DIFF_DEFAULTS_BY_STAGE, CDK_DIFF_METHOD, CDK_GC_ACTION, CDK_GC_TYPE, CDK_INIT_LANGUAGE, CDK_INIT_TEMPLATE, CDK_PROGRESS, CDK_REQUIRE_APPROVAL, CDK_SYNTH_DEFAULTS_BY_STAGE, CDK_WATCH_DEFAULTS_BY_STAGE, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, CONVENTIONAL_COMMIT_TYPE_LABELS, type CdkAcknowledgeOptions, type CdkBootstrapOptions, CdkCli, type CdkCliOptions, type CdkContextOptions, type CdkDeployMethod, type CdkDeployOptions, type CdkDestroyOptions, type CdkDiffMethod, type CdkDiffOptions, type CdkDocsOptions, type CdkDoctorOptions, type CdkDriftOptions, type CdkFlagsOptions, type CdkGcAction, type CdkGcOptions, type CdkGcType, type CdkGlobalOptions, type CdkImportOptions, type CdkInitLanguage, type CdkInitOptions, type CdkInitTemplate, type CdkListOptions, type CdkMetadataOptions, type CdkMigrateOptions, type CdkNoticesOptions, type CdkOrphanOptions, type CdkProgress, type CdkPublishAssetsOptions, type CdkRefactorOptions, type CdkRequireApproval, type CdkRollbackOptions, type CdkSynthOptions, type CdkTargetOverrides, type CdkWatchOptions, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudeMdConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BASE_CONVENTIONS, DEFAULT_BUILD_POLICY, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_GITHUB_ISSUE_TYPE, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_ORCHESTRATOR_CONVENTIONS, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PATHS_EXEMPT_FROM_SIZE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIREMENT_CATEGORY_DIRS, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_RULE_CONVENTIONS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TEMPORAL_FRAMING_CADENCES, DEFAULT_TEMPORAL_FRAMING_EMIT_CHECKER, DEFAULT_TEMPORAL_FRAMING_ENABLED, DEFAULT_TEMPORAL_FRAMING_PATHS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, GITHUB_ISSUE_TYPES, GITHUB_ISSUE_TYPE_BY_TITLE_PREFIX, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type GithubIssueType, type IDependencyResolver, ISSUE_TEMPLATES_GENERATED_SUFFIX, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplateRecipeStub, type IssueTemplatesConfig, type IssueTypeAssignmentStepOptions, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, type MonorepoPnpmOptions, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PHASE_LABEL_TYPE_MAP, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, type PhaseLabelTypeOutcome, type PhaseLabelTypeResolution, PnpmWorkspace, type PnpmWorkspaceOptions, type PrReviewAutoMergeConfig, type PrReviewCiVerificationConfig, type PrReviewPolicyConfig, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, type ReactViteSiteProjectOptions, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, type RequirementBlockFields, type RequirementCategoryDirsConfig, RequirementIssueTemplate, type RequirementIssueTemplateOptions, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedBaseConventions, type ResolvedBuildPolicy, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedOrchestratorConventions, type ResolvedPrReviewAutoMerge, type ResolvedPrReviewPolicy, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRequirementCategoryDirs, type ResolvedRuleConventions, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedTemporalFraming, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SET_ISSUE_TYPE_HELPER_PATH, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, TEMPORAL_FRAMING_CATEGORY_VALUES, TURBO_RUN_CONTINUE, TURBO_RUN_DRY_RUN, TURBO_RUN_LOG_ORDER, TURBO_RUN_LOG_PREFIX, TURBO_RUN_OUTPUT_LOGS, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, type TurboRunContinue, type TurboRunDryRun, type TurboRunLogOrder, type TurboRunLogPrefix, type TurboRunOptions, type TurboRunOutputLogs, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addPlaywright, addStorybook, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildAgentRegistryRule, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildGithubWorkflowBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildPrReviewBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildTurborepoBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkClosingKeywordsProcedure, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, collectIssueTemplateRecipeStubs, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubIssueTypeForTitle, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, includeHiddenFilesInBuildArtifact, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, issueTemplatesChildGlob, issueTemplatesGeneratedPath, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, nextRequirementIdProcedure, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pinPnpmActionSetup, pinSetupNodeVersion, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCdkAcknowledge, renderCdkBootstrap, renderCdkContext, renderCdkDeploy, renderCdkDestroy, renderCdkDiff, renderCdkDocs, renderCdkDoctor, renderCdkDrift, renderCdkFlags, renderCdkGc, renderCdkImport, renderCdkInit, renderCdkList, renderCdkMetadata, renderCdkMigrate, renderCdkNotices, renderCdkOrphan, renderCdkPublishAssets, renderCdkRefactor, renderCdkRollback, renderCdkSynth, renderCdkWatch, renderCheckClosingKeywordsScript, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderGithubIssueTypeSection, renderGithubIssueTypeSectionLines, renderIssueTemplateLabelsCheckerScript, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesGeneratedPage, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderIssueTypeAssignmentBlanket, renderIssueTypeAssignmentStep, renderMeetingTypesSection, renderNextRequirementIdProcedure, renderPhaseTypeInvariantSection, renderPhaseTypeInvariantShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRequirementBlock, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSetIssueTypeFallbackLines, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStripToolArtifactTagsProcedure, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderTitlePrefixTypeBullets, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveBuildPolicy, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolvePrReviewPolicy, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeLabelForLabels, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, stripToolArtifactTagsProcedure, tsdocRecordToFindings, turborepoBundle, typeLabelForPhaseLabel, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePrReviewPolicyConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
|
14236
|
+
export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, type ActionItemFilingConfig, type ActivateBranchNameEnvVarOptions, type AddStorybookOptions, type AgentCommand, AgentConfig, type AgentConfigOptions, type AgentExpansionRules, type AgentFeaturesConfig, type AgentModel, type AgentPathsConfig, type AgentPlatform, type AgentPlatformOverrides, type AgentProcedure, type AgentRegistryEntry, type AgentRule, type AgentRuleBundle, type AgentRuleScope, type AgentSkill, type AgentSubAgent, type AgentSubAgentPlatformOverrides, type AgentTier, type AgentTierConfig, type AgentTierEntry, type AnalyzeTsDocCoverageOptions, type ApiDiffCheckOptions, type ApiDiffFinding, type ApiDiffResult, ApiExtractor, type ApiExtractorOptions, type ApiExtractorReportOptions, type ApiSurfaceEntry, type ApproveMergeUpgradeOptions, AstroConfig, type AstroConfigOptions, type AstroIntegrationSpec, AstroOutput, AstroProject, type AstroProjectOptions, AuditCategory, type AuditCheckRunner, type AuditCheckRunnerContext, type AuditFinding, type AuditFindingBase, type AuditLocation, AuditMode, type AuditReport, AuditSeverity, type AwsAccount, AwsCdkProject, type AwsCdkProjectOptions, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, type AwsDeploymentTargetOptions, type AwsLocalDeploymentConfig, type AwsOrganization, type AwsRegion, AwsTeardownWorkflow, type AwsTeardownWorkflowOptions, BUILT_IN_BUNDLES, BUNDLE_OWNERSHIP, type BundleOwnership, CDK_BOOTSTRAP_DEFAULTS_BY_STAGE, CDK_DEPLOY_DEFAULTS_BY_STAGE, CDK_DEPLOY_METHOD, CDK_DESTROY_DEFAULTS_BY_STAGE, CDK_DIFF_DEFAULTS_BY_STAGE, CDK_DIFF_METHOD, CDK_GC_ACTION, CDK_GC_TYPE, CDK_INIT_LANGUAGE, CDK_INIT_TEMPLATE, CDK_PROGRESS, CDK_REQUIRE_APPROVAL, CDK_SYNTH_DEFAULTS_BY_STAGE, CDK_WATCH_DEFAULTS_BY_STAGE, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, CONVENTIONAL_COMMIT_TYPE_LABELS, type CdkAcknowledgeOptions, type CdkBootstrapOptions, CdkCli, type CdkCliOptions, type CdkContextOptions, type CdkDeployMethod, type CdkDeployOptions, type CdkDestroyOptions, type CdkDiffMethod, type CdkDiffOptions, type CdkDocsOptions, type CdkDoctorOptions, type CdkDriftOptions, type CdkFlagsOptions, type CdkGcAction, type CdkGcOptions, type CdkGcType, type CdkGlobalOptions, type CdkImportOptions, type CdkInitLanguage, type CdkInitOptions, type CdkInitTemplate, type CdkListOptions, type CdkMetadataOptions, type CdkMigrateOptions, type CdkNoticesOptions, type CdkOrphanOptions, type CdkProgress, type CdkPublishAssetsOptions, type CdkRefactorOptions, type CdkRequireApproval, type CdkRollbackOptions, type CdkSynthOptions, type CdkTargetOverrides, type CdkWatchOptions, type CiDeploymentConfig, type ClassTypeOptions, type ClaudeAutoModeConfig, type ClaudeHookAction, type ClaudeHookEntry, type ClaudeHooksConfig, type ClaudeMdConfig, type ClaudePermissionsConfig, type ClaudeRuleTarget, type ClaudeSandboxConfig, type ClaudeSettingsConfig, type CompileFencedSamplesOptions, type CopilotHandoff, type CursorHookAction, type CursorHooksConfig, type CursorSettingsConfig, type CustomDocSection, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BASE_CONVENTIONS, DEFAULT_BUILD_POLICY, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_GITHUB_ISSUE_TYPE, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_ORCHESTRATOR_CONVENTIONS, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PATHS_EXEMPT_FROM_SIZE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIREMENT_CATEGORY_DIRS, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_RULE_CONVENTIONS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TEMPORAL_FRAMING_CADENCES, DEFAULT_TEMPORAL_FRAMING_EMIT_CHECKER, DEFAULT_TEMPORAL_FRAMING_ENABLED, DEFAULT_TEMPORAL_FRAMING_PATHS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, type DeployDiffOptions, type DeployWorkflowOptions, type DeploymentMetadata, type DocReferenceRecord, type EffectiveScopeThresholds, type ExtractDocReferencesOptions, type ExtractFencedSamplesOptions, type FencedSampleRecord, type FocusArea, type FocusAreaMatch, type FocusConfig, GITHUB_ISSUE_TYPES, GITHUB_ISSUE_TYPE_BY_TITLE_PREFIX, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type GithubIssueType, type IDependencyResolver, ISSUE_TEMPLATES_GENERATED_SUFFIX, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplateRecipeStub, type IssueTemplatesConfig, type IssueTypeAssignmentStepOptions, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, type LabelDefinition, type LayoutEnforcement, type LayoutViolation, type LinkFailureFinding, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, type McpServerConfig, type McpTransport, type MeetingArea, type MeetingScope, type MeetingType, type MeetingTypeKind, type MeetingsConfig, type MergeMethod, type MonorepoLayoutRoot, type MonorepoPnpmOptions, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PHASE_LABEL_TYPE_MAP, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, type PhaseLabelTypeOutcome, type PhaseLabelTypeResolution, PnpmWorkspace, type PnpmWorkspaceOptions, type PrReviewAutoMergeConfig, type PrReviewCiVerificationConfig, type PrReviewPolicyConfig, type PriorityRule, type ProgressFilesConfig, ProjectMetadata, type ProjectMetadataOptions, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, type ReactViteSiteProjectOptions, type ReferenceMismatchCheckOptions, type ReferenceMismatchFinding, type RemoteCacheOptions, type RepositoryMetadata, type RequirementBlockFields, type RequirementCategoryDirsConfig, RequirementIssueTemplate, type RequirementIssueTemplateOptions, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedBaseConventions, type ResolvedBuildPolicy, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedOrchestratorConventions, type ResolvedPrReviewAutoMerge, type ResolvedPrReviewPolicy, type ResolvedProgressFiles, type ResolvedProjectMetadata, type ResolvedRequirementCategoryDirs, type ResolvedRuleConventions, type ResolvedRunRatio, type ResolvedScheduledTask, type ResolvedScheduledTasks, type ResolvedScopeGate, type ResolvedScopeGateBundleOverride, type ResolvedSharedEditing, type ResolvedSkillEvals, type ResolvedTemporalFraming, type ResolvedUnblockDependents, type RunRatioConfig, type RunScanOptions, type RunScanResult, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SET_ISSUE_TYPE_HELPER_PATH, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, type SampleCompilationFailure, type SampleFailureFinding, SampleLang, type ScheduledTaskEntry, type ScheduledTaskModel, type ScheduledTaskOverride, type ScheduledTasksConfig, type ScopeClass, type ScopeGateBundleOverride, type ScopeGateConfig, type ScopeGateThresholds, type SharedEditingConfig, type SkillEvalsConfig, type SlackMetadata, type SourceTierExamples, type StarlightEditLink, type StarlightLogo, StarlightProject, type StarlightProjectOptions, type StarlightRole, type StarlightSidebarItem, type StarlightSingletonViolation, type StarlightSocialLink, type SyncLabelsOptions, TEMPORAL_FRAMING_CATEGORY_VALUES, TURBO_RUN_CONTINUE, TURBO_RUN_DRY_RUN, TURBO_RUN_LOG_ORDER, TURBO_RUN_LOG_PREFIX, TURBO_RUN_OUTPUT_LOGS, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, type TurboRunContinue, type TurboRunDryRun, type TurboRunLogOrder, type TurboRunLogPrefix, type TurboRunOptions, type TurboRunOutputLogs, TypeScriptConfig, TypeScriptProject, type TypeScriptProjectOptions, UNKNOWN_TYPE_FALLBACK_TIER, type UnblockDependentsConfig, type UpstreamConfigulatorConfig, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, type VersionKey, Vitest, type VitestConfigOptions, type VitestOptions, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addPlaywright, addStorybook, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildAgentRegistryRule, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildGithubWorkflowBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildPrReviewBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildTurborepoBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkClosingKeywordsProcedure, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, collectIssueTemplateRecipeStubs, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubIssueTypeForTitle, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, includeHiddenFilesInBuildArtifact, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, issueTemplatesChildGlob, issueTemplatesGeneratedPath, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, nextRequirementIdProcedure, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pinPnpmActionSetup, pinSetupNodeVersion, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCdkAcknowledge, renderCdkBootstrap, renderCdkContext, renderCdkDeploy, renderCdkDestroy, renderCdkDiff, renderCdkDocs, renderCdkDoctor, renderCdkDrift, renderCdkFlags, renderCdkGc, renderCdkImport, renderCdkInit, renderCdkList, renderCdkMetadata, renderCdkMigrate, renderCdkNotices, renderCdkOrphan, renderCdkPublishAssets, renderCdkRefactor, renderCdkRollback, renderCdkSynth, renderCdkWatch, renderCheckClosingKeywordsScript, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderGithubIssueTypeSection, renderGithubIssueTypeSectionLines, renderIssueTemplateLabelsCheckerScript, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesGeneratedPage, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderIssueTypeAssignmentBlanket, renderIssueTypeAssignmentStep, renderMeetingTypesSection, renderNextRequirementIdProcedure, renderPhaseTypeInvariantSection, renderPhaseTypeInvariantShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRequirementBlock, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSetIssueTypeFallbackLines, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStripToolArtifactTagsProcedure, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderTitlePrefixTypeBullets, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveBuildPolicy, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolvePrReviewPolicy, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeLabelForLabels, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, stripToolArtifactTagsProcedure, tsdocRecordToFindings, turborepoBundle, typeLabelForPhaseLabel, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePrReviewPolicyConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
package/lib/index.d.ts
CHANGED
|
@@ -11392,7 +11392,7 @@ declare const VERSION: {
|
|
|
11392
11392
|
/**
|
|
11393
11393
|
* Version of the AWS Constructs library to use.
|
|
11394
11394
|
*/
|
|
11395
|
-
readonly AWS_CONSTRUCTS_VERSION: "10.8.
|
|
11395
|
+
readonly AWS_CONSTRUCTS_VERSION: "10.8.1";
|
|
11396
11396
|
/**
|
|
11397
11397
|
* Version of Node.js to use in CI workflows at github actions.
|
|
11398
11398
|
*/
|
|
@@ -11405,11 +11405,11 @@ declare const VERSION: {
|
|
|
11405
11405
|
/**
|
|
11406
11406
|
* Version of PNPM to use in workflows at github actions.
|
|
11407
11407
|
*/
|
|
11408
|
-
readonly PNPM_VERSION: "11.
|
|
11408
|
+
readonly PNPM_VERSION: "11.20.0";
|
|
11409
11409
|
/**
|
|
11410
11410
|
* Version of Projen to use.
|
|
11411
11411
|
*/
|
|
11412
|
-
readonly PROJEN_VERSION: "0.101.
|
|
11412
|
+
readonly PROJEN_VERSION: "0.101.25";
|
|
11413
11413
|
/**
|
|
11414
11414
|
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
11415
11415
|
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
@@ -12391,6 +12391,36 @@ declare class AstroProject extends TypeScriptProject {
|
|
|
12391
12391
|
}
|
|
12392
12392
|
|
|
12393
12393
|
declare const PROD_DEPLOY_NAME = "prod-deploy";
|
|
12394
|
+
/**
|
|
12395
|
+
* Opt-in `cdk diff` capture for a deploy workflow.
|
|
12396
|
+
*
|
|
12397
|
+
* With `enabled` unset (the default), no diff jobs are emitted and the
|
|
12398
|
+
* generated workflow is byte-identical to one configured without a `diff`
|
|
12399
|
+
* block at all.
|
|
12400
|
+
*/
|
|
12401
|
+
interface DeployDiffOptions {
|
|
12402
|
+
/**
|
|
12403
|
+
* Emit one `cdk diff` job per deployment target.
|
|
12404
|
+
*
|
|
12405
|
+
* @default false
|
|
12406
|
+
*/
|
|
12407
|
+
readonly enabled?: boolean;
|
|
12408
|
+
/**
|
|
12409
|
+
* Upload the captured diff as a per-run CI artifact, named uniquely per
|
|
12410
|
+
* target so parallel diff jobs do not collide under `actions/upload-artifact`
|
|
12411
|
+
* v4+ immutability semantics.
|
|
12412
|
+
*
|
|
12413
|
+
* @default true (when `enabled`)
|
|
12414
|
+
*/
|
|
12415
|
+
readonly artifact?: boolean;
|
|
12416
|
+
/**
|
|
12417
|
+
* Render the captured diff into the job summary, wrapped in a `<details>`
|
|
12418
|
+
* block and truncated below GitHub's per-step summary limit.
|
|
12419
|
+
*
|
|
12420
|
+
* @default true (when `enabled`)
|
|
12421
|
+
*/
|
|
12422
|
+
readonly summary?: boolean;
|
|
12423
|
+
}
|
|
12394
12424
|
interface DeployWorkflowOptions {
|
|
12395
12425
|
/**
|
|
12396
12426
|
* What type of deploy is this workflow for?
|
|
@@ -12417,6 +12447,17 @@ interface DeployWorkflowOptions {
|
|
|
12417
12447
|
* Projects that should complete deployment before this one starts.
|
|
12418
12448
|
*/
|
|
12419
12449
|
readonly deployAfterTargets?: Array<AwsDeploymentTarget>;
|
|
12450
|
+
/**
|
|
12451
|
+
* Opt into a `cdk diff` job per deployment target.
|
|
12452
|
+
*
|
|
12453
|
+
* The `cdk diff` flags themselves are **not** configured here — they come
|
|
12454
|
+
* from the {@link CdkCli} precedence chain (per-stage built-in → per-stage
|
|
12455
|
+
* `diffDefaults` → per-account override → per-target `cdkOptions.diff`). This
|
|
12456
|
+
* option only controls whether the jobs are emitted and what they publish.
|
|
12457
|
+
*
|
|
12458
|
+
* @default - no diff jobs are emitted
|
|
12459
|
+
*/
|
|
12460
|
+
readonly diff?: DeployDiffOptions;
|
|
12420
12461
|
}
|
|
12421
12462
|
/**
|
|
12422
12463
|
* Adds a build + deploy GitHub Actions workflow for an AwsCdkTypeScriptApp.
|
|
@@ -12463,6 +12504,11 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12463
12504
|
* Projects that should complete deployment before this one starts.
|
|
12464
12505
|
*/
|
|
12465
12506
|
deployAfterTargets: Array<AwsDeploymentTarget>;
|
|
12507
|
+
/**
|
|
12508
|
+
* Resolved `cdk diff` capture settings. Every field is concrete so callers
|
|
12509
|
+
* never have to re-apply the defaults.
|
|
12510
|
+
*/
|
|
12511
|
+
readonly diffOptions: Required<DeployDiffOptions>;
|
|
12466
12512
|
constructor(project: AwsCdkTypeScriptApp, options?: DeployWorkflowOptions);
|
|
12467
12513
|
setupNode: () => Array<JobStep>;
|
|
12468
12514
|
setupPnpm: () => Array<JobStep>;
|
|
@@ -12473,6 +12519,21 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12473
12519
|
* header so dev/stage/prod comments don't collide on the same PR.
|
|
12474
12520
|
*/
|
|
12475
12521
|
private buildJobName;
|
|
12522
|
+
/**
|
|
12523
|
+
* Build the deterministic GitHub Actions job name for a target's `cdk diff`
|
|
12524
|
+
* job. Mirrors {@link buildJobName} with a `diff` verb so the diff and deploy
|
|
12525
|
+
* jobs for one target sort next to each other in the run view.
|
|
12526
|
+
*/
|
|
12527
|
+
private buildDiffJobName;
|
|
12528
|
+
/**
|
|
12529
|
+
* Build the CI artifact name for a target's captured diff.
|
|
12530
|
+
*
|
|
12531
|
+
* Carries every component that makes a target unique — including
|
|
12532
|
+
* `deploymentTargetRole`, which two otherwise-identical targets can differ
|
|
12533
|
+
* on. `actions/upload-artifact` v4+ treats artifacts as immutable and rejects
|
|
12534
|
+
* a duplicate name within a run, so parallel diff jobs cannot share one.
|
|
12535
|
+
*/
|
|
12536
|
+
private buildDiffArtifactName;
|
|
12476
12537
|
/**
|
|
12477
12538
|
* Builds a GitHub Actions condition string that checks if the current branch
|
|
12478
12539
|
* matches any of the provided branch patterns.
|
|
@@ -12485,6 +12546,22 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
12485
12546
|
*/
|
|
12486
12547
|
private buildBranchFilterCondition;
|
|
12487
12548
|
private deploySteps;
|
|
12549
|
+
/**
|
|
12550
|
+
* Steps for a target's optional `cdk diff` job.
|
|
12551
|
+
*
|
|
12552
|
+
* Mirrors {@link deploySteps}' toolchain and credential setup — same pnpm /
|
|
12553
|
+
* Node setup, same floating `aws-cdk` install, same OIDC role — so both jobs
|
|
12554
|
+
* move together when the CLI version is pinned.
|
|
12555
|
+
*
|
|
12556
|
+
* The `cdk diff` flags come from the {@link CdkCli} precedence chain via
|
|
12557
|
+
* `diffOptionsFor(target)`, so `method`, `securityOnly`, `fail`, and the rest
|
|
12558
|
+
* are consumer-controlled per stage, per account, or per target. Four options
|
|
12559
|
+
* are pinned at the call site because the capture mechanism depends on them:
|
|
12560
|
+
* `app` and `stackPatterns` target the built cloud assembly, and `ci` /
|
|
12561
|
+
* `noColor` force the human-readable diff onto stdout without ANSI escapes
|
|
12562
|
+
* (without `--ci` the CLI interleaves it into stderr alongside logs).
|
|
12563
|
+
*/
|
|
12564
|
+
private diffSteps;
|
|
12488
12565
|
preSynthesize(): void;
|
|
12489
12566
|
}
|
|
12490
12567
|
|
|
@@ -14206,4 +14283,4 @@ declare function pinPnpmActionSetup(project: Project): void;
|
|
|
14206
14283
|
declare function pinSetupNodeVersion(project: Project): void;
|
|
14207
14284
|
|
|
14208
14285
|
export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, AgentConfig, ApiExtractor, AstroConfig, AstroOutput, AstroProject, AuditCategory, AuditMode, AuditSeverity, AwsCdkProject, AwsDeployWorkflow, AwsDeploymentConfig, AwsDeploymentTarget, AwsTeardownWorkflow, BUILT_IN_BUNDLES, BUNDLE_OWNERSHIP, CDK_BOOTSTRAP_DEFAULTS_BY_STAGE, CDK_DEPLOY_DEFAULTS_BY_STAGE, CDK_DEPLOY_METHOD, CDK_DESTROY_DEFAULTS_BY_STAGE, CDK_DIFF_DEFAULTS_BY_STAGE, CDK_DIFF_METHOD, CDK_GC_ACTION, CDK_GC_TYPE, CDK_INIT_LANGUAGE, CDK_INIT_TEMPLATE, CDK_PROGRESS, CDK_REQUIRE_APPROVAL, CDK_SYNTH_DEFAULTS_BY_STAGE, CDK_WATCH_DEFAULTS_BY_STAGE, CLAUDE_RULE_TARGET, COMPLETE_JOB_ID, CONVENTIONAL_COMMIT_TYPE_LABELS, CdkCli, DEFAULT_AC_THRESHOLDS, DEFAULT_AGENT_PATHS, DEFAULT_AGENT_TIERS, DEFAULT_API_EXTRACTOR_CONFIG_FILE, DEFAULT_API_EXTRACTOR_ENTRY_POINT, DEFAULT_API_EXTRACTOR_REPORT_FILENAME, DEFAULT_API_EXTRACTOR_REPORT_FOLDER, DEFAULT_AUDIT_REPORT_DIR, DEFAULT_BASE_CONVENTIONS, DEFAULT_BUILD_POLICY, DEFAULT_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, DEFAULT_GITHUB_ISSUE_TYPE, DEFAULT_HOUSEKEEPING_MODEL, DEFAULT_ISSUE_PRIORITY, DEFAULT_ISSUE_STATUS, DEFAULT_ISSUE_TEMPLATES_BUNDLE_PATH_PATTERNS, DEFAULT_ISSUE_TEMPLATES_EMIT_CHECKER, DEFAULT_ISSUE_TEMPLATES_EMIT_STARTER, DEFAULT_ISSUE_TEMPLATES_ENABLED, DEFAULT_ISSUE_TEMPLATES_PATH, DEFAULT_ISSUE_TEMPLATES_REQUIRE_REFERENCE, DEFAULT_OFF_PEAK_CRON_EXAMPLE, DEFAULT_ORCHESTRATOR_CONVENTIONS, DEFAULT_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_PATHS_EXEMPT_FROM_SIZE, DEFAULT_PRIORITY_LABELS, DEFAULT_PRODUCT_CONTEXT_PATH, DEFAULT_PROGRESS_FILES_ENABLED, DEFAULT_PROGRESS_FILES_FILENAME_PATTERN, DEFAULT_PROGRESS_FILES_FORMAT, DEFAULT_PROGRESS_FILES_STALE_AFTER_HOURS, DEFAULT_PROGRESS_FILES_STATE_DIR, DEFAULT_REQUIREMENT_CATEGORY_DIRS, DEFAULT_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, DEFAULT_RULE_CONVENTIONS, DEFAULT_SAMPLE_COMPILER_OPTIONS, DEFAULT_SCHEDULED_TASKS_ROOT, DEFAULT_SCHEDULED_TASK_ENTRIES, DEFAULT_SHARED_EDITING_CONFLICT_STRATEGY, DEFAULT_SHARED_EDITING_EMIT_HELPER, DEFAULT_SHARED_EDITING_ENABLED, DEFAULT_SHARED_EDITING_VERIFY_COMMIT, DEFAULT_SHARED_INDEX_PATHS, DEFAULT_SKILL_EVALS_EMIT_RUNNER, DEFAULT_SKILL_EVALS_ENABLED, DEFAULT_SKILL_EVALS_SKILLS_ROOT, DEFAULT_SOURCES_THRESHOLDS, DEFAULT_STATE_FILE_PATH, DEFAULT_STATUS_LABELS, DEFAULT_TEARDOWN_BRANCH_PATTERNS, DEFAULT_TEMPORAL_FRAMING_CADENCES, DEFAULT_TEMPORAL_FRAMING_EMIT_CHECKER, DEFAULT_TEMPORAL_FRAMING_ENABLED, DEFAULT_TEMPORAL_FRAMING_PATHS, DEFAULT_TYPE_LABELS, DEFAULT_UNBLOCK_COMMENT_TEMPLATE, DEFAULT_UNBLOCK_DEPENDENTS_ENABLED, DEFAULT_UPSTREAM_CONFIGULATOR_ENABLED, DOCS_SYNC_AUDIT_SCHEMA_VERSION, GITHUB_ISSUE_TYPES, GITHUB_ISSUE_TYPE_BY_TITLE_PREFIX, ISSUE_TEMPLATES_GENERATED_SUFFIX, JsiiFaker, LAYOUT_ENFORCEMENT, LAYOUT_ROOT_BY_PROJECT_TYPE, MAX_LABEL_DESCRIPTION_LENGTH, MCP_TRANSPORT, MERGE_METHODS, MIMIMUM_RELEASE_AGE, MINIMUM_RELEASE_AGE, MONOREPO_LAYOUT, MonorepoProject, Nvmrc, PHASE_LABEL_TYPE_MAP, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, RequirementIssueTemplate, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SET_ISSUE_TYPE_HELPER_PATH, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, SampleLang, StarlightProject, TEMPORAL_FRAMING_CATEGORY_VALUES, TURBO_RUN_CONTINUE, TURBO_RUN_DRY_RUN, TURBO_RUN_LOG_ORDER, TURBO_RUN_LOG_PREFIX, TURBO_RUN_OUTPUT_LOGS, TestRunner, TsDocCoverageKind, TsdocConfig, TurboRepo, TurboRepoTask, TypeScriptConfig, TypeScriptProject, UNKNOWN_TYPE_FALLBACK_TIER, VALID_PRIORITY_VALUES, VALID_STATUS_VALUES, VERSION, VERSION_KEYS_SKIP, VERSION_NPM_PACKAGES, VSCodeConfig, Vitest, addApproveMergeUpgradeWorkflow, addBuildCompleteJob, addPlaywright, addStorybook, addSyncLabelsWorkflow, agendaBundle, analyzeTsDocCoverage, auditReportJsonSchema, awsCdkBundle, baseBundle, bcmWriterBundle, buildAgentRegistryRule, buildBaseBundle, buildBcmWriterBundle, buildBuiltInBundles, buildBusinessModelsBundle, buildCheckBlockedProcedure, buildCompanyProfileBundle, buildCustomerProfileBundle, buildDocsSyncBundle, buildGithubWorkflowBundle, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildPrReviewBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildTurborepoBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkClosingKeywordsProcedure, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, collectIssueTemplateRecipeStubs, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubIssueTypeForTitle, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, includeHiddenFilesInBuildArtifact, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, issueTemplatesChildGlob, issueTemplatesGeneratedPath, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, nextRequirementIdProcedure, orchestratorBundle, parseApiRollup, peopleProfileBundle, persistAuditReport, pinPnpmActionSetup, pinSetupNodeVersion, pnpmBundle, prReviewBundle, projenBundle, referenceRecordToFinding, regulatoryResearchBundle, renderAgentTierCaseStatement, renderAgentTierSection, renderCdkAcknowledge, renderCdkBootstrap, renderCdkContext, renderCdkDeploy, renderCdkDestroy, renderCdkDiff, renderCdkDocs, renderCdkDoctor, renderCdkDrift, renderCdkFlags, renderCdkGc, renderCdkImport, renderCdkInit, renderCdkList, renderCdkMetadata, renderCdkMigrate, renderCdkNotices, renderCdkOrphan, renderCdkPublishAssets, renderCdkRefactor, renderCdkRollback, renderCdkSynth, renderCdkWatch, renderCheckClosingKeywordsScript, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderGithubIssueTypeSection, renderGithubIssueTypeSectionLines, renderIssueTemplateLabelsCheckerScript, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesGeneratedPage, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderIssueTypeAssignmentBlanket, renderIssueTypeAssignmentStep, renderMeetingTypesSection, renderNextRequirementIdProcedure, renderPhaseTypeInvariantSection, renderPhaseTypeInvariantShellHelpers, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRequirementBlock, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSetIssueTypeFallbackLines, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStripToolArtifactTagsProcedure, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderTitlePrefixTypeBullets, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveBuildPolicy, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolvePrReviewPolicy, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeLabelForLabels, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, stripToolArtifactTagsProcedure, tsdocRecordToFindings, turborepoBundle, typeLabelForPhaseLabel, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validatePrReviewPolicyConfig, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
|
14209
|
-
export type { ActionItemFilingConfig, ActivateBranchNameEnvVarOptions, AddStorybookOptions, AgentCommand, AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRegistryEntry, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffCheckOptions, ApiDiffFinding, ApiDiffResult, ApiExtractorOptions, ApiExtractorReportOptions, ApiSurfaceEntry, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AuditCheckRunner, AuditCheckRunnerContext, AuditFinding, AuditFindingBase, AuditLocation, AuditReport, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, BundleOwnership, CdkAcknowledgeOptions, CdkBootstrapOptions, CdkCliOptions, CdkContextOptions, CdkDeployMethod, CdkDeployOptions, CdkDestroyOptions, CdkDiffMethod, CdkDiffOptions, CdkDocsOptions, CdkDoctorOptions, CdkDriftOptions, CdkFlagsOptions, CdkGcAction, CdkGcOptions, CdkGcType, CdkGlobalOptions, CdkImportOptions, CdkInitLanguage, CdkInitOptions, CdkInitTemplate, CdkListOptions, CdkMetadataOptions, CdkMigrateOptions, CdkNoticesOptions, CdkOrphanOptions, CdkProgress, CdkPublishAssetsOptions, CdkRefactorOptions, CdkRequireApproval, CdkRollbackOptions, CdkSynthOptions, CdkTargetOverrides, CdkWatchOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudeMdConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, EffectiveScopeThresholds, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, GithubIssueType, IDependencyResolver, IssueDefaultsConfig, IssueDefaultsOverride, IssueDefaultsPriority, IssueDefaultsStatus, IssueTemplateRecipeStub, IssueTemplatesConfig, IssueTypeAssignmentStepOptions, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoPnpmOptions, MonorepoProjectOptions, OrganizationMetadata, PhaseLabelTypeOutcome, PhaseLabelTypeResolution, PnpmWorkspaceOptions, PrReviewAutoMergeConfig, PrReviewCiVerificationConfig, PrReviewPolicyConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReactViteSiteProjectOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, RequirementBlockFields, RequirementCategoryDirsConfig, RequirementIssueTemplateOptions, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedBaseConventions, ResolvedBuildPolicy, ResolvedIssueDefaults, ResolvedIssueDefaultsEntry, ResolvedIssueTemplates, ResolvedOrchestratorConventions, ResolvedPrReviewAutoMerge, ResolvedPrReviewPolicy, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRequirementCategoryDirs, ResolvedRuleConventions, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedScopeGateBundleOverride, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedTemporalFraming, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateBundleOverride, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TemporalFramingCategory, TemporalFramingConfig, TsDocCoverageRecord, TsdocConfigOptions, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TurboRunContinue, TurboRunDryRun, TurboRunLogOrder, TurboRunLogPrefix, TurboRunOptions, TurboRunOutputLogs, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };
|
|
14286
|
+
export type { ActionItemFilingConfig, ActivateBranchNameEnvVarOptions, AddStorybookOptions, AgentCommand, AgentConfigOptions, AgentExpansionRules, AgentFeaturesConfig, AgentModel, AgentPathsConfig, AgentPlatform, AgentPlatformOverrides, AgentProcedure, AgentRegistryEntry, AgentRule, AgentRuleBundle, AgentRuleScope, AgentSkill, AgentSubAgent, AgentSubAgentPlatformOverrides, AgentTier, AgentTierConfig, AgentTierEntry, AnalyzeTsDocCoverageOptions, ApiDiffCheckOptions, ApiDiffFinding, ApiDiffResult, ApiExtractorOptions, ApiExtractorReportOptions, ApiSurfaceEntry, ApproveMergeUpgradeOptions, AstroConfigOptions, AstroIntegrationSpec, AstroProjectOptions, AuditCheckRunner, AuditCheckRunnerContext, AuditFinding, AuditFindingBase, AuditLocation, AuditReport, AwsAccount, AwsCdkProjectOptions, AwsDeploymentTargetOptions, AwsLocalDeploymentConfig, AwsOrganization, AwsRegion, AwsTeardownWorkflowOptions, BundleOwnership, CdkAcknowledgeOptions, CdkBootstrapOptions, CdkCliOptions, CdkContextOptions, CdkDeployMethod, CdkDeployOptions, CdkDestroyOptions, CdkDiffMethod, CdkDiffOptions, CdkDocsOptions, CdkDoctorOptions, CdkDriftOptions, CdkFlagsOptions, CdkGcAction, CdkGcOptions, CdkGcType, CdkGlobalOptions, CdkImportOptions, CdkInitLanguage, CdkInitOptions, CdkInitTemplate, CdkListOptions, CdkMetadataOptions, CdkMigrateOptions, CdkNoticesOptions, CdkOrphanOptions, CdkProgress, CdkPublishAssetsOptions, CdkRefactorOptions, CdkRequireApproval, CdkRollbackOptions, CdkSynthOptions, CdkTargetOverrides, CdkWatchOptions, CiDeploymentConfig, ClassTypeOptions, ClaudeAutoModeConfig, ClaudeHookAction, ClaudeHookEntry, ClaudeHooksConfig, ClaudeMdConfig, ClaudePermissionsConfig, ClaudeRuleTarget, ClaudeSandboxConfig, ClaudeSettingsConfig, CompileFencedSamplesOptions, CopilotHandoff, CursorHookAction, CursorHooksConfig, CursorSettingsConfig, CustomDocSection, DeployDiffOptions, DeployWorkflowOptions, DeploymentMetadata, DocReferenceRecord, EffectiveScopeThresholds, ExtractDocReferencesOptions, ExtractFencedSamplesOptions, FencedSampleRecord, FocusArea, FocusAreaMatch, FocusConfig, GitBranch, GitHubBoardMetadata, GitHubProjectMetadata, GitHubSprintMetadata, GithubIssueType, IDependencyResolver, IssueDefaultsConfig, IssueDefaultsOverride, IssueDefaultsPriority, IssueDefaultsStatus, IssueTemplateRecipeStub, IssueTemplatesConfig, IssueTypeAssignmentStepOptions, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoPnpmOptions, MonorepoProjectOptions, OrganizationMetadata, PhaseLabelTypeOutcome, PhaseLabelTypeResolution, PnpmWorkspaceOptions, PrReviewAutoMergeConfig, PrReviewCiVerificationConfig, PrReviewPolicyConfig, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReactViteSiteProjectOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, RequirementBlockFields, RequirementCategoryDirsConfig, RequirementIssueTemplateOptions, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedBaseConventions, ResolvedBuildPolicy, ResolvedIssueDefaults, ResolvedIssueDefaultsEntry, ResolvedIssueTemplates, ResolvedOrchestratorConventions, ResolvedPrReviewAutoMerge, ResolvedPrReviewPolicy, ResolvedProgressFiles, ResolvedProjectMetadata, ResolvedRequirementCategoryDirs, ResolvedRuleConventions, ResolvedRunRatio, ResolvedScheduledTask, ResolvedScheduledTasks, ResolvedScopeGate, ResolvedScopeGateBundleOverride, ResolvedSharedEditing, ResolvedSkillEvals, ResolvedTemporalFraming, ResolvedUnblockDependents, RunRatioConfig, RunScanOptions, RunScanResult, SampleCompilationFailure, SampleFailureFinding, ScheduledTaskEntry, ScheduledTaskModel, ScheduledTaskOverride, ScheduledTasksConfig, ScopeClass, ScopeGateBundleOverride, ScopeGateConfig, ScopeGateThresholds, SharedEditingConfig, SkillEvalsConfig, SlackMetadata, SourceTierExamples, StarlightEditLink, StarlightLogo, StarlightProjectOptions, StarlightRole, StarlightSidebarItem, StarlightSingletonViolation, StarlightSocialLink, SyncLabelsOptions, TemplateResolveResult, TemporalFramingCategory, TemporalFramingConfig, TsDocCoverageRecord, TsdocConfigOptions, TsdocCoverageCheckOptions, TsdocCoverageFinding, TurboRepoOptions, TurboRepoTaskOptions, TurboRunContinue, TurboRunDryRun, TurboRunLogOrder, TurboRunLogPrefix, TurboRunOptions, TurboRunOutputLogs, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };
|
package/lib/index.js
CHANGED
|
@@ -34812,7 +34812,7 @@ var VERSION = {
|
|
|
34812
34812
|
/**
|
|
34813
34813
|
* Version of the AWS Constructs library to use.
|
|
34814
34814
|
*/
|
|
34815
|
-
AWS_CONSTRUCTS_VERSION: "10.8.
|
|
34815
|
+
AWS_CONSTRUCTS_VERSION: "10.8.1",
|
|
34816
34816
|
/**
|
|
34817
34817
|
* Version of Node.js to use in CI workflows at github actions.
|
|
34818
34818
|
*/
|
|
@@ -34825,11 +34825,11 @@ var VERSION = {
|
|
|
34825
34825
|
/**
|
|
34826
34826
|
* Version of PNPM to use in workflows at github actions.
|
|
34827
34827
|
*/
|
|
34828
|
-
PNPM_VERSION: "11.
|
|
34828
|
+
PNPM_VERSION: "11.20.0",
|
|
34829
34829
|
/**
|
|
34830
34830
|
* Version of Projen to use.
|
|
34831
34831
|
*/
|
|
34832
|
-
PROJEN_VERSION: "0.101.
|
|
34832
|
+
PROJEN_VERSION: "0.101.25",
|
|
34833
34833
|
/**
|
|
34834
34834
|
* Version of `actions/setup-node` to use in GitHub workflows.
|
|
34835
34835
|
* Tracks the version projen currently emits (see node_modules/projen/lib/github/workflows.js).
|
|
@@ -42293,6 +42293,8 @@ var import_build = require("projen/lib/build");
|
|
|
42293
42293
|
var import_github6 = require("projen/lib/github");
|
|
42294
42294
|
var import_workflows_model5 = require("projen/lib/github/workflows-model");
|
|
42295
42295
|
var PROD_DEPLOY_NAME = "prod-deploy";
|
|
42296
|
+
var DIFF_OUTPUT_FILE = "cdk-diff.txt";
|
|
42297
|
+
var DIFF_SUMMARY_BYTE_LIMIT = 9e5;
|
|
42296
42298
|
var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Component {
|
|
42297
42299
|
constructor(project, options = {}) {
|
|
42298
42300
|
super(project);
|
|
@@ -42345,6 +42347,39 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Compone
|
|
|
42345
42347
|
target.region
|
|
42346
42348
|
].join("-");
|
|
42347
42349
|
};
|
|
42350
|
+
/**
|
|
42351
|
+
* Build the deterministic GitHub Actions job name for a target's `cdk diff`
|
|
42352
|
+
* job. Mirrors {@link buildJobName} with a `diff` verb so the diff and deploy
|
|
42353
|
+
* jobs for one target sort next to each other in the run view.
|
|
42354
|
+
*/
|
|
42355
|
+
this.buildDiffJobName = (target) => {
|
|
42356
|
+
return [
|
|
42357
|
+
target.awsStageType,
|
|
42358
|
+
target.deploymentTargetRole,
|
|
42359
|
+
"diff",
|
|
42360
|
+
target.project.name,
|
|
42361
|
+
target.account,
|
|
42362
|
+
target.region
|
|
42363
|
+
].join("-");
|
|
42364
|
+
};
|
|
42365
|
+
/**
|
|
42366
|
+
* Build the CI artifact name for a target's captured diff.
|
|
42367
|
+
*
|
|
42368
|
+
* Carries every component that makes a target unique — including
|
|
42369
|
+
* `deploymentTargetRole`, which two otherwise-identical targets can differ
|
|
42370
|
+
* on. `actions/upload-artifact` v4+ treats artifacts as immutable and rejects
|
|
42371
|
+
* a duplicate name within a run, so parallel diff jobs cannot share one.
|
|
42372
|
+
*/
|
|
42373
|
+
this.buildDiffArtifactName = (target) => {
|
|
42374
|
+
return [
|
|
42375
|
+
"cdk-diff",
|
|
42376
|
+
target.awsStageType,
|
|
42377
|
+
target.deploymentTargetRole,
|
|
42378
|
+
target.project.name,
|
|
42379
|
+
target.account,
|
|
42380
|
+
target.region
|
|
42381
|
+
].join("-");
|
|
42382
|
+
};
|
|
42348
42383
|
/**
|
|
42349
42384
|
* Builds a GitHub Actions condition string that checks if the current branch
|
|
42350
42385
|
* matches any of the provided branch patterns.
|
|
@@ -42462,6 +42497,127 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Compone
|
|
|
42462
42497
|
}
|
|
42463
42498
|
];
|
|
42464
42499
|
};
|
|
42500
|
+
/**
|
|
42501
|
+
* Steps for a target's optional `cdk diff` job.
|
|
42502
|
+
*
|
|
42503
|
+
* Mirrors {@link deploySteps}' toolchain and credential setup — same pnpm /
|
|
42504
|
+
* Node setup, same floating `aws-cdk` install, same OIDC role — so both jobs
|
|
42505
|
+
* move together when the CLI version is pinned.
|
|
42506
|
+
*
|
|
42507
|
+
* The `cdk diff` flags come from the {@link CdkCli} precedence chain via
|
|
42508
|
+
* `diffOptionsFor(target)`, so `method`, `securityOnly`, `fail`, and the rest
|
|
42509
|
+
* are consumer-controlled per stage, per account, or per target. Four options
|
|
42510
|
+
* are pinned at the call site because the capture mechanism depends on them:
|
|
42511
|
+
* `app` and `stackPatterns` target the built cloud assembly, and `ci` /
|
|
42512
|
+
* `noColor` force the human-readable diff onto stdout without ANSI escapes
|
|
42513
|
+
* (without `--ci` the CLI interleaves it into stderr alongside logs).
|
|
42514
|
+
*/
|
|
42515
|
+
this.diffSteps = (target) => {
|
|
42516
|
+
const {
|
|
42517
|
+
awsStageType,
|
|
42518
|
+
deploymentTargetRole,
|
|
42519
|
+
account,
|
|
42520
|
+
region,
|
|
42521
|
+
ciDeploymentConfig,
|
|
42522
|
+
awsDeploymentConfig
|
|
42523
|
+
} = target;
|
|
42524
|
+
const { roleArn, stackPattern } = ciDeploymentConfig ?? {};
|
|
42525
|
+
const { rootCdkOut } = awsDeploymentConfig;
|
|
42526
|
+
const label = `${awsStageType}/${deploymentTargetRole}/${account}/${region}`;
|
|
42527
|
+
const artifactName = this.buildDiffArtifactName(target);
|
|
42528
|
+
const capturedFileGuard = `always() && hashFiles('${DIFF_OUTPUT_FILE}') != ''`;
|
|
42529
|
+
const runUrl = "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}";
|
|
42530
|
+
return [
|
|
42531
|
+
...this.setupPnpm(),
|
|
42532
|
+
...this.setupNode(),
|
|
42533
|
+
/**
|
|
42534
|
+
* Install CDK
|
|
42535
|
+
*/
|
|
42536
|
+
{
|
|
42537
|
+
name: "Install CDK",
|
|
42538
|
+
run: "pnpm add aws-cdk"
|
|
42539
|
+
},
|
|
42540
|
+
/**
|
|
42541
|
+
* Configure AWS creds.
|
|
42542
|
+
*/
|
|
42543
|
+
{
|
|
42544
|
+
name: `AWS Creds ${label}`,
|
|
42545
|
+
uses: "aws-actions/configure-aws-credentials@v6",
|
|
42546
|
+
with: {
|
|
42547
|
+
"role-to-assume": roleArn,
|
|
42548
|
+
"aws-region": region,
|
|
42549
|
+
"role-duration-seconds": 900
|
|
42550
|
+
// 15 minutes
|
|
42551
|
+
}
|
|
42552
|
+
},
|
|
42553
|
+
/**
|
|
42554
|
+
* Run CDK Diff, capturing the output while leaving it visible in the job
|
|
42555
|
+
* log. `pipefail` keeps the CLI's exit code from being masked by `tee`.
|
|
42556
|
+
*/
|
|
42557
|
+
{
|
|
42558
|
+
name: `Diff ${label}`,
|
|
42559
|
+
shell: "bash",
|
|
42560
|
+
run: [
|
|
42561
|
+
"set -o pipefail",
|
|
42562
|
+
`pnpm dlx aws-cdk ${renderCdkDiff({
|
|
42563
|
+
...awsDeploymentConfig.cdkCli.diffOptionsFor(target),
|
|
42564
|
+
app: rootCdkOut,
|
|
42565
|
+
ci: true,
|
|
42566
|
+
noColor: true,
|
|
42567
|
+
stackPatterns: stackPattern ? [stackPattern] : void 0
|
|
42568
|
+
})} 2>&1 | tee ${DIFF_OUTPUT_FILE}`
|
|
42569
|
+
].join("\n")
|
|
42570
|
+
},
|
|
42571
|
+
/**
|
|
42572
|
+
* Render the captured diff into the job summary inside a collapsed
|
|
42573
|
+
* `<details>` block, truncated below GitHub's 1 MiB per-step cap — a
|
|
42574
|
+
* summary that exceeds the cap is dropped in full rather than clipped.
|
|
42575
|
+
*/
|
|
42576
|
+
...this.diffOptions.summary ? [
|
|
42577
|
+
{
|
|
42578
|
+
name: `Render diff summary ${label}`,
|
|
42579
|
+
if: capturedFileGuard,
|
|
42580
|
+
shell: "bash",
|
|
42581
|
+
run: [
|
|
42582
|
+
`size=$(wc -c < ${DIFF_OUTPUT_FILE})`,
|
|
42583
|
+
"{",
|
|
42584
|
+
` echo '## cdk diff \u2014 ${label}'`,
|
|
42585
|
+
' echo ""',
|
|
42586
|
+
" echo '<details><summary>cdk diff output</summary>'",
|
|
42587
|
+
' echo ""',
|
|
42588
|
+
" echo '```'",
|
|
42589
|
+
` if [ "$size" -gt ${DIFF_SUMMARY_BYTE_LIMIT} ]; then`,
|
|
42590
|
+
` head -c ${DIFF_SUMMARY_BYTE_LIMIT} ${DIFF_OUTPUT_FILE}`,
|
|
42591
|
+
` printf '\\n... truncated at ${DIFF_SUMMARY_BYTE_LIMIT} bytes ...\\n'`,
|
|
42592
|
+
" else",
|
|
42593
|
+
` cat ${DIFF_OUTPUT_FILE}`,
|
|
42594
|
+
" fi",
|
|
42595
|
+
" echo '```'",
|
|
42596
|
+
' echo ""',
|
|
42597
|
+
" echo '</details>'",
|
|
42598
|
+
...this.diffOptions.artifact ? [
|
|
42599
|
+
' echo ""',
|
|
42600
|
+
` echo 'Full diff: the \`${artifactName}\` artifact on [this run](${runUrl}).'`
|
|
42601
|
+
] : [],
|
|
42602
|
+
'} >> "$GITHUB_STEP_SUMMARY"'
|
|
42603
|
+
].join("\n")
|
|
42604
|
+
}
|
|
42605
|
+
] : [],
|
|
42606
|
+
/**
|
|
42607
|
+
* Upload the untruncated diff as a per-run artifact.
|
|
42608
|
+
*/
|
|
42609
|
+
...this.diffOptions.artifact ? [
|
|
42610
|
+
import_github6.WorkflowSteps.uploadArtifact({
|
|
42611
|
+
name: `Upload diff ${label}`,
|
|
42612
|
+
if: capturedFileGuard,
|
|
42613
|
+
with: {
|
|
42614
|
+
name: artifactName,
|
|
42615
|
+
path: DIFF_OUTPUT_FILE
|
|
42616
|
+
}
|
|
42617
|
+
})
|
|
42618
|
+
] : []
|
|
42619
|
+
];
|
|
42620
|
+
};
|
|
42465
42621
|
if (!(project.root instanceof MonorepoProject)) {
|
|
42466
42622
|
throw new Error(
|
|
42467
42623
|
"AwsDeployWorkflow requires the root project to be a MonorepoProject"
|
|
@@ -42481,6 +42637,11 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Compone
|
|
|
42481
42637
|
(target) => target.awsStageType === this.awsStageType && target.ciDeployment
|
|
42482
42638
|
) ?? [];
|
|
42483
42639
|
this.deployAfterTargets = options.deployAfterTargets ?? [];
|
|
42640
|
+
this.diffOptions = {
|
|
42641
|
+
enabled: options.diff?.enabled ?? false,
|
|
42642
|
+
artifact: options.diff?.artifact ?? true,
|
|
42643
|
+
summary: options.diff?.summary ?? true
|
|
42644
|
+
};
|
|
42484
42645
|
if (options.buildWorkflow && options.buildWorkflowOptions) {
|
|
42485
42646
|
throw new Error(
|
|
42486
42647
|
"Cannot provide both buildWorkflow and buildWorkflowOptions"
|
|
@@ -42580,6 +42741,20 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen26.Compone
|
|
|
42580
42741
|
if: jobCondition,
|
|
42581
42742
|
steps: [...this.deploySteps(target)]
|
|
42582
42743
|
});
|
|
42744
|
+
if (this.diffOptions.enabled) {
|
|
42745
|
+
const diffJobName = this.buildDiffJobName(target);
|
|
42746
|
+
this.buildWorkflow.addPostBuildJob(diffJobName, {
|
|
42747
|
+
name: `Diff ${this.project.name} ${target.awsStageType}/${target.deploymentTargetRole}/${target.account}/${target.region}`,
|
|
42748
|
+
needs: ["build"],
|
|
42749
|
+
runsOn: ["ubuntu-latest"],
|
|
42750
|
+
permissions: {
|
|
42751
|
+
contents: import_workflows_model5.JobPermission.READ,
|
|
42752
|
+
idToken: import_workflows_model5.JobPermission.WRITE
|
|
42753
|
+
},
|
|
42754
|
+
if: jobCondition,
|
|
42755
|
+
steps: [...this.diffSteps(target)]
|
|
42756
|
+
});
|
|
42757
|
+
}
|
|
42583
42758
|
});
|
|
42584
42759
|
addBuildCompleteJob(this.buildWorkflow);
|
|
42585
42760
|
}
|