@savvy-web/silk 1.3.10 → 2.0.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 (36) hide show
  1. package/changesets-changelog.cjs +39308 -96625
  2. package/changesets-changelog.d.cts +137 -36
  3. package/changesets-changelog.d.ts +137 -36
  4. package/changesets-markdownlint.cjs +39305 -96622
  5. package/changesets-markdownlint.d.cts +137 -36
  6. package/changesets-markdownlint.d.ts +137 -36
  7. package/package.json +12 -12
  8. package/packages/silk-effects/dist/dev/pkg/changesets/api/changelog.cjs +2 -2
  9. package/packages/silk-effects/dist/dev/pkg/changesets/api/changelog.js +2 -2
  10. package/packages/silk-effects/dist/dev/pkg/changesets/api/transformer.cjs +24 -30
  11. package/packages/silk-effects/dist/dev/pkg/changesets/api/transformer.js +24 -30
  12. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/formatting.cjs +4 -10
  13. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/formatting.js +4 -10
  14. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getDependencyReleaseLine.cjs +13 -9
  15. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getDependencyReleaseLine.js +13 -9
  16. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getReleaseLine.cjs +8 -8
  17. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/getReleaseLine.js +8 -8
  18. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.cjs +1 -1
  19. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.js +1 -1
  20. package/packages/silk-effects/dist/dev/pkg/changesets/index.cjs +12 -2
  21. package/packages/silk-effects/dist/dev/pkg/changesets/index.js +9 -3
  22. package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/deduplicate-items.cjs +11 -9
  23. package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/deduplicate-items.js +11 -9
  24. package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/maintenance-note.cjs +61 -0
  25. package/packages/silk-effects/dist/dev/pkg/changesets/remark/plugins/maintenance-note.js +61 -0
  26. package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.cjs +1 -1
  27. package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.js +1 -1
  28. package/packages/silk-effects/dist/dev/pkg/changesets/services/maintenance-reason.cjs +68 -0
  29. package/packages/silk-effects/dist/dev/pkg/changesets/services/maintenance-reason.js +66 -0
  30. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +105 -59
  31. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +104 -58
  32. package/packages/silk-effects/dist/dev/pkg/changesets/vendor/github-info.cjs +33 -11
  33. package/packages/silk-effects/dist/dev/pkg/changesets/vendor/github-info.js +33 -11
  34. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.cjs +1 -1
  35. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.js +1 -1
  36. package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
@@ -4748,7 +4748,9 @@ declare class Categories {
4748
4748
  */
4749
4749
  static isValidHeading(heading: string): boolean;
4750
4750
  } //#endregion
4751
- //#region ../../node_modules/.pnpm/@changesets+types@6.1.0/node_modules/@changesets/types/dist/declarations/src/index.d.ts
4751
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.6/node_modules/@changesets/types/dist/index.d.mts
4752
+ //#region src/index.d.ts
4753
+ type MaybePromise<T> = T | Promise<T>;
4752
4754
  type VersionType$1 = "major" | "minor" | "patch" | "none";
4753
4755
  type AccessType = "public" | "restricted";
4754
4756
  type Release = {
@@ -4797,8 +4799,43 @@ type PackageJSON = {
4797
4799
  access?: AccessType;
4798
4800
  directory?: string;
4799
4801
  registry?: string;
4802
+ [registry: `${string}:registry`]: string;
4800
4803
  };
4801
4804
  };
4805
+ type PackageGroup = ReadonlyArray<string>;
4806
+ type Fixed = ReadonlyArray<PackageGroup>;
4807
+ type Linked = ReadonlyArray<PackageGroup>;
4808
+ interface PrivatePackages {
4809
+ version: boolean;
4810
+ tag: boolean;
4811
+ }
4812
+ type Config = {
4813
+ changelog: false | readonly [string, null | Record<string, unknown>];
4814
+ commit: false | readonly [string, null | Record<string, unknown>];
4815
+ fixed: Fixed;
4816
+ linked: Linked;
4817
+ access: AccessType;
4818
+ baseBranch: string;
4819
+ changedFilePatterns: readonly string[];
4820
+ /**
4821
+ * The formatter to use to format changesets and changelogs. Set `false` to disable formatting.
4822
+ * The default value of `"auto"` will auto-detect the formatter based on the project's configuration files.
4823
+ */
4824
+ format: "auto" | "prettier" | "oxfmt" | "deno" | "dprint" | false; /** Features enabled for Private packages */
4825
+ privatePackages: PrivatePackages; /** The minimum bump type to trigger automatic update of internal dependencies that are part of the same release */
4826
+ updateInternalDependencies: "patch" | "minor";
4827
+ ignore: ReadonlyArray<string>; /** This is supposed to be used with pnpm's `link-workspace-packages: false` and Berry's `enableTransparentWorkspaces: false` */
4828
+ bumpVersionsWithWorkspaceProtocolOnly?: boolean;
4829
+ ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: Required<ExperimentalOptions>;
4830
+ snapshot: {
4831
+ useCalculatedVersion: boolean;
4832
+ prereleaseTemplate: string | null;
4833
+ };
4834
+ };
4835
+ type ExperimentalOptions = {
4836
+ onlyUpdatePeerDependentsWhenOutOfRange?: boolean;
4837
+ updateInternalDependents?: "always" | "out-of-range";
4838
+ };
4802
4839
  type NewChangesetWithCommit = NewChangeset & {
4803
4840
  commit?: string;
4804
4841
  };
