@savvy-web/silk-effects 9.5.5 → 9.6.0

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.
Files changed (143) hide show
  1. package/_virtual/_rolldown/runtime.js +1 -2
  2. package/changesets/api/categories.js +1 -2
  3. package/changesets/api/changelog.js +1 -2
  4. package/changesets/api/dependency-table.js +1 -2
  5. package/changesets/api/linter.js +1 -2
  6. package/changesets/api/transformer.js +1 -2
  7. package/changesets/categories/index.js +1 -2
  8. package/changesets/categories/types.js +1 -2
  9. package/changesets/changelog/formatting.js +1 -2
  10. package/changesets/changelog/getDependencyReleaseLine.js +1 -2
  11. package/changesets/changelog/getReleaseLine.js +1 -2
  12. package/changesets/changelog/index.js +1 -2
  13. package/changesets/changelog/vanilla.js +1 -2
  14. package/changesets/constants.js +1 -2
  15. package/changesets/errors.js +1 -2
  16. package/changesets/index.js +1 -2
  17. package/changesets/markdownlint/index.js +1 -2
  18. package/changesets/markdownlint/rules/content-structure.js +1 -2
  19. package/changesets/markdownlint/rules/dependency-table-format.js +1 -2
  20. package/changesets/markdownlint/rules/heading-hierarchy.js +1 -2
  21. package/changesets/markdownlint/rules/required-sections.js +1 -2
  22. package/changesets/markdownlint/rules/uncategorized-content.js +1 -2
  23. package/changesets/markdownlint/rules/utils.js +1 -2
  24. package/changesets/remark/plugins/aggregate-dependency-tables.js +1 -2
  25. package/changesets/remark/plugins/contributor-footnotes.js +1 -2
  26. package/changesets/remark/plugins/deduplicate-items.js +1 -2
  27. package/changesets/remark/plugins/issue-link-refs.js +1 -2
  28. package/changesets/remark/plugins/maintenance-note.js +1 -2
  29. package/changesets/remark/plugins/merge-sections.js +1 -2
  30. package/changesets/remark/plugins/normalize-format.js +1 -2
  31. package/changesets/remark/plugins/reorder-sections.js +1 -2
  32. package/changesets/remark/presets.js +1 -2
  33. package/changesets/remark/rules/content-structure.js +1 -2
  34. package/changesets/remark/rules/dependency-table-format.js +1 -2
  35. package/changesets/remark/rules/heading-hierarchy.js +1 -2
  36. package/changesets/remark/rules/required-sections.js +1 -2
  37. package/changesets/remark/rules/uncategorized-content.js +1 -2
  38. package/changesets/schemas/changeset.js +1 -2
  39. package/changesets/schemas/dependency-table.js +1 -2
  40. package/changesets/schemas/deps-regen.js +1 -2
  41. package/changesets/schemas/git.js +1 -2
  42. package/changesets/schemas/github.js +1 -2
  43. package/changesets/schemas/options.js +1 -2
  44. package/changesets/schemas/package-scope.js +1 -2
  45. package/changesets/schemas/primitives.js +1 -2
  46. package/changesets/schemas/release-plan.js +1 -2
  47. package/changesets/schemas/version-files.js +1 -2
  48. package/changesets/services/branch-analyzer.js +1 -2
  49. package/changesets/services/changelog.js +1 -2
  50. package/changesets/services/config-inspector.js +1 -2
  51. package/changesets/services/deps-regen.js +1 -2
  52. package/changesets/services/github.js +1 -2
  53. package/changesets/services/maintenance-reason.js +1 -2
  54. package/changesets/services/release-planner.js +1 -2
  55. package/changesets/utils/commit-parser.js +1 -2
  56. package/changesets/utils/dep-diff.js +1 -2
  57. package/changesets/utils/dependency-section.js +1 -2
  58. package/changesets/utils/dependency-table.js +1 -2
  59. package/changesets/utils/git.js +1 -2
  60. package/changesets/utils/issue-refs.js +1 -2
  61. package/changesets/utils/jsonpath.js +1 -2
  62. package/changesets/utils/logger.js +1 -2
  63. package/changesets/utils/markdown-emit.js +1 -2
  64. package/changesets/utils/markdown-link.js +1 -2
  65. package/changesets/utils/publishability.js +1 -2
  66. package/changesets/utils/remark-pipeline.js +1 -2
  67. package/changesets/utils/section-parser.js +1 -2
  68. package/changesets/utils/strip-frontmatter.js +1 -2
  69. package/changesets/utils/version-blocks.js +1 -2
  70. package/changesets/utils/version-files.js +1 -2
  71. package/changesets/vendor/github-info.js +1 -2
  72. package/commitlint/config/factory.js +1 -2
  73. package/commitlint/config/plugins.js +1 -2
  74. package/commitlint/config/rules.js +1 -2
  75. package/commitlint/config/schema.js +1 -2
  76. package/commitlint/detection/dco.js +1 -2
  77. package/commitlint/detection/scopes.js +1 -2
  78. package/commitlint/formatter/format.js +1 -2
  79. package/commitlint/formatter/messages.js +1 -2
  80. package/commitlint/hook/diagnostics/branch.js +1 -2
  81. package/commitlint/hook/diagnostics/cache.js +1 -2
  82. package/commitlint/hook/diagnostics/commitlint-config.js +1 -2
  83. package/commitlint/hook/diagnostics/open-issues.js +1 -2
  84. package/commitlint/hook/diagnostics/package-manager.js +1 -2
  85. package/commitlint/hook/diagnostics/signing.js +1 -2
  86. package/commitlint/hook/envelope.js +1 -2
  87. package/commitlint/hook/output.js +1 -2
  88. package/commitlint/hook/parse-bash-command.js +1 -2
  89. package/commitlint/hook/rules/closes-trailer.js +1 -2
  90. package/commitlint/hook/rules/forbidden-content.js +1 -2
  91. package/commitlint/hook/rules/plan-leakage.js +1 -2
  92. package/commitlint/hook/rules/signing-flag-conflict.js +1 -2
  93. package/commitlint/hook/rules/soft-wrap.js +1 -2
  94. package/commitlint/hook/rules/types.js +1 -2
  95. package/commitlint/hook/rules/verbosity.js +1 -2
  96. package/commitlint/hook/silence-logger.js +1 -2
  97. package/commitlint/index.js +1 -2
  98. package/commitlint/prompt/config.js +1 -2
  99. package/commitlint/prompt/emojis.js +1 -2
  100. package/commitlint/prompt/prompter.js +1 -2
  101. package/commitlint/static.js +1 -2
  102. package/index.d.ts +87 -251
  103. package/index.js +2 -2
  104. package/lint/Handler.js +1 -2
  105. package/lint/cli/sections.js +1 -2
  106. package/lint/cli/templates/markdownlint.gen.js +1 -2
  107. package/lint/config/Preset.js +1 -2
  108. package/lint/config/createConfig.js +1 -2
  109. package/lint/handlers/Biome.js +1 -2
  110. package/lint/handlers/Markdown.js +1 -2
  111. package/lint/handlers/PackageJson.js +1 -2
  112. package/lint/handlers/PnpmWorkspace.js +1 -2
  113. package/lint/handlers/ShellScripts.js +1 -2
  114. package/lint/handlers/TextFiles.js +1 -2
  115. package/lint/handlers/TypeScript.js +1 -2
  116. package/lint/handlers/Yaml.js +1 -2
  117. package/lint/index.js +1 -2
  118. package/lint/utils/Command.js +1 -2
  119. package/lint/utils/Filter.js +1 -2
  120. package/lint/utils/Workspace.js +1 -2
  121. package/package.json +14 -14
  122. package/repos/constants.js +1 -2
  123. package/repos/errors.js +1 -2
  124. package/repos/index.js +1 -2
  125. package/repos/schemas/drift.js +1 -2
  126. package/repos/schemas/manifest.js +1 -2
  127. package/repos/schemas/reports.js +1 -2
  128. package/repos/services/config-store.js +1 -2
  129. package/repos/services/drift.js +1 -2
  130. package/repos/services/lockdown.js +1 -2
  131. package/repos/services/manager.js +1 -2
  132. package/services/BiomeSchemaSync.js +1 -2
  133. package/services/ChangesetConfig.js +1 -2
  134. package/services/ChangesetConfigReader.js +1 -2
  135. package/services/ConfigDiscovery.js +1 -2
  136. package/services/SilkPublishability.js +147 -6
  137. package/services/SilkWorkspaceAnalyzer.js +1 -2
  138. package/turbo/digest.js +1 -2
  139. package/turbo/errors.js +1 -2
  140. package/turbo/index.js +1 -2
  141. package/turbo/schemas/DryRun.js +1 -2
  142. package/turbo/schemas/results.js +1 -2
  143. package/turbo/services/TurboInspector.js +1 -2
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AnalyzedWorkspace, BiomeSyncError, BiomeSyncError as BiomeSyncError$1, BiomeSyncOptions, BiomeSyncResult, BiomeSyncResult as BiomeSyncResult$1, ChangesetConfigError, ChangesetConfigError as ChangesetConfigError$1, ChangesetConfigFile, ChangesetConfigFile as ChangesetConfigFile$1, ConfigDiscoveryOptions, ConfigLocation, ConfigLocation as ConfigLocation$1, ConfigNotFoundError, ConfigSource, LIFECYCLE_SCRIPTS_CONFIG_KEY, PrBody, PublishTargetBindingError, PublishTargetBindingError as PublishTargetBindingError$1, SavvyBaseSection, SavvyHooksSection, SavvyInstallHook, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkChangesetConfigFile, SilkChangesetConfigFile as SilkChangesetConfigFile$1, SilkPublishConfig, WorkspaceAnalysis, WorkspaceAnalysis as WorkspaceAnalysis$1, WorkspaceAnalysisError, WorkspaceAnalysisError as WorkspaceAnalysisError$1, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck } from "@savvy-web/silk-core";
1
+ import { AnalyzedWorkspace, BiomeSyncError, BiomeSyncError as BiomeSyncError$1, BiomeSyncOptions, BiomeSyncResult, BiomeSyncResult as BiomeSyncResult$1, ChangesetConfigError, ChangesetConfigError as ChangesetConfigError$1, ChangesetConfigFile, ChangesetConfigFile as ChangesetConfigFile$1, ConfigDiscoveryOptions, ConfigLocation, ConfigLocation as ConfigLocation$1, ConfigNotFoundError, ConfigSource, LIFECYCLE_SCRIPTS_CONFIG_KEY, PrBody, PublishTargetBindingError, PublishTargetBindingError as PublishTargetBindingError$1, ReleaseChannelError, ReleaseChannelError as ReleaseChannelError$1, SavvyBaseSection, SavvyHooksSection, SavvyInstallHook, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkChangesetConfigFile, SilkChangesetConfigFile as SilkChangesetConfigFile$1, SilkPublishConfig, WorkspaceAnalysis, WorkspaceAnalysis as WorkspaceAnalysis$1, WorkspaceAnalysisError, WorkspaceAnalysisError as WorkspaceAnalysisError$1, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck } from "@savvy-web/silk-core";
2
2
  import { Context, Data, Effect, FileSystem, Layer, Path, PlatformError, Schema } from "effect";
