@codedrifters/configulator 0.0.319 → 0.0.320
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 +73 -1
- package/lib/index.d.ts +73 -1
- package/lib/index.js +80 -18
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +75 -14
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -12363,6 +12363,78 @@ declare const COMPLETE_JOB_ID = "complete";
|
|
|
12363
12363
|
*/
|
|
12364
12364
|
declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
12365
12365
|
|
|
12366
|
+
/**
|
|
12367
|
+
* Sets `with["include-hidden-files"] = true` on every build-artifact
|
|
12368
|
+
* `Upload artifact` step generated by projen's
|
|
12369
|
+
* {@code BuildWorkflow.renderBuildSteps()}.
|
|
12370
|
+
*
|
|
12371
|
+
* **Why this exists.** Projen's build workflow brackets the
|
|
12372
|
+
* `Upload artifact` step (for the `dist` build artifact) with a pair
|
|
12373
|
+
* of permission backup/restore steps:
|
|
12374
|
+
*
|
|
12375
|
+
* 1. `Backup artifact permissions` — runs
|
|
12376
|
+
* `cd dist && getfacl -R . > permissions-backup.acl` and captures
|
|
12377
|
+
* ACLs for **every** entry under `dist/`, including dotfiles
|
|
12378
|
+
* (`.pnpm`, `.travis.yml`, etc.).
|
|
12379
|
+
* 2. `Upload artifact` — uploads `dist` using `actions/upload-artifact`.
|
|
12380
|
+
* In `actions/upload-artifact` v4+, the default value of the
|
|
12381
|
+
* `include-hidden-files` input is `false`, so every hidden entry is
|
|
12382
|
+
* silently dropped from the artifact zip.
|
|
12383
|
+
* 3. `Restore build artifact permissions` (in each deploy job) — runs
|
|
12384
|
+
* `setfacl --restore=permissions-backup.acl`. The ACL backup
|
|
12385
|
+
* references hidden paths that no longer exist in the downloaded
|
|
12386
|
+
* artifact, so `setfacl` exits non-zero, producing a failure
|
|
12387
|
+
* annotation on every deploy job (`continue-on-error: true` masks
|
|
12388
|
+
* the job result but does not suppress the annotation).
|
|
12389
|
+
*
|
|
12390
|
+
* Setting `include-hidden-files: true` on the upload keeps the artifact
|
|
12391
|
+
* faithful to what `getfacl -R .` captured, eliminating the
|
|
12392
|
+
* `setfacl --restore` errors and preserving hidden files that CDK
|
|
12393
|
+
* assets legitimately depend on (e.g. the `.pnpm` store layout in a
|
|
12394
|
+
* bundled `node_modules/`).
|
|
12395
|
+
*
|
|
12396
|
+
* **Why this is a configulator patch instead of an upstream projen
|
|
12397
|
+
* change.** Projen exposed the `includeHiddenFiles` opt-in in
|
|
12398
|
+
* `actions/upload-artifact` via
|
|
12399
|
+
* [projen#3827](https://github.com/projen/projen/pull/3827) but never
|
|
12400
|
+
* plumbed it into its own `BuildWorkflow.renderBuildSteps()`
|
|
12401
|
+
* build-artifact upload. Until projen patches its own helper, this
|
|
12402
|
+
* helper is the downstream fix.
|
|
12403
|
+
*
|
|
12404
|
+
* **Why this is a separate helper.** Projen's BuildWorkflow stores
|
|
12405
|
+
* the build job's `steps` as a **lazy closure**
|
|
12406
|
+
* (`steps: () => this.renderBuildSteps(...)`), not an eager array, so
|
|
12407
|
+
* the `Upload artifact` step does not exist anywhere at
|
|
12408
|
+
* `preSynthesize` time. The two existing sibling helpers
|
|
12409
|
+
* ({@code pinPnpmActionSetup}, {@code pinSetupNodeVersion}) reach
|
|
12410
|
+
* lazy-closure steps by patching the component-level
|
|
12411
|
+
* `preBuildSteps` / `postBuildSteps` arrays the closure later
|
|
12412
|
+
* concatenates — that path does not work here because the build-
|
|
12413
|
+
* artifact upload is emitted **inside** `renderBuildSteps()` and is
|
|
12414
|
+
* never added to either component-level array.
|
|
12415
|
+
*
|
|
12416
|
+
* Instead, this helper wraps each job's `steps` closure: it replaces
|
|
12417
|
+
* the original `() => JobStep[]` with a new closure that invokes the
|
|
12418
|
+
* original and post-processes the rendered array to set
|
|
12419
|
+
* `with["include-hidden-files"] = true` on every matching step.
|
|
12420
|
+
* Eager (already-array) step lists are patched in place.
|
|
12421
|
+
*
|
|
12422
|
+
* **Matching rule.** A step is patched only when all three of the
|
|
12423
|
+
* following are true:
|
|
12424
|
+
*
|
|
12425
|
+
* - `step.name === "Upload artifact"`
|
|
12426
|
+
* - `step.uses` starts with `actions/upload-artifact@`
|
|
12427
|
+
* - `step.with.name === "build-artifact"`
|
|
12428
|
+
*
|
|
12429
|
+
* This deliberately misses other `actions/upload-artifact` steps in
|
|
12430
|
+
* the same workflow (e.g. the `turbo-runs` artifact, the `repo.patch`
|
|
12431
|
+
* self-mutation artifact) — those uploads do not source hidden files
|
|
12432
|
+
* and do not pair with a `setfacl --restore` restore step.
|
|
12433
|
+
*
|
|
12434
|
+
* @param project - The project whose GitHub workflows should be patched.
|
|
12435
|
+
*/
|
|
12436
|
+
declare function includeHiddenFilesInBuildArtifact(project: Project$1): void;
|
|
12437
|
+
|
|
12366
12438
|
/**
|
|
12367
12439
|
* Rewrites every `pnpm/action-setup@vX` step `uses` field reachable from
|
|
12368
12440
|
* a project's GitHub component (and its sub-projects) to the version
|
|
@@ -12439,4 +12511,4 @@ declare function pinPnpmActionSetup(project: Project$1): void;
|
|
|
12439
12511
|
*/
|
|
12440
12512
|
declare function pinSetupNodeVersion(project: Project$1): void;
|
|
12441
12513
|
|
|
12442
|
-
export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, 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, 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_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, 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_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, 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_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, 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, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplatesConfig, 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, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, 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, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, 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, 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, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, 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, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, 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, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
|
12514
|
+
export { AGENT_MODEL, AGENT_PLATFORM, AGENT_REGISTRY_ENTRIES, AGENT_RULE_SCOPE, AGENT_TIER_ROLES, AGENT_TIER_VALUES, AUDIT_CATEGORY_ORDER, 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, 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_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, 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_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, 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_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, 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, type GitBranch, type GitHubBoardMetadata, type GitHubProjectMetadata, type GitHubSprintMetadata, type IDependencyResolver, type IssueDefaultsConfig, type IssueDefaultsOverride, type IssueDefaultsPriority, type IssueDefaultsStatus, type IssueTemplatesConfig, 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, MonorepoProject, type MonorepoProjectOptions, Nvmrc, type OrganizationMetadata, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, type PnpmWorkspaceOptions, 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, ResetTask, type ResetTaskOptions, type ResolvedAgentPaths, type ResolvedAgentTier, type ResolvedIssueDefaults, type ResolvedIssueDefaultsEntry, type ResolvedIssueTemplates, type ResolvedProgressFiles, type ResolvedProjectMetadata, 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, 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, type TemplateResolveResult, type TemporalFramingCategory, type TemporalFramingConfig, TestRunner, TsDocCoverageKind, type TsDocCoverageRecord, TsdocConfig, type TsdocConfigOptions, type TsdocCoverageCheckOptions, type TsdocCoverageFinding, TurboRepo, type TurboRepoOptions, TurboRepoTask, type TurboRepoTaskOptions, 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, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, includeHiddenFilesInBuildArtifact, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, 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, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
package/lib/index.d.ts
CHANGED
|
@@ -12412,6 +12412,78 @@ declare const COMPLETE_JOB_ID = "complete";
|
|
|
12412
12412
|
*/
|
|
12413
12413
|
declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
12414
12414
|
|
|
12415
|
+
/**
|
|
12416
|
+
* Sets `with["include-hidden-files"] = true` on every build-artifact
|
|
12417
|
+
* `Upload artifact` step generated by projen's
|
|
12418
|
+
* {@code BuildWorkflow.renderBuildSteps()}.
|
|
12419
|
+
*
|
|
12420
|
+
* **Why this exists.** Projen's build workflow brackets the
|
|
12421
|
+
* `Upload artifact` step (for the `dist` build artifact) with a pair
|
|
12422
|
+
* of permission backup/restore steps:
|
|
12423
|
+
*
|
|
12424
|
+
* 1. `Backup artifact permissions` — runs
|
|
12425
|
+
* `cd dist && getfacl -R . > permissions-backup.acl` and captures
|
|
12426
|
+
* ACLs for **every** entry under `dist/`, including dotfiles
|
|
12427
|
+
* (`.pnpm`, `.travis.yml`, etc.).
|
|
12428
|
+
* 2. `Upload artifact` — uploads `dist` using `actions/upload-artifact`.
|
|
12429
|
+
* In `actions/upload-artifact` v4+, the default value of the
|
|
12430
|
+
* `include-hidden-files` input is `false`, so every hidden entry is
|
|
12431
|
+
* silently dropped from the artifact zip.
|
|
12432
|
+
* 3. `Restore build artifact permissions` (in each deploy job) — runs
|
|
12433
|
+
* `setfacl --restore=permissions-backup.acl`. The ACL backup
|
|
12434
|
+
* references hidden paths that no longer exist in the downloaded
|
|
12435
|
+
* artifact, so `setfacl` exits non-zero, producing a failure
|
|
12436
|
+
* annotation on every deploy job (`continue-on-error: true` masks
|
|
12437
|
+
* the job result but does not suppress the annotation).
|
|
12438
|
+
*
|
|
12439
|
+
* Setting `include-hidden-files: true` on the upload keeps the artifact
|
|
12440
|
+
* faithful to what `getfacl -R .` captured, eliminating the
|
|
12441
|
+
* `setfacl --restore` errors and preserving hidden files that CDK
|
|
12442
|
+
* assets legitimately depend on (e.g. the `.pnpm` store layout in a
|
|
12443
|
+
* bundled `node_modules/`).
|
|
12444
|
+
*
|
|
12445
|
+
* **Why this is a configulator patch instead of an upstream projen
|
|
12446
|
+
* change.** Projen exposed the `includeHiddenFiles` opt-in in
|
|
12447
|
+
* `actions/upload-artifact` via
|
|
12448
|
+
* [projen#3827](https://github.com/projen/projen/pull/3827) but never
|
|
12449
|
+
* plumbed it into its own `BuildWorkflow.renderBuildSteps()`
|
|
12450
|
+
* build-artifact upload. Until projen patches its own helper, this
|
|
12451
|
+
* helper is the downstream fix.
|
|
12452
|
+
*
|
|
12453
|
+
* **Why this is a separate helper.** Projen's BuildWorkflow stores
|
|
12454
|
+
* the build job's `steps` as a **lazy closure**
|
|
12455
|
+
* (`steps: () => this.renderBuildSteps(...)`), not an eager array, so
|
|
12456
|
+
* the `Upload artifact` step does not exist anywhere at
|
|
12457
|
+
* `preSynthesize` time. The two existing sibling helpers
|
|
12458
|
+
* ({@code pinPnpmActionSetup}, {@code pinSetupNodeVersion}) reach
|
|
12459
|
+
* lazy-closure steps by patching the component-level
|
|
12460
|
+
* `preBuildSteps` / `postBuildSteps` arrays the closure later
|
|
12461
|
+
* concatenates — that path does not work here because the build-
|
|
12462
|
+
* artifact upload is emitted **inside** `renderBuildSteps()` and is
|
|
12463
|
+
* never added to either component-level array.
|
|
12464
|
+
*
|
|
12465
|
+
* Instead, this helper wraps each job's `steps` closure: it replaces
|
|
12466
|
+
* the original `() => JobStep[]` with a new closure that invokes the
|
|
12467
|
+
* original and post-processes the rendered array to set
|
|
12468
|
+
* `with["include-hidden-files"] = true` on every matching step.
|
|
12469
|
+
* Eager (already-array) step lists are patched in place.
|
|
12470
|
+
*
|
|
12471
|
+
* **Matching rule.** A step is patched only when all three of the
|
|
12472
|
+
* following are true:
|
|
12473
|
+
*
|
|
12474
|
+
* - `step.name === "Upload artifact"`
|
|
12475
|
+
* - `step.uses` starts with `actions/upload-artifact@`
|
|
12476
|
+
* - `step.with.name === "build-artifact"`
|
|
12477
|
+
*
|
|
12478
|
+
* This deliberately misses other `actions/upload-artifact` steps in
|
|
12479
|
+
* the same workflow (e.g. the `turbo-runs` artifact, the `repo.patch`
|
|
12480
|
+
* self-mutation artifact) — those uploads do not source hidden files
|
|
12481
|
+
* and do not pair with a `setfacl --restore` restore step.
|
|
12482
|
+
*
|
|
12483
|
+
* @param project - The project whose GitHub workflows should be patched.
|
|
12484
|
+
*/
|
|
12485
|
+
declare function includeHiddenFilesInBuildArtifact(project: Project): void;
|
|
12486
|
+
|
|
12415
12487
|
/**
|
|
12416
12488
|
* Rewrites every `pnpm/action-setup@vX` step `uses` field reachable from
|
|
12417
12489
|
* a project's GitHub component (and its sub-projects) to the version
|
|
@@ -12488,5 +12560,5 @@ declare function pinPnpmActionSetup(project: Project): void;
|
|
|
12488
12560
|
*/
|
|
12489
12561
|
declare function pinSetupNodeVersion(project: Project): void;
|
|
12490
12562
|
|
|
12491
|
-
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, 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_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, 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_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, 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_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, 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, 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, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, SampleLang, StarlightProject, TEMPORAL_FRAMING_CATEGORY_VALUES, 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, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, 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, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
|
12563
|
+
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, 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_BUNDLE_OVERRIDES, DEFAULT_DECOMPOSITION_TEMPLATE, DEFAULT_DISPATCH_MODEL, DEFAULT_DISPATCH_TO_HOUSEKEEPING_RATIO, 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_PARTIAL_UNBLOCK_COMMENT_TEMPLATE, 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_REQUIRE_PRODUCT_CONTEXT, DEFAULT_RESOLVED_ISSUE_DEFAULTS, 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, 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, PROD_DEPLOY_NAME, PROGRESS_FILES_FORMAT_VALUES, PnpmWorkspace, ProjectMetadata, REQUIREMENTS_WRITER_PATHS, ROOT_CI_TASK_NAME, ROOT_TURBO_TASK_NAME, ReactViteSiteProject, ResetTask, SCHEDULED_TASK_MODEL_VALUES, SCOPE_CLASS_VALUES, SHARED_EDITING_CONFLICT_STRATEGY_VALUES, STARLIGHT_ROLE, SUPPRESSED_WORKFLOW_RULE_NAMES, SampleLang, StarlightProject, TEMPORAL_FRAMING_CATEGORY_VALUES, 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, buildIndustryDiscoveryBundle, buildMaintenanceAuditBundle, buildMeetingAnalysisBundle, buildOrchestratorConventionsContent, buildPeopleProfileBundle, buildRegulatoryResearchBundle, buildReport, buildRequirementsAnalystBundle, buildRequirementsReviewerBundle, buildRequirementsWriterBundle, buildResearchPipelineBundle, buildSoftwareProfileBundle, buildStandardsResearchBundle, buildUnblockDependentsProcedure, bundleNameForWorkflowRule, businessModelsBundle, checkDocSamplesProcedure, checkLinksProcedure, classifyIssueScope, classifyRun, companyProfileBundle, compileFencedSamples, createApiDiffCheck, createReferenceMismatchCheck, createTsdocCoverageCheck, customerProfileBundle, diffApiRollups, docsSyncBundle, emptyCategoryBuckets, extractApiProcedure, extractDocReferences, extractFencedSamples, formatLayoutViolation, formatStarlightSingletonViolation, getLatestEligibleVersion, githubWorkflowBundle, hasAnyDocsEmittingBundle, hasAnyDownstreamIssueKindBundle, includeHiddenFilesInBuildArtifact, industryDiscoveryBundle, isPhaseLabelOwnedByExcluded, isScheduledTaskOwnedByExcluded, isSuppressedWorkflowRule, isTypeLabelOwnedByExcluded, jestBundle, labelsForPhase, maintenanceAuditBundle, meetingAnalysisBundle, mergeCdkOptions, 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, renderCheckDocSamplesProcedure, renderCheckLinksProcedure, renderCustomDocSectionBlock, renderCustomDocSections, renderExtractApiProcedure, renderFocusSection, renderIssueTemplatesBundleHook, renderIssueTemplatesCheckerScript, renderIssueTemplatesRuleContent, renderIssueTemplatesStarterPage, renderMeetingTypesSection, renderPriorityRulesSection, renderProgressFileName, renderProgressFilePath, renderProgressFilesBundleHook, renderProgressFilesRuleContent, renderRunRatioSection, renderRunRatioShellHelpers, renderScheduledTaskSkillFile, renderScheduledTasksSection, renderScopeGateSection, renderScopeGateShellHelpers, renderSharedEditingBundleHook, renderSharedEditingHelperScript, renderSharedEditingRuleContent, renderSkillEvalsBundleHook, renderSkillEvalsRuleContent, renderSkillEvalsRunnerScript, renderSourceTierExamples, renderStubIndexConventionRuleContent, renderTemporalFramingCheckerScript, renderTemporalFramingRuleContent, renderUnblockDependentsScript, renderUnblockDependentsSection, requirementsAnalystBundle, requirementsReviewerBundle, requirementsWriterBundle, researchPipelineBundle, resolveAgentPaths, resolveAgentTiers, resolveAstroProjectOutdir, resolveAwsCdkProjectOutdir, resolveIssueDefaults, resolveIssueTemplates, resolveModelAlias, resolveOrchestratorAssets, resolveOutdirFromPackageName, resolveOverrideForLabels, resolveProgressFiles, resolveReactViteSiteProjectOutdir, resolveRunRatio, resolveScheduledTasks, resolveScopeGate, resolveSharedEditing, resolveSkillEvals, resolveTemplateVariables, resolveTemporalFraming, resolveTypeScriptProjectOutdir, resolveUnblockDependents, runScan, slackBundle, softwareProfileBundle, standardsResearchBundle, tsdocRecordToFindings, turborepoBundle, typescriptBundle, upstreamConfigulatorDocsBundle, validateAgentTierConfig, validateIssueDefaultsConfig, validateIssueTemplatesConfig, validateMonorepoLayout, validateProgressFilesConfig, validateRunRatioConfig, validateScheduledTasksConfig, validateScopeGateConfig, validateSharedEditingConfig, validateSkillEvalsConfig, validateStarlightSingleton, validateTemporalFramingConfig, validateUnblockDependentsConfig, vitestBundle };
|
|
12492
12564
|
export type { 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, IDependencyResolver, IssueDefaultsConfig, IssueDefaultsOverride, IssueDefaultsPriority, IssueDefaultsStatus, IssueTemplatesConfig, LabelDefinition, LayoutEnforcement, LayoutViolation, LinkFailureFinding, McpServerConfig, McpTransport, MeetingArea, MeetingScope, MeetingType, MeetingTypeKind, MeetingsConfig, MergeMethod, MonorepoLayoutRoot, MonorepoProjectOptions, OrganizationMetadata, PnpmWorkspaceOptions, PriorityRule, ProgressFilesConfig, ProjectMetadataOptions, ReactViteSiteProjectOptions, ReferenceMismatchCheckOptions, ReferenceMismatchFinding, RemoteCacheOptions, RepositoryMetadata, ResetTaskOptions, ResolvedAgentPaths, ResolvedAgentTier, ResolvedIssueDefaults, ResolvedIssueDefaultsEntry, ResolvedIssueTemplates, ResolvedProgressFiles, ResolvedProjectMetadata, 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, TypeScriptProjectOptions, UnblockDependentsConfig, UpstreamConfigulatorConfig, VersionKey, VitestConfigOptions, VitestOptions };
|
package/lib/index.js
CHANGED
|
@@ -372,6 +372,7 @@ __export(index_exports, {
|
|
|
372
372
|
githubWorkflowBundle: () => githubWorkflowBundle,
|
|
373
373
|
hasAnyDocsEmittingBundle: () => hasAnyDocsEmittingBundle,
|
|
374
374
|
hasAnyDownstreamIssueKindBundle: () => hasAnyDownstreamIssueKindBundle,
|
|
375
|
+
includeHiddenFilesInBuildArtifact: () => includeHiddenFilesInBuildArtifact,
|
|
375
376
|
industryDiscoveryBundle: () => industryDiscoveryBundle,
|
|
376
377
|
isPhaseLabelOwnedByExcluded: () => isPhaseLabelOwnedByExcluded,
|
|
377
378
|
isScheduledTaskOwnedByExcluded: () => isScheduledTaskOwnedByExcluded,
|
|
@@ -34069,7 +34070,7 @@ var import_release = require("projen/lib/release");
|
|
|
34069
34070
|
var import_ts_deepmerge2 = require("ts-deepmerge");
|
|
34070
34071
|
|
|
34071
34072
|
// src/projects/monorepo-project.ts
|
|
34072
|
-
var
|
|
34073
|
+
var import_github5 = require("projen/lib/github");
|
|
34073
34074
|
var import_javascript3 = require("projen/lib/javascript");
|
|
34074
34075
|
var import_typescript3 = require("projen/lib/typescript");
|
|
34075
34076
|
var import_ts_deepmerge = require("ts-deepmerge");
|
|
@@ -34310,8 +34311,67 @@ function addBuildCompleteJob(buildWorkflow) {
|
|
|
34310
34311
|
});
|
|
34311
34312
|
}
|
|
34312
34313
|
|
|
34313
|
-
// src/workflows/
|
|
34314
|
+
// src/workflows/include-hidden-files-in-build-artifact.ts
|
|
34314
34315
|
var import_github2 = require("projen/lib/github");
|
|
34316
|
+
var UPLOAD_ARTIFACT_STEP_NAME = "Upload artifact";
|
|
34317
|
+
var UPLOAD_ARTIFACT_PREFIX = "actions/upload-artifact@";
|
|
34318
|
+
var BUILD_ARTIFACT_WITH_NAME = "build-artifact";
|
|
34319
|
+
function includeHiddenFilesInBuildArtifact(project) {
|
|
34320
|
+
const github = import_github2.GitHub.of(project);
|
|
34321
|
+
if (!github) {
|
|
34322
|
+
return;
|
|
34323
|
+
}
|
|
34324
|
+
for (const workflow of github.workflows) {
|
|
34325
|
+
for (const job of Object.values(workflow.jobs)) {
|
|
34326
|
+
patchJobSteps(job);
|
|
34327
|
+
}
|
|
34328
|
+
}
|
|
34329
|
+
}
|
|
34330
|
+
function patchJobSteps(job) {
|
|
34331
|
+
if (typeof job !== "object" || job === null) {
|
|
34332
|
+
return;
|
|
34333
|
+
}
|
|
34334
|
+
const mutable = job;
|
|
34335
|
+
const steps = mutable.steps;
|
|
34336
|
+
if (Array.isArray(steps)) {
|
|
34337
|
+
patchStepArray(steps);
|
|
34338
|
+
return;
|
|
34339
|
+
}
|
|
34340
|
+
if (typeof steps === "function") {
|
|
34341
|
+
const original = steps;
|
|
34342
|
+
mutable.steps = () => {
|
|
34343
|
+
const rendered = original();
|
|
34344
|
+
patchStepArray(rendered);
|
|
34345
|
+
return rendered;
|
|
34346
|
+
};
|
|
34347
|
+
}
|
|
34348
|
+
}
|
|
34349
|
+
function patchStepArray(steps) {
|
|
34350
|
+
for (const step of steps) {
|
|
34351
|
+
if (isBuildArtifactUploadStep(step)) {
|
|
34352
|
+
if (!step.with || typeof step.with !== "object") {
|
|
34353
|
+
step.with = {};
|
|
34354
|
+
}
|
|
34355
|
+
step.with["include-hidden-files"] = true;
|
|
34356
|
+
}
|
|
34357
|
+
}
|
|
34358
|
+
}
|
|
34359
|
+
function isBuildArtifactUploadStep(step) {
|
|
34360
|
+
if (step.name !== UPLOAD_ARTIFACT_STEP_NAME) {
|
|
34361
|
+
return false;
|
|
34362
|
+
}
|
|
34363
|
+
if (typeof step.uses !== "string" || !step.uses.startsWith(UPLOAD_ARTIFACT_PREFIX)) {
|
|
34364
|
+
return false;
|
|
34365
|
+
}
|
|
34366
|
+
const withBlock = step.with;
|
|
34367
|
+
if (!withBlock || typeof withBlock !== "object") {
|
|
34368
|
+
return false;
|
|
34369
|
+
}
|
|
34370
|
+
return withBlock.name === BUILD_ARTIFACT_WITH_NAME;
|
|
34371
|
+
}
|
|
34372
|
+
|
|
34373
|
+
// src/workflows/pin-pnpm-action-setup.ts
|
|
34374
|
+
var import_github3 = require("projen/lib/github");
|
|
34315
34375
|
var PNPM_ACTION_SETUP_PREFIX = "pnpm/action-setup@";
|
|
34316
34376
|
var STEP_ARRAY_FIELDS = ["preBuildSteps", "postBuildSteps"];
|
|
34317
34377
|
function pinPnpmActionSetup(project) {
|
|
@@ -34320,13 +34380,13 @@ function pinPnpmActionSetup(project) {
|
|
|
34320
34380
|
for (const sub of project.subprojects) {
|
|
34321
34381
|
patchComponentStepArrays(sub, pinned);
|
|
34322
34382
|
}
|
|
34323
|
-
const github =
|
|
34383
|
+
const github = import_github3.GitHub.of(project);
|
|
34324
34384
|
if (!github) {
|
|
34325
34385
|
return;
|
|
34326
34386
|
}
|
|
34327
34387
|
for (const workflow of github.workflows) {
|
|
34328
34388
|
for (const job of Object.values(workflow.jobs)) {
|
|
34329
|
-
|
|
34389
|
+
patchStepArray2(getEagerSteps(job), pinned);
|
|
34330
34390
|
}
|
|
34331
34391
|
}
|
|
34332
34392
|
}
|
|
@@ -34335,7 +34395,7 @@ function patchComponentStepArrays(project, pinned) {
|
|
|
34335
34395
|
for (const field of STEP_ARRAY_FIELDS) {
|
|
34336
34396
|
const steps = readStepArray(component, field);
|
|
34337
34397
|
if (steps !== void 0) {
|
|
34338
|
-
|
|
34398
|
+
patchStepArray2(steps, pinned);
|
|
34339
34399
|
}
|
|
34340
34400
|
}
|
|
34341
34401
|
}
|
|
@@ -34351,7 +34411,7 @@ function getEagerSteps(job) {
|
|
|
34351
34411
|
const steps = job.steps;
|
|
34352
34412
|
return Array.isArray(steps) ? steps : void 0;
|
|
34353
34413
|
}
|
|
34354
|
-
function
|
|
34414
|
+
function patchStepArray2(steps, pinned) {
|
|
34355
34415
|
if (!steps) {
|
|
34356
34416
|
return;
|
|
34357
34417
|
}
|
|
@@ -34363,7 +34423,7 @@ function patchStepArray(steps, pinned) {
|
|
|
34363
34423
|
}
|
|
34364
34424
|
|
|
34365
34425
|
// src/workflows/pin-setup-node-version.ts
|
|
34366
|
-
var
|
|
34426
|
+
var import_github4 = require("projen/lib/github");
|
|
34367
34427
|
var SETUP_NODE_PREFIX = "actions/setup-node@";
|
|
34368
34428
|
var STEP_ARRAY_FIELDS2 = ["preBuildSteps", "postBuildSteps"];
|
|
34369
34429
|
var NODE_VERSION_FIELDS = ["workflowNodeVersion"];
|
|
@@ -34375,14 +34435,14 @@ function pinSetupNodeVersion(project) {
|
|
|
34375
34435
|
patchComponentNodeVersionFields(sub, pinned);
|
|
34376
34436
|
patchComponentStepArrays2(sub, pinned);
|
|
34377
34437
|
}
|
|
34378
|
-
const github =
|
|
34438
|
+
const github = import_github4.GitHub.of(project);
|
|
34379
34439
|
if (!github) {
|
|
34380
34440
|
return;
|
|
34381
34441
|
}
|
|
34382
34442
|
for (const workflow of github.workflows) {
|
|
34383
34443
|
for (const job of Object.values(workflow.jobs)) {
|
|
34384
34444
|
patchJobToolsNode(job, pinned);
|
|
34385
|
-
|
|
34445
|
+
patchStepArray3(getEagerSteps2(job), pinned);
|
|
34386
34446
|
}
|
|
34387
34447
|
}
|
|
34388
34448
|
}
|
|
@@ -34402,7 +34462,7 @@ function patchComponentStepArrays2(project, pinned) {
|
|
|
34402
34462
|
for (const field of STEP_ARRAY_FIELDS2) {
|
|
34403
34463
|
const steps = readStepArray2(component, field);
|
|
34404
34464
|
if (steps !== void 0) {
|
|
34405
|
-
|
|
34465
|
+
patchStepArray3(steps, pinned);
|
|
34406
34466
|
}
|
|
34407
34467
|
}
|
|
34408
34468
|
}
|
|
@@ -34434,7 +34494,7 @@ function patchJobToolsNode(job, pinned) {
|
|
|
34434
34494
|
node.version = pinned;
|
|
34435
34495
|
}
|
|
34436
34496
|
}
|
|
34437
|
-
function
|
|
34497
|
+
function patchStepArray3(steps, pinned) {
|
|
34438
34498
|
if (!steps) {
|
|
34439
34499
|
return;
|
|
34440
34500
|
}
|
|
@@ -34891,7 +34951,7 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
34891
34951
|
];
|
|
34892
34952
|
this.buildWorkflow?.addPostBuildSteps(
|
|
34893
34953
|
...buildSubProjectsSteps,
|
|
34894
|
-
|
|
34954
|
+
import_github5.WorkflowSteps.uploadArtifact({
|
|
34895
34955
|
name: "Upload Turbo runs",
|
|
34896
34956
|
if: "always()",
|
|
34897
34957
|
continueOnError: true,
|
|
@@ -35003,6 +35063,7 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
35003
35063
|
super.preSynthesize();
|
|
35004
35064
|
pinPnpmActionSetup(this);
|
|
35005
35065
|
pinSetupNodeVersion(this);
|
|
35066
|
+
includeHiddenFilesInBuildArtifact(this);
|
|
35006
35067
|
if (this.layoutEnforcement === LAYOUT_ENFORCEMENT.OFF) {
|
|
35007
35068
|
return;
|
|
35008
35069
|
}
|
|
@@ -35507,7 +35568,7 @@ var import_ts_deepmerge4 = require("ts-deepmerge");
|
|
|
35507
35568
|
var import_utils11 = __toESM(require_lib());
|
|
35508
35569
|
var import_projen25 = require("projen");
|
|
35509
35570
|
var import_build = require("projen/lib/build");
|
|
35510
|
-
var
|
|
35571
|
+
var import_github6 = require("projen/lib/github");
|
|
35511
35572
|
var import_workflows_model5 = require("projen/lib/github/workflows-model");
|
|
35512
35573
|
var PROD_DEPLOY_NAME = "prod-deploy";
|
|
35513
35574
|
var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Component {
|
|
@@ -35627,7 +35688,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Compone
|
|
|
35627
35688
|
);
|
|
35628
35689
|
}
|
|
35629
35690
|
this.rootProject = project.root;
|
|
35630
|
-
const github =
|
|
35691
|
+
const github = import_github6.GitHub.of(this.rootProject);
|
|
35631
35692
|
if (!github) {
|
|
35632
35693
|
throw new Error(
|
|
35633
35694
|
"AwsDeployWorkflow requires a GitHub component in the root project"
|
|
@@ -35762,7 +35823,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Compone
|
|
|
35762
35823
|
name: "Build Sub Projects",
|
|
35763
35824
|
run: `pnpm exec projen ${ROOT_CI_TASK_NAME}`
|
|
35764
35825
|
},
|
|
35765
|
-
|
|
35826
|
+
import_github6.WorkflowSteps.uploadArtifact({
|
|
35766
35827
|
name: "Upload Turbo runs",
|
|
35767
35828
|
if: "always()",
|
|
35768
35829
|
continueOnError: true,
|
|
@@ -35779,7 +35840,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen25.Compone
|
|
|
35779
35840
|
|
|
35780
35841
|
// src/workflows/aws-teardown-workflow.ts
|
|
35781
35842
|
var import_projen26 = require("projen");
|
|
35782
|
-
var
|
|
35843
|
+
var import_github7 = require("projen/lib/github");
|
|
35783
35844
|
var import_workflows_model6 = require("projen/lib/github/workflows-model");
|
|
35784
35845
|
var DEFAULT_TEARDOWN_BRANCH_PATTERNS = [
|
|
35785
35846
|
"feat/*",
|
|
@@ -35829,7 +35890,7 @@ var AwsTeardownWorkflow = class extends import_projen26.Component {
|
|
|
35829
35890
|
"AwsTeardownWorkflow requires the root project to be a MonorepoProject"
|
|
35830
35891
|
);
|
|
35831
35892
|
}
|
|
35832
|
-
const github =
|
|
35893
|
+
const github = import_github7.GitHub.of(this.rootProject);
|
|
35833
35894
|
if (!github) {
|
|
35834
35895
|
throw new Error(
|
|
35835
35896
|
"AwsTeardownWorkflow requires a GitHub component in the root project"
|
|
@@ -35839,7 +35900,7 @@ var AwsTeardownWorkflow = class extends import_projen26.Component {
|
|
|
35839
35900
|
deleteBranchPatterns,
|
|
35840
35901
|
awsDestructionTargets
|
|
35841
35902
|
);
|
|
35842
|
-
const workflow = new
|
|
35903
|
+
const workflow = new import_github7.GithubWorkflow(github, "teardown-dev");
|
|
35843
35904
|
workflow.on({
|
|
35844
35905
|
workflowDispatch: {},
|
|
35845
35906
|
schedule: [
|
|
@@ -36816,6 +36877,7 @@ export const collections = {
|
|
|
36816
36877
|
githubWorkflowBundle,
|
|
36817
36878
|
hasAnyDocsEmittingBundle,
|
|
36818
36879
|
hasAnyDownstreamIssueKindBundle,
|
|
36880
|
+
includeHiddenFilesInBuildArtifact,
|
|
36819
36881
|
industryDiscoveryBundle,
|
|
36820
36882
|
isPhaseLabelOwnedByExcluded,
|
|
36821
36883
|
isScheduledTaskOwnedByExcluded,
|