@@ -4806,8 +4843,8 @@ type ModCompWithPackage = ComprehensiveRelease & {
4806
4843
  packageJson: PackageJSON;
4807
4844
  dir: string;
4808
4845
  };
4809
- type GetReleaseLine = (changeset: NewChangesetWithCommit, type: VersionType$1, changelogOpts: null | Record<string, any>) => Promise<string>;
4810
- type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenciesUpdated: ModCompWithPackage[], changelogOpts: any) => Promise<string>;
4846
+ type GetReleaseLine = (changeset: NewChangesetWithCommit, type: VersionType$1, changelogOpts: null | Record<string, unknown>) => MaybePromise<string>;
4847
+ type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenciesUpdated: ModCompWithPackage[], changelogOpts: null | Record<string, unknown>) => MaybePromise<string>;
4811
4848
  type ChangelogFunctions = {
4812
4849
  getReleaseLine: GetReleaseLine;
4813
4850
  getDependencyReleaseLine: GetDependencyReleaseLine;
@@ -4815,9 +4852,6 @@ type ChangelogFunctions = {
4815
4852
  type PreState = {
4816
4853
  mode: "pre" | "exit";
4817
4854
  tag: string;
4818
- initialVersions: {
4819
- [pkgName: string]: string;
4820
- };
4821
4855
  changesets: string[];
4822
4856
  }; //#endregion
4823
4857
  //#region src/changesets/api/changelog.d.ts
@@ -6508,37 +6542,93 @@ declare class ChangesetLinter {
6508
6542
  */
6509
6543
  static validate(dir: string): LintMessage[];
6510
6544
  } //#endregion
6511
- //#region src/changesets/api/transformer.d.ts
6545
+ //#region src/changesets/services/maintenance-reason.d.ts
6546
+ /**
6547
+ * A group co-member whose own changesets forced this release.
6548
+ *
6549
+ * @public
6550
+ */
6551
+ declare const MaintenanceTriggerSchema: Schema.Struct<{
6552
+ /** Package name of the triggering co-member. */name: typeof Schema.String; /** The co-member's new version in the same release plan. */
6553
+ version: typeof Schema.String;
6554
+ }>;
6512
6555
  /**
6513
- * Class-based API wrapper for changelog transformation.
6556
+ * A group co-member whose own changesets forced this release.
6514
6557
  *
6515
- * Provides a static class interface that runs all remark transform
6516
- * plugins against CHANGELOG markdown content as the post-processing
6517
- * layer of the three-layer pipeline.
6558
+ * @public
6559
+ */
6560
+ type MaintenanceTrigger = typeof MaintenanceTriggerSchema.Type;
6561
+ /**
6562
+ * Why a package is releasing with no changesets of its own.
6518
6563
  *
6519
- * @internal
6564
+ * @public
6520
6565
  */
6566
+ declare const MaintenanceReasonSchema: Schema.Struct<{
6567
+ /** Coupling that forced the release; `"unspecified"` when undetermined. */kind: Schema.Literal<["fixed", "linked", "unspecified"]>; /** Triggering co-members; empty for `"unspecified"`. */
6568
+ triggers: Schema.Array$<Schema.Struct<{
6569
+ /** Package name of the triggering co-member. */name: typeof Schema.String; /** The co-member's new version in the same release plan. */
6570
+ version: typeof Schema.String;
6571
+ }>>;
6572
+ }>;
6573
+ /**
6574
+ * Why a package is releasing with no changesets of its own.
6575
+ *
6576
+ * @public
6577
+ */
6578
+ type MaintenanceReason = typeof MaintenanceReasonSchema.Type;
6579
+ /**
6580
+ * Derive the {@link MaintenanceReason} for a release, or `undefined` when the
6581
+ * release has its own changesets (not a maintenance release).
6582
+ *
6583
+ * @param release - The release to classify.
6584
+ * @param plan - The full release plan (source of group co-members).
6585
+ * @param config - Resolved changesets config (`fixed` / `linked` groups).
6586
+ * @returns The reason, or `undefined` for releases with their own changesets.
6587
+ *
6588
+ * @remarks
6589
+ * Group entries are matched with {@link ChangesetConfig.matches} — exact names
6590
+ * and trailing `"@scope/*"` prefixes only, a subset of the micromatch globs
6591
+ * changesets accepts. A group entry using richer glob syntax (e.g. `"pkg-*"`)
6592
+ * will not match here; the release then degrades gracefully to the
6593
+ * `"unspecified"` fallback sentence instead of naming its triggers.
6594
+ *
6595
+ * @public
6596
+ */
6597
+ declare function deriveMaintenanceReason(release: ComprehensiveRelease, plan: ReleasePlan, config: Config): MaintenanceReason | undefined; //#endregion
6598
+ //#region src/changesets/remark/plugins/maintenance-note.d.ts
6599
+ /**
6600
+ * Options for {@link MaintenanceNotePlugin}.
6601
+ *
6602
+ * @public
6603
+ */
6604
+ interface MaintenanceNoteOptions {
6605
+ /** Version heading text to target (e.g. `"2.3.1"`). */
6606
+ readonly version: string;
6607
+ /** Why the package released with no changesets of its own. */
6608
+ readonly reason: MaintenanceReason;
6609
+ }
6610
+ declare const MaintenanceNotePlugin: Plugin$1<[MaintenanceNoteOptions], Root>; //#endregion
6611
+ //#region src/changesets/api/transformer.d.ts
6612
+ /**
6613
+ * Optional per-file behavior for {@link ChangelogTransformer}.
6614
+ *
6615
+ * @public
6616
+ */
6617
+ interface TransformOptions {
6618
+ /** Insert a Maintenance note into this version block when it ends up empty. */
6619
+ readonly maintenance?: MaintenanceNoteOptions;
6620
+ }
6521
6621
  /**
6522
6622
  * Static class for post-processing CHANGELOG.md files.
6523
6623
  *
6524
6624
  * Implements the third layer of the three-layer pipeline by running
6525
- * six remark transform plugins in a fixed order to clean up, normalize,
6526
- * and enhance changelog output produced by the formatter layer.
6625
+ * the {@link SilkChangesetTransformPreset} plugins (currently seven) in a
6626
+ * fixed order to clean up, normalize, and enhance changelog output produced
6627
+ * by the formatter layer.
6527
6628
  *
6528
6629
  * @remarks
6529
- * The six plugins run in this order:
6530
- *
6531
- * 1. **MergeSectionsPlugin** -- merges duplicate section headings (e.g., two
6532
- * "Features" sections from separate changesets are combined into one)
6533
- * 2. **ReorderSectionsPlugin** -- reorders sections by category priority
6534
- * (Breaking Changes first, Other last) using the {@link Categories} priority values
6535
- * 3. **DeduplicateItemsPlugin** -- removes duplicate list items within a section
6536
- * 4. **ContributorFootnotesPlugin** -- converts inline contributor mentions
6537
- * into footnote references for cleaner formatting
6538
- * 5. **IssueLinkRefsPlugin** -- converts inline issue/PR links into markdown
6539
- * reference-style links collected at the bottom of the document
6540
- * 6. **NormalizeFormatPlugin** -- applies consistent formatting (spacing,
6541
- * trailing newlines, heading levels)
6630
+ * See {@link SilkChangesetTransformPreset} for the ordered plugin list and
6631
+ * the rationale behind each plugin's position.
6542
6632
  *
6543
6633
  * The transformer operates on the full CHANGELOG.md content (all versions),
6544
6634
  * not just the latest release block. It is idempotent -- running it multiple
@@ -6597,19 +6687,22 @@ declare class ChangesetLinter {
6597
6687
  declare class ChangelogTransformer {
6598
6688
  private constructor();
6599
6689
  /**
6600
- * Transform CHANGELOG markdown content by running all six transform plugins.
6690
+ * Transform CHANGELOG markdown content by running the
6691
+ * {@link SilkChangesetTransformPreset} plugins.
6601
6692
  *
6602
6693
  * @remarks
6603
6694
  * The input is parsed with `remark-parse` and `remark-gfm` (for table
6604
- * support), processed through all six plugins in order, and stringified
6605
- * back to markdown. The operation is synchronous and idempotent.
6695
+ * support), processed through every plugin in {@link SilkChangesetTransformPreset}
6696
+ * in order, and stringified back to markdown. The operation is synchronous
6697
+ * and idempotent.
6606
6698
  *
6607
6699
  * @param content - Raw CHANGELOG markdown string (may contain multiple
6608
6700
  * version blocks, GFM tables, footnotes, and reference links)
6609
- * @returns The transformed markdown string with sections merged, reordered,
6610
- * deduplicated, and normalized
6701
+ * @param options - Optional transformation options, including maintenance note configuration
6702
+ * @returns The transformed markdown string with dependency tables aggregated,
6703
+ * sections merged, reordered, deduplicated, and normalized
6611
6704
  */
6612
- static transformContent(content: string): string;
6705
+ static transformContent(content: string, options?: TransformOptions): string;
6613
6706
  /**
6614
6707
  * Transform a CHANGELOG file in-place.
6615
6708
  *
@@ -6623,8 +6716,9 @@ declare class ChangelogTransformer {
6623
6716
  * when invoked without the `--dry-run` or `--check` flags.
6624
6717
  *
6625
6718
  * @param filePath - Absolute or relative path to the CHANGELOG.md file
6719
+ * @param options - Optional transformation options, including maintenance note configuration
6626
6720
  */
6627
- static transformFile(filePath: string): void;
6721
+ static transformFile(filePath: string, options?: TransformOptions): void;
6628
6722
  } //#endregion
6629
6723
  //#region src/changesets/changelog/index.d.ts
6630
6724
  /**
@@ -7052,7 +7146,7 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
7052
7146
  } //#endregion
7053
7147
  //#region src/schemas/VersioningSchemas.d.ts
7054
7148
  /**
7055
- * Standard changesets configuration matching the `@changesets/config@3.1.1` spec.
7149
+ * Standard changesets configuration matching the `@changesets/config@4.0.0-next.6` spec.
7056
7150
  *
7057
7151
  * @remarks
7058
7152
  * Represents the parsed `.changeset/config.json` file. All fields are optional
@@ -8278,6 +8372,13 @@ interface ReleasePlannerShape {
8278
8372
  /** Natively apply the release (destructive unless `dryRun`). */
8279
8373
  readonly apply: (root: string, options?: {
8280
8374
  readonly dryRun?: boolean;
8375
+ /**
8376
+ * Map configured changelog ids to absolute module paths. When set,
8377
+ * `config.changelog[0]` must be a key of this map (rewritten before the
8378
+ * engine call; unmapped ids fail) and the engine's `format` integration
8379
+ * is disabled — callers in no-`node_modules` contexts own formatting.
8380
+ */
8381
+ readonly changelogModules?: Readonly<Record<string, string>>;
8281
8382
  }) => Effect.Effect<AppliedRelease, ReleasePlanError>;
8282
8383
  }