3
3
  import { Plugin } from "unified";
4
4
  import { ChildProcessSpawner } from "effect/process";
@@ -9,8 +9,6 @@ import * as PlatformError$1 from "effect/PlatformError";
9
9
  import { YamlFormattingOptions } from "@effected/yaml";
10
10
  import { Section, SectionId } from "@effected/templates";
11
11
  import { ToolDiscovery } from "@effected/commands";
12
- //#endregion
13
- //#region src/changesets/categories/types.d.ts
14
12
  /**
15
13
  * Schema for a section category that defines how changes are grouped in release notes.
16
14
  *
@@ -64,8 +62,6 @@ declare const SectionCategorySchema: Schema.Struct<{
64
62
  * @public
65
63
  */
66
64
  interface SectionCategory extends Schema.Schema.Type<typeof SectionCategorySchema> {}
67
- //#endregion
68
- //#region src/changesets/api/categories.d.ts
69
65
  /**
70
66
  * Static class wrapper for section category operations.
71
67
  *
@@ -291,8 +287,6 @@ declare class Categories {
291
287
  */
292
288
  static isValidHeading(heading: string): boolean;
293
289
  }
294
- //#endregion
295
- //#region src/changesets/utils/logger.d.ts
296
290
  /**
297
291
  * How changelog warnings are emitted.
298
292
  *
@@ -325,8 +319,6 @@ type ChangesetLogModeValue = "silent" | "github" | "stderr";
325
319
  * @public
326
320
  */
327
321
  declare const ChangesetLogMode: Context.Reference<ChangesetLogModeValue>;
328
- //#endregion
329
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0/node_modules/@changesets/types/dist/index.d.mts
330
322
  //#region src/index.d.ts
331
323
  type MaybePromise<T> = T | Promise<T>;
332
324
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -455,8 +447,6 @@ type PreState = {
455
447
  mode: "pre" | "exit";
456
448
  tag: string;
457
449
  };
458
- //#endregion
459
- //#region src/changesets/api/changelog.d.ts
460
450
  /**
461
451
  * Static class wrapper for changelog formatting operations.
462
452
  *
@@ -576,8 +566,6 @@ declare class Changelog {
576
566
  */
577
567
  static formatDependencyReleaseLine(changesets: NewChangesetWithCommit[], dependenciesUpdated: ModCompWithPackage[], options: Record<string, unknown> | null, logMode?: ChangesetLogModeValue): Promise<string>;
578
568
  }
579
- //#endregion
580
- //#region ../../node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts
581
569
  // ## Interfaces
582
570
  /**
583
571
  * Info associated with nodes by the ecosystem.
@@ -658,8 +646,6 @@ interface Node$1 {
658
646
  */
659
647
  position?: Position | undefined;
660
648
  }
661
- //#endregion
662
- //#region ../../node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts
663
649
  // ## Enumeration
664
650
  /**
665
651
  * How phrasing content is aligned
@@ -1608,8 +1594,6 @@ interface Yaml$1 extends Literal {
1608
1594
  * Info associated with mdast YAML nodes by the ecosystem.
1609
1595
  */
1610
1596
  interface YamlData extends Data$1 {}
1611
- //#endregion
1612
- //#region src/changesets/schemas/dependency-table.d.ts
1613
1597
  /**
1614
1598
  * Valid dependency table actions.
1615
1599
  *
@@ -1824,8 +1808,6 @@ declare const DependencyTableSchema: Schema.$Array<Schema.Struct<{
1824
1808
  /** New version (em dash for removed). */
1825
1809
  readonly to: Schema.String;
1826
1810
  }>>;
1827
- //#endregion
1828
- //#region src/changesets/api/dependency-table.d.ts
1829
1811
  /**
1830
1812
  * Static class for dependency table manipulation.
1831
1813
  *
@@ -1970,8 +1952,6 @@ declare class DependencyTable {
1970
1952
  */
1971
1953
  static aggregate(rows: DependencyTableRow[]): DependencyTableRow[];
1972
1954
  }
1973
- //#endregion
1974
- //#region src/changesets/api/linter.d.ts
1975
1955
  /**
1976
1956
  * Class-based API wrapper for changeset linting.
1977
1957
  *
@@ -2175,8 +2155,6 @@ declare class ChangesetLinter {
2175
2155
  */
2176
2156
  static validate(dir: string): LintMessage[];
2177
2157
  }
2178
- //#endregion
2179
- //#region src/changesets/services/maintenance-reason.d.ts
2180
2158
  /**
2181
2159
  * A group co-member whose own changesets forced this release.
2182
2160
  *
@@ -2239,8 +2217,6 @@ type MaintenanceReason = typeof MaintenanceReasonSchema.Type;
2239
2217
  * @public
2240
2218
  */
2241
2219
  declare function deriveMaintenanceReason(release: ComprehensiveRelease, plan: ReleasePlan, config: Config): MaintenanceReason | undefined;
2242
- //#endregion
2243
- //#region src/changesets/remark/plugins/maintenance-note.d.ts
2244
2220
  /**
2245
2221
  * Options for {@link MaintenanceNotePlugin}.
2246
2222
  *
@@ -2253,8 +2229,6 @@ interface MaintenanceNoteOptions {
2253
2229
  readonly reason: MaintenanceReason;
2254
2230
  }
2255
2231
  declare const MaintenanceNotePlugin: Plugin<[MaintenanceNoteOptions], Root>;
2256
- //#endregion
2257
- //#region src/changesets/api/transformer.d.ts
2258
2232
  /**
2259
2233
  * Optional per-file behavior for {@link ChangelogTransformer}.
2260
2234
  *
@@ -2374,8 +2348,6 @@ declare class ChangelogTransformer {
2374
2348
  */
2375
2349
  static transformFile(filePath: string, options?: TransformOptions): void;
2376
2350
  }
2377
- //#endregion
2378
- //#region src/changesets/changelog/index.d.ts
2379
2351
  /**
2380
2352
  * Options for {@link makeChangelogFunctions}.
2381
2353
  *
@@ -2418,8 +2390,6 @@ declare function makeChangelogFunctions(options?: MakeChangelogFunctionsOptions)
2418
2390
  * @internal
2419
2391
  */
2420
2392
  declare const changelogFunctions: ChangelogFunctions;
2421
- //#endregion
2422
- //#region src/changesets/changelog/vanilla.d.ts
2423
2393
  /**
2424
2394
  * The stock `\@changesets/changelog-git` changelog implementation.
2425
2395
  *
@@ -2445,8 +2415,6 @@ declare const changelogFunctions: ChangelogFunctions;
2445
2415
  * @public
2446
2416
  */
2447
2417
  declare const vanillaChangelogFunctions: ChangelogFunctions;
2448
- //#endregion
2449
- //#region src/changesets/errors.d.ts
2450
2418
  /**
2451
2419
  * Tagged errors for \@savvy-web/changesets.
2452
2420
  *
@@ -2898,8 +2866,6 @@ declare class ReleasePlanError extends ReleasePlanErrorBase<{
2898
2866
  }> {
2899
2867
  get message(): string;
2900
2868
  }
2901
- //#endregion
2902
- //#region src/services/ChangesetConfigReader.d.ts
2903
2869
  /**
2904
2870
  * The {@link ChangesetConfigReader} service shape.
2905
2871
  *
@@ -2955,8 +2921,6 @@ export declare class ChangesetConfigReader extends ChangesetConfigReader_base {
2955
2921
  */
2956
2922
  static readonly layer: Layer.Layer<ChangesetConfigReader, never, FileSystem.FileSystem>;
2957
2923
  }
2958
- //#endregion
2959
- //#region src/changesets/services/config-inspector.d.ts
2960
2924
  /** A `versionFiles` entry expanded to its absolute target paths. @public */
