@savvy-web/silk 1.3.6 → 1.3.8

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 (42) hide show
  1. package/changesets-changelog.cjs +4769 -7026
  2. package/changesets-changelog.d.cts +1350 -696
  3. package/changesets-changelog.d.ts +1350 -696
  4. package/changesets-markdownlint.cjs +4769 -7026
  5. package/changesets-markdownlint.d.cts +1350 -696
  6. package/changesets-markdownlint.d.ts +1350 -696
  7. package/package.json +4 -4
  8. package/packages/silk-effects/dist/dev/pkg/changesets/api/linter.cjs +12 -10
  9. package/packages/silk-effects/dist/dev/pkg/changesets/api/linter.js +9 -7
  10. package/packages/silk-effects/dist/dev/pkg/changesets/errors.cjs +45 -0
  11. package/packages/silk-effects/dist/dev/pkg/changesets/errors.js +44 -1
  12. package/packages/silk-effects/dist/dev/pkg/changesets/index.cjs +35 -27
  13. package/packages/silk-effects/dist/dev/pkg/changesets/index.js +20 -16
  14. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.cjs +3 -3
  15. package/packages/silk-effects/dist/dev/pkg/changesets/markdownlint/rules/dependency-table-format.js +1 -1
  16. package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.cjs +1 -1
  17. package/packages/silk-effects/dist/dev/pkg/changesets/remark/presets.js +1 -1
  18. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.cjs +12 -1
  19. package/packages/silk-effects/dist/dev/pkg/changesets/schemas/dependency-table.js +12 -2
  20. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.cjs +4 -4
  21. package/packages/silk-effects/dist/dev/pkg/changesets/services/config-inspector.js +1 -1
  22. package/packages/silk-effects/dist/dev/pkg/changesets/services/deps-regen.cjs +375 -0
  23. package/packages/silk-effects/dist/dev/pkg/changesets/services/deps-regen.js +371 -0
  24. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.cjs +105 -81
  25. package/packages/silk-effects/dist/dev/pkg/changesets/services/release-planner.js +105 -81
  26. package/packages/silk-effects/dist/dev/pkg/changesets/utils/dep-diff.cjs +81 -47
  27. package/packages/silk-effects/dist/dev/pkg/changesets/utils/dep-diff.js +81 -47
  28. package/packages/silk-effects/dist/dev/pkg/changesets/utils/git.cjs +51 -0
  29. package/packages/silk-effects/dist/dev/pkg/changesets/utils/git.js +51 -0
  30. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.cjs +16 -4
  31. package/packages/silk-effects/dist/dev/pkg/changesets/utils/publishability.js +15 -3
  32. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.cjs +2 -1
  33. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfig.js +1 -1
  34. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.cjs +2 -1
  35. package/packages/silk-effects/dist/dev/pkg/services/ChangesetConfigReader.js +1 -1
  36. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.cjs +15 -11
  37. package/packages/silk-effects/dist/dev/pkg/services/SilkPublishability.js +5 -2
  38. package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
  39. package/packages/silk-effects/dist/dev/pkg/changesets/services/workspace-snapshot.cjs +0 -162
  40. package/packages/silk-effects/dist/dev/pkg/changesets/services/workspace-snapshot.js +0 -160
  41. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.cjs +0 -144
  42. package/packages/silk-effects/dist/dev/pkg/changesets/utils/worktree-snapshot.js +0 -142
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/silk",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
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,7 +66,7 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@effect/platform": "^0.96.2",
69
- "@savvy-web/silk-effects": "1.5.2",
69
+ "@savvy-web/silk-effects": "2.0.0",
70
70
  "effect": "^3.21.4",
71
71
  "semver": "^7.8.5"
72
72
  },
@@ -75,8 +75,8 @@
75
75
  "@changesets/cli": "^2.31.0",
76
76
  "@commitlint/cli": "^21.1.0",
77
77
  "@commitlint/config-conventional": "^21.1.0",
78
- "@savvy-web/cli": "1.3.5",
79
- "@savvy-web/mcp": "1.4.0",
78
+ "@savvy-web/cli": "1.4.0",
79
+ "@savvy-web/mcp": "1.6.0",
80
80
  "@types/node": "^26.0.0",
81
81
  "@typescript/native-preview": "^7.0.0-dev.20260612.1",
82
82
  "commitizen": "^4.3.0",
@@ -1,7 +1,9 @@
1
- const require_index = require('../../../../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.cjs');
2
- const require_index$1 = require('../../../../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.cjs');
3
- const require_index$2 = require('../../../../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.cjs');
1
+ const require_index = require('../../../../../../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.cjs');
2
+ const require_index$1 = require('../../../../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.cjs');
3
+ const require_index$2 = require('../../../../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.cjs');
4
+ const require_index$3 = require('../../../../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.cjs');
4
5
  const require_content_structure = require('../remark/rules/content-structure.cjs');
6
+ const require_dependency_table_format = require('../remark/rules/dependency-table-format.cjs');
5
7
  const require_heading_hierarchy = require('../remark/rules/heading-hierarchy.cjs');
6
8
  const require_required_sections = require('../remark/rules/required-sections.cjs');
7
9
  const require_uncategorized_content = require('../remark/rules/uncategorized-content.cjs');
@@ -13,7 +15,7 @@ let node_fs = require("node:fs");
13
15
  /**
14
16
  * Class-based API wrapper for changeset linting.
15
17
  *
16
- * Provides a static class interface that runs all remark-lint rules
18
+ * Provides a static class interface that runs all five remark-lint rules
17
19
  * against changeset markdown files and returns structured diagnostics.
18
20
  *
19
21
  * @internal
@@ -21,9 +23,9 @@ let node_fs = require("node:fs");
21
23
  /**
22
24
  * Static class for linting changeset markdown files.
23
25
  *
24
- * Runs the four remark-lint rules (heading-hierarchy, required-sections,
25
- * content-structure, uncategorized-content) against changeset markdown
26
- * and returns structured {@link LintMessage} diagnostics.
26
+ * Runs the five remark-lint rules (heading-hierarchy, required-sections,
27
+ * content-structure, dependency-table-format, uncategorized-content) against
28
+ * changeset markdown and returns structured {@link LintMessage} diagnostics.
27
29
  *
28
30
  * @remarks
29
31
  * This class implements the pre-validation layer of the three-layer
@@ -109,7 +111,7 @@ var ChangesetLinter = class ChangesetLinter {
109
111
  *
110
112
  * @remarks
111
113
  * Reads the file synchronously, strips YAML frontmatter, and runs all
112
- * four lint rules. The file path is preserved in each returned
114
+ * five lint rules. The file path is preserved in each returned
113
115
  * {@link LintMessage} for error reporting.
114
116
  *
115
117
  * @param filePath - Absolute or relative path to the changeset `.md` file
@@ -123,7 +125,7 @@ var ChangesetLinter = class ChangesetLinter {
123
125
  * Validate a markdown string directly.
124
126
  *
125
127
  * @remarks
126
- * Strips YAML frontmatter (if present) and runs all four lint rules
128
+ * Strips YAML frontmatter (if present) and runs all five lint rules
127
129
  * against the remaining content. This method is useful for validating
128
130
  * changeset content that is already in memory, such as in test suites
129
131
  * or editor integrations.
@@ -135,7 +137,7 @@ var ChangesetLinter = class ChangesetLinter {
135
137
  */