8283
8384
  /**
@@ -9854,7 +9955,7 @@ declare const RequiredSectionsRule$2: Plugin<Root, unknown>; //#endregion
9854
9955
  //#region src/changesets/remark/rules/uncategorized-content.d.ts
9855
9956
  declare const UncategorizedContentRule$2: Plugin<Root, unknown>;
9856
9957
  declare namespace index_d_exports {
9857
- export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetIOErrorBase, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, 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, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
9958
+ export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetIOErrorBase, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, 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, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, TransformOptions, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
9858
9959
  } //#endregion
9859
9960
  //#region src/commitlint/config/schema.d.ts
9860
9961
  /**
@@ -4748,7 +4748,9 @@ declare class Categories {
4748
4748
  */
4749
4749
  static isValidHeading(heading: string): boolean;
4750
4750
  } //#endregion
4751
- //#region ../../node_modules/.pnpm/@changesets+types@6.1.0/node_modules/@changesets/types/dist/declarations/src/index.d.ts
4751
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.6/node_modules/@changesets/types/dist/index.d.mts
4752
+ //#region src/index.d.ts
4753
+ type MaybePromise<T> = T | Promise<T>;
4752
4754
  type VersionType$1 = "major" | "minor" | "patch" | "none";
4753
4755
  type AccessType = "public" | "restricted";
