@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
@@ -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: 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
@@ -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: 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/silk",
3
- "version": "1.2.0",
3
+ "version": "1.3.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",
@@ -65,9 +65,9 @@
65
65
  "./package.json": "./package.json"
66
66
  },
67
67
  "dependencies": {
68
- "@effect/platform": "^0.96.1",
69
- "@savvy-web/silk-effects": "1.4.0",
70
- "effect": "^3.21.3",
68
+ "@effect/platform": "^0.96.2",
69
+ "@savvy-web/silk-effects": "1.5.0",
70
+ "effect": "^3.21.4",
71
71
  "semver": "^7.8.4"
72
72
  },
73
73
  "peerDependencies": {
@@ -75,10 +75,10 @@
75
75
  "@changesets/cli": "^2.31.0",
76
76
  "@commitlint/cli": "^21.0.1",
77
77
  "@commitlint/config-conventional": "^21.0.2",
78
- "@savvy-web/cli": "1.2.0",
79
- "@savvy-web/mcp": "1.2.0",
80
- "@types/node": "^25.9.0",
81
- "@typescript/native-preview": "^7.0.0-dev.20260513.1",
78
+ "@savvy-web/cli": "1.3.0",
79
+ "@savvy-web/mcp": "1.3.0",
80
+ "@types/node": "^26.0.0",
81
+ "@typescript/native-preview": "^7.0.0-dev.20260612.1",
82
82
  "commitizen": "^4.3.0",
83
83
  "husky": "^9.1.7",
84
84
  "lint-staged": "^17.0.7",
@@ -16,7 +16,6 @@ let effect = require("effect");
16
16
  * @see {@link resolveCommitType} for mapping commit types to categories
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a section category that defines how changes are grouped in release notes.
@@ -16,7 +16,6 @@ import { Schema } from "effect";
16
16
  * @see {@link resolveCommitType} for mapping commit types to categories
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a section category that defines how changes are grouped in release notes.
@@ -56,8 +56,6 @@ let effect = require("effect");
56
56
  *
57
57
  * @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
58
58
  * @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
59
- *
60
- * @packageDocumentation
61
59
  */
62
60
  /**
63
61
  * Combined layer providing all services needed by the formatters.
@@ -56,8 +56,6 @@ import { Effect, Layer } from "effect";
56
56
  *
57
57
  * @see {@link getReleaseLine} in `./getReleaseLine.ts` for individual changeset formatting
58
58
  * @see {@link getDependencyReleaseLine} in `./getDependencyReleaseLine.ts` for dependency table formatting
59
- *
60
- * @packageDocumentation
61
59
  */
62
60
  /**
63
61
  * Combined layer providing all services needed by the formatters.
@@ -17,7 +17,6 @@
17
17
  * - `CSH005` -- Frontmatter validation
18
18
  *
19
19
  * @internal
20
- * @packageDocumentation
21
20
  */
22
21
  /** Base URL for rule documentation on GitHub. */
23
22
  const DOCS_BASE = "https://github.com/savvy-web/changesets/blob/main/docs/rules";
@@ -16,7 +16,6 @@
16
16
  * - `CSH005` -- Frontmatter validation
17
17
  *
18
18
  * @internal
19
- * @packageDocumentation
20
19
  */
21
20
  /** Base URL for rule documentation on GitHub. */
22
21
  const DOCS_BASE = "https://github.com/savvy-web/changesets/blob/main/docs/rules";
@@ -16,7 +16,6 @@ let effect = require("effect");
16
16
  *
17
17
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Base class for {@link ChangesetValidationError}.
@@ -16,7 +16,6 @@ import { Data } from "effect";
16
16
  *
17
17
  * @see {@link https://effect.website/docs/data-types/data#taggerror | Effect TaggedError documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Base class for {@link ChangesetValidationError}.
@@ -3,7 +3,7 @@ const require_utils = require('./utils.cjs');
3
3
 
4
4
  //#region ../silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js
5
5
  const EM_DASH = "—";
6
- const VALID_TYPES = new Set([
6
+ const VALID_TYPES = /* @__PURE__ */ new Set([
7
7
  "dependency",
8
8
  "devDependency",
9
9
  "peerDependency",
@@ -11,7 +11,7 @@ const VALID_TYPES = new Set([
11
11
  "workspace",
12
12
  "config"
13
13
  ]);
14
- const VALID_ACTIONS = new Set([
14
+ const VALID_ACTIONS = /* @__PURE__ */ new Set([
15
15
  "added",
16
16
  "updated",
17
17
  "removed"
@@ -3,7 +3,7 @@ import { getHeadingLevel, getHeadingText } from "./utils.js";
3
3
 
4
4
  //#region ../silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js
5
5
  const EM_DASH = "—";
6
- const VALID_TYPES = new Set([
6
+ const VALID_TYPES = /* @__PURE__ */ new Set([
7
7
  "dependency",
8
8
  "devDependency",
9
9
  "peerDependency",
@@ -11,7 +11,7 @@ const VALID_TYPES = new Set([
11
11
  "workspace",
12
12
  "config"
13
13
  ]);
14
- const VALID_ACTIONS = new Set([
14
+ const VALID_ACTIONS = /* @__PURE__ */ new Set([
15
15
  "added",
16
16
  "updated",
17
17
  "removed"
@@ -7,7 +7,7 @@ const require_index = require('../../../../../../../../node_modules/.pnpm/unifie
7
7
  *
8
8
  * @internal
9
9
  */
10
- const IGNORED_TYPES = new Set(["html"]);
10
+ const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
11
11
  /**
12
12
  * Determine whether a node is substantive content (not a heading or ignored type).
13
13
  *
@@ -7,7 +7,7 @@ import { lintRule } from "../../../../../../../../node_modules/.pnpm/unified-lin
7
7
  *
8
8
  * @internal
9
9
  */
10
- const IGNORED_TYPES = new Set(["html"]);
10
+ const IGNORED_TYPES = /* @__PURE__ */ new Set(["html"]);
11
11
  /**
12
12
  * Determine whether a node is substantive content (not a heading or ignored type).
13
13
  *
@@ -16,7 +16,6 @@ let effect = require("effect");
16
16
  * @see {@link https://github.com/changesets/changesets | Changesets documentation}
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a changeset summary (1--1000 characters).
@@ -16,7 +16,6 @@ import { Schema } from "effect";
16
16
  * @see {@link https://github.com/changesets/changesets | Changesets documentation}
17
17
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
18
18
  *
19
- * @packageDocumentation
20
19
  */
21
20
  /**
22
21
  * Schema for a changeset summary (1--1000 characters).
@@ -21,7 +21,6 @@ let effect = require("effect");
21
21
  * @see {@link DependencyUpdateSchema} for the simpler Changesets API format
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /**
27
26
  * Valid dependency table actions.
@@ -21,7 +21,6 @@ import { Schema } from "effect";
21
21
  * @see {@link DependencyUpdateSchema} for the simpler Changesets API format
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /**
27
26
  * Valid dependency table actions.
@@ -6,7 +6,6 @@ let effect = require("effect");
6
6
  *
7
7
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
8
8
  *
9
- * @packageDocumentation
10
9
  */
11
10
  /**
12
11
  * Schema for a git commit hash (at least 7 lowercase hex characters).
@@ -6,7 +6,6 @@ import { Schema } from "effect";
6
6
  *
7
7
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
8
8
  *
9
- * @packageDocumentation
10
9
  */
11
10
  /**
12
11
  * Schema for a git commit hash (at least 7 lowercase hex characters).
@@ -13,7 +13,6 @@ let effect = require("effect");
13
13
  *
14
14
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
15
15
  *
16
- * @packageDocumentation
17
16
  */
18
17
  /**
19
18
  * Test whether a string is a valid URL.
@@ -13,7 +13,6 @@ import { Schema } from "effect";
13
13
  *
14
14
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
15
15
  *
16
- * @packageDocumentation
17
16
  */
18
17
  /**
19
18
  * Test whether a string is a valid URL.
@@ -21,7 +21,6 @@ let effect = require("effect");
21
21
  * @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /** Regex for `owner/repo` format, shared between schema and validation. */
27
26
  const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
@@ -21,7 +21,6 @@ import { Effect, Schema } from "effect";
21
21
  * @see {@link https://github.com/changesets/changesets/blob/main/docs/config-file-options.md | Changesets config docs}
22
22
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
23
23
  *
24
- * @packageDocumentation
25
24
  */
26
25
  /** Regex for `owner/repo` format, shared between schema and validation. */
27
26
  const REPO_PATTERN = /^[a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+$/;
@@ -40,7 +40,6 @@ let effect = require("effect");
40
40
  * @see {@link VersionFileConfigSchema} for the version-file entry shape
41
41
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
42
42
  *
43
- * @packageDocumentation
44
43
  */
45
44
  /**
46
45
  * Schema for a single repo-relative glob pattern.
@@ -40,7 +40,6 @@ import { Schema } from "effect";
40
40
  * @see {@link VersionFileConfigSchema} for the version-file entry shape
41
41
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
42
42
  *
43
- * @packageDocumentation
44
43
  */
45
44
  /**
46
45
  * Schema for a single repo-relative glob pattern.
@@ -12,7 +12,6 @@ let effect = require("effect");
12
12
  *
13
13
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
14
14
  *
15
- * @packageDocumentation
16
15
  */
17
16
  /**
18
17
  * A non-empty string schema.
@@ -12,7 +12,6 @@ import { Schema } from "effect";
12
12
  *
13
13
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
14
14
  *
15
- * @packageDocumentation
16
15
  */
17
16
  /**
18
17
  * A non-empty string schema.
@@ -5,7 +5,6 @@ let effect = require("effect");
5
5
  * Result schemas for the {@link ReleasePlanner} service — the structured
6
6
  * preview of pending releases and the result of a native apply.
7
7
  *
8
- * @packageDocumentation
9
8
  */
10
9
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
11
10
  const BumpTypeSchema = effect.Schema.Literal("major", "minor", "patch");
@@ -5,7 +5,6 @@ import { Schema } from "effect";
5
5
  * Result schemas for the {@link ReleasePlanner} service — the structured
6
6
  * preview of pending releases and the result of a native apply.
7
7
  *
8
- * @packageDocumentation
9
8
  */
10
9
  /** A semantic-version bump level (the `"none"` plan type is filtered out upstream). @public */
11
10
  const BumpTypeSchema = Schema.Literal("major", "minor", "patch");
@@ -26,7 +26,6 @@ let effect = require("effect");
26
26
  * @see {@link PackageScopeSchema} for the new per-package container
27
27
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
28
28
  *
29
- * @packageDocumentation
30
29
  */
31
30
  /**
32
31
  * Schema for a JSONPath expression starting with `$.`.
@@ -26,7 +26,6 @@ import { Schema } from "effect";
26
26
  * @see {@link PackageScopeSchema} for the new per-package container
27
27
  * @see {@link https://effect.website/docs/schema/introduction | Effect Schema documentation}
28
28
  *
29
- * @packageDocumentation
30
29
  */
31
30
  /**
32
31
  * Schema for a JSONPath expression starting with `$.`.
@@ -43,7 +43,6 @@ let node_child_process = require("node:child_process");
43
43
  * @see {@link BranchAnalyzerLive} for the production layer
44
44
  * @see {@link ConfigInspector} for the underlying classification service
45
45
  *
46
- * @packageDocumentation
47
46
  */
48
47
  /** Git diff status as reported by `--name-status`. @public */
49
48
  const FileStatusSchema = effect.Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
@@ -43,7 +43,6 @@ import { execFileSync } from "node:child_process";
43
43
  * @see {@link BranchAnalyzerLive} for the production layer
44
44
  * @see {@link ConfigInspector} for the underlying classification service
45
45
  *
46
- * @packageDocumentation
47
46
  */
48
47
  /** Git diff status as reported by `--name-status`. @public */
49
48
  const FileStatusSchema = Schema.Literal("added", "modified", "deleted", "renamed", "copied", "typechange", "unmerged", "unknown").annotations({ identifier: "FileStatus" });
@@ -1,7 +1,7 @@
1
1
  const require_errors = require('../errors.cjs');
2
2
  const require_options = require('../schemas/options.cjs');
3
3
  const require_ChangesetConfigReader = require('../../services/ChangesetConfigReader.cjs');
4
- const require_index = require('../../../../../../../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.cjs');
4
+ const require_index = require('../../../../../../../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.cjs');
5
5
  const require_SilkPublishability = require('../../services/SilkPublishability.cjs');
6
6
  const require_index$1 = require('../../../../../../../node_modules/.pnpm/tinyglobby@0.2.17/node_modules/tinyglobby/dist/index.cjs');
7
7
  let effect = require("effect");
@@ -41,7 +41,6 @@ let _effect_platform = require("@effect/platform");
41
41
  * @see {@link ConfigInspector} for the Effect service tag
42
42
  * @see {@link ConfigInspectorLive} for the production layer
43
43
  *
44
- * @packageDocumentation
45
44
  */
46
45
  /** A `versionFiles` entry expanded to its absolute target paths. @public */
47
46
  const ResolvedVersionFileSchema = effect.Schema.Struct({
@@ -453,7 +452,7 @@ function classifyOne(inspected, path) {
453
452
  /**
454
453
  * Live layer for {@link ConfigInspector}.
455
454
  *
456
- * Requires {@link ChangesetConfigReader} and {@link WorkspaceDiscovery}
455
+ * Requires {@link ChangesetConfigReader} and `WorkspaceDiscovery`
457
456
  * in the environment.
458
457
  *
459
458
  * @public