2961
2925
  declare const ResolvedVersionFileSchema: Schema.Struct<{
2962
2926
  readonly glob: Schema.String;
@@ -3141,8 +3105,6 @@ declare class ConfigInspector extends ConfigInspector_base {
3141
3105
  * @public
3142
3106
  */
3143
3107
  declare function makeConfigInspectorTest(fixed: InspectedConfig): Layer.Layer<ConfigInspector>;
3144
- //#endregion
3145
- //#region src/changesets/services/branch-analyzer.d.ts
3146
3108
  /** Git diff status as reported by `--name-status`. @public */
3147
3109
  declare const FileStatusSchema: Schema.Literals<readonly ["added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown"]>;
3148
3110
  /** Git diff status as reported by `--name-status`. @public */
@@ -3254,8 +3216,6 @@ declare class BranchAnalyzer extends BranchAnalyzer_base {
3254
3216
  * @public
3255
3217
  */
3256
3218
  declare function makeBranchAnalyzerTest(fixed: BranchAnalysis): Layer.Layer<BranchAnalyzer>;
3257
- //#endregion
3258
- //#region src/changesets/schemas/options.d.ts
3259
3219
  /**
3260
3220
  * Schema for a GitHub repository in `owner/repo` format.
3261
3221
  *
@@ -3379,8 +3339,6 @@ declare const ChangesetOptionsSchema: Schema.Struct<{
3379
3339
  * @public
3380
3340
  */
3381
3341
  interface ChangesetOptions extends Schema.Schema.Type<typeof ChangesetOptionsSchema> {}
3382
- //#endregion
3383
- //#region src/changesets/vendor/github-info.d.ts
3384
3342
  /**
3385
3343
  * Structured result from the GitHub commit info API.
3386
3344
  *
@@ -3422,8 +3380,6 @@ interface GitHubCommitInfo {
3422
3380
  user: string | null;
3423
3381
  };
3424
3382
  }
3425
- //#endregion
3426
- //#region src/changesets/services/github.d.ts
3427
3383
  /**
3428
3384
  * Service interface for GitHub API operations.
3429
3385
  *
@@ -3580,8 +3536,6 @@ declare class GitHubService extends GitHubService_base {
3580
3536
  * @public
3581
3537
  */
3582
3538
  declare function makeGitHubTest(responses: Map<string, GitHubCommitInfo>): Layer.Layer<GitHubService>;
3583
- //#endregion
3584
- //#region src/changesets/services/changelog.d.ts
3585
3539
  /**
3586
3540
  * Service interface for changelog formatting.
3587
3541
  *
@@ -3650,8 +3604,6 @@ declare const ChangelogService_base: Context.ServiceClass<ChangelogService, "Cha
3650
3604
  * @public
3651
3605
  */
3652
3606
  declare class ChangelogService extends ChangelogService_base {}
3653
- //#endregion
3654
- //#region src/services/ChangesetConfig.d.ts
3655
3607
  /**
3656
3608
  * Changeset operating mode for a workspace root.
3657
3609
  * @public
@@ -3710,8 +3662,6 @@ export declare class ChangesetConfig extends ChangesetConfig_base {
3710
3662
  */
3711
3663
  static readonly layer: Layer.Layer<ChangesetConfig, never, ChangesetConfigReader>;
3712
3664
  }
3713
- //#endregion
3714
- //#region src/changesets/schemas/deps-regen.d.ts
3715
3665
  /**
3716
3666
  * One dependency-diff row emitted by the deps-regen planner.
3717
3667
  *
@@ -3814,8 +3764,6 @@ declare const RegenResultSchema: Schema.Struct<{
3814
3764
  * @public
3815
3765
  */
3816
3766
  type RegenResult = Schema.Schema.Type<typeof RegenResultSchema>;
3817
- //#endregion
3818
- //#region src/changesets/services/deps-regen.d.ts
3819
3767
  /**
3820
3768
  * Strict detection of "pure dependency changesets" per the documented
3821
3769
  * rules: single-package frontmatter, single `## Dependencies` heading,
@@ -4051,8 +3999,6 @@ declare function makeDepsRegenDefault(options?: WorkspacesOptions): Layer.Layer<
4051
3999
  * @public
4052
4000
  */
4053
4001
  declare const DepsRegenDefault: Layer.Layer<DepsRegen, never, FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
4054
- //#endregion
4055
- //#region src/changesets/schemas/release-plan.d.ts
4056
4002
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
4057
4003
  declare const BumpTypeSchema: Schema.Literals<readonly ["major", "minor", "patch"]>;
4058
4004
  /** A semantic-version bump level. @public */
@@ -4134,8 +4080,6 @@ declare const AppliedReleaseSchema: Schema.Struct<{
4134
4080
  }>;
4135
4081
  /** Result of a native apply. @public */
4136
4082
  type AppliedRelease = Schema.Schema.Type<typeof AppliedReleaseSchema>;
4137
- //#endregion
4138
- //#region src/changesets/services/release-planner.d.ts
4139
4083
  /**
4140
4084
  * Per-call `changeset version --snapshot` parity options, forwarded to
4141
4085
  * `@changesets/assemble-release-plan`. Mirrors the CLI's `--snapshot [tag]`
@@ -4265,8 +4209,6 @@ declare function makeReleasePlannerTest(fixed: {
4265
4209
  readonly preview?: ChangesetPreview;
4266
4210
  readonly apply?: AppliedRelease;
4267
4211
  }): Layer.Layer<ReleasePlanner>;
4268
- //#endregion
4269
- //#region src/changesets/schemas/changeset.d.ts
4270
4212
  /**
4271
4213
  * Schema for a changeset summary (1--1000 characters).
4272
4214
  *
@@ -4421,8 +4363,6 @@ declare const DependencyUpdateSchema: Schema.Struct<{
4421
4363
  * @public
4422
4364
  */
4423
4365
  interface DependencyUpdate extends Schema.Schema.Type<typeof DependencyUpdateSchema> {}
4424
- //#endregion
4425
- //#region src/changesets/schemas/git.d.ts
4426
4366
  /**
4427
4367
  * Schema for a git commit hash (at least 7 lowercase hex characters).
4428
4368
  *
@@ -4488,8 +4428,6 @@ declare const VersionTypeSchema: Schema.Literals<readonly ["major", "minor", "pa
4488
4428
  * @public
4489
4429
  */
4490
4430
  type VersionType = typeof VersionTypeSchema.Type;
4491
- //#endregion
4492
- //#region src/changesets/schemas/github.d.ts
4493
4431
  /**
4494
4432
  * Schema for a GitHub username.
4495
4433
  *
@@ -4636,8 +4574,6 @@ declare const GitHubInfoSchema: Schema.Struct<{
4636
4574
  * @public
4637
4575
  */
4638
4576
  interface GitHubInfo extends Schema.Schema.Type<typeof GitHubInfoSchema> {}
4639
- //#endregion
4640
- //#region src/changesets/schemas/package-scope.d.ts
4641
4577
  /**
4642
4578
  * Schema for a single repo-relative glob pattern.
4643
4579
  *
@@ -4733,8 +4669,6 @@ declare const PackagesRecordSchema: Schema.$Record<Schema.String, Schema.Struct<
4733
4669
  readonly paths: Schema.optional<Schema.$Array<Schema.String>>;
4734
4670
  }>>>;
4735
4671
  }>>;
4736
- //#endregion
4737
- //#region src/changesets/schemas/primitives.d.ts
4738
4672
  /**
4739
4673
  * A non-empty string schema.
4740
4674
  *
@@ -4788,8 +4722,6 @@ declare const NonEmptyString: Schema.String;
4788
4722
  * @public
4789
4723
  */
4790
4724
  declare const PositiveInteger: Schema.Number;
4791
- //#endregion
4792
- //#region src/changesets/schemas/version-files.d.ts
4793
4725
  /**
4794
4726
  * Schema for a JSONPath expression starting with `$.`.
4795
4727
  *
@@ -4933,8 +4865,6 @@ declare const LegacyVersionFilesSchema: Schema.$Array<Schema.Struct<{
4933
4865
  /** Workspace package name to source the version from, bypassing path-based resolution. */
4934
4866
  readonly package: Schema.optional<Schema.String>;
4935
4867
  }>>;
4936
- //#endregion
4937
- //#region src/changesets/utils/dep-diff.d.ts
4938
4868
  /**
4939
4869
  * A workspace package's worth of dependency-table rows.
4940
4870
  *
@@ -4962,8 +4892,6 @@ interface WorkspaceDependencyDiff {
4962
4892
  * @public
4963
4893
  */
4964
4894
  declare function computeWorkspaceDependencyDiffs(before: WorkspaceStateSnapshot, after: WorkspaceStateSnapshot): ReadonlyArray<WorkspaceDependencyDiff>;
4965
- //#endregion
4966
- //#region src/changesets/utils/dependency-table.d.ts
4967
4895
  /**
4968
4896
  * Serialize dependency table rows to a markdown table string.
4969
4897
  *
@@ -4990,8 +4918,6 @@ declare function computeWorkspaceDependencyDiffs(before: WorkspaceStateSnapshot,
4990
4918
  * @internal
4991
4919
  */
4992
4920
  declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]): string;
4993
- //#endregion
4994
- //#region src/changesets/utils/git.d.ts
4995
4921
  /**
4996
4922
  * Run `git merge-base <base> HEAD`, returning the SHA. Errors propagate
4997
4923
  * as {@link GitError}.
@@ -4999,8 +4925,6 @@ declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]):
4999
4925
  * @internal
5000
4926
  */
5001
4927
  declare function gitMergeBase(cwd: string, base: string): Effect.Effect<string, GitError, Git>;
5002
- //#endregion
5003
- //#region src/changesets/utils/publishability.d.ts
5004
4928
  /**
5005
4929
  * Compute the set of currently-publishable workspace package names.
5006
4930
  *
@@ -5024,8 +4948,6 @@ declare function gitMergeBase(cwd: string, base: string): Effect.Effect<string,
5024
4948
  * @public
5025
4949
  */
5026
4950
  declare function listPublishablePackageNames(packages: ReadonlyArray<WorkspacePackage>, _root: string): Effect.Effect<ReadonlySet<string>, never, PublishabilityDetector>;
5027
- //#endregion
5028
- //#region src/changesets/utils/version-files.d.ts
5029
4951
  /**
5030
4952
  * Result of a single version file update.
5031
4953
  *
@@ -5305,8 +5227,6 @@ declare class VersionFiles {
5305
5227
  /** Render a `PlatformError` the way the old `node:fs` catch rendered an `Error`. */
5306
5228
  private static describeFailure;
5307
5229
  }
5308
- //#endregion
5309
- //#region ../../node_modules/.pnpm/micromark-util-types@2.0.2/node_modules/micromark-util-types/index.d.ts
5310
5230
  /**
5311
5231
  * Enum of allowed token types.
5312
5232
  */
@@ -5424,8 +5344,6 @@ interface TokenTypeMap {
5424
5344
  chunkText: 'chunkText';
5425
5345
  chunkString: 'chunkString';
5426
5346
  }