4754
4756
  type Release = {
@@ -4797,8 +4799,43 @@ type PackageJSON = {
4797
4799
  access?: AccessType;
4798
4800
  directory?: string;
4799
4801
  registry?: string;
4802
+ [registry: `${string}:registry`]: string;
4800
4803
  };
4801
4804
  };
4805
+ type PackageGroup = ReadonlyArray<string>;
4806
+ type Fixed = ReadonlyArray<PackageGroup>;
4807
+ type Linked = ReadonlyArray<PackageGroup>;
4808
+ interface PrivatePackages {
4809
+ version: boolean;
4810
+ tag: boolean;
4811
+ }
4812
+ type Config = {
4813
+ changelog: false | readonly [string, null | Record<string, unknown>];
4814
+ commit: false | readonly [string, null | Record<string, unknown>];
4815
+ fixed: Fixed;
4816
+ linked: Linked;
4817
+ access: AccessType;
4818
+ baseBranch: string;
4819
+ changedFilePatterns: readonly string[];
4820
+ /**
4821
+ * The formatter to use to format changesets and changelogs. Set `false` to disable formatting.
4822
+ * The default value of `"auto"` will auto-detect the formatter based on the project's configuration files.
4823
+ */
4824
+ format: "auto" | "prettier" | "oxfmt" | "deno" | "dprint" | false; /** Features enabled for Private packages */
4825
+ privatePackages: PrivatePackages; /** The minimum bump type to trigger automatic update of internal dependencies that are part of the same release */
4826
+ updateInternalDependencies: "patch" | "minor";
4827
+ ignore: ReadonlyArray<string>; /** This is supposed to be used with pnpm's `link-workspace-packages: false` and Berry's `enableTransparentWorkspaces: false` */
4828
+ bumpVersionsWithWorkspaceProtocolOnly?: boolean;
4829
+ ___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH: Required<ExperimentalOptions>;
4830
+ snapshot: {
4831
+ useCalculatedVersion: boolean;
4832
+ prereleaseTemplate: string | null;
4833
+ };
4834
+ };
4835
+ type ExperimentalOptions = {
4836
+ onlyUpdatePeerDependentsWhenOutOfRange?: boolean;
4837
+ updateInternalDependents?: "always" | "out-of-range";
4838
+ };
4802
4839
  type NewChangesetWithCommit = NewChangeset & {
4803
4840
  commit?: string;
4804
4841
  };
