@savvy-web/silk 1.2.0 → 1.3.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 (58) hide show
  1. package/_virtual/_rolldown/runtime.js +1 -1
  2. package/changesets-changelog.cjs +51 -71
  3. package/changesets-changelog.d.cts +22 -11
  4. package/changesets-changelog.d.ts +22 -11
  5. package/changesets-markdownlint.cjs +51 -71
  6. package/changesets-markdownlint.d.cts +22 -11
  7. package/changesets-markdownlint.d.ts +22 -11
  8. package/package.json +8 -8
  9. package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.cjs +0 -1
  10. package/packages/silk-effects/dist/dev/pkg/changesets/categories/types.js +0 -1
  11. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.cjs +0 -2
  12. package/packages/silk-effects/dist/dev/pkg/changesets/changelog/index.js +0 -2
  13. package/packages/silk-effects/dist/dev/pkg/changesets/constants.cjs +0 -1
  14. package/packages/silk-effects/dist/dev/pkg/changesets/constants.js +0 -1
  15. package/packages/silk-effects/dist/dev/pkg/changesets/errors.cjs +0 -1
  16. package/packages/silk-effects/dist/dev/pkg/changesets/errors.js +0 -1
  17. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.cjs +2 -2
  18. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js +2 -2
  19. package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.cjs +1 -1
  20. package/packages/silk-effects/dist/dev/pkg/changesets/remark/rules/uncategorized-content.js +1 -1
  21. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.cjs +0 -1
  22. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/changeset.js +0 -1
  23. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.cjs +0 -1
  24. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.js +0 -1
  25. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.cjs +0 -1
  26. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/git.js +0 -1
  27. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.cjs +0 -1
  28. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/github.js +0 -1
  29. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.cjs +0 -1
  30. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/options.js +0 -1
  31. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.cjs +0 -1
  32. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/package-scope.js +0 -1
  33. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.cjs +0 -1
  34. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/primitives.js +0 -1
  35. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.cjs +0 -1
  36. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/release-plan.js +0 -1
  37. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.cjs +0 -1
  38. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/version-files.js +0 -1
  39. package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.cjs +0 -1
  40. package/packages/silk-effects/dist/dev/pkg/changesets/services/branch-analyzer.js +0 -1
  41. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.cjs +2 -3
  42. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.js +2 -3
  43. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +0 -1
  44. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +0 -1
  45. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.cjs +3 -4
  46. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.js +3 -4
  47. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.cjs +1 -1
  48. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.js +1 -1
  49. package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.cjs +2 -1
  50. package/packages/silk-effects/dist/dev/pkg/errors/ChangesetConfigError.js +2 -1
  51. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.cjs +7 -3
  52. package/packages/silk-effects/dist/dev/pkg/schemas/VersioningSchemas.js +7 -3
  53. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.cjs +2 -0
  54. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.js +2 -0
  55. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.cjs +4 -2
  56. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.js +4 -2
  57. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.cjs +17 -13
  58. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.js +17 -13
@@ -39,7 +39,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
39
39
  value: mod,
40
40
  enumerable: true
41
41
  }) : target, mod));
42
- var __require = /* @__PURE__ */ createRequire(import.meta.url);
42
+ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
43
43
 
44
44
  //#endregion
45
45
  export { __commonJSMin, __exportAll, __require, __toESM };