5427
- //#endregion
5428
- //#region ../../node_modules/.pnpm/markdownlint@0.41.1_supports-color@8.1.1/node_modules/markdownlint/lib/markdownlint.d.mts
5429
5347
  /**
5430
5348
  * Function to implement rule logic.
5431
5349
  */
@@ -5697,11 +5615,7 @@ type Rule$2 = {
5697
5615
  * Rule configuration.
5698
5616
  */
5699
5617
  type RuleConfiguration = boolean | any;
5700
- //#endregion
5701
- //#region ../../node_modules/.pnpm/markdownlint@0.41.1_supports-color@8.1.1/node_modules/markdownlint/lib/exports.d.mts
5702
5618
  type Rule$1 = Rule$2;
5703
- //#endregion
5704
- //#region src/changesets/markdownlint/rules/content-structure.d.ts
5705
5619
  /**
5706
5620
  * markdownlint rule: `changeset-content-structure` (CSH003).
5707
5621
  *
@@ -5733,16 +5647,12 @@ type Rule$1 = Rule$2;
5733
5647
  * @public
5734
5648
  */
5735
5649
  declare const ContentStructureRule$1: Rule$1;
5736
- //#endregion
5737
- //#region src/changesets/markdownlint/rules/dependency-table-format.d.ts
5738
5650
  /**
5739
5651
  * The markdownlint `Rule` object for CSH005 (`changeset-dependency-table-format`).
5740
5652
  *
5741
5653
  * @public
5742
5654
  */
5743
5655
  declare const DependencyTableFormatRule$1: Rule$1;
5744
- //#endregion
5745
- //#region src/changesets/markdownlint/rules/heading-hierarchy.d.ts
5746
5656
  /**
5747
5657
  * markdownlint rule: `changeset-heading-hierarchy` (CSH001).
5748
5658
  *
@@ -5773,8 +5683,6 @@ declare const DependencyTableFormatRule$1: Rule$1;
5773
5683
  * @public
5774
5684
  */
5775
5685
  declare const HeadingHierarchyRule$1: Rule$1;
5776
- //#endregion
5777
- //#region src/changesets/markdownlint/rules/required-sections.d.ts
5778
5686
  /**
5779
5687
  * markdownlint rule: `changeset-required-sections` (CSH002).
5780
5688
  *
@@ -5805,8 +5713,6 @@ declare const HeadingHierarchyRule$1: Rule$1;
5805
5713
  * @public
5806
5714
  */
5807
5715
  declare const RequiredSectionsRule$1: Rule$1;
5808
- //#endregion
5809
- //#region src/changesets/markdownlint/rules/uncategorized-content.d.ts
5810
5716
  /**
5811
5717
  * markdownlint rule: `changeset-uncategorized-content` (CSH004).
5812
5718
  *
@@ -5838,8 +5744,6 @@ declare const RequiredSectionsRule$1: Rule$1;
5838
5744
  * @public
5839
5745
  */
5840
5746
  declare const UncategorizedContentRule$1: Rule$1;
5841
- //#endregion
5842
- //#region src/changesets/markdownlint/index.d.ts
5843
5747
  /**
5844
5748
  * All changeset rules as an array for markdownlint-cli2 `customRules` config.
5845
5749
  *
@@ -5853,11 +5757,7 @@ declare const UncategorizedContentRule$1: Rule$1;
5853
5757
  * @public
5854
5758
  */
5855
5759
  declare const SilkChangesetsRules: Rule$1[];
5856
- //#endregion
5857
- //#region src/changesets/remark/plugins/aggregate-dependency-tables.d.ts
5858
5760
  declare const AggregateDependencyTablesPlugin: Plugin<[], Root>;
5859
- //#endregion
5860
- //#region src/changesets/remark/plugins/contributor-footnotes.d.ts
5861
5761
  /**
5862
5762
  * Options for {@link ContributorFootnotesPlugin}.
5863
5763
  *
@@ -5872,23 +5772,11 @@ interface ContributorFootnotesOptions {
5872
5772
  readonly thanks?: boolean;
5873
5773
  }
5874
5774
  declare const ContributorFootnotesPlugin: Plugin<[ContributorFootnotesOptions?], Root>;
5875
- //#endregion
5876
- //#region src/changesets/remark/plugins/deduplicate-items.d.ts
5877
5775
  declare const DeduplicateItemsPlugin: Plugin<[], Root>;
5878
- //#endregion
5879
- //#region src/changesets/remark/plugins/issue-link-refs.d.ts
5880
5776
  declare const IssueLinkRefsPlugin: Plugin<[], Root>;
5881
- //#endregion
5882
- //#region src/changesets/remark/plugins/merge-sections.d.ts
5883
5777
  declare const MergeSectionsPlugin: Plugin<[], Root>;
5884
- //#endregion
5885
- //#region src/changesets/remark/plugins/normalize-format.d.ts
5886
5778
  declare const NormalizeFormatPlugin: Plugin<[], Root>;
5887
- //#endregion
5888
- //#region src/changesets/remark/plugins/reorder-sections.d.ts
5889
5779
  declare const ReorderSectionsPlugin: Plugin<[], Root>;
5890
- //#endregion
5891
- //#region src/changesets/remark/presets.d.ts
5892
5780
  /**
5893
5781
  * Remark preset collections for changeset lint rules and transform plugins.
5894
5782
  *
@@ -5977,26 +5865,14 @@ declare const SilkChangesetPreset: readonly [import("unified-lint-rule").Plugin<
5977
5865
  * @public
5978
5866
  */
5979
5867
  declare const SilkChangesetTransformPreset: readonly [import("unified").Plugin<[], Root>, import("unified").Plugin<[], Root>, import("unified").Plugin<[], Root>, import("unified").Plugin<[], Root>, import("unified").Plugin<[ContributorFootnotesOptions?], Root>, import("unified").Plugin<[], Root>, import("unified").Plugin<[], Root>];
5980
- //#endregion
5981
- //#region src/changesets/remark/rules/content-structure.d.ts
5982
5868
  declare const ContentStructureRule: import("unified-lint-rule").Plugin<Root, unknown>;
5983
- //#endregion
5984
- //#region src/changesets/remark/rules/dependency-table-format.d.ts
5985
5869
  declare const DependencyTableFormatRule: import("unified-lint-rule").Plugin<Root, unknown>;
5986
- //#endregion
5987
- //#region src/changesets/remark/rules/heading-hierarchy.d.ts
5988
5870
  declare const HeadingHierarchyRule: import("unified-lint-rule").Plugin<Root, unknown>;
5989
- //#endregion
5990
- //#region src/changesets/remark/rules/required-sections.d.ts
5991
5871
  declare const RequiredSectionsRule: import("unified-lint-rule").Plugin<Root, unknown>;
5992
- //#endregion
5993
- //#region src/changesets/remark/rules/uncategorized-content.d.ts
5994
5872
  declare const UncategorizedContentRule: import("unified-lint-rule").Plugin<Root, unknown>;
5995
5873
  declare namespace index_d_exports {
5996
5874
  export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntry, AppliedReleaseEntrySchema, AppliedReleaseSchema, ApplyOptions, ApplyStep, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetLinter, ChangesetLogMode, ChangesetLogModeValue, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CoexistingChangeset, CoexistingChangesetSchema, CommitHashSchema, ConfigInspector, ConfigInspectorShape, ConfigurationError, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenDefault, DepsRegenExecuteOptions, DepsRegenOptions, DepsRegenPlanError, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitHubApiError, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubService, GitHubServiceShape, GlobSchema, HeadingHierarchyRule, HookReplayError, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MakeChangelogFunctionsOptions, MarkdownParseError, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScope, PackageScopeSchema, PackagesRecordSchema, PendingChangeset, PendingChangesetSchema, PositiveInteger, PreviewRelease, PreviewReleaseSchema, RegenDiffRow, RegenDiffRowSchema, RegenPlan, RegenPlanSchema, RegenResult, RegenResultSchema, RegenStep, ReleasePlanError, ReleasePlanner, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, SnapshotOptions, TransformOptions, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileUpdate, VersionFileUpdateRecord, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeChangelogFunctions, makeConfigInspectorTest, makeDepsRegenDefault, makeGitHubTest, makeReleasePlannerTest, parseChangesetPackages, serializeDependencyTableToMarkdown, vanillaChangelogFunctions };
5997
5875
  }
5998
- //#endregion
5999
- //#region src/commitlint/config/schema.d.ts
6000
5876
  /**
6001
5877
  * Release format type for the release commit type.
6002
5878
  *
@@ -6107,8 +5983,6 @@ interface ConfigOptions {
6107
5983
  */
6108
5984
  cwd?: string;
6109
5985
  }
6110
- //#endregion
6111
- //#region src/commitlint/config/types.d.ts
6112
5986
  /**
6113
5987
  * Rule severity level.
6114
5988
  * - 0: Disabled
@@ -6222,8 +6096,6 @@ interface CommitTypeDefinition {
6222
6096
  */
6223
6097
  readonly emoji?: string;
6224
6098
  }
6225
- //#endregion
6226
- //#region src/commitlint/config/rules.d.ts
6227
6099
  /**
6228
6100
  * Allowed commit types for conventional commits.
6229
6101
  *
@@ -6300,8 +6172,6 @@ declare const DEFAULT_BODY_MAX_LINE_LENGTH = 300;
6300
6172
  * @public
6301
6173
  */
6302
6174
  declare const DCO_SIGNOFF_TEXT = "Signed-off-by:";
6303
- //#endregion
6304
- //#region src/commitlint/static.d.ts
6305
6175
  /**
6306
6176
  * Static commitlint configuration.
6307
6177
  *
@@ -6316,8 +6186,6 @@ declare const DCO_SIGNOFF_TEXT = "Signed-off-by:";
6316
6186
  * @public
6317
6187
  */
6318
6188
  declare const staticConfig: CommitlintUserConfig;
6319
- //#endregion
6320
- //#region src/commitlint/formatter/format.d.ts
6321
6189
  /**
6322
6190
  * Individual rule result.
6323
6191
  *
@@ -6364,8 +6232,6 @@ interface FormatterResult {
6364
6232
  * @public
6365
6233
  */