@@ -4806,8 +4843,8 @@ type ModCompWithPackage = ComprehensiveRelease & {
4806
4843
  packageJson: PackageJSON;
4807
4844
  dir: string;
4808
4845
  };
4809
- type GetReleaseLine = (changeset: NewChangesetWithCommit, type: VersionType$1, changelogOpts: null | Record<string, any>) => Promise<string>;
4810
- type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenciesUpdated: ModCompWithPackage[], changelogOpts: any) => Promise<string>;
4846
+ type GetReleaseLine = (changeset: NewChangesetWithCommit, type: VersionType$1, changelogOpts: null | Record<string, unknown>) => MaybePromise<string>;
4847
+ type GetDependencyReleaseLine = (changesets: NewChangesetWithCommit[], dependenciesUpdated: ModCompWithPackage[], changelogOpts: null | Record<string, unknown>) => MaybePromise<string>;
4811
4848
  type ChangelogFunctions = {
4812
4849
  getReleaseLine: GetReleaseLine;
4813
4850
  getDependencyReleaseLine: GetDependencyReleaseLine;
@@ -4815,9 +4852,6 @@ type ChangelogFunctions = {
4815
4852
  type PreState = {
4816
4853
  mode: "pre" | "exit";
4817
4854
  tag: string;
4818
- initialVersions: {
4819
- [pkgName: string]: string;
4820
- };
4821
4855
  changesets: string[];
4822
4856
  }; //#endregion
4823
4857
  //#region src/changesets/api/changelog.d.ts
@@ -6508,37 +6542,93 @@ declare class ChangesetLinter {
6508
6542
  */
6509
6543
  static validate(dir: string): LintMessage[];
6510
6544
  } //#endregion
6511
- //#region src/changesets/api/transformer.d.ts
6545
+ //#region src/changesets/services/maintenance-reason.d.ts
6546
+ /**
6547
+ * A group co-member whose own changesets forced this release.
6548
+ *
6549
+ * @public
6550
+ */
6551
+ declare const MaintenanceTriggerSchema: Schema.Struct<{
6552
+ /** Package name of the triggering co-member. */name: typeof Schema.String; /** The co-member's new version in the same release plan. */
6553
+ version: typeof Schema.String;
6554
+ }>;
6512
6555
  /**
6513
- * Class-based API wrapper for changelog transformation.
6556
+ * A group co-member whose own changesets forced this release.
6514
6557
  *
6515
- * Provides a static class interface that runs all remark transform
6516
- * plugins against CHANGELOG markdown content as the post-processing
6517
- * layer of the three-layer pipeline.
6558
+ * @public
6559
+ */
6560
+ type MaintenanceTrigger = typeof MaintenanceTriggerSchema.Type;
6561
+ /**
6562
+ * Why a package is releasing with no changesets of its own.
6518
6563
  *
6519
- * @internal
6564
+ * @public
6520
6565
  */
6566
+ declare const MaintenanceReasonSchema: Schema.Struct<{
6567
+ /** Coupling that forced the release; `"unspecified"` when undetermined. */kind: Schema.Literal<["fixed", "linked", "unspecified"]>; /** Triggering co-members; empty for `"unspecified"`. */
6568
+ triggers: Schema.Array$<Schema.Struct<{
6569
+ /** Package name of the triggering co-member. */name: typeof Schema.String; /** The co-member's new version in the same release plan. */
6570
+ version: typeof Schema.String;
6571
+ }>>;
6572
+ }>;
6573
+ /**
6574
+ * Why a package is releasing with no changesets of its own.
6575
+ *
6576
+ * @public
6577
+ */
6578
+ type MaintenanceReason = typeof MaintenanceReasonSchema.Type;
6579
+ /**
6580
+ * Derive the {@link MaintenanceReason} for a release, or `undefined` when the
6581
+ * release has its own changesets (not a maintenance release).
6582
+ *
6583
+ * @param release - The release to classify.
6584
+ * @param plan - The full release plan (source of group co-members).
6585
+ * @param config - Resolved changesets config (`fixed` / `linked` groups).
6586
+ * @returns The reason, or `undefined` for releases with their own changesets.
6587
+ *
6588
+ * @remarks
6589
+ * Group entries are matched with {@link ChangesetConfig.matches} — exact names
6590
+ * and trailing `"@scope/*"` prefixes only, a subset of the micromatch globs
6591
+ * changesets accepts. A group entry using richer glob syntax (e.g. `"pkg-*"`)
6592
+ * will not match here; the release then degrades gracefully to the
6593
+ * `"unspecified"` fallback sentence instead of naming its triggers.
6594
+ *
6595
+ * @public
6596
+ */
6597
+ declare function deriveMaintenanceReason(release: ComprehensiveRelease, plan: ReleasePlan, config: Config): MaintenanceReason | undefined; //#endregion
6598
+ //#region src/changesets/remark/plugins/maintenance-note.d.ts
6599
+ /**
6600
+ * Options for {@link MaintenanceNotePlugin}.
6601
+ *
6602
+ * @public
6603
+ */
6604
+ interface MaintenanceNoteOptions {
6605
+ /** Version heading text to target (e.g. `"2.3.1"`). */
6606
+ readonly version: string;
6607
+ /** Why the package released with no changesets of its own. */
6608
+ readonly reason: MaintenanceReason;
6609
+ }
6610
+ declare const MaintenanceNotePlugin: Plugin$1<[MaintenanceNoteOptions], Root>; //#endregion
6611
+ //#region src/changesets/api/transformer.d.ts
6612
+ /**
6613
+ * Optional per-file behavior for {@link ChangelogTransformer}.
6614
+ *
6615
+ * @public
6616
+ */
6617
+ interface TransformOptions {
6618
+ /** Insert a Maintenance note into this version block when it ends up empty. */
6619
+ readonly maintenance?: MaintenanceNoteOptions;
6620
+ }
6521
6621
  /**
6522
6622
  * Static class for post-processing CHANGELOG.md files.
6523
6623
  *
6524
6624
  * Implements the third layer of the three-layer pipeline by running
6525
- * six remark transform plugins in a fixed order to clean up, normalize,
6526
- * and enhance changelog output produced by the formatter layer.
6625
+ * the {@link SilkChangesetTransformPreset} plugins (currently seven) in a
6626
+ * fixed order to clean up, normalize, and enhance changelog output produced
6627
+ * by the formatter layer.
6527
6628
  *
6528
6629
  * @remarks
6529
- * The six plugins run in this order:
6530
- *
6531
- * 1. **MergeSectionsPlugin** -- merges duplicate section headings (e.g., two
6532
- * "Features" sections from separate changesets are combined into one)
6533
- * 2. **ReorderSectionsPlugin** -- reorders sections by category priority
6534
- * (Breaking Changes first, Other last) using the {@link Categories} priority values
6535
- * 3. **DeduplicateItemsPlugin** -- removes duplicate list items within a section
6536
- * 4. **ContributorFootnotesPlugin** -- converts inline contributor mentions
6537
- * into footnote references for cleaner formatting
6538
- * 5. **IssueLinkRefsPlugin** -- converts inline issue/PR links into markdown
6539
- * reference-style links collected at the bottom of the document
6540
- * 6. **NormalizeFormatPlugin** -- applies consistent formatting (spacing,
6541
- * trailing newlines, heading levels)
6630
+ * See {@link SilkChangesetTransformPreset} for the ordered plugin list and
6631
+ * the rationale behind each plugin's position.
6542
6632
  *
6543
6633
  * The transformer operates on the full CHANGELOG.md content (all versions),
6544
6634
  * not just the latest release block. It is idempotent -- running it multiple
@@ -6597,19 +6687,22 @@ declare class ChangesetLinter {
6597
6687
  declare class ChangelogTransformer {
6598
6688
  private constructor();
6599
6689
  /**
6600
- * Transform CHANGELOG markdown content by running all six transform plugins.
6690
+ * Transform CHANGELOG markdown content by running the
6691
+ * {@link SilkChangesetTransformPreset} plugins.
6601
6692
  *
6602
6693
  * @remarks
6603
6694
  * The input is parsed with `remark-parse` and `remark-gfm` (for table
6604
- * support), processed through all six plugins in order, and stringified
6605
- * back to markdown. The operation is synchronous and idempotent.
6695
+ * support), processed through every plugin in {@link SilkChangesetTransformPreset}
6696
+ * in order, and stringified back to markdown. The operation is synchronous
6697
+ * and idempotent.
6606
6698
  *
6607
6699
  * @param content - Raw CHANGELOG markdown string (may contain multiple
6608
6700
  * version blocks, GFM tables, footnotes, and reference links)
6609
- * @returns The transformed markdown string with sections merged, reordered,
6610
- * deduplicated, and normalized
6701
+ * @param options - Optional transformation options, including maintenance note configuration
6702
+ * @returns The transformed markdown string with dependency tables aggregated,
6703
+ * sections merged, reordered, deduplicated, and normalized
6611
6704
  */
6612
- static transformContent(content: string): string;
6705
+ static transformContent(content: string, options?: TransformOptions): string;
6613
6706
  /**
6614
6707
  * Transform a CHANGELOG file in-place.
6615
6708
  *
@@ -6623,8 +6716,9 @@ declare class ChangelogTransformer {
6623
6716
  * when invoked without the `--dry-run` or `--check` flags.
6624
6717
  *
6625
6718
  * @param filePath - Absolute or relative path to the CHANGELOG.md file
6719
+ * @param options - Optional transformation options, including maintenance note configuration
6626
6720
  */
6627
- static transformFile(filePath: string): void;
6721
+ static transformFile(filePath: string, options?: TransformOptions): void;
6628
6722
  } //#endregion
6629
6723
  //#region src/changesets/changelog/index.d.ts
6630
6724
  /**
@@ -7052,7 +7146,7 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
7052
7146
  } //#endregion
7053
7147
  //#region src/schemas/VersioningSchemas.d.ts
7054
7148
  /**
7055
- * Standard changesets configuration matching the `@changesets/config@3.1.1` spec.
7149
+ * Standard changesets configuration matching the `@changesets/config@4.0.0-next.6` spec.
7056
7150
  *
7057
7151
  * @remarks
7058
7152
  * Represents the parsed `.changeset/config.json` file. All fields are optional
@@ -8278,6 +8372,13 @@ interface ReleasePlannerShape {
8278
8372
  /** Natively apply the release (destructive unless `dryRun`). */
8279
8373
  readonly apply: (root: string, options?: {
8280
8374
  readonly dryRun?: boolean;
8375
+ /**
8376
+ * Map configured changelog ids to absolute module paths. When set,
8377
+ * `config.changelog[0]` must be a key of this map (rewritten before the
8378
+ * engine call; unmapped ids fail) and the engine's `format` integration
8379
+ * is disabled — callers in no-`node_modules` contexts own formatting.
8380
+ */
8381
+ readonly changelogModules?: Readonly<Record<string, string>>;
8281
8382
  }) => Effect.Effect<AppliedRelease, ReleasePlanError>;
8282
8383
  }