136
138
  static validateContent(content, filePath = "<input>") {
137
139
  const body = require_strip_frontmatter.stripFrontmatter(content);
138
- return require_index$2.unified().use(require_index.default).use(require_index$1.default).use(require_heading_hierarchy.HeadingHierarchyRule).use(require_required_sections.RequiredSectionsRule).use(require_content_structure.ContentStructureRule).use(require_uncategorized_content.UncategorizedContentRule).processSync(body).messages.map((msg) => ({
140
+ return require_index$3.unified().use(require_index$1.default).use(require_index.default).use(require_index$2.default).use(require_heading_hierarchy.HeadingHierarchyRule).use(require_required_sections.RequiredSectionsRule).use(require_content_structure.ContentStructureRule).use(require_dependency_table_format.DependencyTableFormatRule).use(require_uncategorized_content.UncategorizedContentRule).processSync(body).messages.map((msg) => ({
139
141
  file: filePath,
140
142
  /* v8 ignore next 3 -- ruleId/line/column fallbacks; remark-lint always provides these */
141
143
  rule: msg.ruleId ?? msg.source ?? "unknown",
@@ -1,7 +1,9 @@
1
+ import remarkGfm from "../../../../../../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js";
1
2
  import remarkParse from "../../../../../../../node_modules/.pnpm/remark-parse@11.0.0/node_modules/remark-parse/lib/index.js";
2
3
  import remarkStringify from "../../../../../../../node_modules/.pnpm/remark-stringify@11.0.0/node_modules/remark-stringify/lib/index.js";
3
4
  import { unified } from "../../../../../../../node_modules/.pnpm/unified@11.0.5/node_modules/unified/lib/index.js";
4
5
  import { ContentStructureRule } from "../remark/rules/content-structure.js";
6
+ import { DependencyTableFormatRule } from "../remark/rules/dependency-table-format.js";
5
7
  import { HeadingHierarchyRule } from "../remark/rules/heading-hierarchy.js";
6
8
  import { RequiredSectionsRule } from "../remark/rules/required-sections.js";
7
9
  import { UncategorizedContentRule } from "../remark/rules/uncategorized-content.js";
@@ -13,7 +15,7 @@ import { readFileSync, readdirSync } from "node:fs";
13
15
  /**
14
16
  * Class-based API wrapper for changeset linting.
15
17
  *
16
- * Provides a static class interface that runs all remark-lint rules
18
+ * Provides a static class interface that runs all five remark-lint rules
17
19
  * against changeset markdown files and returns structured diagnostics.
18
20
  *
19
21
  * @internal
@@ -21,9 +23,9 @@ import { readFileSync, readdirSync } from "node:fs";
21
23
  /**
22
24
  * Static class for linting changeset markdown files.
23
25
  *
24
- * Runs the four remark-lint rules (heading-hierarchy, required-sections,
25
- * content-structure, uncategorized-content) against changeset markdown
26
- * and returns structured {@link LintMessage} diagnostics.
26
+ * Runs the five remark-lint rules (heading-hierarchy, required-sections,
27
+ * content-structure, dependency-table-format, uncategorized-content) against
28
+ * changeset markdown and returns structured {@link LintMessage} diagnostics.
27
29
  *
28
30
  * @remarks
29
31
  * This class implements the pre-validation layer of the three-layer
@@ -109,7 +111,7 @@ var ChangesetLinter = class ChangesetLinter {
109
111
  *
110
112
  * @remarks
111
113
  * Reads the file synchronously, strips YAML frontmatter, and runs all
112
- * four lint rules. The file path is preserved in each returned
114
+ * five lint rules. The file path is preserved in each returned
113
115
  * {@link LintMessage} for error reporting.
114
116
  *
115
117
  * @param filePath - Absolute or relative path to the changeset `.md` file
@@ -123,7 +125,7 @@ var ChangesetLinter = class ChangesetLinter {
123
125
  * Validate a markdown string directly.
124
126
  *
125
127
  * @remarks
126
- * Strips YAML frontmatter (if present) and runs all four lint rules
128
+ * Strips YAML frontmatter (if present) and runs all five lint rules
127
129
  * against the remaining content. This method is useful for validating
128
130
  * changeset content that is already in memory, such as in test suites
129
131
  * or editor integrations.
@@ -135,7 +137,7 @@ var ChangesetLinter = class ChangesetLinter {
135
137
  */
136
138
  static validateContent(content, filePath = "<input>") {
137
139
  const body = stripFrontmatter(content);
138
- return unified().use(remarkParse).use(remarkStringify).use(HeadingHierarchyRule).use(RequiredSectionsRule).use(ContentStructureRule).use(UncategorizedContentRule).processSync(body).messages.map((msg) => ({
140
+ return unified().use(remarkParse).use(remarkGfm).use(remarkStringify).use(HeadingHierarchyRule).use(RequiredSectionsRule).use(ContentStructureRule).use(DependencyTableFormatRule).use(UncategorizedContentRule).processSync(body).messages.map((msg) => ({
139
141
  file: filePath,
140
142
  /* v8 ignore next 3 -- ruleId/line/column fallbacks; remark-lint always provides these */
141
143
  rule: msg.ruleId ?? msg.source ?? "unknown",
@@ -300,6 +300,49 @@ var GitError = class extends GitErrorBase {
300
300
  }
301
301
  };
302
302
  /**
303
+ * Base class for {@link ChangesetIOError}.
304
+ *
305
+ * @privateRemarks
306
+ * Effect's `Data.TaggedError` creates an anonymous base class that
307
+ * api-extractor cannot follow without an explicit export.
308
+ *
309
+ * @internal
310
+ */
311
+ const ChangesetIOErrorBase = effect.Data.TaggedError("ChangesetIOError");
312
+ /**
313
+ * Changeset file I/O failure.
314
+ *
315
+ * @remarks
316
+ * Raised by {@link DepsRegen} when reading, writing, listing, or deleting
317
+ * `.changeset/*.md` files fails. Deletion failures during
318
+ * {@link DepsRegenShape.execute} are tolerated (stale changesets are
319
+ * skip-and-continue, so an interrupted run stays safely re-runnable);
320
+ * read, list, and write failures are loud.
321
+ *
322
+ * @example
323
+ * ```typescript
324
+ * import { Effect } from "effect";
325
+ * import { ChangesetIOError } from "@savvy-web/changesets";
326
+ *
327
+ * declare const program: Effect.Effect<void, ChangesetIOError>;
328
+ *
329
+ * const handled = program.pipe(
330
+ * Effect.catchTag("ChangesetIOError", (err) =>
331
+ * Effect.logError(`changeset ${err.operation} failed at ${err.path}: ${err.reason}`)
332
+ * ),
333
+ * );
334
+ * ```
335
+ *
336
+ * @see {@link DepsRegen} which produces these errors during plan/execute
337
+ *
338
+ * @public
339
+ */
340
+ var ChangesetIOError = class extends ChangesetIOErrorBase {
341
+ get message() {
342
+ return `changeset ${this.operation} failed at ${this.path}: ${this.reason}`;
343
+ }
344
+ };
345
+ /**
303
346
  * Base class for {@link ReleasePlanError}.
304
347
  *
305
348
  * @privateRemarks
@@ -325,6 +368,8 @@ var ReleasePlanError = class extends ReleasePlanErrorBase {
325
368
  };
326
369
 
327
370
  //#endregion
371
+ exports.ChangesetIOError = ChangesetIOError;
372
+ exports.ChangesetIOErrorBase = ChangesetIOErrorBase;
328
373
  exports.ChangesetValidationError = ChangesetValidationError;
329
374
  exports.ChangesetValidationErrorBase = ChangesetValidationErrorBase;
330
375
  exports.ConfigurationError = ConfigurationError;
@@ -300,6 +300,49 @@ var GitError = class extends GitErrorBase {
300
300
  }
301
301
  };
302
302
  /**
303
+ * Base class for {@link ChangesetIOError}.
304
+ *
305
+ * @privateRemarks
306
+ * Effect's `Data.TaggedError` creates an anonymous base class that
307
+ * api-extractor cannot follow without an explicit export.
308
+ *
309
+ * @internal
310
+ */
311
+ const ChangesetIOErrorBase = Data.TaggedError("ChangesetIOError");
312
+ /**
313
+ * Changeset file I/O failure.
314
+ *
315
+ * @remarks
316
+ * Raised by {@link DepsRegen} when reading, writing, listing, or deleting
317
+ * `.changeset/*.md` files fails. Deletion failures during
318
+ * {@link DepsRegenShape.execute} are tolerated (stale changesets are
319
+ * skip-and-continue, so an interrupted run stays safely re-runnable);
320
+ * read, list, and write failures are loud.
321
+ *
322
+ * @example
323
+ * ```typescript
324
+ * import { Effect } from "effect";
325
+ * import { ChangesetIOError } from "@savvy-web/changesets";
326
+ *
327
+ * declare const program: Effect.Effect<void, ChangesetIOError>;
328
+ *
329
+ * const handled = program.pipe(
330
+ * Effect.catchTag("ChangesetIOError", (err) =>
331
+ * Effect.logError(`changeset ${err.operation} failed at ${err.path}: ${err.reason}`)
332
+ * ),
333
+ * );
334
+ * ```
335
+ *
336
+ * @see {@link DepsRegen} which produces these errors during plan/execute
337
+ *
338
+ * @public
339
+ */
340
+ var ChangesetIOError = class extends ChangesetIOErrorBase {
341
+ get message() {
342
+ return `changeset ${this.operation} failed at ${this.path}: ${this.reason}`;
343
+ }
344
+ };
345
+ /**
303
346
  * Base class for {@link ReleasePlanError}.
304
347
  *
305
348
  * @privateRemarks
@@ -325,4 +368,4 @@ var ReleasePlanError = class extends ReleasePlanErrorBase {
325
368
  };
326
369
 
327
370
  //#endregion
328
- export { ChangesetValidationError, ChangesetValidationErrorBase, ConfigurationError, ConfigurationErrorBase, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, MarkdownParseError, MarkdownParseErrorBase, ReleasePlanError, ReleasePlanErrorBase, VersionFileError, VersionFileErrorBase };
371
+ export { ChangesetIOError, ChangesetIOErrorBase, ChangesetValidationError, ChangesetValidationErrorBase, ConfigurationError, ConfigurationErrorBase, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, MarkdownParseError, MarkdownParseErrorBase, ReleasePlanError, ReleasePlanErrorBase, VersionFileError, VersionFileErrorBase };
@@ -14,6 +14,7 @@ const require_index = require('./changelog/index.cjs');
14
14
  const require_changelog = require('./api/changelog.cjs');
15
15
  const require_dependency_table$2 = require('./api/dependency-table.cjs');
16
16
  const require_content_structure = require('./remark/rules/content-structure.cjs');
17
+ const require_dependency_table_format = require('./remark/rules/dependency-table-format.cjs');
17
18
  const require_heading_hierarchy = require('./remark/rules/heading-hierarchy.cjs');
18
19
  const require_required_sections = require('./remark/rules/required-sections.cjs');
19
20
  const require_uncategorized_content = require('./remark/rules/uncategorized-content.cjs');
@@ -28,24 +29,23 @@ const require_transformer = require('./api/transformer.cjs');
28
29
  const require_config_inspector = require('./services/config-inspector.cjs');
29
30
  const require_branch_analyzer = require('./services/branch-analyzer.cjs');
30
31
  const require_changelog$1 = require('./services/changelog.cjs');
32
+ const require_dep_diff = require('./utils/dep-diff.cjs');
33
+ const require_git = require('./utils/git.cjs');
34
+ const require_publishability = require('./utils/publishability.cjs');
35
+ const require_deps_regen = require('./services/deps-regen.cjs');
31
36
  const require_version_files$1 = require('./utils/version-files.cjs');
32
37
  const require_release_planner = require('./services/release-planner.cjs');
33
- const require_workspace_snapshot = require('./services/workspace-snapshot.cjs');
34
38
  const require_types = require('./categories/types.cjs');
35
- const require_git = require('./schemas/git.cjs');
39
+ const require_git$1 = require('./schemas/git.cjs');
36
40
  const require_changeset = require('./schemas/changeset.cjs');
37
41
  const require_release_plan = require('./schemas/release-plan.cjs');
38
- const require_dep_diff = require('./utils/dep-diff.cjs');
39
- const require_publishability = require('./utils/publishability.cjs');
40
- const require_worktree_snapshot = require('./utils/worktree-snapshot.cjs');
41
42
  const require_content_structure$1 = require('./markdownlint/rules/content-structure.cjs');
42
- const require_dependency_table_format = require('./markdownlint/rules/dependency-table-format.cjs');
43
+ const require_dependency_table_format$1 = require('./markdownlint/rules/dependency-table-format.cjs');
43
44
  const require_heading_hierarchy$1 = require('./markdownlint/rules/heading-hierarchy.cjs');
44
45
  const require_required_sections$1 = require('./markdownlint/rules/required-sections.cjs');
45
46
  const require_uncategorized_content$1 = require('./markdownlint/rules/uncategorized-content.cjs');
46
47
  const require_index$1 = require('./markdownlint/index.cjs');
47
48
  const require_aggregate_dependency_tables = require('./remark/plugins/aggregate-dependency-tables.cjs');
48
- const require_dependency_table_format$1 = require('./remark/rules/dependency-table-format.cjs');
49
49
  const require_presets = require('./remark/presets.cjs');
50
50
 
51
51
  //#region ../silk-effects/dist/dev/pkg/changesets/index.js
@@ -64,6 +64,8 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
64
64
  ChangelogService: () => require_changelog$1.ChangelogService,
65
65
  ChangelogServiceBase: () => require_changelog$1.ChangelogServiceBase,
66
66
  ChangelogTransformer: () => require_transformer.ChangelogTransformer,
67
+ ChangesetIOError: () => require_errors.ChangesetIOError,
68
+ ChangesetIOErrorBase: () => require_errors.ChangesetIOErrorBase,
67
69
  ChangesetLinter: () => require_linter.ChangesetLinter,
68
70
  ChangesetOptionsSchema: () => require_options.ChangesetOptionsSchema,
69
71
  ChangesetPreviewSchema: () => require_release_plan.ChangesetPreviewSchema,
@@ -73,7 +75,7 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
73
75
  ChangesetValidationErrorBase: () => require_errors.ChangesetValidationErrorBase,
74
76
  ClassificationReasonSchema: () => require_config_inspector.ClassificationReasonSchema,
75
77
  ClassificationSchema: () => require_config_inspector.ClassificationSchema,
76
- CommitHashSchema: () => require_git.CommitHashSchema,
78
+ CommitHashSchema: () => require_git$1.CommitHashSchema,
77
79
  ConfigInspector: () => require_config_inspector.ConfigInspector,
78
80
  ConfigInspectorBase: () => require_config_inspector.ConfigInspectorBase,
79
81
  ConfigInspectorLive: () => require_config_inspector.ConfigInspectorLive,
@@ -84,12 +86,16 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
84
86
  DeduplicateItemsPlugin: () => require_deduplicate_items.DeduplicateItemsPlugin,
85
87
  DependencyActionSchema: () => require_dependency_table.DependencyActionSchema,
86
88
  DependencyTable: () => require_dependency_table$2.DependencyTable,
87
- DependencyTableFormatRule: () => require_dependency_table_format$1.DependencyTableFormatRule,
89
+ DependencyTableFormatRule: () => require_dependency_table_format.DependencyTableFormatRule,
88
90
  DependencyTableRowSchema: () => require_dependency_table.DependencyTableRowSchema,
89
91
  DependencyTableSchema: () => require_dependency_table.DependencyTableSchema,
90
92
  DependencyTableTypeSchema: () => require_dependency_table.DependencyTableTypeSchema,
91
93
  DependencyTypeSchema: () => require_changeset.DependencyTypeSchema,
92
94
  DependencyUpdateSchema: () => require_changeset.DependencyUpdateSchema,
95
+ DepsRegen: () => require_deps_regen.DepsRegen,
96
+ DepsRegenBase: () => require_deps_regen.DepsRegenBase,
97
+ DepsRegenDefault: () => require_deps_regen.DepsRegenDefault,
98
+ DepsRegenLive: () => require_deps_regen.DepsRegenLive,
93
99
  FileStatusSchema: () => require_branch_analyzer.FileStatusSchema,
94
100
  GitError: () => require_errors.GitError,
95
101
  GitErrorBase: () => require_errors.GitErrorBase,
@@ -113,7 +119,7 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
113
119
  MarkdownService: () => require_markdown.MarkdownService,
114
120
  MarkdownServiceBase: () => require_markdown.MarkdownServiceBase,
115
121
  MarkdownlintContentStructureRule: () => require_content_structure$1.ContentStructureRule,
116
- MarkdownlintDependencyTableFormatRule: () => require_dependency_table_format.DependencyTableFormatRule,
122
+ MarkdownlintDependencyTableFormatRule: () => require_dependency_table_format$1.DependencyTableFormatRule,
117
123
  MarkdownlintHeadingHierarchyRule: () => require_heading_hierarchy$1.HeadingHierarchyRule,
118
124
  MarkdownlintRequiredSectionsRule: () => require_required_sections$1.RequiredSectionsRule,
119
125
  MarkdownlintUncategorizedContentRule: () => require_uncategorized_content$1.UncategorizedContentRule,
@@ -142,6 +148,7 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
142
148
  UncategorizedContentRule: () => require_uncategorized_content.UncategorizedContentRule,
143
149
  UrlOrMarkdownLinkSchema: () => require_github$1.UrlOrMarkdownLinkSchema,
144
150
  UsernameSchema: () => require_github$1.UsernameSchema,
151
+ VERSION_RE: () => require_dependency_table.VERSION_RE,
145
152
  VersionFileConfigSchema: () => require_version_files.VersionFileConfigSchema,
146
153
  VersionFileError: () => require_errors.VersionFileError,
147
154
  VersionFileErrorBase: () => require_errors.VersionFileErrorBase,
@@ -149,20 +156,17 @@ var changesets_exports = /* @__PURE__ */ require_runtime.__exportAll({
149
156
  VersionFiles: () => require_version_files$1.VersionFiles,
150
157
  VersionFilesSchema: () => require_version_files.VersionFilesSchema,
151
158
  VersionOrEmptySchema: () => require_dependency_table.VersionOrEmptySchema,
152
- VersionTypeSchema: () => require_git.VersionTypeSchema,
153
- WorkspaceSnapshotReader: () => require_workspace_snapshot.WorkspaceSnapshotReader,
154
- WorkspaceSnapshotReaderBase: () => require_workspace_snapshot.WorkspaceSnapshotReaderBase,
155
- WorkspaceSnapshotReaderLive: () => require_workspace_snapshot.WorkspaceSnapshotReaderLive,
159
+ VersionTypeSchema: () => require_git$1.VersionTypeSchema,
156
160
  changelogFunctions: () => require_index.default,
157
161
  computeWorkspaceDependencyDiffs: () => require_dep_diff.computeWorkspaceDependencyDiffs,
158
- gitMergeBase: () => require_worktree_snapshot.gitMergeBase,
162
+ gitMergeBase: () => require_git.gitMergeBase,
163
+ isPureDependencyChangeset: () => require_deps_regen.isPureDependencyChangeset,
159
164
  listPublishablePackageNames: () => require_publishability.listPublishablePackageNames,
160
165
  makeBranchAnalyzerTest: () => require_branch_analyzer.makeBranchAnalyzerTest,
161
166
  makeConfigInspectorTest: () => require_config_inspector.makeConfigInspectorTest,
162
167
  makeGitHubTest: () => require_github.makeGitHubTest,
163
168
  makeReleasePlannerTest: () => require_release_planner.makeReleasePlannerTest,
164
- serializeDependencyTableToMarkdown: () => require_dependency_table$1.serializeDependencyTableToMarkdown,
165
- snapshotFromWorktree: () => require_worktree_snapshot.snapshotFromWorktree
169
+ serializeDependencyTableToMarkdown: () => require_dependency_table$1.serializeDependencyTableToMarkdown
166
170
  });
167
171
 
168
172
  //#endregion
@@ -180,6 +184,8 @@ exports.Changelog = require_changelog.Changelog;
180
184
  exports.ChangelogService = require_changelog$1.ChangelogService;
181
185
  exports.ChangelogServiceBase = require_changelog$1.ChangelogServiceBase;
182
186
  exports.ChangelogTransformer = require_transformer.ChangelogTransformer;
187
+ exports.ChangesetIOError = require_errors.ChangesetIOError;
188
+ exports.ChangesetIOErrorBase = require_errors.ChangesetIOErrorBase;
183
189
  exports.ChangesetLinter = require_linter.ChangesetLinter;
184
190
  exports.ChangesetOptionsSchema = require_options.ChangesetOptionsSchema;
185
191
  exports.ChangesetPreviewSchema = require_release_plan.ChangesetPreviewSchema;
@@ -189,7 +195,7 @@ exports.ChangesetValidationError = require_errors.ChangesetValidationError;
189
195
  exports.ChangesetValidationErrorBase = require_errors.ChangesetValidationErrorBase;
190
196
  exports.ClassificationReasonSchema = require_config_inspector.ClassificationReasonSchema;
191
197
  exports.ClassificationSchema = require_config_inspector.ClassificationSchema;
192
- exports.CommitHashSchema = require_git.CommitHashSchema;
198
+ exports.CommitHashSchema = require_git$1.CommitHashSchema;
193
199
  exports.ConfigInspector = require_config_inspector.ConfigInspector;
194
200
  exports.ConfigInspectorBase = require_config_inspector.ConfigInspectorBase;
195
201
  exports.ConfigInspectorLive = require_config_inspector.ConfigInspectorLive;
@@ -200,12 +206,16 @@ exports.ContributorFootnotesPlugin = require_contributor_footnotes.ContributorFo
200
206
  exports.DeduplicateItemsPlugin = require_deduplicate_items.DeduplicateItemsPlugin;
201
207
  exports.DependencyActionSchema = require_dependency_table.DependencyActionSchema;
202
208
  exports.DependencyTable = require_dependency_table$2.DependencyTable;
203
- exports.DependencyTableFormatRule = require_dependency_table_format$1.DependencyTableFormatRule;
209
+ exports.DependencyTableFormatRule = require_dependency_table_format.DependencyTableFormatRule;
204
210
  exports.DependencyTableRowSchema = require_dependency_table.DependencyTableRowSchema;
205
211
  exports.DependencyTableSchema = require_dependency_table.DependencyTableSchema;
206
212
  exports.DependencyTableTypeSchema = require_dependency_table.DependencyTableTypeSchema;
207
213
  exports.DependencyTypeSchema = require_changeset.DependencyTypeSchema;
208
214
  exports.DependencyUpdateSchema = require_changeset.DependencyUpdateSchema;
215
+ exports.DepsRegen = require_deps_regen.DepsRegen;
216
+ exports.DepsRegenBase = require_deps_regen.DepsRegenBase;
217
+ exports.DepsRegenDefault = require_deps_regen.DepsRegenDefault;
218
+ exports.DepsRegenLive = require_deps_regen.DepsRegenLive;
209
219
  exports.FileStatusSchema = require_branch_analyzer.FileStatusSchema;
210
220
  exports.GitError = require_errors.GitError;
211
221
  exports.GitErrorBase = require_errors.GitErrorBase;
@@ -229,7 +239,7 @@ exports.MarkdownParseErrorBase = require_errors.MarkdownParseErrorBase;
229
239
  exports.MarkdownService = require_markdown.MarkdownService;
230
240
  exports.MarkdownServiceBase = require_markdown.MarkdownServiceBase;
231
241
  exports.MarkdownlintContentStructureRule = require_content_structure$1.ContentStructureRule;
232
- exports.MarkdownlintDependencyTableFormatRule = require_dependency_table_format.DependencyTableFormatRule;
242
+ exports.MarkdownlintDependencyTableFormatRule = require_dependency_table_format$1.DependencyTableFormatRule;
233
243
  exports.MarkdownlintHeadingHierarchyRule = require_heading_hierarchy$1.HeadingHierarchyRule;
234
244
  exports.MarkdownlintRequiredSectionsRule = require_required_sections$1.RequiredSectionsRule;
235
245
  exports.MarkdownlintUncategorizedContentRule = require_uncategorized_content$1.UncategorizedContentRule;
@@ -258,6 +268,7 @@ exports.SilkChangesetsRules = require_index$1.default;
258
268
  exports.UncategorizedContentRule = require_uncategorized_content.UncategorizedContentRule;
259
269
  exports.UrlOrMarkdownLinkSchema = require_github$1.UrlOrMarkdownLinkSchema;
260
270
  exports.UsernameSchema = require_github$1.UsernameSchema;
271
+ exports.VERSION_RE = require_dependency_table.VERSION_RE;
261
272
  exports.VersionFileConfigSchema = require_version_files.VersionFileConfigSchema;
262
273
  exports.VersionFileError = require_errors.VersionFileError;
263
274
  exports.VersionFileErrorBase = require_errors.VersionFileErrorBase;
@@ -265,18 +276,15 @@ exports.VersionFileUpdateRecordSchema = require_release_plan.VersionFileUpdateRe
265
276
  exports.VersionFiles = require_version_files$1.VersionFiles;
266
277
  exports.VersionFilesSchema = require_version_files.VersionFilesSchema;
267
278
  exports.VersionOrEmptySchema = require_dependency_table.VersionOrEmptySchema;
268
- exports.VersionTypeSchema = require_git.VersionTypeSchema;
269
- exports.WorkspaceSnapshotReader = require_workspace_snapshot.WorkspaceSnapshotReader;
270
- exports.WorkspaceSnapshotReaderBase = require_workspace_snapshot.WorkspaceSnapshotReaderBase;
271
- exports.WorkspaceSnapshotReaderLive = require_workspace_snapshot.WorkspaceSnapshotReaderLive;
279
+ exports.VersionTypeSchema = require_git$1.VersionTypeSchema;
272
280
  exports.changelogFunctions = require_index.default;
273
281
  exports.changesets_exports = changesets_exports;
274
282
  exports.computeWorkspaceDependencyDiffs = require_dep_diff.computeWorkspaceDependencyDiffs;
275
- exports.gitMergeBase = require_worktree_snapshot.gitMergeBase;
283
+ exports.gitMergeBase = require_git.gitMergeBase;
284
+ exports.isPureDependencyChangeset = require_deps_regen.isPureDependencyChangeset;
276
285
  exports.listPublishablePackageNames = require_publishability.listPublishablePackageNames;
277
286
  exports.makeBranchAnalyzerTest = require_branch_analyzer.makeBranchAnalyzerTest;
278
287
  exports.makeConfigInspectorTest = require_config_inspector.makeConfigInspectorTest;
279
288
  exports.makeGitHubTest = require_github.makeGitHubTest;
280
289
  exports.makeReleasePlannerTest = require_release_planner.makeReleasePlannerTest;
281
- exports.serializeDependencyTableToMarkdown = require_dependency_table$1.serializeDependencyTableToMarkdown;
282
- exports.snapshotFromWorktree = require_worktree_snapshot.snapshotFromWorktree;
290
+ exports.serializeDependencyTableToMarkdown = require_dependency_table$1.serializeDependencyTableToMarkdown;
@@ -1,19 +1,20 @@
1
1
  import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { Categories } from "./api/categories.js";
3
- import { ChangesetValidationError, ChangesetValidationErrorBase, ConfigurationError, ConfigurationErrorBase, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, MarkdownParseError, MarkdownParseErrorBase, ReleasePlanError, ReleasePlanErrorBase, VersionFileError, VersionFileErrorBase } from "./errors.js";
3
+ import { ChangesetIOError, ChangesetIOErrorBase, ChangesetValidationError, ChangesetValidationErrorBase, ConfigurationError, ConfigurationErrorBase, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, MarkdownParseError, MarkdownParseErrorBase, ReleasePlanError, ReleasePlanErrorBase, VersionFileError, VersionFileErrorBase } from "./errors.js";
4
4
  import { JsonPathSchema, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, VersionFileConfigSchema, VersionFilesSchema } from "./schemas/version-files.js";
5
5
  import { GlobSchema, PackageScopeSchema, PackagesRecordSchema } from "./schemas/package-scope.js";
6
6
  import { ChangesetOptionsSchema, RepoSchema } from "./schemas/options.js";
7
7
  import { GitHubLive, GitHubService, GitHubServiceBase, makeGitHubTest } from "./services/github.js";
8
8
  import { MarkdownLive, MarkdownService, MarkdownServiceBase } from "./services/markdown.js";
9
9
  import { NonEmptyString, PositiveInteger } from "./schemas/primitives.js";
10
- import { DependencyActionSchema, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, VersionOrEmptySchema } from "./schemas/dependency-table.js";
10
+ import { DependencyActionSchema, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, VERSION_RE, VersionOrEmptySchema } from "./schemas/dependency-table.js";
11
11
  import { serializeDependencyTableToMarkdown } from "./utils/dependency-table.js";
12
12
  import { GitHubInfoSchema, IssueNumberSchema, UrlOrMarkdownLinkSchema, UsernameSchema } from "./schemas/github.js";
13
13
  import changelogFunctions from "./changelog/index.js";
14
14
  import { Changelog } from "./api/changelog.js";
15
15
  import { DependencyTable } from "./api/dependency-table.js";
16
16
  import { ContentStructureRule } from "./remark/rules/content-structure.js";
17
+ import { DependencyTableFormatRule } from "./remark/rules/dependency-table-format.js";
17
18
  import { HeadingHierarchyRule } from "./remark/rules/heading-hierarchy.js";
18
19
  import { RequiredSectionsRule } from "./remark/rules/required-sections.js";
19
20
  import { UncategorizedContentRule } from "./remark/rules/uncategorized-content.js";
@@ -28,24 +29,23 @@ import { ChangelogTransformer } from "./api/transformer.js";
28
29
  import { ClassificationReasonSchema, ClassificationSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, InspectedConfigSchema, ResolvedPackageScopeSchema, ResolvedVersionFileSchema, makeConfigInspectorTest } from "./services/config-inspector.js";
29
30
  import { BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchFileEntrySchema, FileStatusSchema, makeBranchAnalyzerTest } from "./services/branch-analyzer.js";
30
31
  import { ChangelogService, ChangelogServiceBase } from "./services/changelog.js";
32
+ import { computeWorkspaceDependencyDiffs } from "./utils/dep-diff.js";
33
+ import { gitMergeBase } from "./utils/git.js";
34
+ import { listPublishablePackageNames } from "./utils/publishability.js";
35
+ import { DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, isPureDependencyChangeset } from "./services/deps-regen.js";
31
36
  import { VersionFiles } from "./utils/version-files.js";
32
37
  import { ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, makeReleasePlannerTest } from "./services/release-planner.js";
33
- import { WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive } from "./services/workspace-snapshot.js";
34
38
  import { SectionCategorySchema } from "./categories/types.js";
35
39
  import { CommitHashSchema, VersionTypeSchema } from "./schemas/git.js";
36
40
  import { ChangesetSchema, ChangesetSummarySchema, DependencyTypeSchema, DependencyUpdateSchema } from "./schemas/changeset.js";
37
41
  import { AppliedReleaseEntrySchema, AppliedReleaseSchema, BumpTypeSchema, ChangesetPreviewSchema, PendingChangesetSchema, PreviewReleaseSchema, VersionFileUpdateRecordSchema } from "./schemas/release-plan.js";
38
- import { computeWorkspaceDependencyDiffs } from "./utils/dep-diff.js";
39
- import { listPublishablePackageNames } from "./utils/publishability.js";
40
- import { gitMergeBase, snapshotFromWorktree } from "./utils/worktree-snapshot.js";
41
42
  import { ContentStructureRule as ContentStructureRule$1 } from "./markdownlint/rules/content-structure.js";
42
- import { DependencyTableFormatRule } from "./markdownlint/rules/dependency-table-format.js";
43
+ import { DependencyTableFormatRule as DependencyTableFormatRule$1 } from "./markdownlint/rules/dependency-table-format.js";
43
44
  import { HeadingHierarchyRule as HeadingHierarchyRule$1 } from "./markdownlint/rules/heading-hierarchy.js";
44
45
  import { RequiredSectionsRule as RequiredSectionsRule$1 } from "./markdownlint/rules/required-sections.js";
45
46
  import { UncategorizedContentRule as UncategorizedContentRule$1 } from "./markdownlint/rules/uncategorized-content.js";
46
47
  import SilkChangesetsRules from "./markdownlint/index.js";
47
48
  import { AggregateDependencyTablesPlugin } from "./remark/plugins/aggregate-dependency-tables.js";
48
- import { DependencyTableFormatRule as DependencyTableFormatRule$1 } from "./remark/rules/dependency-table-format.js";
49
49
  import { SilkChangesetPreset, SilkChangesetTransformPreset } from "./remark/presets.js";
50
50
 
51
51
  //#region ../silk-effects/dist/dev/pkg/changesets/index.js
@@ -64,6 +64,8 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
64
64
  ChangelogService: () => ChangelogService,
65
65
  ChangelogServiceBase: () => ChangelogServiceBase,
66
66
  ChangelogTransformer: () => ChangelogTransformer,
67
+ ChangesetIOError: () => ChangesetIOError,
68
+ ChangesetIOErrorBase: () => ChangesetIOErrorBase,
67
69
  ChangesetLinter: () => ChangesetLinter,
68
70
  ChangesetOptionsSchema: () => ChangesetOptionsSchema,
69
71
  ChangesetPreviewSchema: () => ChangesetPreviewSchema,
@@ -84,12 +86,16 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
84
86
  DeduplicateItemsPlugin: () => DeduplicateItemsPlugin,
85
87
  DependencyActionSchema: () => DependencyActionSchema,
86
88
  DependencyTable: () => DependencyTable,
87
- DependencyTableFormatRule: () => DependencyTableFormatRule$1,
89
+ DependencyTableFormatRule: () => DependencyTableFormatRule,
88
90
  DependencyTableRowSchema: () => DependencyTableRowSchema,
89
91
  DependencyTableSchema: () => DependencyTableSchema,
90
92
  DependencyTableTypeSchema: () => DependencyTableTypeSchema,
91
93
  DependencyTypeSchema: () => DependencyTypeSchema,
92
94
  DependencyUpdateSchema: () => DependencyUpdateSchema,
95
+ DepsRegen: () => DepsRegen,
96
+ DepsRegenBase: () => DepsRegenBase,
97
+ DepsRegenDefault: () => DepsRegenDefault,
98
+ DepsRegenLive: () => DepsRegenLive,
93
99
  FileStatusSchema: () => FileStatusSchema,
94
100
  GitError: () => GitError,
95
101
  GitErrorBase: () => GitErrorBase,
@@ -113,7 +119,7 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
113
119
  MarkdownService: () => MarkdownService,
114
120
  MarkdownServiceBase: () => MarkdownServiceBase,
115
121
  MarkdownlintContentStructureRule: () => ContentStructureRule$1,
116
- MarkdownlintDependencyTableFormatRule: () => DependencyTableFormatRule,
122
+ MarkdownlintDependencyTableFormatRule: () => DependencyTableFormatRule$1,
117
123
  MarkdownlintHeadingHierarchyRule: () => HeadingHierarchyRule$1,
118
124
  MarkdownlintRequiredSectionsRule: () => RequiredSectionsRule$1,
119
125
  MarkdownlintUncategorizedContentRule: () => UncategorizedContentRule$1,
@@ -142,6 +148,7 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
142
148
  UncategorizedContentRule: () => UncategorizedContentRule,
143
149
  UrlOrMarkdownLinkSchema: () => UrlOrMarkdownLinkSchema,
144
150
  UsernameSchema: () => UsernameSchema,
151
+ VERSION_RE: () => VERSION_RE,
145
152
  VersionFileConfigSchema: () => VersionFileConfigSchema,
146
153
  VersionFileError: () => VersionFileError,
147
154
  VersionFileErrorBase: () => VersionFileErrorBase,
@@ -150,20 +157,17 @@ var changesets_exports = /* @__PURE__ */ __exportAll({
150
157
  VersionFilesSchema: () => VersionFilesSchema,
151
158
  VersionOrEmptySchema: () => VersionOrEmptySchema,
152
159
  VersionTypeSchema: () => VersionTypeSchema,
153
- WorkspaceSnapshotReader: () => WorkspaceSnapshotReader,
154
- WorkspaceSnapshotReaderBase: () => WorkspaceSnapshotReaderBase,
155
- WorkspaceSnapshotReaderLive: () => WorkspaceSnapshotReaderLive,
156
160
  changelogFunctions: () => changelogFunctions,
157
161
  computeWorkspaceDependencyDiffs: () => computeWorkspaceDependencyDiffs,
158
162
  gitMergeBase: () => gitMergeBase,
163
+ isPureDependencyChangeset: () => isPureDependencyChangeset,
159
164
  listPublishablePackageNames: () => listPublishablePackageNames,
160
165
  makeBranchAnalyzerTest: () => makeBranchAnalyzerTest,
161
166
  makeConfigInspectorTest: () => makeConfigInspectorTest,
162
167
  makeGitHubTest: () => makeGitHubTest,
163
168
  makeReleasePlannerTest: () => makeReleasePlannerTest,
164
- serializeDependencyTableToMarkdown: () => serializeDependencyTableToMarkdown,
165
- snapshotFromWorktree: () => snapshotFromWorktree
169
+ serializeDependencyTableToMarkdown: () => serializeDependencyTableToMarkdown
166
170
  });
167
171
 
168
172
  //#endregion
169
- export { AggregateDependencyTablesPlugin, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchFileEntrySchema, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogTransformer, ChangesetLinter, ChangesetOptionsSchema, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigurationError, ConfigurationErrorBase, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyActionSchema, DependencyTable, DependencyTableFormatRule$1 as DependencyTableFormatRule, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, DependencyTypeSchema, DependencyUpdateSchema, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GlobSchema, HeadingHierarchyRule, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScopeSchema, PackagesRecordSchema, PendingChangesetSchema, PositiveInteger, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScopeSchema, ResolvedVersionFileSchema, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionTypeSchema, WorkspaceSnapshotReader, WorkspaceSnapshotReaderBase, WorkspaceSnapshotReaderLive, changelogFunctions, changesets_exports, computeWorkspaceDependencyDiffs, gitMergeBase, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown, snapshotFromWorktree };
173
+ export { AggregateDependencyTablesPlugin, AppliedReleaseEntrySchema, AppliedReleaseSchema, BranchAnalysisSchema, BranchAnalyzer, BranchAnalyzerBase, BranchAnalyzerLive, BranchFileEntrySchema, BumpTypeSchema, Categories, Changelog, ChangelogService, ChangelogServiceBase, ChangelogTransformer, ChangesetIOError, ChangesetIOErrorBase, ChangesetLinter, ChangesetOptionsSchema, ChangesetPreviewSchema, ChangesetSchema, ChangesetSummarySchema, ChangesetValidationError, ChangesetValidationErrorBase, ClassificationReasonSchema, ClassificationSchema, CommitHashSchema, ConfigInspector, ConfigInspectorBase, ConfigInspectorLive, ConfigurationError, ConfigurationErrorBase, ContentStructureRule, ContributorFootnotesPlugin, DeduplicateItemsPlugin, DependencyActionSchema, DependencyTable, DependencyTableFormatRule, DependencyTableRowSchema, DependencyTableSchema, DependencyTableTypeSchema, DependencyTypeSchema, DependencyUpdateSchema, DepsRegen, DepsRegenBase, DepsRegenDefault, DepsRegenLive, FileStatusSchema, GitError, GitErrorBase, GitHubApiError, GitHubApiErrorBase, GitHubInfoSchema, GitHubLive, GitHubService, GitHubServiceBase, GlobSchema, HeadingHierarchyRule, InspectedConfigSchema, IssueLinkRefsPlugin, IssueNumberSchema, JsonPathSchema, LegacyVersionFileConfigSchema, LegacyVersionFilesSchema, MarkdownLive, MarkdownParseError, MarkdownParseErrorBase, MarkdownService, MarkdownServiceBase, ContentStructureRule$1 as MarkdownlintContentStructureRule, DependencyTableFormatRule$1 as MarkdownlintDependencyTableFormatRule, HeadingHierarchyRule$1 as MarkdownlintHeadingHierarchyRule, RequiredSectionsRule$1 as MarkdownlintRequiredSectionsRule, UncategorizedContentRule$1 as MarkdownlintUncategorizedContentRule, MergeSectionsPlugin, NonEmptyString, NormalizeFormatPlugin, PackageScopeSchema, PackagesRecordSchema, PendingChangesetSchema, PositiveInteger, PreviewReleaseSchema, ReleasePlanError, ReleasePlanErrorBase, ReleasePlanner, ReleasePlannerBase, ReleasePlannerLive, ReorderSectionsPlugin, RepoSchema, RequiredSectionsRule, ResolvedPackageScopeSchema, ResolvedVersionFileSchema, SectionCategorySchema, SilkChangesetPreset, SilkChangesetTransformPreset, SilkChangesetsRules, UncategorizedContentRule, UrlOrMarkdownLinkSchema, UsernameSchema, VERSION_RE, VersionFileConfigSchema, VersionFileError, VersionFileErrorBase, VersionFileUpdateRecordSchema, VersionFiles, VersionFilesSchema, VersionOrEmptySchema, VersionTypeSchema, changelogFunctions, changesets_exports, computeWorkspaceDependencyDiffs, gitMergeBase, isPureDependencyChangeset, listPublishablePackageNames, makeBranchAnalyzerTest, makeConfigInspectorTest, makeGitHubTest, makeReleasePlannerTest, serializeDependencyTableToMarkdown };
@@ -1,3 +1,4 @@
1
+ const require_dependency_table = require('../../schemas/dependency-table.cjs');
1
2
  const require_constants = require('../../constants.cjs');
2
3
  const require_utils = require('./utils.cjs');
3
4
 
@@ -23,7 +24,6 @@ const EXPECTED_HEADERS = [
23
24
  "from",
24
25
  "to"
25
26
  ];
26
- const VERSION_RE = /^(\u2014|[~^]?\d+\.\d+\.\d+(?:[-+.][\w.+-]*)?)$/;
27
27
  /**
28
28
  * Extract text from a `tableHeader` or `tableData` cell token.
29
29
  *
@@ -145,11 +145,11 @@ const DependencyTableFormatRule = {
145
145
  lineNumber: row.startLine,
146
146
  detail: `Invalid dependency action '${action}'. Valid actions are: ${[...VALID_ACTIONS].join(", ")}. See: ${require_constants.RULE_DOCS.CSH005}`
147
147
  });
148
- if (from && !VERSION_RE.test(from)) onError({
148
+ if (from && !require_dependency_table.VERSION_RE.test(from)) onError({
149
149
  lineNumber: row.startLine,
150
150
  detail: `Invalid 'from' value '${from}'. Must be a semver string or em dash (\u2014). See: ${require_constants.RULE_DOCS.CSH005}`
151
151
  });
152
- if (to && !VERSION_RE.test(to)) onError({
152
+ if (to && !require_dependency_table.VERSION_RE.test(to)) onError({
153
153
  lineNumber: row.startLine,
154
154
  detail: `Invalid 'to' value '${to}'. Must be a semver string or em dash (\u2014). See: ${require_constants.RULE_DOCS.CSH005}`
155
155
  });
@@ -1,3 +1,4 @@
1
+ import { VERSION_RE } from "../../schemas/dependency-table.js";
1
2
  import { RULE_DOCS } from "../../constants.js";
2
3
  import { getHeadingLevel, getHeadingText } from "./utils.js";
3
4
 
@@ -23,7 +24,6 @@ const EXPECTED_HEADERS = [
23
24
  "from",
24
25
  "to"
25
26
  ];
26
- const VERSION_RE = /^(\u2014|[~^]?\d+\.\d+\.\d+(?:[-+.][\w.+-]*)?)$/;
27
27
  /**
28
28
  * Extract text from a `tableHeader` or `tableData` cell token.
29
29
  *