6366
6234
  declare function format(formatterResult: FormatterResult): string;
6367
- //#endregion
6368
- //#region src/commitlint/formatter/messages.d.ts
6369
6235
  /**
6370
6236
  * Detailed error explanations for common rule failures.
6371
6237
  *
@@ -6404,8 +6270,6 @@ declare function getExplanation(ruleName: string): string | undefined;
6404
6270
  * @public
6405
6271
  */
6406
6272
  declare function getSuggestion(ruleName: string): string | undefined;
6407
- //#endregion
6408
- //#region src/commitlint/prompt/config.d.ts
6409
6273
  /**
6410
6274
  * Type enum entry for prompt configuration.
6411
6275
  *
@@ -6545,8 +6409,6 @@ declare const defaultPromptConfig: ResolvedPromptConfig;
6545
6409
  * @public
6546
6410
  */
6547
6411
  declare const emojiPromptConfig: ResolvedPromptConfig;
6548
- //#endregion
6549
- //#region src/commitlint/prompt/emojis.d.ts
6550
6412
  /**
6551
6413
  * Emoji shortcode mapping for commit types.
6552
6414
  *
@@ -6585,8 +6447,6 @@ declare const TYPE_EMOJIS_UNICODE: Record<CommitType, string>;
6585
6447
  * ```
6586
6448
  */
6587
6449
  declare function getTypeEmoji(type: CommitType, unicode?: boolean): string;
6588
- //#endregion
6589
- //#region src/commitlint/prompt/prompter.d.ts
6590
6450
  /**
6591
6451
  * Inquirer instance provided by commitizen.
6592
6452
  */
