@codedrifters/configulator 0.0.317 → 0.0.318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.mts CHANGED
@@ -32,7 +32,7 @@ declare const AGENT_PLATFORM: {
32
32
  type AgentPlatform = (typeof AGENT_PLATFORM)[keyof typeof AGENT_PLATFORM];
33
33
  /**
34
34
  * Render target for Claude Code rules.
35
- * - SCOPED_FILE: .claude/rules/{name}.md (default — supports paths frontmatter for conditional activation)
35
+ * - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter for conditional activation)
36
36
  * - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
37
37
  * - CLAUDE_MD: CLAUDE.md (always-active, Claude-only content not consumed by other agents)
38
38
  */
@@ -82,7 +82,7 @@ interface AgentPlatformOverrides {
82
82
  readonly claude?: {
83
83
  /**
84
84
  * Where to render this rule for Claude Code.
85
- * - SCOPED_FILE: .claude/rules/{name}.md (default — supports paths frontmatter)
85
+ * - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter)
86
86
  * - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
87
87
  * - CLAUDE_MD: CLAUDE.md (always-active, Claude-only)
88
88
  */
@@ -220,10 +220,12 @@ interface AgentSkill {
220
220
  * files for that platform alongside the SKILL.md.
221
221
  *
222
222
  * @example
223
+ * ```ts
223
224
  * referenceFiles: [
224
225
  * { path: '_references/templates/_template-FR.md', content: '# Functional Requirement\n...' },
225
226
  * { path: '_references/standards-and-frameworks.md', content: '# Standards\n...' },
226
227
  * ]
228
+ * ```
227
229
  */
228
230
  readonly referenceFiles?: ReadonlyArray<{
229
231
  /** Path relative to the skill directory (e.g., `_references/templates/_template-FR.md`). */
@@ -403,7 +405,7 @@ interface AgentCommand {
403
405
  }
404
406
  /**
405
407
  * An executable procedure (shell script) that ships with a bundle.
406
- * Rendered to .claude/procedures/{name} as an executable file.
408
+ * Rendered to `.claude/procedures/{name}` as an executable file.
407
409
  */
408
410
  interface AgentProcedure {
409
411
  /**
@@ -531,7 +533,7 @@ interface AgentRuleBundle {
531
533
  * Function that inspects the Projen project and returns true if this
532
534
  * bundle should be automatically included. Receives the root project
533
535
  * as input and can check for sibling components, dependencies, etc.
534
- * @example (project) => Vitest.of(project) !== undefined
536
+ * @example `(project) => Vitest.of(project) !== undefined`
535
537
  */
536
538
  readonly appliesWhen: (project: Project) => boolean;
537
539
  /**
@@ -544,7 +546,7 @@ interface AgentRuleBundle {
544
546
  * TypeScript-adjacent code (e.g. typescript, aws-cdk, vitest, jest) should
545
547
  * implement this so their rules only activate for files in the packages
546
548
  * that actually use them.
547
- * @example (project) => findProjectsWithFile(project, 'tsconfig.json')
549
+ * @example `(project) => findProjectsWithFile(project, 'tsconfig.json')`
548
550
  */
549
551
  readonly findApplicableProjects?: (project: Project) => ReadonlyArray<Project>;
550
552
  /** Rules included in this bundle. */
@@ -1331,11 +1333,11 @@ interface MeetingType {
1331
1333
  * edits on that meeting (see the `meeting-analyst` agent's
1332
1334
  * **Areas filtering** section for the full gating contract).
1333
1335
  *
1334
- * Example: declaring `{ id: 'product-engineering', label: 'Product &
1335
- * Engineering', docRoot: 'product' }` tells the `meeting-analysis`
1336
- * bundle that a meeting whose frontmatter carries
1337
- * `areas: [product-engineering]` should have its direct edits routed
1338
- * under `<docsRoot>/product/`.
1336
+ * Example: declaring
1337
+ * `{ id: 'product-engineering', label: 'Product & Engineering', docRoot: 'product' }`
1338
+ * tells the `meeting-analysis` bundle that a meeting whose frontmatter
1339
+ * carries `areas: [product-engineering]` should have its direct edits
1340
+ * routed under `<docsRoot>/product/`.
1339
1341
  *
1340
1342
  * When `AgentConfigOptions.meetings.meetingAreas` is non-empty, the
1341
1343
  * `meeting-analysis` bundle renders an "Area → doc-root mapping"
@@ -2828,7 +2830,7 @@ interface AgentConfigOptions {
2828
2830
  * match one of the six tier-aware bundle names — typos or
2829
2831
  * deprecated bundle names would otherwise be silently ignored.
2830
2832
  *
2831
- * @default {}
2833
+ * @default `{}`
2832
2834
  */
2833
2835
  readonly bundleAgentTiers?: Readonly<Record<string, "powerful" | "balanced" | "fast">>;
2834
2836
  /**
@@ -4418,7 +4420,7 @@ interface ResolvedScheduledTask {
4418
4420
  readonly typeLabel: string;
4419
4421
  /**
4420
4422
  * Exact `type:*` label values (without the `type:` prefix) the
4421
- * worker picks up. When set (length >= 1), represents a
4423
+ * worker picks up. When set (`length >= 1`), represents a
4422
4424
  * multi-type filter (e.g. routing-bucket `worker-issue`). When
4423
4425
  * unset, the `typeLabel` single-value filter applies.
4424
4426
  */
@@ -4432,7 +4434,7 @@ interface ResolvedScheduledTask {
4432
4434
  readonly phasePrefix?: string;
4433
4435
  /**
4434
4436
  * Exact phase-label values the worker filters on (e.g.
4435
- * `["req:write"]`). When set (length >= 1), takes precedence over
4437
+ * `["req:write"]`). When set (`length >= 1`), takes precedence over
4436
4438
  * `phasePrefix`. When unset, the `phasePrefix` prefix-match
4437
4439
  * applies.
4438
4440
  */
@@ -4885,10 +4887,10 @@ declare function validateAgentTierConfig(config?: AgentTierConfig): ReadonlyArra
4885
4887
  *
4886
4888
  * When `excludeBundles` is non-empty, rows whose `type:*` label is
4887
4889
  * owned by an excluded bundle are dropped before rendering. Tiers
4888
- * that end up with no surviving rows render an empty `_(none
4889
- * registered)_` cell for consistency with the existing render — the
4890
- * tier itself stays in the table so the dispatch ordering is still
4891
- * documented end-to-end.
4890
+ * that end up with no surviving rows render an empty
4891
+ * `_(none registered)_` cell for consistency with the existing
4892
+ * render — the tier itself stays in the table so the dispatch
4893
+ * ordering is still documented end-to-end.
4892
4894
  */
4893
4895
  declare function renderAgentTierSection(tiers: ReadonlyArray<ResolvedAgentTier>, excludeBundles?: ReadonlyArray<string>): string;
4894
4896
  /**
@@ -6367,7 +6369,7 @@ interface GitHubProjectMetadata {
6367
6369
  readonly sprints?: GitHubSprintMetadata;
6368
6370
  /**
6369
6371
  * Kanban column (status field) definitions.
6370
- * @example [{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]
6372
+ * @example `[{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]`
6371
6373
  */
6372
6374
  readonly columns?: ReadonlyArray<{
6373
6375
  readonly name: string;
@@ -6416,7 +6418,7 @@ interface SlackMetadata {
6416
6418
  readonly alertsChannel?: string;
6417
6419
  /**
6418
6420
  * Additional named channels. Keys are purpose identifiers.
6419
- * @example { releases: '#releases', support: '#customer-support' }
6421
+ * @example `{ releases: '#releases', support: '#customer-support' }`
6420
6422
  */
6421
6423
  readonly channels?: Readonly<Record<string, string>>;
6422
6424
  }
@@ -6441,7 +6443,7 @@ interface DeploymentMetadata {
6441
6443
  readonly awsRegion?: string;
6442
6444
  /**
6443
6445
  * Named environments.
6444
- * @example { dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }
6446
+ * @example `{ dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }`
6445
6447
  */
6446
6448
  readonly environments?: Readonly<Record<string, {
6447
6449
  readonly accountId?: string;
@@ -6714,7 +6716,7 @@ interface AstroIntegrationSpec {
6714
6716
  */
6715
6717
  readonly name: string;
6716
6718
  /**
6717
- * Module to import from, e.g. "@astrojs/react".
6719
+ * Module to import from, e.g. `@astrojs/react`.
6718
6720
  */
6719
6721
  readonly importPath: string;
6720
6722
  /**
@@ -6830,7 +6832,7 @@ interface AwsLocalDeploymentConfig {
6830
6832
  /**
6831
6833
  * The pattern used to identify stacks to deploy in CI deployments.
6832
6834
  *
6833
- * @default *-${account}-${region}
6835
+ * @default `*-${account}-${region}`
6834
6836
  */
6835
6837
  readonly stackPattern?: string;
6836
6838
  }
@@ -6842,7 +6844,7 @@ interface CiDeploymentConfig {
6842
6844
  /**
6843
6845
  * The pattern used to identify stacks to deploy in CI deployments.
6844
6846
  *
6845
- * @default *-${account}-${region}
6847
+ * @default `*-${account}-${region}`
6846
6848
  */
6847
6849
  readonly stackPattern?: string;
6848
6850
  }
@@ -7492,7 +7494,7 @@ declare const AuditCategory: {
7492
7494
  readonly LinkFailures: "linkFailures";
7493
7495
  /**
7494
7496
  * Findings produced by the fenced-sample compilation check that
7495
- * flags ` ```ts ` / ` ```typescript ` / ` ```tsx ` blocks in the
7497
+ * flags `ts`, `typescript`, and `tsx` fenced code blocks in the
7496
7498
  * docs that fail `tsc`. Wired in by child issue #520.
7497
7499
  */
7498
7500
  readonly SampleFailures: "sampleFailures";
@@ -8418,7 +8420,7 @@ declare const VERSION: {
8418
8420
  */
8419
8421
  readonly SHARP_VERSION: "0.34.5";
8420
8422
  /**
8421
- * Version of @astrojs/starlight to pin for StarlightProject scaffolding.
8423
+ * Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
8422
8424
  */
8423
8425
  readonly STARLIGHT_VERSION: "0.39.2";
8424
8426
  /**
@@ -8426,7 +8428,7 @@ declare const VERSION: {
8426
8428
  */
8427
8429
  readonly TURBO_VERSION: "2.9.14";
8428
8430
  /**
8429
- * Version of @types/node to use across all packages (pnpm catalog).
8431
+ * Version of `@types/node` to use across all packages (pnpm catalog).
8430
8432
  */
8431
8433
  readonly TYPES_NODE_VERSION: "25.8.0";
8432
8434
  /**
@@ -8790,8 +8792,8 @@ declare class PnpmWorkspace extends Component {
8790
8792
  * Get the pnpm workspace component of a project. If it does not exist,
8791
8793
  * return undefined.
8792
8794
  *
8793
- * @param project
8794
- * @returns
8795
+ * @param project - The project to query.
8796
+ * @returns The PnpmWorkspace component if present, otherwise undefined.
8795
8797
  */
8796
8798
  static of(project: Project$1): PnpmWorkspace | undefined;
8797
8799
  /**
@@ -9157,7 +9159,7 @@ interface VitestConfigOptions {
9157
9159
  /**
9158
9160
  * Glob patterns for test files.
9159
9161
  *
9160
- * @default ["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]
9162
+ * @default `["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]`
9161
9163
  */
9162
9164
  readonly include?: string[];
9163
9165
  /**
@@ -9299,7 +9301,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
9299
9301
  * `.api-extractor/` and are gitignored). Set to `false` to opt a
9300
9302
  * package out of drift detection entirely.
9301
9303
  *
9302
- * @default {}
9304
+ * @default `{}`
9303
9305
  */
9304
9306
  readonly apiExtractor?: ApiExtractorOptions | false;
9305
9307
  /**
@@ -9318,7 +9320,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
9318
9320
  * `internal` tag — even when the token sits inside a backtick code span
9319
9321
  * — and that strips this field from the published `.d.ts` rollup.
9320
9322
  *
9321
- * @default {}
9323
+ * @default `{}`
9322
9324
  */
9323
9325
  readonly tsdocConfig?: TsdocConfigOptions | false;
9324
9326
  /**
@@ -9460,7 +9462,7 @@ declare class AwsDeployWorkflow extends Component {
9460
9462
  * Handles both exact matches (e.g., "main") and glob patterns (e.g., "feature/*").
9461
9463
  * Also allows workflow_dispatch (manual runs) to proceed.
9462
9464
  *
9463
- * @param branches Array of GitBranch objects with branch patterns
9465
+ * @param branches - Array of GitBranch objects with branch patterns
9464
9466
  * @returns Condition string or empty string if no branches provided
9465
9467
  */
9466
9468
  private buildBranchFilterCondition;
@@ -9667,7 +9669,7 @@ interface TurboRepoOptions {
9667
9669
  /**
9668
9670
  * Version of turborepo to use.
9669
9671
  *
9670
- * @default: specified in versions file
9672
+ * @default specified in versions file
9671
9673
  */
9672
9674
  readonly turboVersion?: string;
9673
9675
  /**
@@ -9716,7 +9718,7 @@ interface TurboRepoOptions {
9716
9718
  */
9717
9719
  readonly globalPassThroughEnv?: Array<string>;
9718
9720
  /**
9719
- * @default: "stream"
9721
+ * @default "stream"
9720
9722
  *
9721
9723
  * Select a terminal UI for the repository.
9722
9724
  *
@@ -9727,7 +9729,7 @@ interface TurboRepoOptions {
9727
9729
  */
9728
9730
  readonly ui?: "tui" | "stream";
9729
9731
  /**
9730
- * @default: false
9732
+ * @default false
9731
9733
  *
9732
9734
  * Turborepo uses your repository's lockfile to determine caching behavior,
9733
9735
  * Package Graphs, and more. Because of this, we use the packageManager field
@@ -9744,7 +9746,7 @@ interface TurboRepoOptions {
9744
9746
  */
9745
9747
  readonly dangerouslyDisablePackageManagerCheck?: boolean;
9746
9748
  /**
9747
- * @default: ".turbo/cache"
9749
+ * @default ".turbo/cache"
9748
9750
  *
9749
9751
  * Specify the filesystem cache directory.
9750
9752
  *
@@ -9761,7 +9763,7 @@ interface TurboRepoOptions {
9761
9763
  */
9762
9764
  readonly daemon?: boolean;
9763
9765
  /**
9764
- * @default: "strict"
9766
+ * @default "strict"
9765
9767
  *
9766
9768
  * Turborepo's Environment Modes allow you to control which environment
9767
9769
  * variables are available to a task at runtime:
@@ -9786,7 +9788,7 @@ interface TurboRepoOptions {
9786
9788
  /**
9787
9789
  * Env Args that will bre added to turbo's build:all task
9788
9790
  *
9789
- * @default: {}
9791
+ * @default `{}`
9790
9792
  */
9791
9793
  readonly buildAllTaskEnvVars?: Record<string, string>;
9792
9794
  /*****************************************************************************
@@ -9798,31 +9800,31 @@ interface TurboRepoOptions {
9798
9800
  /**
9799
9801
  * Pre compile task
9800
9802
  *
9801
- * @default: "pre-compile"
9803
+ * @default "pre-compile"
9802
9804
  */
9803
9805
  readonly preCompileTask?: Task;
9804
9806
  /**
9805
9807
  * Compile task
9806
9808
  *
9807
- * @default: "compile"
9809
+ * @default "compile"
9808
9810
  */
9809
9811
  readonly compileTask?: Task;
9810
9812
  /**
9811
9813
  * Post compile task
9812
9814
  *
9813
- * @default: "post-compile"
9815
+ * @default "post-compile"
9814
9816
  */
9815
9817
  readonly postCompileTask?: Task;
9816
9818
  /**
9817
9819
  * Test task
9818
9820
  *
9819
- * @default: "test"
9821
+ * @default "test"
9820
9822
  */
9821
9823
  readonly testTask?: Task;
9822
9824
  /**
9823
9825
  * Package task
9824
9826
  *
9825
- * @default: "package"
9827
+ * @default "package"
9826
9828
  */
9827
9829
  readonly packageTask?: Task;
9828
9830
  }
@@ -9883,7 +9885,7 @@ declare class TurboRepo extends Component$1 {
9883
9885
  */
9884
9886
  readonly globalPassThroughEnv: Array<string>;
9885
9887
  /**
9886
- * @default: "stream"
9888
+ * @default "stream"
9887
9889
  *
9888
9890
  * Select a terminal UI for the repository.
9889
9891
  *
@@ -9894,7 +9896,7 @@ declare class TurboRepo extends Component$1 {
9894
9896
  */
9895
9897
  readonly ui: "tui" | "stream";
9896
9898
  /**
9897
- * @default: false
9899
+ * @default false
9898
9900
  *
9899
9901
  * Turborepo uses your repository's lockfile to determine caching behavior,
9900
9902
  * Package Graphs, and more. Because of this, we use the packageManager field
@@ -9911,7 +9913,7 @@ declare class TurboRepo extends Component$1 {
9911
9913
  */
9912
9914
  readonly dangerouslyDisablePackageManagerCheck: boolean;
9913
9915
  /**
9914
- * @default: ".turbo/cache"
9916
+ * @default ".turbo/cache"
9915
9917
  *
9916
9918
  * Specify the filesystem cache directory.
9917
9919
  *
@@ -9927,7 +9929,7 @@ declare class TurboRepo extends Component$1 {
9927
9929
  */
9928
9930
  readonly daemon: boolean;
9929
9931
  /**
9930
- * @default: "strict"
9932
+ * @default "strict"
9931
9933
  *
9932
9934
  * Turborepo's Environment Modes allow you to control which environment
9933
9935
  * variables are available to a task at runtime:
@@ -10144,7 +10146,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10144
10146
  /**
10145
10147
  * The version of PNPM to use in the monorepo.
10146
10148
  * @default VERSION.PNPM_VERSION
10147
- * @see {@link src/versions.ts}
10149
+ * @see `src/versions.ts`
10148
10150
  */
10149
10151
  version?: string;
10150
10152
  /**
@@ -10162,7 +10164,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10162
10164
  */
10163
10165
  readonly approveMergeUpgradeOptions?: ApproveMergeUpgradeOptions;
10164
10166
  /**
10165
- * Whether this monorepo consumes @codedrifters/configulator from a registry (npm).
10167
+ * Whether this monorepo consumes `@codedrifters/configulator` from a registry (npm).
10166
10168
  * When true, the upgrade workflow adds steps to sync configulator and synthesize.
10167
10169
  * Set to false when configulator is developed in this repo (e.g. workspace dependency).
10168
10170
  *
@@ -10178,7 +10180,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
10178
10180
  * - `ProjectMetadataOptions`: explicit metadata configuration
10179
10181
  * - `false`: disable ProjectMetadata entirely
10180
10182
  *
10181
- * @default {} (auto-detect from package.json)
10183
+ * @default `{}` (auto-detect from package.json)
10182
10184
  */
10183
10185
  readonly projectMetadata?: ProjectMetadataOptions | false;
10184
10186
  /**
@@ -10452,8 +10454,8 @@ declare class ProjectMetadata extends Component {
10452
10454
  /**
10453
10455
  * Return the maintainer-seed addendum for the `project-context`
10454
10456
  * bundle, or an empty string when the root project either has no
10455
- * layout-enforcement opinion or has opted out (`layoutEnforcement:
10456
- * "off"`).
10457
+ * layout-enforcement opinion or has opted out
10458
+ * (`layoutEnforcement: "off"`).
10457
10459
  *
10458
10460
  * Uses duck-typing on the root project's `layoutEnforcement`
10459
10461
  * property to avoid a circular import with `MonorepoProject`. The
@@ -10678,7 +10680,7 @@ interface StarlightProjectOptions extends AstroProjectOptions {
10678
10680
  */
10679
10681
  readonly editLink?: StarlightEditLink;
10680
10682
  /**
10681
- * @astrojs/starlight package version.
10683
+ * `@astrojs/starlight` package version.
10682
10684
  *
10683
10685
  * @default VERSION.STARLIGHT_VERSION
10684
10686
  */
@@ -10730,7 +10732,7 @@ declare const COMPLETE_JOB_ID = "complete";
10730
10732
  * Call this for the default build workflow and for any build workflow created
10731
10733
  * by Configulator (e.g. AwsDeployWorkflow).
10732
10734
  *
10733
- * @param buildWorkflow The Projen BuildWorkflow to append the complete job to.
10735
+ * @param buildWorkflow - The Projen BuildWorkflow to append the complete job to.
10734
10736
  */
10735
10737
  declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
10736
10738
 
@@ -10758,7 +10760,7 @@ declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
10758
10760
  * (e.g. the upgrade workflow). Steps held inside lazy closures
10759
10761
  * are skipped — those are reached via pass 1.
10760
10762
  *
10761
- * @param project The project whose GitHub workflows should be patched.
10763
+ * @param project - The project whose GitHub workflows should be patched.
10762
10764
  */
10763
10765
  declare function pinPnpmActionSetup(project: Project$1): void;
10764
10766
 
@@ -10806,7 +10808,7 @@ declare function pinPnpmActionSetup(project: Project$1): void;
10806
10808
  * untouched. The step's `uses` field is also left alone — this
10807
10809
  * helper pins the input, not the action version pin.
10808
10810
  *
10809
- * @param project The project whose GitHub workflows should be patched.
10811
+ * @param project - The project whose GitHub workflows should be patched.
10810
10812
  */
10811
10813
  declare function pinSetupNodeVersion(project: Project$1): void;
10812
10814