8283
8384
  /**
@@ -9854,7 +9955,7 @@ declare const RequiredSectionsRule$2: Plugin<Root, unknown>; //#endregion
9854
9955
  //#region src/changesets/remark/rules/uncategorized-content.d.ts
9855
9956
  declare const UncategorizedContentRule$2: Plugin<Root, unknown>;
9856
9957
  declare namespace index_d_exports {
9857
- export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetIOErrorBase, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, 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, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
9958
+ export { AggregateDependencyTablesPlugin, AppliedRelease, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysis, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchAnalyzerShape, BranchFileEntry, BranchFileEntrySchema, BumpType, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogServiceShape, ChangelogTransformer, Changeset, ChangesetIOError, ChangesetIOErrorBase, ChangesetLinter, ChangesetOptions, ChangesetOptionsSchema, ChangesetPreview, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, Classification, ClassificationReason, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigInspectorShape, ConfigurationError, ConfigurationErrorBase, ContentStructureRule$2 as ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyAction, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$2 as DependencyTableFormatRule, DependencyTableRow, DependencyTableRowSchema, DependencyTableSchema, DependencyTableType, DependencyTableTypeSchema, DependencyType, DependencyTypeSchema, DependencyUpdate, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, DepsRegenOptions, DepsRegenShape, FileStatus, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubCommitInfo, GitHubInfo, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GitHubServiceShape, GlobSchema, HeadingHierarchyRule$2 as HeadingHierarchyRule, InspectedConfig, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfig, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, LintMessage, MaintenanceNoteOptions, MaintenanceNotePlugin, MaintenanceReason, MaintenanceReasonSchema, MaintenanceTrigger, MaintenanceTriggerSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, MarkdownServiceShape, 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, RegenPlan, RegenResult, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReleasePlannerShape, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule$2 as RequiredSectionsRule, ResolvedPackageScope, ResolvedPackageScopeSchema, ResolvedVersionFile, ResolvedVersionFileSchema, SectionCategory, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules$1 as SilkChangesetsRules, TransformOptions, UncategorizedContentRule$2 as UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfig, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdate, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionType, VersionTypeSchema, WorkspaceDependencyDiff, WorkspaceVersion, changelogFunctions, computeWorkspaceDependencyDiffs, deriveMaintenanceReason, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
9858
9959
  } //#endregion
9859
9960
  //#region src/commitlint/config/schema.d.ts
9860
9961
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/silk",
3
- "version": "1.3.10",
3
+ "version": "2.0.0",
4
4
  "private": false,
5
5
  "description": "The single Silk Suite dev-tooling package — changeset, commitlint, lint, and biome conventions",
6
6
  "homepage": "https://github.com/savvy-web/systems/tree/main/packages/silk",
@@ -66,25 +66,25 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@effect/platform": "^0.96.2",
69
- "@savvy-web/silk-effects": "2.0.2",
69
+ "@savvy-web/silk-effects": "3.0.0",
70
70
  "effect": "^3.21.4",
71
71
  "semver": "^7.8.5"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "@biomejs/biome": "~2.5.0",
75
- "@changesets/cli": "^2.31.0",
76
- "@commitlint/cli": "^21.1.0",
77
- "@commitlint/config-conventional": "^21.1.0",
78
- "@savvy-web/cli": "1.4.2",
79
- "@savvy-web/mcp": "1.6.2",
80
- "@types/node": "^26.0.0",
75
+ "@changesets/cli": "^3.0.0-next.8",
76
+ "@commitlint/cli": "^21.2.0",
77
+ "@commitlint/config-conventional": "^21.2.0",
78
+ "@savvy-web/cli": "1.4.4",
79
+ "@savvy-web/mcp": "1.6.4",
80
+ "@types/node": "^26.1.0",
81
81
  "@typescript/native-preview": "^7.0.0-dev.20260612.1",
82
- "commitizen": "^4.3.0",
82
+ "commitizen": "^4.3.2",
83
83
  "husky": "^9.1.7",
84
- "lint-staged": "^17.0.7",
85
- "markdownlint-cli2": "^0.22.1",
84
+ "lint-staged": "^17.0.8",
85
+ "markdownlint-cli2": "^0.23.0",
86
86
  "markdownlint-cli2-formatter-codequality": "^0.0.7",
87
- "turbo": "^2.10.0",
87
+ "turbo": "^2.10.2",
88
88
  "typescript": "^6.0.0"
89
89
  },
90
90
  "peerDependenciesMeta": {
@@ -106,7 +106,7 @@ var Changelog = class {
106
106
  * Pass `null` to use defaults (no GitHub link resolution).
107
107
  * @returns A promise resolving to the formatted markdown string
108
108
  */