@@ -6652,8 +6512,6 @@ interface PrompterOptions {
6652
6512
  * @public
6653
6513
  */
6654
6514
  declare function prompter(cz: Inquirer, commit: (message: string) => void, options?: PrompterOptions): void;
6655
- //#endregion
6656
- //#region src/commitlint/detection/dco.d.ts
6657
6515
  /**
6658
6516
  * Detect if DCO signoff should be required.
6659
6517
  *
@@ -6668,8 +6526,6 @@ declare function prompter(cz: Inquirer, commit: (message: string) => void, optio
6668
6526
  * @public
6669
6527
  */
6670
6528
  declare function detectDCO(cwd?: string): boolean;
6671
- //#endregion
6672
- //#region src/commitlint/detection/scopes.d.ts
6673
6529
  /**
6674
6530
  * Detect package scopes from workspace configuration.
6675
6531
  *
@@ -6683,8 +6539,6 @@ declare function detectDCO(cwd?: string): boolean;
6683
6539
  * @public
6684
6540
  */
6685
6541
  declare const detectScopes: Effect.Effect<string[], WorkspaceDiscoveryFailure, WorkspaceDiscovery>;
6686
- //#endregion
6687
- //#region src/commitlint/hook/envelope.d.ts
6688
6542
  declare const PreToolUseEnvelope: Schema.Struct<{
6689
6543
  readonly hook_event_name: Schema.Literal<"PreToolUse">;
6690
6544
  readonly tool_name: Schema.String;
@@ -6708,8 +6562,6 @@ declare const SessionStartEnvelope: Schema.Struct<{
6708
6562
  readonly source: Schema.optional<Schema.String>;
6709
6563
  }>;
6710
6564
  type SessionStartEnvelope = Schema.Schema.Type<typeof SessionStartEnvelope>;
6711
- //#endregion
6712
- //#region src/commitlint/hook/output.d.ts
6713
6565
  /**
6714
6566
  * Helpers that build the JSON output the bash hooks pass through to Claude.
6715
6567
  *
@@ -6722,8 +6574,6 @@ declare function preToolUseAdvise(message: string): HookOutput;
6722
6574
  declare function preToolUseSilent(): HookOutput;
6723
6575
  declare function sessionStartContext(message: string): HookOutput;
6724
6576
  declare function postToolUseAdvise(message: string): HookOutput;
6725
- //#endregion
6726
- //#region src/commitlint/hook/parse-bash-command.d.ts
6727
6577
  type ParsedKind = "git-commit" | "git-commit-amend" | "gh-pr-create" | "gh-pr-edit" | "unknown";
6728
6578
  interface ParsedCommit {
6729
6579
  kind: ParsedKind;
@@ -6736,31 +6586,21 @@ interface ParsedCommit {
6736
6586
  source: "inline" | "file" | "heredoc" | "stdin" | "none";
6737
6587
  }
6738
6588
  declare function parseBashCommand(command: string): ParsedCommit;
6739
- //#endregion
6740
- //#region src/commitlint/hook/silence-logger.d.ts
6741
6589
  /**
6742
6590
  * Combined hook logger layer: stderr redirect merged with the Warn minimum
6743
6591
  * log level. Provided by hook command wrappers to keep stdout corruption-proof.
6744
6592
  */
6745
6593
  declare const HookSilencer: Layer.Layer<never, never, never>;
6746
- //#endregion
6747
- //#region src/commitlint/hook/diagnostics/branch.d.ts
6748
6594
  interface BranchInfo {
6749
6595
  branch: string | null;
6750
6596
  inferredTicketId: number | null;
6751
6597
  }
6752
6598
  declare function inferTicketId(branch: string): number | null;
6753
6599
  declare function readBranchInfo(): Effect.Effect<BranchInfo, never, Git>;
6754
- //#endregion
6755
- //#region src/commitlint/hook/diagnostics/cache.d.ts
6756
6600
  declare function readCache<T>(path: string, ttlSeconds: number): Effect.Effect<T | null>;
6757
6601
  declare function writeCache<T>(path: string, data: T, when?: Date): Effect.Effect<void>;
6758
- //#endregion
6759
- //#region src/commitlint/hook/diagnostics/commitlint-config.d.ts
6760
6602
  declare function parseHuskyConfigPath(huskyContent: string, root: string): string | null;
6761
6603
  declare function readCommitlintConfigPath(root: string): Promise<string | null>;
6762
- //#endregion
6763
- //#region src/commitlint/hook/diagnostics/open-issues.d.ts
6764
6604
  interface OpenIssue {
6765
6605
  number: number;
6766
6606
  title: string;
@@ -6784,8 +6624,6 @@ declare function resolveIssuesCachePath(options?: {
6784
6624
  declare function readOpenIssuesFromCache(cachePath: string, ttlSeconds?: number): Effect.Effect<OpenIssue[] | null>;
6785
6625
  declare function fetchAndCacheOpenIssues(cachePath: string): Effect.Effect<OpenIssue[] | null, never, ChildProcessSpawner.ChildProcessSpawner>;
6786
6626
  declare function readOrFetchOpenIssues(cachePath: string): Effect.Effect<OpenIssue[] | null, never, ChildProcessSpawner.ChildProcessSpawner>;
6787
- //#endregion
6788
- //#region src/commitlint/hook/diagnostics/package-manager.d.ts
6789
6627
  type PackageManager$1 = "pnpm" | "yarn" | "bun" | "npm";
6790
6628
  interface LockfilePresence {
6791
6629
  pnpm: boolean;
@@ -6795,8 +6633,6 @@ interface LockfilePresence {
6795
6633
  declare function parsePackageManagerField(packageJsonContent: string): PackageManager$1 | null;
6796
6634
  declare function detectFromLockfiles(presence: LockfilePresence): PackageManager$1;
6797
6635
  declare function detectPackageManager(root: string): Promise<PackageManager$1>;
6798
- //#endregion
6799
- //#region src/commitlint/hook/diagnostics/signing.d.ts
6800
6636
  interface SigningDiagnostic {
6801
6637
  format: "gpg" | "ssh" | "none";
6802
6638
  autoSignEnabled: boolean;
@@ -6817,8 +6653,6 @@ interface RawSigningInputs {
6817
6653
  declare function parseGpgKeyExpiry(colonsOutput: string): string | null;
6818
6654
  declare function buildSigningDiagnostic(raw: RawSigningInputs): SigningDiagnostic;
6819
6655
  declare function readSigningDiagnostic(): Effect.Effect<SigningDiagnostic, never, Git | ChildProcessSpawner.ChildProcessSpawner>;
6820
- //#endregion
6821
- //#region src/commitlint/hook/rules/types.d.ts
6822
6656
  type RuleSeverity$1 = "deny" | "advise";
6823
6657
  interface RuleHit {
6824
6658
  ruleId: string;
@@ -6834,8 +6668,6 @@ declare function partitionHits(hits: ReadonlyArray<RuleHit>): {
6834
6668
  deny: RuleHit[];
6835
6669
  advise: RuleHit[];
6836
6670
  };
6837
- //#endregion
6838
- //#region src/commitlint/hook/rules/closes-trailer.d.ts
6839
6671
  interface ClosesTrailerInput {
6840
6672
  message: string;
6841
6673
  }
@@ -6860,20 +6692,14 @@ interface ClosesTrailerCtx {
6860
6692
  */
6861
6693
  declare function hasClosingTrailer(message: string, ticketId: number): boolean;
6862
6694
  declare const closesTrailerRule: Rule<ClosesTrailerInput, ClosesTrailerCtx>;
6863
- //#endregion
6864
- //#region src/commitlint/hook/rules/forbidden-content.d.ts
6865
6695
  interface ForbiddenContentInput {
6866
6696
  message: string;
6867
6697
  }
6868
6698
  declare const forbiddenContentRule: Rule<ForbiddenContentInput, never>;
6869
- //#endregion
6870
- //#region src/commitlint/hook/rules/plan-leakage.d.ts
6871
6699
  interface PlanLeakageInput {
6872
6700
  message: string;
6873
6701
  }
6874
6702
  declare const planLeakageRule: Rule<PlanLeakageInput, never>;
6875
- //#endregion
6876
- //#region src/commitlint/hook/rules/signing-flag-conflict.d.ts
6877
6703
  interface SigningFlagInput {
6878
6704
  flags: ParsedCommit["flags"];
6879
6705
  }
@@ -6881,14 +6707,10 @@ interface SigningFlagCtx {
6881
6707
  autoSignEnabled: boolean;
6882
6708
  }
6883
6709
  declare const signingFlagConflictRule: Rule<SigningFlagInput, SigningFlagCtx>;
6884
- //#endregion
6885
- //#region src/commitlint/hook/rules/soft-wrap.d.ts
6886
6710
  interface SoftWrapInput {
6887
6711
  message: string;
6888
6712
  }
6889
6713
  declare const softWrapRule: Rule<SoftWrapInput, never>;
6890
- //#endregion
6891
- //#region src/commitlint/hook/rules/verbosity.d.ts
6892
6714
  interface VerbosityInput {
6893
6715
  message: string;
6894
6716
  }
@@ -6945,8 +6767,6 @@ declare class CommitlintConfig {
6945
6767
  static silk(options?: ConfigOptions): CommitlintUserConfig;
6946
6768
  private constructor();
6947
6769
  }
6948
- //#endregion
6949
- //#region src/lint/types.d.ts
6950
6770
  /**
6951
6771
  * A lint-staged handler function.
6952
6772
  * Receives an array of staged filenames and returns command(s) to execute.
@@ -7154,8 +6974,6 @@ interface CreateConfigOptions {
7154
6974
  * Preset type for standard configurations.
7155
6975
  */
7156
6976
  type PresetType = "minimal" | "standard" | "silk";
7157
- //#endregion
7158
- //#region src/lint/Handler.d.ts
7159
6977
  /**
7160
6978
  * Abstract base class for lint-staged handlers.
7161
6979
  *
@@ -7188,8 +7006,6 @@ declare abstract class Handler {
7188
7006
  */
7189
7007
  static create(_options?: BaseHandlerOptions): LintStagedHandler;
7190
7008
  }
7191
- //#endregion
7192
- //#region src/lint/handlers/Biome.d.ts
7193
7009
  /**
7194
7010
  * Handler for JavaScript, TypeScript, and JSON files.
7195
7011
  *
@@ -7293,8 +7109,6 @@ declare class Biome {
7293
7109
  */
7294
7110
  static create(options?: BiomeOptions): LintStagedHandler;
7295
7111
  }
7296
- //#endregion
7297
- //#region src/lint/handlers/Markdown.d.ts
7298
7112
  /**
7299
7113
  * Handler for Markdown files.
7300
7114
  *
@@ -7382,8 +7196,6 @@ declare class Markdown {
7382
7196
  */
7383
7197
  static create(options?: MarkdownOptions): LintStagedHandler;
7384
7198
  }
7385
- //#endregion
7386
- //#region src/lint/handlers/PackageJson.d.ts
7387
7199
  /**
7388
7200
  * Handler for package.json files.
7389
7201
  *
@@ -7480,8 +7292,6 @@ declare class PackageJson {
7480
7292
  */
7481
7293
  static create(options?: PackageJsonOptions): LintStagedHandler;
7482
7294
  }
7483
- //#endregion
7484
- //#region src/lint/handlers/PnpmWorkspace.d.ts
7485
7295
  /**
7486
7296
  * Shape of pnpm-workspace.yaml content.
7487
7297
  */
@@ -7587,8 +7397,6 @@ declare class PnpmWorkspace {
7587
7397
  */
7588
7398
  static create(options?: PnpmWorkspaceOptions): LintStagedHandler;
7589
7399
  }
7590
- //#endregion
7591
- //#region src/lint/handlers/ShellScripts.d.ts
7592
7400
  /**
7593
7401
  * Handler for shell script files.
7594
7402
  *
@@ -7637,8 +7445,6 @@ declare class ShellScripts {
7637
7445
  */
7638
7446
  static create(options?: ShellScriptsOptions): LintStagedHandler;
7639
7447
  }
7640
- //#endregion
7641
- //#region src/lint/handlers/TextFiles.d.ts
7642
7448
  /**
7643
7449
  * Why a file is not grep-visible text.
7644
7450
  *
@@ -7875,8 +7681,6 @@ declare class TextFiles {
7875
7681
  */
7876
7682
  static create(options?: TextFilesOptions): LintStagedHandler;
7877
7683
  }
7878
- //#endregion
7879
- //#region src/lint/handlers/TypeScript.d.ts
7880
7684
  /**
7881
7685
  * TypeScript compiler to use.
7882
7686
  */
@@ -7976,8 +7780,6 @@ declare class TypeScript {
7976
7780
  */
7977
7781
  static create(options?: TypeScriptOptions): LintStagedHandler;
7978
7782
  }
7979
- //#endregion
7980
- //#region src/lint/handlers/Yaml.d.ts
7981
7783
  /**
7982
7784
  * Handler for YAML files.
7983
7785
  *
@@ -8102,8 +7904,6 @@ declare class Yaml {
8102
7904
  */
8103
7905
  static create(options?: YamlOptions): LintStagedHandler;
8104
7906
  }
8105
- //#endregion
8106
- //#region src/lint/config/createConfig.d.ts
8107
7907
  /**
8108
7908
  * Create a complete lint-staged configuration with all handlers.
8109
7909
  *
@@ -8128,8 +7928,6 @@ declare class Yaml {
8128
7928
  * ```
8129
7929
  */
8130
7930
  declare function createConfig(options?: CreateConfigOptions): LintStagedConfig;
8131
- //#endregion
8132
- //#region src/lint/config/Preset.d.ts
8133
7931
  /**
8134
7932
  * Options for extending a preset.
8135
7933
  * Alias for {@link CreateConfigOptions}.
@@ -8241,8 +8039,6 @@ declare class Preset {
8241
8039
  */
8242
8040
  static get(name: "minimal" | "standard" | "silk", extend?: PresetExtendOptions): LintStagedConfig;
8243
8041
  }
8244
- //#endregion
8245
- //#region src/lint/utils/Command.d.ts
8246
8042
  /**
8247
8043
  * Utilities for shell command operations.
8248
8044
  *
@@ -8429,8 +8225,6 @@ declare class Command {
8429
8225
  */
8430
8226
  static execSilent(command: string): boolean;
8431
8227
  }
8432
- //#endregion
8433
- //#region src/lint/utils/Filter.d.ts
8434
8228
  /**
8435
8229
  * Static utility class for filtering file lists.
8436
8230
  */
@@ -8504,8 +8298,6 @@ declare class Filter {
8504
8298
  */
8505
8299
  static shellEscape(filenames: readonly string[]): string;
8506
8300
  }
8507
- //#endregion
8508
- //#region src/lint/utils/Workspace.d.ts
8509
8301
  /**
8510
8302
  * Workspace-aware discovery utilities.
8511
8303
  *
@@ -8567,8 +8359,6 @@ declare function isWorkspacePackagePath(filePath: string): boolean;
8567
8359
  * Call this in test teardown to ensure clean state between tests.
8568
8360
  */
8569
8361
  declare function resetWorkspaceCache(): void;
8570
- //#endregion
8571
- //#region src/lint/cli/sections.d.ts
8572
8362
  /** Path for the husky pre-commit hook. */
8573
8363
  declare const HUSKY_HOOK_PATH = ".husky/pre-commit";
8574
8364
  /** Path for the husky post-checkout hook. */
@@ -8612,8 +8402,6 @@ declare function savvyLintBlock(configPath: string): Section;
8612
8402
  * @param configPath - Path to the lint-staged config file
8613
8403
  */
8614
8404
  declare function generateManagedContent(configPath: string): string;
8615
- //#endregion
8616
- //#region src/lint/cli/templates/markdownlint.gen.d.ts
8617
8405
  /** Full markdownlint-cli2 config template. */
8618
8406
  declare const MARKDOWNLINT_TEMPLATE: {
8619
8407
  readonly $schema: "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.22.0/schema/markdownlint-cli2-config-schema.json";
@@ -8782,8 +8570,6 @@ declare const MARKDOWNLINT_CONFIG: {
8782
8570
  declare namespace index_d_exports$2 {
8783
8571
  export { BaseHandlerOptions, Biome, BiomeOptions, Command, CreateConfigOptions, DEFAULT_CONFIG_PATH, Filter, HUSKY_HOOK_PATH, Handler, LegacySavvyLintHygieneDef, LintStagedConfig, LintStagedEntry, LintStagedHandler, MARKDOWNLINT_CONFIG, MARKDOWNLINT_CONFIG_PATH, MARKDOWNLINT_SCHEMA, MARKDOWNLINT_TEMPLATE, Markdown, MarkdownOptions, POST_CHECKOUT_HOOK_PATH, POST_COMMIT_HOOK_PATH, POST_MERGE_HOOK_PATH, PackageJson, PackageJsonOptions, PackageManager, PnpmWorkspace, PnpmWorkspaceContent, PnpmWorkspaceOptions, Preset, PresetExtendOptions, PresetType, SavvyLintSectionDef, ShellScripts, ShellScriptsOptions, TextFileFinding, TextFileStagedCheck, TextFileStagedReadError, TextFileStagedReadErrorBase, TextFileViolation, TextFileViolationReason, TextFiles, TextFilesListOptions, TextFilesOptions, ToolSearchResult, TypeScript, TypeScriptCompiler, TypeScriptOptions, WorkspacePackageInfo, Yaml, YamlOptions, createConfig, generateManagedContent, getWorkspacePackagePaths, getWorkspacePackages, getWorkspaceRoot, isWorkspacePackagePath, resetWorkspaceCache, savvyLintBlock };
8784
8572
  }
8785
- //#endregion
8786
- //#region src/repos/constants.d.ts
8787
8573
  /**
8788
8574
  * Directory vendored reference repos live under, relative to the repo root.
8789
8575
  * @public
@@ -8800,8 +8586,6 @@ declare const MANIFEST_PATH = ".repos/config.json";
8800
8586
  * @public
8801
8587
  */
8802
8588
  declare const NOTE_LIMIT = 10;
8803
- //#endregion
8804
- //#region src/repos/errors.d.ts
8805
8589
  /** @internal */
8806
8590
  declare const ReposConfigErrorBase: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
8807
8591
  readonly _tag: "ReposConfigError";
@@ -8873,8 +8657,6 @@ declare class ReposLockdownError extends ReposLockdownErrorBase<{
8873
8657
  }> {
8874
8658
  get message(): string;
8875
8659
  }
8876
- //#endregion
8877
- //#region src/repos/schemas/drift.d.ts
8878
8660
  /**
8879
8661
  * The kinds of drift {@link ReposDrift} can detect between the five
8880
8662
  * authorities it reconciles: the manifest, `.gitmodules`, the worktree,
@@ -8913,8 +8695,6 @@ declare const ReposDriftReport_base: Schema.Class<ReposDriftReport, Schema.Struc
8913
8695
  * @public
8914
8696
  */
8915
8697
  declare class ReposDriftReport extends ReposDriftReport_base {}
8916
- //#endregion
8917
- //#region src/repos/schemas/manifest.d.ts
8918
8698
  /**
8919
8699
  * A vendored-repo manifest key: non-empty, contains no `/` or `\`, and is
8920
8700
  * never `.` or `..` — safe to join onto a filesystem path segment
@@ -8995,8 +8775,6 @@ declare const ReposManifestFile: Schema.Struct<{
8995
8775
  }>;
8996
8776
  /** @public */
8997
8777
  type ReposManifestFile = typeof ReposManifestFile.Type;
8998
- //#endregion
8999
- //#region src/repos/schemas/reports.d.ts
9000
8778
  /**
9001
8779
  * Status of one vendored repo: gitlink presence and dirtiness, plus notes
9002
8780
  * that no longer match the pinned ref.
@@ -9225,8 +9003,6 @@ declare const ReposNoteResult: Schema.Struct<{
9225
9003
  }>;
9226
9004
  /** @public */
9227
9005
  type ReposNoteResult = typeof ReposNoteResult.Type;
9228
- //#endregion
9229
- //#region src/repos/services/config-store.d.ts
9230
9006
  /**
9231
9007
  * The {@link ReposConfigStore} service shape.
9232
9008
  * @public
@@ -9256,8 +9032,6 @@ declare class ReposConfigStore extends ReposConfigStore_base {
9256
9032
  */
9257
9033
  static readonly layer: Layer.Layer<ReposConfigStore, never, FileSystem.FileSystem | Path.Path>;
9258
9034
  }
9259
- //#endregion
9260
- //#region src/repos/services/drift.d.ts
9261
9035
  /**
9262
9036
  * Extracts the submodule NAME from a `submodule.<name>.<property>` config key.
9263
9037
  *
@@ -9306,8 +9080,6 @@ declare class ReposDrift extends ReposDrift_base {
9306
9080
  */
9307
9081
  static readonly layer: Layer.Layer<ReposDrift, never, ReposConfigStore | Git | FileSystem.FileSystem | Path.Path>;
9308
9082
  }
9309
- //#endregion
9310
- //#region src/repos/services/lockdown.d.ts
9311
9083
  /**
9312
9084
  * The {@link ReposLockdown} service shape.
9313
9085
  * @public
@@ -9388,8 +9160,6 @@ declare class ReposLockdown extends ReposLockdown_base {
9388
9160
  */
9389
9161
  static readonly layer: Layer.Layer<ReposLockdown, never, FileSystem.FileSystem | Path.Path>;
9390
9162
  }
9391
- //#endregion
9392
- //#region src/repos/services/manager.d.ts
9393
9163
  /**
9394
9164
  * Minimum age (in milliseconds) a `.lock` file must reach before `sync` will
9395
9165
  * remove it. An ACTIVE git process can legitimately hold
@@ -9522,8 +9292,6 @@ declare class ReposManager extends ReposManager_base {
9522
9292
  declare namespace index_d_exports$3 {
9523
9293
  export { DriftKind, GitSubmoduleError, GitSubmoduleErrorBase, MANIFEST_PATH, NOTE_LIMIT, NoteNotFoundError, NoteNotFoundErrorBase, REPOS_DIR, RepoDrift, RepoEntry, RepoName, RepoNotFoundError, RepoNotFoundErrorBase, RepoNote, RepoOrientation, RepoStatusEntry, ReposAddResult, ReposConfigError, ReposConfigErrorBase, ReposConfigStore, ReposConfigStoreShape, ReposDeregisterResult, ReposDrift, ReposDriftReport, ReposDriftShape, ReposLockdown, ReposLockdownError, ReposLockdownErrorBase, ReposLockdownShape, ReposManager, ReposManagerShape, ReposManifestFile, ReposNoteResult, ReposPinResult, ReposRemoveResult, ReposRenameResult, ReposRestoreResult, ReposStatusReport, ReposSyncReport, STALE_LOCK_MAX_AGE_MS, resolveModuleDir, submoduleNameFromKey };
9524
9294
  }
9525
- //#endregion
9526
- //#region src/services/BiomeSchemaSync.d.ts
9527
9295
  /**
9528
9296
  * Strip leading semver range operators from a version string.
9529
9297
  *
@@ -9619,8 +9387,6 @@ export declare class BiomeSchemaSync extends BiomeSchemaSync_base {
9619
9387
  */
9620
9388
  static readonly layer: Layer.Layer<BiomeSchemaSync, never, FileSystem.FileSystem>;
9621
9389
  }
