@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 +58 -56
- package/lib/index.d.ts +58 -56
- package/lib/index.js +28 -23
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +28 -23
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ declare const AGENT_PLATFORM: {
|
|
|
81
81
|
type AgentPlatform = (typeof AGENT_PLATFORM)[keyof typeof AGENT_PLATFORM];
|
|
82
82
|
/**
|
|
83
83
|
* Render target for Claude Code rules.
|
|
84
|
-
* - SCOPED_FILE:
|
|
84
|
+
* - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter for conditional activation)
|
|
85
85
|
* - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
|
|
86
86
|
* - CLAUDE_MD: CLAUDE.md (always-active, Claude-only content not consumed by other agents)
|
|
87
87
|
*/
|
|
@@ -131,7 +131,7 @@ interface AgentPlatformOverrides {
|
|
|
131
131
|
readonly claude?: {
|
|
132
132
|
/**
|
|
133
133
|
* Where to render this rule for Claude Code.
|
|
134
|
-
* - SCOPED_FILE:
|
|
134
|
+
* - SCOPED_FILE: `.claude/rules/{name}.md` (default — supports paths frontmatter)
|
|
135
135
|
* - AGENTS_MD: AGENTS.md (always-active, shared with Codex)
|
|
136
136
|
* - CLAUDE_MD: CLAUDE.md (always-active, Claude-only)
|
|
137
137
|
*/
|
|
@@ -269,10 +269,12 @@ interface AgentSkill {
|
|
|
269
269
|
* files for that platform alongside the SKILL.md.
|
|
270
270
|
*
|
|
271
271
|
* @example
|
|
272
|
+
* ```ts
|
|
272
273
|
* referenceFiles: [
|
|
273
274
|
* { path: '_references/templates/_template-FR.md', content: '# Functional Requirement\n...' },
|
|
274
275
|
* { path: '_references/standards-and-frameworks.md', content: '# Standards\n...' },
|
|
275
276
|
* ]
|
|
277
|
+
* ```
|
|
276
278
|
*/
|
|
277
279
|
readonly referenceFiles?: ReadonlyArray<{
|
|
278
280
|
/** Path relative to the skill directory (e.g., `_references/templates/_template-FR.md`). */
|
|
@@ -452,7 +454,7 @@ interface AgentCommand {
|
|
|
452
454
|
}
|
|
453
455
|
/**
|
|
454
456
|
* An executable procedure (shell script) that ships with a bundle.
|
|
455
|
-
* Rendered to
|
|
457
|
+
* Rendered to `.claude/procedures/{name}` as an executable file.
|
|
456
458
|
*/
|
|
457
459
|
interface AgentProcedure {
|
|
458
460
|
/**
|
|
@@ -580,7 +582,7 @@ interface AgentRuleBundle {
|
|
|
580
582
|
* Function that inspects the Projen project and returns true if this
|
|
581
583
|
* bundle should be automatically included. Receives the root project
|
|
582
584
|
* as input and can check for sibling components, dependencies, etc.
|
|
583
|
-
* @example (project) => Vitest.of(project) !== undefined
|
|
585
|
+
* @example `(project) => Vitest.of(project) !== undefined`
|
|
584
586
|
*/
|
|
585
587
|
readonly appliesWhen: (project: Project$1) => boolean;
|
|
586
588
|
/**
|
|
@@ -593,7 +595,7 @@ interface AgentRuleBundle {
|
|
|
593
595
|
* TypeScript-adjacent code (e.g. typescript, aws-cdk, vitest, jest) should
|
|
594
596
|
* implement this so their rules only activate for files in the packages
|
|
595
597
|
* that actually use them.
|
|
596
|
-
* @example (project) => findProjectsWithFile(project, 'tsconfig.json')
|
|
598
|
+
* @example `(project) => findProjectsWithFile(project, 'tsconfig.json')`
|
|
597
599
|
*/
|
|
598
600
|
readonly findApplicableProjects?: (project: Project$1) => ReadonlyArray<Project$1>;
|
|
599
601
|
/** Rules included in this bundle. */
|
|
@@ -1380,11 +1382,11 @@ interface MeetingType {
|
|
|
1380
1382
|
* edits on that meeting (see the `meeting-analyst` agent's
|
|
1381
1383
|
* **Areas filtering** section for the full gating contract).
|
|
1382
1384
|
*
|
|
1383
|
-
* Example: declaring
|
|
1384
|
-
* Engineering', docRoot: 'product' }`
|
|
1385
|
-
* bundle that a meeting whose frontmatter
|
|
1386
|
-
* `areas: [product-engineering]` should have its direct edits
|
|
1387
|
-
* under `<docsRoot>/product/`.
|
|
1385
|
+
* Example: declaring
|
|
1386
|
+
* `{ id: 'product-engineering', label: 'Product & Engineering', docRoot: 'product' }`
|
|
1387
|
+
* tells the `meeting-analysis` bundle that a meeting whose frontmatter
|
|
1388
|
+
* carries `areas: [product-engineering]` should have its direct edits
|
|
1389
|
+
* routed under `<docsRoot>/product/`.
|
|
1388
1390
|
*
|
|
1389
1391
|
* When `AgentConfigOptions.meetings.meetingAreas` is non-empty, the
|
|
1390
1392
|
* `meeting-analysis` bundle renders an "Area → doc-root mapping"
|
|
@@ -2877,7 +2879,7 @@ interface AgentConfigOptions {
|
|
|
2877
2879
|
* match one of the six tier-aware bundle names — typos or
|
|
2878
2880
|
* deprecated bundle names would otherwise be silently ignored.
|
|
2879
2881
|
*
|
|
2880
|
-
* @default {}
|
|
2882
|
+
* @default `{}`
|
|
2881
2883
|
*/
|
|
2882
2884
|
readonly bundleAgentTiers?: Readonly<Record<string, "powerful" | "balanced" | "fast">>;
|
|
2883
2885
|
/**
|
|
@@ -4467,7 +4469,7 @@ interface ResolvedScheduledTask {
|
|
|
4467
4469
|
readonly typeLabel: string;
|
|
4468
4470
|
/**
|
|
4469
4471
|
* Exact `type:*` label values (without the `type:` prefix) the
|
|
4470
|
-
* worker picks up. When set (length >= 1), represents a
|
|
4472
|
+
* worker picks up. When set (`length >= 1`), represents a
|
|
4471
4473
|
* multi-type filter (e.g. routing-bucket `worker-issue`). When
|
|
4472
4474
|
* unset, the `typeLabel` single-value filter applies.
|
|
4473
4475
|
*/
|
|
@@ -4481,7 +4483,7 @@ interface ResolvedScheduledTask {
|
|
|
4481
4483
|
readonly phasePrefix?: string;
|
|
4482
4484
|
/**
|
|
4483
4485
|
* Exact phase-label values the worker filters on (e.g.
|
|
4484
|
-
* `["req:write"]`). When set (length >= 1), takes precedence over
|
|
4486
|
+
* `["req:write"]`). When set (`length >= 1`), takes precedence over
|
|
4485
4487
|
* `phasePrefix`. When unset, the `phasePrefix` prefix-match
|
|
4486
4488
|
* applies.
|
|
4487
4489
|
*/
|
|
@@ -4934,10 +4936,10 @@ declare function validateAgentTierConfig(config?: AgentTierConfig): ReadonlyArra
|
|
|
4934
4936
|
*
|
|
4935
4937
|
* When `excludeBundles` is non-empty, rows whose `type:*` label is
|
|
4936
4938
|
* owned by an excluded bundle are dropped before rendering. Tiers
|
|
4937
|
-
* that end up with no surviving rows render an empty
|
|
4938
|
-
* registered)_` cell for consistency with the existing
|
|
4939
|
-
* tier itself stays in the table so the dispatch
|
|
4940
|
-
* documented end-to-end.
|
|
4939
|
+
* that end up with no surviving rows render an empty
|
|
4940
|
+
* `_(none registered)_` cell for consistency with the existing
|
|
4941
|
+
* render — the tier itself stays in the table so the dispatch
|
|
4942
|
+
* ordering is still documented end-to-end.
|
|
4941
4943
|
*/
|
|
4942
4944
|
declare function renderAgentTierSection(tiers: ReadonlyArray<ResolvedAgentTier>, excludeBundles?: ReadonlyArray<string>): string;
|
|
4943
4945
|
/**
|
|
@@ -6416,7 +6418,7 @@ interface GitHubProjectMetadata {
|
|
|
6416
6418
|
readonly sprints?: GitHubSprintMetadata;
|
|
6417
6419
|
/**
|
|
6418
6420
|
* Kanban column (status field) definitions.
|
|
6419
|
-
* @example [{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]
|
|
6421
|
+
* @example `[{ name: 'To Do', id: 'status_1' }, { name: 'In Progress', id: 'status_2' }]`
|
|
6420
6422
|
*/
|
|
6421
6423
|
readonly columns?: ReadonlyArray<{
|
|
6422
6424
|
readonly name: string;
|
|
@@ -6465,7 +6467,7 @@ interface SlackMetadata {
|
|
|
6465
6467
|
readonly alertsChannel?: string;
|
|
6466
6468
|
/**
|
|
6467
6469
|
* Additional named channels. Keys are purpose identifiers.
|
|
6468
|
-
* @example { releases: '#releases', support: '#customer-support' }
|
|
6470
|
+
* @example `{ releases: '#releases', support: '#customer-support' }`
|
|
6469
6471
|
*/
|
|
6470
6472
|
readonly channels?: Readonly<Record<string, string>>;
|
|
6471
6473
|
}
|
|
@@ -6490,7 +6492,7 @@ interface DeploymentMetadata {
|
|
|
6490
6492
|
readonly awsRegion?: string;
|
|
6491
6493
|
/**
|
|
6492
6494
|
* Named environments.
|
|
6493
|
-
* @example { dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }
|
|
6495
|
+
* @example `{ dev: { accountId: '111', region: 'us-east-1' }, prod: { accountId: '222', region: 'us-east-1' } }`
|
|
6494
6496
|
*/
|
|
6495
6497
|
readonly environments?: Readonly<Record<string, {
|
|
6496
6498
|
readonly accountId?: string;
|
|
@@ -6763,7 +6765,7 @@ interface AstroIntegrationSpec {
|
|
|
6763
6765
|
*/
|
|
6764
6766
|
readonly name: string;
|
|
6765
6767
|
/**
|
|
6766
|
-
* Module to import from, e.g.
|
|
6768
|
+
* Module to import from, e.g. `@astrojs/react`.
|
|
6767
6769
|
*/
|
|
6768
6770
|
readonly importPath: string;
|
|
6769
6771
|
/**
|
|
@@ -6879,7 +6881,7 @@ interface AwsLocalDeploymentConfig {
|
|
|
6879
6881
|
/**
|
|
6880
6882
|
* The pattern used to identify stacks to deploy in CI deployments.
|
|
6881
6883
|
*
|
|
6882
|
-
* @default
|
|
6884
|
+
* @default `*-${account}-${region}`
|
|
6883
6885
|
*/
|
|
6884
6886
|
readonly stackPattern?: string;
|
|
6885
6887
|
}
|
|
@@ -6891,7 +6893,7 @@ interface CiDeploymentConfig {
|
|
|
6891
6893
|
/**
|
|
6892
6894
|
* The pattern used to identify stacks to deploy in CI deployments.
|
|
6893
6895
|
*
|
|
6894
|
-
* @default
|
|
6896
|
+
* @default `*-${account}-${region}`
|
|
6895
6897
|
*/
|
|
6896
6898
|
readonly stackPattern?: string;
|
|
6897
6899
|
}
|
|
@@ -7541,7 +7543,7 @@ declare const AuditCategory: {
|
|
|
7541
7543
|
readonly LinkFailures: "linkFailures";
|
|
7542
7544
|
/**
|
|
7543
7545
|
* Findings produced by the fenced-sample compilation check that
|
|
7544
|
-
* flags `
|
|
7546
|
+
* flags `ts`, `typescript`, and `tsx` fenced code blocks in the
|
|
7545
7547
|
* docs that fail `tsc`. Wired in by child issue #520.
|
|
7546
7548
|
*/
|
|
7547
7549
|
readonly SampleFailures: "sampleFailures";
|
|
@@ -8467,7 +8469,7 @@ declare const VERSION: {
|
|
|
8467
8469
|
*/
|
|
8468
8470
|
readonly SHARP_VERSION: "0.34.5";
|
|
8469
8471
|
/**
|
|
8470
|
-
* Version of
|
|
8472
|
+
* Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
|
|
8471
8473
|
*/
|
|
8472
8474
|
readonly STARLIGHT_VERSION: "0.39.2";
|
|
8473
8475
|
/**
|
|
@@ -8475,7 +8477,7 @@ declare const VERSION: {
|
|
|
8475
8477
|
*/
|
|
8476
8478
|
readonly TURBO_VERSION: "2.9.14";
|
|
8477
8479
|
/**
|
|
8478
|
-
* Version of
|
|
8480
|
+
* Version of `@types/node` to use across all packages (pnpm catalog).
|
|
8479
8481
|
*/
|
|
8480
8482
|
readonly TYPES_NODE_VERSION: "25.8.0";
|
|
8481
8483
|
/**
|
|
@@ -8839,8 +8841,8 @@ declare class PnpmWorkspace extends Component {
|
|
|
8839
8841
|
* Get the pnpm workspace component of a project. If it does not exist,
|
|
8840
8842
|
* return undefined.
|
|
8841
8843
|
*
|
|
8842
|
-
* @param project
|
|
8843
|
-
* @returns
|
|
8844
|
+
* @param project - The project to query.
|
|
8845
|
+
* @returns The PnpmWorkspace component if present, otherwise undefined.
|
|
8844
8846
|
*/
|
|
8845
8847
|
static of(project: Project): PnpmWorkspace | undefined;
|
|
8846
8848
|
/**
|
|
@@ -9206,7 +9208,7 @@ interface VitestConfigOptions {
|
|
|
9206
9208
|
/**
|
|
9207
9209
|
* Glob patterns for test files.
|
|
9208
9210
|
*
|
|
9209
|
-
* @default ["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]
|
|
9211
|
+
* @default `["**\/*.{test,spec}.?(c|m)[jt]s?(x)"]`
|
|
9210
9212
|
*/
|
|
9211
9213
|
readonly include?: string[];
|
|
9212
9214
|
/**
|
|
@@ -9348,7 +9350,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
|
|
|
9348
9350
|
* `.api-extractor/` and are gitignored). Set to `false` to opt a
|
|
9349
9351
|
* package out of drift detection entirely.
|
|
9350
9352
|
*
|
|
9351
|
-
* @default {}
|
|
9353
|
+
* @default `{}`
|
|
9352
9354
|
*/
|
|
9353
9355
|
readonly apiExtractor?: ApiExtractorOptions | false;
|
|
9354
9356
|
/**
|
|
@@ -9367,7 +9369,7 @@ interface TypeScriptProjectOptions extends Omit<typescript.TypeScriptProjectOpti
|
|
|
9367
9369
|
* `internal` tag — even when the token sits inside a backtick code span
|
|
9368
9370
|
* — and that strips this field from the published `.d.ts` rollup.
|
|
9369
9371
|
*
|
|
9370
|
-
* @default {}
|
|
9372
|
+
* @default `{}`
|
|
9371
9373
|
*/
|
|
9372
9374
|
readonly tsdocConfig?: TsdocConfigOptions | false;
|
|
9373
9375
|
/**
|
|
@@ -9509,7 +9511,7 @@ declare class AwsDeployWorkflow extends Component {
|
|
|
9509
9511
|
* Handles both exact matches (e.g., "main") and glob patterns (e.g., "feature/*").
|
|
9510
9512
|
* Also allows workflow_dispatch (manual runs) to proceed.
|
|
9511
9513
|
*
|
|
9512
|
-
* @param branches Array of GitBranch objects with branch patterns
|
|
9514
|
+
* @param branches - Array of GitBranch objects with branch patterns
|
|
9513
9515
|
* @returns Condition string or empty string if no branches provided
|
|
9514
9516
|
*/
|
|
9515
9517
|
private buildBranchFilterCondition;
|
|
@@ -9716,7 +9718,7 @@ interface TurboRepoOptions {
|
|
|
9716
9718
|
/**
|
|
9717
9719
|
* Version of turborepo to use.
|
|
9718
9720
|
*
|
|
9719
|
-
* @default
|
|
9721
|
+
* @default specified in versions file
|
|
9720
9722
|
*/
|
|
9721
9723
|
readonly turboVersion?: string;
|
|
9722
9724
|
/**
|
|
@@ -9765,7 +9767,7 @@ interface TurboRepoOptions {
|
|
|
9765
9767
|
*/
|
|
9766
9768
|
readonly globalPassThroughEnv?: Array<string>;
|
|
9767
9769
|
/**
|
|
9768
|
-
* @default
|
|
9770
|
+
* @default "stream"
|
|
9769
9771
|
*
|
|
9770
9772
|
* Select a terminal UI for the repository.
|
|
9771
9773
|
*
|
|
@@ -9776,7 +9778,7 @@ interface TurboRepoOptions {
|
|
|
9776
9778
|
*/
|
|
9777
9779
|
readonly ui?: "tui" | "stream";
|
|
9778
9780
|
/**
|
|
9779
|
-
* @default
|
|
9781
|
+
* @default false
|
|
9780
9782
|
*
|
|
9781
9783
|
* Turborepo uses your repository's lockfile to determine caching behavior,
|
|
9782
9784
|
* Package Graphs, and more. Because of this, we use the packageManager field
|
|
@@ -9793,7 +9795,7 @@ interface TurboRepoOptions {
|
|
|
9793
9795
|
*/
|
|
9794
9796
|
readonly dangerouslyDisablePackageManagerCheck?: boolean;
|
|
9795
9797
|
/**
|
|
9796
|
-
* @default
|
|
9798
|
+
* @default ".turbo/cache"
|
|
9797
9799
|
*
|
|
9798
9800
|
* Specify the filesystem cache directory.
|
|
9799
9801
|
*
|
|
@@ -9810,7 +9812,7 @@ interface TurboRepoOptions {
|
|
|
9810
9812
|
*/
|
|
9811
9813
|
readonly daemon?: boolean;
|
|
9812
9814
|
/**
|
|
9813
|
-
* @default
|
|
9815
|
+
* @default "strict"
|
|
9814
9816
|
*
|
|
9815
9817
|
* Turborepo's Environment Modes allow you to control which environment
|
|
9816
9818
|
* variables are available to a task at runtime:
|
|
@@ -9835,7 +9837,7 @@ interface TurboRepoOptions {
|
|
|
9835
9837
|
/**
|
|
9836
9838
|
* Env Args that will bre added to turbo's build:all task
|
|
9837
9839
|
*
|
|
9838
|
-
* @default
|
|
9840
|
+
* @default `{}`
|
|
9839
9841
|
*/
|
|
9840
9842
|
readonly buildAllTaskEnvVars?: Record<string, string>;
|
|
9841
9843
|
/*****************************************************************************
|
|
@@ -9847,31 +9849,31 @@ interface TurboRepoOptions {
|
|
|
9847
9849
|
/**
|
|
9848
9850
|
* Pre compile task
|
|
9849
9851
|
*
|
|
9850
|
-
* @default
|
|
9852
|
+
* @default "pre-compile"
|
|
9851
9853
|
*/
|
|
9852
9854
|
readonly preCompileTask?: Task;
|
|
9853
9855
|
/**
|
|
9854
9856
|
* Compile task
|
|
9855
9857
|
*
|
|
9856
|
-
* @default
|
|
9858
|
+
* @default "compile"
|
|
9857
9859
|
*/
|
|
9858
9860
|
readonly compileTask?: Task;
|
|
9859
9861
|
/**
|
|
9860
9862
|
* Post compile task
|
|
9861
9863
|
*
|
|
9862
|
-
* @default
|
|
9864
|
+
* @default "post-compile"
|
|
9863
9865
|
*/
|
|
9864
9866
|
readonly postCompileTask?: Task;
|
|
9865
9867
|
/**
|
|
9866
9868
|
* Test task
|
|
9867
9869
|
*
|
|
9868
|
-
* @default
|
|
9870
|
+
* @default "test"
|
|
9869
9871
|
*/
|
|
9870
9872
|
readonly testTask?: Task;
|
|
9871
9873
|
/**
|
|
9872
9874
|
* Package task
|
|
9873
9875
|
*
|
|
9874
|
-
* @default
|
|
9876
|
+
* @default "package"
|
|
9875
9877
|
*/
|
|
9876
9878
|
readonly packageTask?: Task;
|
|
9877
9879
|
}
|
|
@@ -9932,7 +9934,7 @@ declare class TurboRepo extends Component$1 {
|
|
|
9932
9934
|
*/
|
|
9933
9935
|
readonly globalPassThroughEnv: Array<string>;
|
|
9934
9936
|
/**
|
|
9935
|
-
* @default
|
|
9937
|
+
* @default "stream"
|
|
9936
9938
|
*
|
|
9937
9939
|
* Select a terminal UI for the repository.
|
|
9938
9940
|
*
|
|
@@ -9943,7 +9945,7 @@ declare class TurboRepo extends Component$1 {
|
|
|
9943
9945
|
*/
|
|
9944
9946
|
readonly ui: "tui" | "stream";
|
|
9945
9947
|
/**
|
|
9946
|
-
* @default
|
|
9948
|
+
* @default false
|
|
9947
9949
|
*
|
|
9948
9950
|
* Turborepo uses your repository's lockfile to determine caching behavior,
|
|
9949
9951
|
* Package Graphs, and more. Because of this, we use the packageManager field
|
|
@@ -9960,7 +9962,7 @@ declare class TurboRepo extends Component$1 {
|
|
|
9960
9962
|
*/
|
|
9961
9963
|
readonly dangerouslyDisablePackageManagerCheck: boolean;
|
|
9962
9964
|
/**
|
|
9963
|
-
* @default
|
|
9965
|
+
* @default ".turbo/cache"
|
|
9964
9966
|
*
|
|
9965
9967
|
* Specify the filesystem cache directory.
|
|
9966
9968
|
*
|
|
@@ -9976,7 +9978,7 @@ declare class TurboRepo extends Component$1 {
|
|
|
9976
9978
|
*/
|
|
9977
9979
|
readonly daemon: boolean;
|
|
9978
9980
|
/**
|
|
9979
|
-
* @default
|
|
9981
|
+
* @default "strict"
|
|
9980
9982
|
*
|
|
9981
9983
|
* Turborepo's Environment Modes allow you to control which environment
|
|
9982
9984
|
* variables are available to a task at runtime:
|
|
@@ -10193,7 +10195,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
|
|
|
10193
10195
|
/**
|
|
10194
10196
|
* The version of PNPM to use in the monorepo.
|
|
10195
10197
|
* @default VERSION.PNPM_VERSION
|
|
10196
|
-
* @see
|
|
10198
|
+
* @see `src/versions.ts`
|
|
10197
10199
|
*/
|
|
10198
10200
|
version?: string;
|
|
10199
10201
|
/**
|
|
@@ -10211,7 +10213,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
|
|
|
10211
10213
|
*/
|
|
10212
10214
|
readonly approveMergeUpgradeOptions?: ApproveMergeUpgradeOptions;
|
|
10213
10215
|
/**
|
|
10214
|
-
* Whether this monorepo consumes
|
|
10216
|
+
* Whether this monorepo consumes `@codedrifters/configulator` from a registry (npm).
|
|
10215
10217
|
* When true, the upgrade workflow adds steps to sync configulator and synthesize.
|
|
10216
10218
|
* Set to false when configulator is developed in this repo (e.g. workspace dependency).
|
|
10217
10219
|
*
|
|
@@ -10227,7 +10229,7 @@ interface MonorepoProjectOptions extends Omit<TypeScriptProjectOptions$1, "defau
|
|
|
10227
10229
|
* - `ProjectMetadataOptions`: explicit metadata configuration
|
|
10228
10230
|
* - `false`: disable ProjectMetadata entirely
|
|
10229
10231
|
*
|
|
10230
|
-
* @default {} (auto-detect from package.json)
|
|
10232
|
+
* @default `{}` (auto-detect from package.json)
|
|
10231
10233
|
*/
|
|
10232
10234
|
readonly projectMetadata?: ProjectMetadataOptions | false;
|
|
10233
10235
|
/**
|
|
@@ -10501,8 +10503,8 @@ declare class ProjectMetadata extends Component {
|
|
|
10501
10503
|
/**
|
|
10502
10504
|
* Return the maintainer-seed addendum for the `project-context`
|
|
10503
10505
|
* bundle, or an empty string when the root project either has no
|
|
10504
|
-
* layout-enforcement opinion or has opted out
|
|
10505
|
-
* "off"`).
|
|
10506
|
+
* layout-enforcement opinion or has opted out
|
|
10507
|
+
* (`layoutEnforcement: "off"`).
|
|
10506
10508
|
*
|
|
10507
10509
|
* Uses duck-typing on the root project's `layoutEnforcement`
|
|
10508
10510
|
* property to avoid a circular import with `MonorepoProject`. The
|
|
@@ -10727,7 +10729,7 @@ interface StarlightProjectOptions extends AstroProjectOptions {
|
|
|
10727
10729
|
*/
|
|
10728
10730
|
readonly editLink?: StarlightEditLink;
|
|
10729
10731
|
/**
|
|
10730
|
-
*
|
|
10732
|
+
* `@astrojs/starlight` package version.
|
|
10731
10733
|
*
|
|
10732
10734
|
* @default VERSION.STARLIGHT_VERSION
|
|
10733
10735
|
*/
|
|
@@ -10779,7 +10781,7 @@ declare const COMPLETE_JOB_ID = "complete";
|
|
|
10779
10781
|
* Call this for the default build workflow and for any build workflow created
|
|
10780
10782
|
* by Configulator (e.g. AwsDeployWorkflow).
|
|
10781
10783
|
*
|
|
10782
|
-
* @param buildWorkflow The Projen BuildWorkflow to append the complete job to.
|
|
10784
|
+
* @param buildWorkflow - The Projen BuildWorkflow to append the complete job to.
|
|
10783
10785
|
*/
|
|
10784
10786
|
declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
10785
10787
|
|
|
@@ -10807,7 +10809,7 @@ declare function addBuildCompleteJob(buildWorkflow: BuildWorkflow): void;
|
|
|
10807
10809
|
* (e.g. the upgrade workflow). Steps held inside lazy closures
|
|
10808
10810
|
* are skipped — those are reached via pass 1.
|
|
10809
10811
|
*
|
|
10810
|
-
* @param project The project whose GitHub workflows should be patched.
|
|
10812
|
+
* @param project - The project whose GitHub workflows should be patched.
|
|
10811
10813
|
*/
|
|
10812
10814
|
declare function pinPnpmActionSetup(project: Project): void;
|
|
10813
10815
|
|
|
@@ -10855,7 +10857,7 @@ declare function pinPnpmActionSetup(project: Project): void;
|
|
|
10855
10857
|
* untouched. The step's `uses` field is also left alone — this
|
|
10856
10858
|
* helper pins the input, not the action version pin.
|
|
10857
10859
|
*
|
|
10858
|
-
* @param project The project whose GitHub workflows should be patched.
|
|
10860
|
+
* @param project - The project whose GitHub workflows should be patched.
|
|
10859
10861
|
*/
|
|
10860
10862
|
declare function pinSetupNodeVersion(project: Project): void;
|
|
10861
10863
|
|
package/lib/index.js
CHANGED
|
@@ -16916,8 +16916,8 @@ var PnpmWorkspace = class _PnpmWorkspace extends import_projen.Component {
|
|
|
16916
16916
|
* Get the pnpm workspace component of a project. If it does not exist,
|
|
16917
16917
|
* return undefined.
|
|
16918
16918
|
*
|
|
16919
|
-
* @param project
|
|
16920
|
-
* @returns
|
|
16919
|
+
* @param project - The project to query.
|
|
16920
|
+
* @returns The PnpmWorkspace component if present, otherwise undefined.
|
|
16921
16921
|
*/
|
|
16922
16922
|
static of(project) {
|
|
16923
16923
|
const isDefined = (c) => c instanceof _PnpmWorkspace;
|
|
@@ -25199,8 +25199,8 @@ var ProjectMetadata = class _ProjectMetadata extends import_projen2.Component {
|
|
|
25199
25199
|
/**
|
|
25200
25200
|
* Return the maintainer-seed addendum for the `project-context`
|
|
25201
25201
|
* bundle, or an empty string when the root project either has no
|
|
25202
|
-
* layout-enforcement opinion or has opted out
|
|
25203
|
-
* "off"`).
|
|
25202
|
+
* layout-enforcement opinion or has opted out
|
|
25203
|
+
* (`layoutEnforcement: "off"`).
|
|
25204
25204
|
*
|
|
25205
25205
|
* Uses duck-typing on the root project's `layoutEnforcement`
|
|
25206
25206
|
* property to avoid a circular import with `MonorepoProject`. The
|
|
@@ -27960,7 +27960,7 @@ _TurboRepo.buildWorkflowOptions = (remoteCacheOptions) => {
|
|
|
27960
27960
|
preBuildSteps: [
|
|
27961
27961
|
{
|
|
27962
27962
|
name: "AWS Creds for SSM",
|
|
27963
|
-
uses: "aws-actions/configure-aws-credentials@
|
|
27963
|
+
uses: "aws-actions/configure-aws-credentials@v6",
|
|
27964
27964
|
with: {
|
|
27965
27965
|
["role-to-assume"]: remoteCacheOptions.oidcRole,
|
|
27966
27966
|
["aws-region"]: "us-east-1",
|
|
@@ -28373,7 +28373,7 @@ var VERSION = {
|
|
|
28373
28373
|
*/
|
|
28374
28374
|
SHARP_VERSION: "0.34.5",
|
|
28375
28375
|
/**
|
|
28376
|
-
* Version of
|
|
28376
|
+
* Version of `@astrojs/starlight` to pin for StarlightProject scaffolding.
|
|
28377
28377
|
*/
|
|
28378
28378
|
STARLIGHT_VERSION: "0.39.2",
|
|
28379
28379
|
/**
|
|
@@ -28381,7 +28381,7 @@ var VERSION = {
|
|
|
28381
28381
|
*/
|
|
28382
28382
|
TURBO_VERSION: "2.9.14",
|
|
28383
28383
|
/**
|
|
28384
|
-
* Version of
|
|
28384
|
+
* Version of `@types/node` to use across all packages (pnpm catalog).
|
|
28385
28385
|
*/
|
|
28386
28386
|
TYPES_NODE_VERSION: "25.8.0",
|
|
28387
28387
|
/**
|
|
@@ -31963,7 +31963,7 @@ var AuditCategory = {
|
|
|
31963
31963
|
LinkFailures: "linkFailures",
|
|
31964
31964
|
/**
|
|
31965
31965
|
* Findings produced by the fenced-sample compilation check that
|
|
31966
|
-
* flags `
|
|
31966
|
+
* flags `ts`, `typescript`, and `tsx` fenced code blocks in the
|
|
31967
31967
|
* docs that fail `tsc`. Wired in by child issue #520.
|
|
31968
31968
|
*/
|
|
31969
31969
|
SampleFailures: "sampleFailures"
|
|
@@ -34032,7 +34032,7 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
34032
34032
|
release: false,
|
|
34033
34033
|
/**
|
|
34034
34034
|
* Uppgrade dependencies automatically unless otherwise instructed.
|
|
34035
|
-
* Exclude
|
|
34035
|
+
* Exclude `@codedrifters/configulator` so the default upgrade task does not
|
|
34036
34036
|
* upgrade it (version is often managed in-repo or via a separate sync step).
|
|
34037
34037
|
*/
|
|
34038
34038
|
depsUpgrade: true,
|
|
@@ -34309,12 +34309,8 @@ var MonorepoProject = class extends import_typescript3.TypeScriptAppProject {
|
|
|
34309
34309
|
|
|
34310
34310
|
// src/typescript/tsdoc-config.ts
|
|
34311
34311
|
var import_projen20 = require("projen");
|
|
34312
|
-
var STANDARD_MODIFIER_TAGS = [
|
|
34313
|
-
|
|
34314
|
-
"@defaultValue",
|
|
34315
|
-
"@experimental",
|
|
34316
|
-
"@internal"
|
|
34317
|
-
];
|
|
34312
|
+
var STANDARD_MODIFIER_TAGS = ["@default"];
|
|
34313
|
+
var STANDARD_INLINE_TAGS = ["@code"];
|
|
34318
34314
|
var ALWAYS_ON_SCOPES = ["@codedrifters"];
|
|
34319
34315
|
var TsdocConfig = class _TsdocConfig extends import_projen20.Component {
|
|
34320
34316
|
/**
|
|
@@ -34343,17 +34339,26 @@ var TsdocConfig = class _TsdocConfig extends import_projen20.Component {
|
|
|
34343
34339
|
...scopeFromName ? [scopeFromName] : [],
|
|
34344
34340
|
...options.workspaceScopes ?? []
|
|
34345
34341
|
]);
|
|
34346
|
-
const
|
|
34342
|
+
const modifierTagSet = /* @__PURE__ */ new Set([
|
|
34347
34343
|
...STANDARD_MODIFIER_TAGS,
|
|
34348
34344
|
...Array.from(scopeSet),
|
|
34349
34345
|
...options.additionalModifierTags ?? []
|
|
34350
34346
|
]);
|
|
34351
|
-
const
|
|
34352
|
-
|
|
34353
|
-
|
|
34354
|
-
|
|
34355
|
-
|
|
34347
|
+
const inlineTagSet = /* @__PURE__ */ new Set([...STANDARD_INLINE_TAGS]);
|
|
34348
|
+
const tagDefinitions = [
|
|
34349
|
+
...Array.from(modifierTagSet).map((tagName) => ({
|
|
34350
|
+
tagName,
|
|
34351
|
+
syntaxKind: "modifier",
|
|
34352
|
+
allowMultiple: true
|
|
34353
|
+
})),
|
|
34354
|
+
...Array.from(inlineTagSet).map((tagName) => ({
|
|
34355
|
+
tagName,
|
|
34356
|
+
syntaxKind: "inline",
|
|
34357
|
+
allowMultiple: true
|
|
34358
|
+
}))
|
|
34359
|
+
].sort((a, b) => a.tagName.localeCompare(b.tagName));
|
|
34356
34360
|
new import_projen20.JsonFile(project, "tsdoc.json", {
|
|
34361
|
+
marker: false,
|
|
34357
34362
|
obj: {
|
|
34358
34363
|
$schema: "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
34359
34364
|
tagDefinitions
|
|
@@ -34803,7 +34808,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen24.Compone
|
|
|
34803
34808
|
* Handles both exact matches (e.g., "main") and glob patterns (e.g., "feature/*").
|
|
34804
34809
|
* Also allows workflow_dispatch (manual runs) to proceed.
|
|
34805
34810
|
*
|
|
34806
|
-
* @param branches Array of GitBranch objects with branch patterns
|
|
34811
|
+
* @param branches - Array of GitBranch objects with branch patterns
|
|
34807
34812
|
* @returns Condition string or empty string if no branches provided
|
|
34808
34813
|
*/
|
|
34809
34814
|
this.buildBranchFilterCondition = (branches) => {
|
|
@@ -34850,7 +34855,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends import_projen24.Compone
|
|
|
34850
34855
|
*/
|
|
34851
34856
|
{
|
|
34852
34857
|
name: `AWS Creds ${awsStageType}/${deploymentTargetRole}/${account}/${region}`,
|
|
34853
|
-
uses: "aws-actions/configure-aws-credentials@
|
|
34858
|
+
uses: "aws-actions/configure-aws-credentials@v6",
|
|
34854
34859
|
with: {
|
|
34855
34860
|
"role-to-assume": roleArn,
|
|
34856
34861
|
"aws-region": region,
|