@@ -633,7 +633,6 @@ var Categories = class {
633
633
  *
634
634
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
635
635
  *
636
- * @packageDocumentation
637
636
  */
638
637
  /**
639
638
  * Base class for {@link ChangesetValidationError}.
@@ -968,7 +967,6 @@ var ReleasePlanError = class extends ReleasePlanErrorBase {
968
967
  * @see {@link PackageScopeSchema} for the new per-package container
969
968
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
970
969
  *
971
- * @packageDocumentation
972
970
  */
973
971
  /**
974
972
  * Schema for a JSONPath expression starting with `$.`.
@@ -1128,7 +1126,6 @@ const LegacyVersionFilesSchema = effect.Schema.Array(LegacyVersionFileConfigSche
1128
1126
  * @see {@link VersionFileConfigSchema} for the version-file entry shape
1129
1127
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
1130
1128
  *
1131
- * @packageDocumentation
1132
1129
  */
1133
1130
  /**
1134
1131
  * Schema for a single repo-relative glob pattern.
@@ -1230,7 +1227,6 @@ const PackagesRecordSchema = effect.Schema.Record({
1230
1227
  * @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
1231
1228
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
1232
1229
  *
1233
- * @packageDocumentation
1234
1230
  */
1235
1231
  /** Regex for `owner/repo` format, shared between schema and validation. */
1236
1232
  const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
@@ -37302,7 +37298,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
37302
37298
  function isC0ControlPercentEncode(c) {
37303
37299
  return c <= 31 || c > 126;
37304
37300
  }
37305
- const extraPathPercentEncodeSet = new Set([
37301
+ const extraPathPercentEncodeSet = /* @__PURE__ */ new Set([
37306
37302
  32,
37307
37303
  34,
37308
37304
  35,
@@ -37316,7 +37312,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
37316
37312
  function isPathPercentEncode(c) {
37317
37313
  return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);
37318
37314
  }
37319
- const extraUserinfoPercentEncodeSet = new Set([
37315
+ const extraUserinfoPercentEncodeSet = /* @__PURE__ */ new Set([
37320
37316
  47,
37321
37317
  58,
37322
37318
  59,
@@ -37842,7 +37838,7 @@ var require_url_state_machine = /* @__PURE__ */ __commonJSMin$1(((exports, modul
37842
37838
  }
37843
37839
  return true;
37844
37840
  };
37845
- const fileOtherwiseCodePoints = new Set([
37841
+ const fileOtherwiseCodePoints = /* @__PURE__ */ new Set([
37846
37842
  47,
37847
37843
  92,
37848
37844
  63,
@@ -59643,7 +59639,6 @@ const MarkdownLive = effect.Layer.succeed(MarkdownService, {
59643
59639
  *
59644
59640
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
59645
59641
  *
59646
- * @packageDocumentation
59647
59642
  */
59648
59643
  /**
59649
59644
  * A non-empty string schema.
@@ -59719,7 +59714,6 @@ const PositiveInteger = effect.Schema.Number.pipe(effect.Schema.int(), effect.Sc
59719
59714
  * @see {@link DependencyUpdateSchema} for the simpler Changesets API format
59720
59715
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
59721
59716
  *
59722
- * @packageDocumentation
59723
59717
  */
59724
59718
  /**
59725
59719
  * Valid dependency table actions.
@@ -60287,7 +60281,6 @@ function extractUrlFromMarkdown(linkOrUrl) {
60287
60281
  *
60288
60282
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
60289
60283
  *
60290
- * @packageDocumentation
60291
60284
  */
60292
60285
  /**
60293
60286
  * Test whether a string is a valid URL.
@@ -61142,8 +61135,6 @@ function getReleaseLine(changeset, versionType, options) {
61142
61135
  *
61143
61136
  * @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
61144
61137
  * @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
61145
- *
61146
- * @packageDocumentation
61147
61138
  */
61148
61139
  /**
61149
61140
  * Combined layer providing all services needed by the formatters.
@@ -61488,7 +61479,6 @@ var DependencyTable = class {
61488
61479
  * - `CSH005` -- Frontmatter validation
61489
61480
  *
61490
61481
  * @internal
61491
- * @packageDocumentation
61492
61482
  */
61493
61483
  /** Base URL for rule documentation on GitHub. */
61494
61484
  const DOCS_BASE = "https://github.com/savvy-web/changesets/blob/main/docs/rules";
@@ -61672,7 +61662,7 @@ const RequiredSectionsRule$1 = lintRule("remark-lint:changeset-required-sections
61672
61662
  *
61673
61663
  * @internal
61674
61664
  */
61675
- const IGNORED_TYPES = new Set(["html"]);
61665
+ const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
61676
61666
  /**
61677
61667
  * Determine whether a node is substantive content (not a heading or ignored type).
61678
61668
  *
@@ -62431,10 +62421,11 @@ var ChangelogTransformer = class ChangelogTransformer {
62431
62421
  * Raised when the `.changeset/config.json` file cannot be read or decoded.
62432
62422
  *
62433
62423
  * @remarks
62434
- * Returned by {@link ChangesetConfigReader.read} when the file is missing,
62424
+ * Returned by `ChangesetConfigReader.read` when the file is missing,
62435
62425
  * contains invalid JSON, or fails Effect Schema validation.
62436
62426
  *
62437
62427
  * @since 0.1.0
62428
+ * @public
62438
62429
  */
62439
62430
  var ChangesetConfigError = class extends effect.Data.TaggedError("ChangesetConfigError") {
62440
62431
  get message() {
@@ -62476,11 +62467,12 @@ const SnapshotConfig = effect.Schema.Struct({
62476
62467
  *
62477
62468
  * @remarks
62478
62469
  * Represents the parsed `.changeset/config.json` file. All fields are optional
62479
- * to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
62470
+ * to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
62480
62471
  * adapter is detected.
62481
62472
  *
62482
62473
  * @since 0.1.0
62483
62474
  */
62475
+ /** @public */
62484
62476
  const ChangesetConfigFile = effect.Schema.Struct({
62485
62477
  changelog: effect.Schema.optional(effect.Schema.Union(effect.Schema.String, effect.Schema.Array(effect.Schema.Unknown), effect.Schema.Literal(false))),
62486
62478
  commit: effect.Schema.optional(effect.Schema.Union(effect.Schema.Boolean, effect.Schema.String, effect.Schema.Array(effect.Schema.Unknown))),
@@ -62500,12 +62492,13 @@ const ChangesetConfigFile = effect.Schema.Struct({
62500
62492
  * Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
62501
62493
  *
62502
62494
  * @remarks
62503
- * Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
62495
+ * Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
62504
62496
  * set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
62505
62497
  * references `@savvy-web/changesets`.
62506
62498
  *
62507
62499
  * @since 0.1.0
62508
62500
  */
62501
+ /** @public */
62509
62502
  const SilkChangesetConfigFile = effect.Schema.extend(ChangesetConfigFile, effect.Schema.Struct({ _isSilk: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => true }) }));
62510
62503
  /**
62511
62504
  * Versioning strategy classification for a workspace.
@@ -62516,6 +62509,7 @@ const SilkChangesetConfigFile = effect.Schema.extend(ChangesetConfigFile, effect
62516
62509
  * - `"independent"` — multiple publishable packages with independent version bumps.
62517
62510
  *
62518
62511
  * @since 0.1.0
62512
+ * @public
62519
62513
  */
62520
62514
  const VersioningStrategyType = effect.Schema.Literal("single", "fixed-group", "independent");
62521
62515
  effect.Schema.Struct({
@@ -62547,8 +62541,8 @@ function isSilkChangelog(changelog) {
62547
62541
  *
62548
62542
  * @remarks
62549
62543
  * Automatically detects whether the config uses the Silk changelog adapter
62550
- * (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
62551
- * standard {@link ChangesetConfigFile} accordingly.
62544
+ * (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
62545
+ * standard {@link (ChangesetConfigFile:type)} accordingly.
62552
62546
  *
62553
62547
  * @example
62554
62548
  * ```typescript
@@ -62564,6 +62558,7 @@ function isSilkChangelog(changelog) {
62564
62558
  * ```
62565
62559
  *
62566
62560
  * @since 0.1.0
62561
+ * @public
62567
62562
  */
62568
62563
  var ChangesetConfigReader = class extends effect.Context.Tag("@savvy-web/silk-effects/ChangesetConfigReader")() {};
62569
62564
  effect.Layer.effect(ChangesetConfigReader, effect.Effect.gen(function* () {
@@ -62624,6 +62619,7 @@ effect.Layer.effect(ChangesetConfigReader, effect.Effect.gen(function* () {
62624
62619
  * to `mode: "none"` and empty/false defaults.
62625
62620
  *
62626
62621
  * @since 0.4.0
62622
+ * @public
62627
62623
  */
62628
62624
  var ChangesetConfig = class extends effect.Context.Tag("@savvy-web/silk-effects/ChangesetConfig")() {
62629
62625
  /**
@@ -62694,7 +62690,7 @@ var PnpmError = class extends Error {
62694
62690
  }
62695
62691
  };
62696
62692
  //#endregion
62697
- //#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.0/node_modules/@pnpm/catalogs.config/lib/getCatalogsFromWorkspaceManifest.js
62693
+ //#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.1/node_modules/@pnpm/catalogs.config/lib/getCatalogsFromWorkspaceManifest.js
62698
62694
  function getCatalogsFromWorkspaceManifest(workspaceManifest) {
62699
62695
  if (workspaceManifest == null) return {};
62700
62696
  checkDefaultCatalogIsDefinedOnce(workspaceManifest);
@@ -62707,7 +62703,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
62707
62703
  if (manifest.catalog != null && manifest.catalogs?.default != null) throw new PnpmError("INVALID_CATALOGS_CONFIGURATION", "The 'default' catalog was defined multiple times. Use the 'catalog' field or 'catalogs.default', but not both.");
62708
62704
  }
62709
62705
  //#endregion
62710
- //#region ../../node_modules/.pnpm/yaml-effect@0.6.0_effect@3.21.3/node_modules/yaml-effect/index.js
62706
+ //#region ../../node_modules/.pnpm/yaml-effect@0.6.0_effect@3.21.4/node_modules/yaml-effect/index.js
62711
62707
  const YamlComposerErrorBase = effect.Data.TaggedError("YamlComposerError");
62712
62708
  var YamlComposerError_YamlComposerError = class extends YamlComposerErrorBase {
62713
62709
  get message() {
@@ -67718,7 +67714,7 @@ const stringify_NAN_RE = /^\.(?:nan|NaN|NAN)$/;
67718
67714
  function isControlChar(code) {
67719
67715
  return code >= 0 && code <= 8 || 11 === code || 12 === code || code >= 14 && code <= 31;
67720
67716
  }
67721
- const INDICATOR_CHARS = new Set([
67717
+ const INDICATOR_CHARS = /* @__PURE__ */ new Set([
67722
67718
  ":",
67723
67719
  "#",
67724
67720
  "{",
@@ -69121,7 +69117,7 @@ const unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}
69121
69117
  //#endregion
69122
69118
  //#region ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
69123
69119
  var _a;
69124
- const types$1 = new Set([
69120
+ const types$1 = /* @__PURE__ */ new Set([
69125
69121
  "!",
69126
69122
  "?",
69127
69123
  "+",
@@ -69130,7 +69126,7 @@ const types$1 = new Set([
69130
69126
  ]);
69131
69127
  const isExtglobType = (c) => types$1.has(c);
69132
69128
  const isExtglobAST = (c) => isExtglobType(c.type);
69133
- const adoptionMap = new Map([
69129
+ const adoptionMap = /* @__PURE__ */ new Map([
69134
69130
  ["!", ["@"]],
69135
69131
  ["?", ["?", "@"]],
69136
69132
  ["@", ["@"]],
@@ -69142,12 +69138,12 @@ const adoptionMap = new Map([
69142
69138
  ]],
69143
69139
  ["+", ["+", "@"]]
69144
69140
  ]);
69145
- const adoptionWithSpaceMap = new Map([
69141
+ const adoptionWithSpaceMap = /* @__PURE__ */ new Map([
69146
69142
  ["!", ["?"]],
69147
69143
  ["@", ["?"]],
69148
69144
  ["+", ["?", "*"]]
69149
69145
  ]);
69150
- const adoptionAnyMap = new Map([
69146
+ const adoptionAnyMap = /* @__PURE__ */ new Map([
69151
69147
  ["!", ["?", "@"]],
69152
69148
  ["?", ["?", "@"]],
69153
69149
  ["@", ["?", "@"]],
@@ -69164,22 +69160,22 @@ const adoptionAnyMap = new Map([
69164
69160
  "*"
69165
69161
  ]]
69166
69162
  ]);
69167
- const usurpMap = new Map([
69168
- ["!", new Map([["!", "@"]])],
69169
- ["?", new Map([["*", "*"], ["+", "*"]])],
69170
- ["@", new Map([
69163
+ const usurpMap = /* @__PURE__ */ new Map([
69164
+ ["!", /* @__PURE__ */ new Map([["!", "@"]])],
69165
+ ["?", /* @__PURE__ */ new Map([["*", "*"], ["+", "*"]])],
69166
+ ["@", /* @__PURE__ */ new Map([
69171
69167
  ["!", "!"],
69172
69168
  ["?", "?"],
69173
69169
  ["@", "@"],
69174
69170
  ["*", "*"],
69175
69171
  ["+", "+"]
69176
69172
  ])],
69177
- ["+", new Map([["?", "*"], ["*", "*"]])]
69173
+ ["+", /* @__PURE__ */ new Map([["?", "*"], ["*", "*"]])]
69178
69174
  ]);
69179
69175
  const startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
69180
69176
  const startNoDot = "(?!\\.)";
69181
- const addPatternStart = new Set(["[", "."]);
69182
- const justDots = new Set(["..", "."]);
69177
+ const addPatternStart = /* @__PURE__ */ new Set(["[", "."]);
69178
+ const justDots = /* @__PURE__ */ new Set(["..", "."]);
69183
69179
  const reSpecials = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
69184
69180
  const regExpEscape$1 = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
69185
69181
  const qmark = "[^/]";
@@ -70265,7 +70261,7 @@ minimatch.Minimatch = Minimatch;
70265
70261
  minimatch.escape = escape;
70266
70262
  minimatch.unescape = unescape;
70267
70263
  //#endregion
70268
- //#region ../../node_modules/.pnpm/semver-effect@0.2.1_effect@3.21.3/node_modules/semver-effect/index.js
70264
+ //#region ../../node_modules/.pnpm/semver-effect@0.2.1_effect@3.21.4/node_modules/semver-effect/index.js
70269
70265
  const EmptyCacheErrorBase = effect.Data.TaggedError("EmptyCacheError");
70270
70266
  var EmptyCacheError = class extends EmptyCacheErrorBase {
70271
70267
  get message() {
@@ -72307,7 +72303,7 @@ effect.Schema.Class("JsoncFormattingOptions")({
72307
72303
  keepLines: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
72308
72304
  });
72309
72305
  //#endregion
72310
- //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.1_effect@3.21.3__effect@3.21.3/node_modules/workspaces-effect/index.js
72306
+ //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.js
72311
72307
  const CatalogAssemblyErrorBase = effect.Data.TaggedError("CatalogAssemblyError");
72312
72308
  var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
72313
72309
  get message() {
@@ -72667,7 +72663,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
72667
72663
  const unstagedFiles = yield* runGitLines(cwd, "diff", "--name-only");
72668
72664
  const stagedFiles = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
72669
72665
  const untrackedFiles = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
72670
- const allFiles = new Set([
72666
+ const allFiles = /* @__PURE__ */ new Set([
72671
72667
  ...committedFiles,
72672
72668
  ...unstagedFiles,
72673
72669
  ...stagedFiles,
@@ -72688,7 +72684,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
72688
72684
  const unstaged = yield* runGitLines(cwd, "diff", "--name-only");
72689
72685
  const staged = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
72690
72686
  const untracked = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
72691
- files = [...new Set([
72687
+ files = [.../* @__PURE__ */ new Set([
72692
72688
  ...files,
72693
72689
  ...unstaged,
72694
72690
  ...staged,
@@ -72714,7 +72710,7 @@ const ChangeDetectorLive = effect.Layer.effect(ChangeDetector, effect.Effect.gen
72714
72710
  const unstaged = yield* runGitLines(cwd, "diff", "--name-only");
72715
72711
  const staged = yield* runGitLines(cwd, "diff", "--name-only", "--cached");
72716
72712
  const untracked = yield* runGitLines(cwd, "ls-files", "--others", "--exclude-standard");
72717
- files = [...new Set([
72713
+ files = [.../* @__PURE__ */ new Set([
72718
72714
  ...files,
72719
72715
  ...unstaged,
72720
72716
  ...staged,
@@ -74208,7 +74204,7 @@ const DEFAULT_REGISTRIES = {
74208
74204
  *
74209
74205
  * @remarks
74210
74206
  * The npm public registry and GitHub Packages both accept provenance attestations through the
74211
- * Sigstore/OIDC trusted-publishing flow, so a {@link PublishTarget} bound to either is marked
74207
+ * Sigstore/OIDC trusted-publishing flow, so a `PublishTarget` bound to either is marked
74212
74208
  * `provenance: true` by default — this is what gates the release action's attestation step. JSR
74213
74209
  * and custom registries do not participate and resolve to `false`. Matching is endpoint-based
74214
74210
  * (not target-key based) so a custom key pointed at one of these registries still opts in.
@@ -74224,7 +74220,7 @@ const provenanceForRegistry = (registry) => {
74224
74220
  return hostname === "registry.npmjs.org" || hostname === "npm.pkg.github.com";
74225
74221
  };
74226
74222
  /**
74227
- * Silk publishability rules over `workspaces-effect`'s {@link PublishTarget}.
74223
+ * Silk publishability rules over `workspaces-effect`'s `PublishTarget`.
74228
74224
  *
74229
74225
  * @remarks
74230
74226
  * In silk mode `private: true` is the norm on workspace `package.json`; publishability is
@@ -74232,6 +74228,7 @@ const provenanceForRegistry = (registry) => {
74232
74228
  * default. All helpers are static so a consumer sees the full rule surface in one place.
74233
74229
  *
74234
74230
  * @since 0.4.0
74231
+ * @public
74235
74232
  */
74236
74233
  var SilkPublishability = class {
74237
74234
  /**
@@ -74240,7 +74237,7 @@ var SilkPublishability = class {
74240
74237
  *
74241
74238
  * - A non-empty `publishConfig.targets` map (the bundler's Record-map form) makes the
74242
74239
  * package publishable regardless of `private`. With a `binding` (post-prod-build), one
74243
- * {@link PublishTarget} is emitted per resolved registry target, its `directory` set to
74240
+ * `PublishTarget` is emitted per resolved registry target, its `directory` set to
74244
74241
  * the bound group's `dist/prod/<group>/pkg` dir. Without a binding (pre-build), one
74245
74242
  * placeholder target is emitted per declared key so publishability and target counts
74246
74243
  * are correct; the directory is best-effort and unused until the build writes the
@@ -74303,7 +74300,7 @@ var SilkPublishability = class {
74303
74300
  return [];
74304
74301
  }
74305
74302
  /**
74306
- * Resolve a package's publish targets via {@link PublishabilityDetector}, then drop any
74303
+ * Resolve a package's publish targets via {@link SilkPublishability}, then drop any
74307
74304
  * whose built `directory` package.json is `private: true`. Returned targets keep the
74308
74305
  * detector's original (possibly package-relative) `directory`.
74309
74306
  */
@@ -74319,7 +74316,7 @@ var SilkPublishability = class {
74319
74316
  }
74320
74317
  /**
74321
74318
  * The publishable, non-ignored packages, resolved through the single
74322
- * {@link PublishabilityDetector} (which already honors changeset ignore in adaptive mode).
74319
+ * {@link SilkPublishability} (which already honors changeset ignore in adaptive mode).
74323
74320
  */
74324
74321
  static listPublishable(root) {
74325
74322
  return effect.Effect.gen(function* () {
@@ -74355,12 +74352,13 @@ const readRaw = (fs, packageJsonPath) => fs.readFileString(packageJsonPath).pipe
74355
74352
  *
74356
74353
  * @remarks
74357
74354
  * Returns `null` when the file is missing/unreadable/malformed — i.e. before the prod build
74358
- * has run. {@link SilkPublishability.detect} falls back to declared-key placeholders in that
74359
- * case. Used by the silk {@link PublishabilityDetector} layers and the workspace analyzer.
74355
+ * has run. `SilkPublishability.detect` falls back to declared-key placeholders in that
74356
+ * case. Used by the silk {@link SilkPublishability} layers and the workspace analyzer.
74360
74357
  *
74361
74358
  * @param fs - The FileSystem service.
74362
74359
  * @param pkgPath - Absolute path to the package directory.
74363
74360
  * @since 1.0.0
74361
+ * @public
74364
74362
  */
74365
74363
  const readTargetsBinding = (fs, pkgPath) => fs.readFileString((0, node_path.join)(pkgPath, "dist", "prod", "targets.json")).pipe(effect.Effect.flatMap((content) => effect.Effect.try({
74366
74364
  try: () => JSON.parse(content),
@@ -77083,7 +77081,6 @@ function globSync(globInput, options) {
77083
77081
  * @see {@link ConfigInspector} for the Effect service tag
77084
77082
  * @see {@link ConfigInspectorLive} for the production layer
77085
77083
  *
77086
- * @packageDocumentation
77087
77084
  */
77088
77085
  /** A `versionFiles` entry expanded to its absolute target paths. @public */
77089
77086
  const ResolvedVersionFileSchema = effect.Schema.Struct({
@@ -77495,7 +77492,7 @@ function classifyOne(inspected, path) {
77495
77492
  /**
77496
77493
  * Live layer for {@link ConfigInspector}.
77497
77494
  *
77498
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
77495
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
77499
77496
  * in the environment.
77500
77497
  *
77501
77498
  * @public
@@ -77560,7 +77557,6 @@ function makeConfigInspectorTest(fixed) {
77560
77557
  * @see {@link BranchAnalyzerLive} for the production layer
77561
77558
  * @see {@link ConfigInspector} for the underlying classification service
77562
77559
  *
77563
- * @packageDocumentation
77564
77560
  */
77565
77561
  /** Git diff status as reported by `--name-status`. @public */
77566
77562
  const FileStatusSchema = effect.Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
@@ -80781,7 +80777,7 @@ var require_to_regex_range = /* @__PURE__ */ __commonJSMin$1(((exports, module)
80781
80777
  let nines = 1;
80782
80778
  let zeros = 1;
80783
80779
  let stop = countNines(min, nines);
80784
- let stops = new Set([max]);
80780
+ let stops = /* @__PURE__ */ new Set([max]);
80785
80781
  while (min <= stop && stop <= max) {
80786
80782
  stops.add(stop);
80787
80783
  nines += 1;
@@ -98895,16 +98891,6 @@ var require_resolve_from = /* @__PURE__ */ __commonJSMin$1(((exports, module) =>
98895
98891
  //#endregion
98896
98892
  //#region ../../node_modules/.pnpm/lodash.startcase@4.4.0/node_modules/lodash.startcase/index.js
98897
98893
  var require_lodash_startcase = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
98898
- /**
98899
- * lodash (Custom Build) <https://lodash.com/>
98900
- * Build: `lodash modularize exports="npm" -o ./`
98901
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
98902
- * Released under MIT license <https://lodash.com/license>
98903
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
98904
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
98905
- */
98906
- /** Used as references for various `Number` constants. */
98907
- var INFINITY = Infinity;
98908
98894
  /** `Object#toString` result references. */
98909
98895
  var symbolTag = "[object Symbol]";
98910
98896
  /** Used to match words composed of alphanumeric characters. */
@@ -99311,7 +99297,7 @@ var require_lodash_startcase = /* @__PURE__ */ __commonJSMin$1(((exports, module
99311
99297
  if (typeof value == "string") return value;
99312
99298
  if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
99313
99299
  var result = value + "";
99314
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
99300
+ return result == "0" && 1 / value == -Infinity ? "-0" : result;
99315
99301
  }
99316
99302
  /**
99317
99303
  * Casts `array` to a slice if it's needed.
@@ -102860,7 +102846,6 @@ async function getReleasePlan(cwd, sinceRef, passedConfig) {
102860
102846
  * then reads the generated CHANGELOG blocks back. No changesets-internal logic
102861
102847
  * (e.g. `getChangelogEntry`) is re-implemented.
102862
102848
  *
102863
- * @packageDocumentation
102864
102849
  */
102865
102850
  /** Single workspace-discovery seam; swap to an Effect-native stack later here. */
102866
102851
  const buildPackages = (root) => (0, import_get_packages_cjs.getPackages)(root);
@@ -103254,7 +103239,6 @@ const WorkspaceSnapshotReaderLive = effect.Layer.succeed(WorkspaceSnapshotReader
103254
103239
  * @see {@link resolveCommitType} for mapping commit types to categories
103255
103240
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
103256
103241
  *
103257
- * @packageDocumentation
103258
103242
  */
103259
103243
  /**
103260
103244
  * Schema for a section category that defines how changes are grouped in release notes.
@@ -103306,7 +103290,6 @@ const SectionCategorySchema = effect.Schema.Struct({
103306
103290
  *
103307
103291
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
103308
103292
  *
103309
- * @packageDocumentation
103310
103293
  */
103311
103294
  /**
103312
103295
  * Schema for a git commit hash (at least 7 lowercase hex characters).
@@ -103379,7 +103362,6 @@ const VersionTypeSchema = effect.Schema.Literal("major", "minor", "patch", "none
103379
103362
  * @see {@link https://github.com/changesets/changesets | Changesets documentation}
103380
103363
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
103381
103364
  *
103382
- * @packageDocumentation
103383
103365
  */
103384
103366
  /**
103385
103367
  * Schema for a changeset summary (1--1000 characters).
@@ -103510,7 +103492,6 @@ const DependencyUpdateSchema = effect.Schema.Struct({
103510
103492
  * Result schemas for the {@link ReleasePlanner} service — the structured
103511
103493
  * preview of pending releases and the result of a native apply.
103512
103494
  *
103513
- * @packageDocumentation
103514
103495
  */
103515
103496
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
103516
103497
  const BumpTypeSchema = effect.Schema.Literal("major", "minor", "patch");
@@ -103637,18 +103618,17 @@ function computeWorkspaceDependencyDiffs(beforeSnapshots, afterSnapshots) {
103637
103618
  *
103638
103619
  * @remarks
103639
103620
  * Provides `listPublishablePackageNames`, a convenience wrapper around
103640
- * {@link PublishabilityDetector} that returns a `Set<string>` of
103621
+ * {@link SilkPublishability} that returns a `Set<string>` of
103641
103622
  * publishable package names. Used by the `deps detect` and `deps regen`
103642
103623
  * commands to filter out workspace packages whose dependency changes
103643
103624
  * would never reach a release.
103644
103625
  *
103645
- * @packageDocumentation
103646
103626
  */
103647
103627
  /**
103648
103628
  * Compute the set of currently-publishable workspace package names.
103649
103629
  *
103650
103630
  * @remarks
103651
- * Uses the currently-active {@link PublishabilityDetector} — wire the
103631
+ * Uses the currently-active {@link SilkPublishability} — wire the
103652
103632
  * {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
103653
103633
  *
103654
103634
  * @param packages - The workspace packages to evaluate
@@ -103742,7 +103722,7 @@ function normalizeWorkspaceGlob(glob) {
103742
103722
  */
103743
103723
  function snapshotFromWorktree(cwd) {
103744
103724
  const snapshots = [];
103745
- const dirs = new Set([cwd]);
103725
+ const dirs = /* @__PURE__ */ new Set([cwd]);
103746
103726
  for (const dir of expandWorkspaceDirs(cwd)) dirs.add(dir);
103747
103727
  for (const dir of dirs) try {
103748
103728
  const pkgJson = JSON.parse((0, node_fs.readFileSync)((0, node_path.join)(dir, "package.json"), "utf8"));
@@ -103920,7 +103900,7 @@ const ContentStructureRule = {
103920
103900
  //#endregion
103921
103901
  //#region ../silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js
103922
103902
  const EM_DASH$1 = "—";
103923
- const VALID_TYPES = new Set([
103903
+ const VALID_TYPES = /* @__PURE__ */ new Set([
103924
103904
  "dependency",
103925
103905
  "devDependency",
103926
103906
  "peerDependency",
@@ -103928,7 +103908,7 @@ const VALID_TYPES = new Set([
103928
103908
  "workspace",
103929
103909
  "config"
103930
103910
  ]);
103931
- const VALID_ACTIONS = new Set([
103911
+ const VALID_ACTIONS = /* @__PURE__ */ new Set([
103932
103912
  "added",
103933
103913
  "updated",
103934
103914
  "removed"
@@ -3298,7 +3298,7 @@ type Label = Label$1;
3298
3298
  type Severity = Severity$1;
3299
3299
  type Plugin<Tree extends Node$3 = Node$3, Option extends unknown = unknown> = (config?: [level: Label | Severity | boolean, option?: Option] | Label | Option | Severity) => ((tree: Tree, file: VFile, next: TransformCallback<Tree>) => undefined) | undefined;
3300
3300
  //#endregion
3301
- //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.1_effect@3.21.3__effect@3.21.3/node_modules/workspaces-effect/index.d.ts
3301
+ //#region ../../node_modules/.pnpm/workspaces-effect@1.2.0_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3302
3302
  /**
3303
3303
  * Result of comparing two WorkspacePackage dependency snapshots.
3304
3304
  * @public
@@ -6201,7 +6201,6 @@ declare const changelogFunctions$1: ChangelogFunctions; //#endregion
6201
6201
  *
6202
6202
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
6203
6203
  *
6204
- * @packageDocumentation
6205
6204
  */
6206
6205
  /**
6207
6206
  * Base class for {@link ChangesetValidationError}.
@@ -6539,10 +6538,11 @@ declare const ChangesetConfigError_base: new <A extends Record<string, any> = {}
6539
6538
  * Raised when the `.changeset/config.json` file cannot be read or decoded.
6540
6539
  *
6541
6540
  * @remarks
6542
- * Returned by {@link ChangesetConfigReader.read} when the file is missing,
6541
+ * Returned by `ChangesetConfigReader.read` when the file is missing,
6543
6542
  * contains invalid JSON, or fails Effect Schema validation.
6544
6543
  *
6545
6544
  * @since 0.1.0
6545
+ * @public
6546
6546
  */
6547
6547
  declare class ChangesetConfigError extends ChangesetConfigError_base<{
6548
6548
  readonly path: string;
@@ -6556,11 +6556,12 @@ declare class ChangesetConfigError extends ChangesetConfigError_base<{
6556
6556
  *
6557
6557
  * @remarks
6558
6558
  * Represents the parsed `.changeset/config.json` file. All fields are optional
6559
- * to allow partial configs. Use {@link SilkChangesetConfigFile} when the Silk changelog
6559
+ * to allow partial configs. Use {@link (SilkChangesetConfigFile:type)} when the Silk changelog
6560
6560
  * adapter is detected.
6561
6561
  *
6562
6562
  * @since 0.1.0
6563
6563
  */
6564
+ /** @public */
6564
6565
  declare const ChangesetConfigFile: Schema.Struct<{
6565
6566
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6566
6567
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6582,18 +6583,22 @@ declare const ChangesetConfigFile: Schema.Struct<{
6582
6583
  prereleaseTemplate: Schema.optional<typeof Schema.String>;
6583
6584
  }>>;
6584
6585
  }>;
6585
- /** @since 0.1.0 */
6586
+ /**
6587
+ * @since 0.1.0
6588
+ * @public
6589
+ */
6586
6590
  type ChangesetConfigFile = typeof ChangesetConfigFile.Type;
6587
6591
  /**
6588
6592
  * Extended changeset config for repos using the `@savvy-web/changesets` changelog adapter.
6589
6593
  *
6590
6594
  * @remarks
6591
- * Extends {@link ChangesetConfigFile} with a `_isSilk` marker flag that is automatically
6595
+ * Extends {@link (ChangesetConfigFile:type)} with a `_isSilk` marker flag that is automatically
6592
6596
  * set to `true`. Detected by {@link ChangesetConfigReader} when the `changelog` field
6593
6597
  * references `@savvy-web/changesets`.
6594
6598
  *
6595
6599
  * @since 0.1.0
6596
6600
  */
6601
+ /** @public */
6597
6602
  declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6598
6603
  changelog: Schema.optional<Schema.Union<[typeof Schema.String, Schema.Array$<typeof Schema.Unknown>, Schema.Literal<[false]>]>>;
6599
6604
  commit: Schema.optional<Schema.Union<[typeof Schema.Boolean, typeof Schema.String, Schema.Array$<typeof Schema.Unknown>]>>;
@@ -6619,7 +6624,10 @@ declare const SilkChangesetConfigFile: Schema.extend<Schema.Struct<{
6619
6624
  default: () => true;
6620
6625
  }>;
6621
6626
  }>>;
6622
- /** @since 0.1.0 */
6627
+ /**
6628
+ * @since 0.1.0
6629
+ * @public
6630
+ */
6623
6631
  type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6624
6632
  /**
6625
6633
  * Versioning strategy classification for a workspace.
@@ -6630,6 +6638,7 @@ type SilkChangesetConfigFile = typeof SilkChangesetConfigFile.Type;
6630
6638
  * - `"independent"` — multiple publishable packages with independent version bumps.
6631
6639
  *
6632
6640
  * @since 0.1.0
6641
+ * @public
6633
6642
  */
6634
6643
  //#endregion
6635
6644
  //#region src/services/ChangesetConfigReader.d.ts
@@ -6649,8 +6658,8 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6649
6658
  *
6650
6659
  * @remarks
6651
6660
  * Automatically detects whether the config uses the Silk changelog adapter
6652
- * (`@savvy-web/changesets`) and decodes as {@link SilkChangesetConfigFile} or the
6653
- * standard {@link ChangesetConfigFile} accordingly.
6661
+ * (`@savvy-web/changesets`) and decodes as {@link (SilkChangesetConfigFile:type)} or the
6662
+ * standard {@link (ChangesetConfigFile:type)} accordingly.
6654
6663
  *
6655
6664
  * @example
6656
6665
  * ```typescript
@@ -6666,6 +6675,7 @@ declare const ChangesetConfigReader_base: Context.TagClass<ChangesetConfigReader
6666
6675
  * ```
6667
6676
  *
6668
6677
  * @since 0.1.0
6678
+ * @public
6669
6679
  */
6670
6680
  declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6671
6681
  /**
@@ -6676,6 +6686,7 @@ declare class ChangesetConfigReader extends ChangesetConfigReader_base {}
6676
6686
  * `BunContext.layer` to satisfy this dependency.
6677
6687
  *
6678
6688
  * @since 0.1.0
6689
+ * @public
6679
6690
  */
6680
6691
  //#endregion
6681
6692
  //#region src/changesets/services/config-inspector.d.ts
@@ -6808,7 +6819,7 @@ declare class ConfigInspector extends ConfigInspectorBase {}
6808
6819
  /**
6809
6820
  * Live layer for {@link ConfigInspector}.
6810
6821
  *
6811
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
6822
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
6812
6823
  * in the environment.
6813
6824
  *
6814
6825
  * @public
@@ -8302,7 +8313,7 @@ declare function serializeDependencyTableToMarkdown(rows: DependencyTableRow[]):
8302
8313
  * Compute the set of currently-publishable workspace package names.
8303
8314
  *
8304
8315
  * @remarks
8305
- * Uses the currently-active {@link PublishabilityDetector} — wire the
8316
+ * Uses the currently-active {@link SilkPublishability} — wire the
8306
8317
  * {@link SilkPublishabilityDetectorLive} layer to get silk semantics.
8307
8318
  *
8308
8319
  * @param packages - The workspace packages to evaluate