109
- static formatReleaseLine(changeset, versionType, options) {
109
+ static async formatReleaseLine(changeset, versionType, options) {
110
110
  return require_index.default.getReleaseLine(changeset, versionType, options);
111
111
  }
112
112
  /**
@@ -125,7 +125,7 @@ var Changelog = class {
125
125
  * @returns A promise resolving to the formatted markdown string containing
126
126
  * the dependency update table
127
127
  */
128
- static formatDependencyReleaseLine(changesets, dependenciesUpdated, options) {
128
+ static async formatDependencyReleaseLine(changesets, dependenciesUpdated, options) {
129
129
  return require_index.default.getDependencyReleaseLine(changesets, dependenciesUpdated, options);
130
130
  }
131
131
  };
@@ -106,7 +106,7 @@ var Changelog = class {
106
106
  * Pass `null` to use defaults (no GitHub link resolution).
107
107
  * @returns A promise resolving to the formatted markdown string
108
108
  */
109
- static formatReleaseLine(changeset, versionType, options) {
109
+ static async formatReleaseLine(changeset, versionType, options) {
110
110
  return changelogFunctions.getReleaseLine(changeset, versionType, options);
111
111
  }
112
112
  /**
@@ -125,7 +125,7 @@ var Changelog = class {
125
125
  * @returns A promise resolving to the formatted markdown string containing
126
126
  * the dependency update table
127
127
  */
128
- static formatDependencyReleaseLine(changesets, dependenciesUpdated, options) {
128
+ static async formatDependencyReleaseLine(changesets, dependenciesUpdated, options) {
129
129
  return changelogFunctions.getDependencyReleaseLine(changesets, dependenciesUpdated, options);
130
130
  }
131
131
  };