9622
- //#endregion
9623
- //#region src/services/ConfigDiscovery.d.ts
9624
9390
  /**
9625
9391
  * The {@link ConfigDiscovery} service shape.
9626
9392
  *
@@ -9697,8 +9463,15 @@ export declare class ConfigDiscovery extends ConfigDiscovery_base {
9697
9463
  */
9698
9464
  static readonly layer: Layer.Layer<ConfigDiscovery, never, FileSystem.FileSystem>;
9699
9465
  }
9700
- //#endregion
9701
- //#region src/services/SilkPublishability.d.ts
9466
+ /**
9467
+ * Which release versions a publish target receives (mirrors the bundler's `ReleaseChannel`).
9468
+ *
9469
+ * @remarks
9470
+ * `"all"` takes every version, `"stable"` only versions without a SemVer prerelease suffix, and
9471
+ * `"prerelease"` only versions with one. An undeclared value reads as `"all"`.
9472
+ * @public
9473
+ */
9474
+ type ReleaseChannel = "all" | "stable" | "prerelease";
9702
9475
  /**
9703
9476
  * A single object-form publish target in the `publishConfig.targets` map (mirrors the bundler's `PublishTargetObject`).
9704
9477
  * @public
@@ -9710,6 +9483,10 @@ interface RawTargetObject {
9710
9483
  readonly name?: string;
9711
9484
  /** Reuse another target's group bytes. Mutually exclusive with `name`. */
9712
9485
  readonly from?: string;
9486
+ /** Which release versions this target receives. Defaults to `"all"`. */
9487
+ readonly releases?: ReleaseChannel;
9488
+ /** Force the provenance attestation on or off, overriding the registry-derived default. */
9489
+ readonly provenance?: boolean;
9713
9490
  }
9714
9491
  /**
9715
9492
  * A `publishConfig.targets` value: `true` (well-known registry, base name), a string (name override), or an object.
@@ -9761,6 +9538,17 @@ interface TargetBinding {
9761
9538
  readonly name: string;
9762
9539
  /** The resolved registry endpoint. */
9763
9540
  readonly registry: string;
9541
+ /**
9542
+ * Which release versions this target receives. The bundler always writes it; a binding from a
9543
+ * bundler that predates the field omits it, which reads as `"all"`.
9544
+ */
9545
+ readonly releases?: ReleaseChannel;
9546
+ /**
9547
+ * The declared provenance override. Absent when none was declared, or in a binding from a
9548
+ * bundler that predates the field; either way the target object's own `provenance` applies,
9549
+ * then the registry default.
9550
+ */
9551
+ readonly provenance?: boolean;
9764
9552
  }
9765
9553
  /**
9766
9554
  * The `dist/prod/targets.json` binding the bundler emits for the release action to consume.
@@ -9776,6 +9564,25 @@ interface TargetsBinding {
9776
9564
  readonly groups: ReadonlyArray<TargetGroupBinding>;
9777
9565
  readonly targets: ReadonlyArray<TargetBinding>;
9778
9566
  }
9567
+ /**
9568
+ * A resolved publish target judged against a specific release version, with the facts a publisher needs alongside it.
9569
+ *
9570
+ * @remarks
9571
+ * Returned by {@link SilkPublishability.resolveReleaseTargets}, one per resolved target whether or
9572
+ * not it takes the version, so a publisher can report what it skipped without a second join.
9573
+ * `id` is the `publishConfig.targets` key the target came from, or `undefined` for a package
9574
+ * published through the `access`/`private` fallbacks, which have no keyed targets.
9575
+ * @public
9576
+ */
9577
+ interface ReleaseTarget {
9578
+ readonly target: PublishTarget;
9579
+ readonly id: string | undefined;
9580
+ readonly releases: ReleaseChannel;
9581
+ /** Whether this target takes the version; `false` means its `releases` filters it out. */
9582
+ readonly receives: boolean;
9583
+ /** The npm dist-tag this version publishes under; see {@link SilkPublishability.distTagFor}. */
9584
+ readonly distTag: string;
9585
+ }
9779
9586
  /**
9780
9587
  * Raw `package.json` shape consumed by `SilkPublishability.detect`.
9781
9588
  * @public
@@ -9851,6 +9658,48 @@ export declare class SilkPublishability {
9851
9658
  * placeholder directories are left alone.
9852
9659
  */
9853
9660
  static resolveTargets(pkg: WorkspacePackage, _root: string): Effect.Effect<ReadonlyArray<PublishTarget>, PublishTargetBindingError$1, PublishabilityDetector | FileSystem.FileSystem>;
9661
+ /**
9662
+ * True when a version carries a SemVer prerelease suffix (`1.2.0-rc.1`). Build metadata is ignored.
9663
+ */
9664
+ static isPrerelease(version: string): boolean;
9665
+ /**
9666
+ * The npm dist-tag a version publishes under.
9667
+ *
9668
+ * @remarks
9669
+ * A final version is `latest`. A prerelease takes its first prerelease identifier (`beta` for
9670
+ * `2.0.0-beta.3`, `rc` for `2.0.0-rc.1`), or `next` when that identifier is empty or would
9671
+ * parse as a SemVer range (`2.0.0-0`, `2.0.0-x.1`, `2.0.0-v2.1`), since npm rejects such a
9672
+ * dist-tag. A `latest` identifier (`2.0.0-latest.1`) also takes `next`, so a prerelease never
9673
+ * becomes the version a bare install resolves. The range check is `v*` followed by digits or a
9674
+ * lone `x`/`X`, matching what `semver.validRange` accepts for a prerelease identifier.
9675
+ */
9676
+ static distTagFor(version: string): string;
9677
+ /** Whether a target with this {@link ReleaseChannel} receives the given version. */
9678
+ static receives(releases: ReleaseChannel, version: string): boolean;
9679
+ /**
9680
+ * Every resolved publish target judged against a specific version: {@link SilkPublishability.resolveTargets},
9681
+ * each paired with its target key, its `releases` filter, whether it `receives` the version, and the dist-tag.
9682
+ *
9683
+ * @remarks
9684
+ * A strict superset of `resolveTargets`, which it calls first, so the private-directory filter
9685
+ * and the `PublishTargetBindingError` integrity check apply unchanged. The release filter runs
9686
+ * here rather than in the `PublishabilityDetector` layer because the kit's
9687
+ * `VersioningStrategy.detect` counts publishable packages through the detector, and a package
9688
+ * whose only target skips this version is still a publishable package.
9689
+ *
9690
+ * Each detected target is joined back to its declaration: through `dist/prod/targets.json` by
9691
+ * group directory and registry after the prod build, or by its placeholder directory
9692
+ * (`dist/prod/<id>/pkg`) against `publishConfig.targets` before it. A binding entry with no
9693
+ * `releases` (written by a bundler older than the field) takes the filter declared on
9694
+ * `publishConfig.targets[id]`, so upgrading the publisher before the bundler never widens it. A target with no keyed
9695
+ * declaration (the `access`/`private` fallbacks) has no filter and receives every version.
9696
+ * Filtered targets are returned with `receives: false`, never dropped, so a publisher reports the
9697
+ * skip from the same join it publishes from. A result with no `receives: true` entry means this
9698
+ * version publishes nowhere, which is not an error. A declared `releases` that is not a known
9699
+ * channel fails with `ReleaseChannelError` rather than defaulting, since both sources are
9700
+ * read from disk and may have been edited by hand.
9701
+ */
9702
+ static resolveReleaseTargets(pkg: WorkspacePackage, version: string): Effect.Effect<ReadonlyArray<ReleaseTarget>, PublishTargetBindingError$1 | ReleaseChannelError$1, PublishabilityDetector | FileSystem.FileSystem>;
9854
9703
  /**
9855
9704
  * The publishable, non-ignored packages, resolved through the single
9856
9705
  * {@link SilkPublishability} (which already honors changeset ignore in adaptive mode).
@@ -9896,8 +9745,6 @@ export declare class SilkPublishability {
9896
9745
  * @public
9897
9746
  */
9898
9747
  export declare const readTargetsBinding: (fs: FileSystem.FileSystem, pkgPath: string) => Effect.Effect<TargetsBinding | null>;
9899
- //#endregion
9900
- //#region src/services/SilkWorkspaceAnalyzer.d.ts
9901
9748
  /**
9902
9749
  * The {@link SilkWorkspaceAnalyzer} service shape.
9903
9750
  *
@@ -9960,8 +9807,6 @@ export declare class SilkWorkspaceAnalyzer extends SilkWorkspaceAnalyzer_base {
9960
9807
  */
9961
9808
  static readonly layer: Layer.Layer<SilkWorkspaceAnalyzer, never, FileSystem.FileSystem | WorkspaceDiscovery | PackageManagerDetector | ChangesetConfigReader>;
9962
9809
  }
9963
- //#endregion
9964
- //#region src/turbo/schemas/DryRun.d.ts
9965
9810
  /** turbo's per-target cache descriptor in `--dry=json`. */
9966
9811
  declare const TurboCache: Schema.Struct<{
9967
9812
  readonly local: Schema.Boolean;
@@ -10069,8 +9914,6 @@ declare const TurboDryRun: Schema.Struct<{
10069
9914
  }>;
10070
9915
  type TurboDryRunType = Schema.Schema.Type<typeof TurboDryRun>;
10071
9916
  type TurboDryTaskType = Schema.Schema.Type<typeof TurboDryTask>;
10072
- //#endregion
10073
- //#region src/turbo/schemas/results.d.ts
10074
9917
  /** Per-package cache outcome for one task. */
10075
9918
  declare const PackageCacheStatus: Schema.Struct<{
10076
9919
  readonly package: Schema.String;
@@ -10153,8 +9996,6 @@ declare const AffectedResult: Schema.Struct<{
10153
9996
  type CacheDiagnosisType = Schema.Schema.Type<typeof CacheDiagnosis>;
10154
9997
  type TaskGraphResultType = Schema.Schema.Type<typeof TaskGraphResult>;
10155
9998
  type AffectedResultType = Schema.Schema.Type<typeof AffectedResult>;
10156
- //#endregion
10157
- //#region src/turbo/digest.d.ts
10158
9999
  /**
10159
10000
  * Pure transforms from decoded turbo dry-run JSON to digested result shapes.
10160
10001
  * No dependency injection — directly unit-testable.
@@ -10186,8 +10027,6 @@ declare class TurboDigest {
10186
10027
  */
10187
10028
  static affected(base: string, changedFiles: readonly string[], dry: TurboDryRunType): AffectedResultType;
10188
10029
  }
10189
- //#endregion
10190
- //#region src/turbo/errors.d.ts
10191
10030
  declare const TurboNotInstalledError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
10192
10031
  readonly _tag: "TurboNotInstalledError";
10193
10032
  } & Readonly<A>;
@@ -10250,8 +10089,6 @@ declare class TurboExecError extends TurboExecError_base<{
10250
10089
  * @since 0.7.0
10251
10090
  */
10252
10091
  type TurboError = TurboNotInstalledError | NotATurboRepoError | DryRunParseError | TurboExecError;
10253
- //#endregion
10254
- //#region src/turbo/services/TurboInspector.d.ts
10255
10092
  /**
10256
10093
  * The {@link TurboInspector} service shape.
10257
10094
  *
@@ -10315,6 +10152,5 @@ declare class TurboInspector extends TurboInspector_base {
10315
10152
  declare namespace index_d_exports$4 {
10316
10153
  export { AffectedResult, AffectedResultType, CacheDiagnosis, CacheDiagnosisType, DryRunParseError, GlobalHashSummary, GraphNode, MissExplanation, NotATurboRepoError, PackageCacheStatus, TaskGraphResult, TaskGraphResultType, TurboCache, TurboDigest, TurboDryRun, TurboDryRunType, TurboDryTask, TurboDryTaskType, TurboEnvVars, TurboError, TurboExecError, TurboGlobalCacheInputs, TurboInspector, TurboInspectorShape, TurboNotInstalledError };
10317
10154
  }
10318
- //#endregion
10319
- export { AnalyzedWorkspace, type BiomeSchemaSyncShape, BiomeSyncError, type BiomeSyncOptions, type BiomeSyncResult, ChangesetConfigError, type ChangesetConfigFile, type ChangesetConfigReaderShape, type ChangesetConfigShape, type ChangesetMode, index_d_exports as Changesets, index_d_exports$1 as Commitlint, type CommitlintPlugin, type CommitlintUserConfig, type ConfigDiscoveryOptions, type ConfigDiscoveryShape, type ConfigLocation, ConfigNotFoundError, type ConfigSource, LIFECYCLE_SCRIPTS_CONFIG_KEY, index_d_exports$2 as Lint, PrBody, type PromptConfig, type PromptSettings, PublishTargetBindingError, type PublishablePackage, type RawPackageJson, type RawPublishConfig, type RawPublishTargets, type RawTargetObject, type RawTargetValue, index_d_exports$3 as Repos, type RuleApplicability, type RuleConfigTuple, type RuleSeverity, type RulesConfig, SavvyBaseSection, SavvyHooksSection, type SavvyInstallHook, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, type SilkChangesetConfigFile, SilkPublishConfig, type SilkWorkspaceAnalyzerShape, type TargetBinding, type TargetGroupBinding, type TargetsBinding, index_d_exports$4 as Turbo, WorkspaceAnalysis, WorkspaceAnalysisError, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck };
10155
+ export { AnalyzedWorkspace, type BiomeSchemaSyncShape, BiomeSyncError, type BiomeSyncOptions, type BiomeSyncResult, ChangesetConfigError, type ChangesetConfigFile, type ChangesetConfigReaderShape, type ChangesetConfigShape, type ChangesetMode, index_d_exports as Changesets, index_d_exports$1 as Commitlint, type CommitlintPlugin, type CommitlintUserConfig, type ConfigDiscoveryOptions, type ConfigDiscoveryShape, type ConfigLocation, ConfigNotFoundError, type ConfigSource, LIFECYCLE_SCRIPTS_CONFIG_KEY, index_d_exports$2 as Lint, PrBody, type PromptConfig, type PromptSettings, PublishTargetBindingError, type PublishablePackage, type RawPackageJson, type RawPublishConfig, type RawPublishTargets, type RawTargetObject, type RawTargetValue, type ReleaseChannel, ReleaseChannelError, type ReleaseTarget, index_d_exports$3 as Repos, type RuleApplicability, type RuleConfigTuple, type RuleSeverity, type RulesConfig, SavvyBaseSection, SavvyHooksSection, type SavvyInstallHook, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, type SilkChangesetConfigFile, SilkPublishConfig, type SilkWorkspaceAnalyzerShape, type TargetBinding, type TargetGroupBinding, type TargetsBinding, index_d_exports$4 as Turbo, WorkspaceAnalysis, WorkspaceAnalysisError, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck };
10320
10156
  //# sourceMappingURL=index.d.ts.map