@savvy-web/silk-effects 9.5.5 → 9.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/_virtual/_rolldown/runtime.js +1 -2
  2. package/changesets/api/categories.js +1 -2
  3. package/changesets/api/changelog.js +1 -2
  4. package/changesets/api/dependency-table.js +1 -2
  5. package/changesets/api/linter.js +1 -2
  6. package/changesets/api/transformer.js +1 -2
  7. package/changesets/categories/index.js +1 -2
  8. package/changesets/categories/types.js +1 -2
  9. package/changesets/changelog/formatting.js +1 -2
  10. package/changesets/changelog/getDependencyReleaseLine.js +1 -2
  11. package/changesets/changelog/getReleaseLine.js +1 -2
  12. package/changesets/changelog/index.js +1 -2
  13. package/changesets/changelog/vanilla.js +1 -2
  14. package/changesets/constants.js +1 -2
  15. package/changesets/errors.js +1 -2
  16. package/changesets/index.js +1 -2
  17. package/changesets/markdownlint/index.js +1 -2
  18. package/changesets/markdownlint/rules/content-structure.js +1 -2
  19. package/changesets/markdownlint/rules/dependency-table-format.js +1 -2
  20. package/changesets/markdownlint/rules/heading-hierarchy.js +1 -2
  21. package/changesets/markdownlint/rules/required-sections.js +1 -2
  22. package/changesets/markdownlint/rules/uncategorized-content.js +1 -2
  23. package/changesets/markdownlint/rules/utils.js +1 -2
  24. package/changesets/remark/plugins/aggregate-dependency-tables.js +1 -2
  25. package/changesets/remark/plugins/contributor-footnotes.js +1 -2
  26. package/changesets/remark/plugins/deduplicate-items.js +1 -2
  27. package/changesets/remark/plugins/issue-link-refs.js +1 -2
  28. package/changesets/remark/plugins/maintenance-note.js +1 -2
  29. package/changesets/remark/plugins/merge-sections.js +1 -2
  30. package/changesets/remark/plugins/normalize-format.js +1 -2
  31. package/changesets/remark/plugins/reorder-sections.js +1 -2
  32. package/changesets/remark/presets.js +1 -2
  33. package/changesets/remark/rules/content-structure.js +1 -2
  34. package/changesets/remark/rules/dependency-table-format.js +1 -2
  35. package/changesets/remark/rules/heading-hierarchy.js +1 -2
  36. package/changesets/remark/rules/required-sections.js +1 -2
  37. package/changesets/remark/rules/uncategorized-content.js +1 -2
  38. package/changesets/schemas/changeset.js +1 -2
  39. package/changesets/schemas/dependency-table.js +1 -2
  40. package/changesets/schemas/deps-regen.js +1 -2
  41. package/changesets/schemas/git.js +1 -2
  42. package/changesets/schemas/github.js +1 -2
  43. package/changesets/schemas/options.js +1 -2
  44. package/changesets/schemas/package-scope.js +1 -2
  45. package/changesets/schemas/primitives.js +1 -2
  46. package/changesets/schemas/release-plan.js +1 -2
  47. package/changesets/schemas/version-files.js +1 -2
  48. package/changesets/services/branch-analyzer.js +1 -2
  49. package/changesets/services/changelog.js +1 -2
  50. package/changesets/services/config-inspector.js +1 -2
  51. package/changesets/services/deps-regen.js +1 -2
  52. package/changesets/services/github.js +1 -2
  53. package/changesets/services/maintenance-reason.js +1 -2
  54. package/changesets/services/release-planner.js +1 -2
  55. package/changesets/utils/commit-parser.js +1 -2
  56. package/changesets/utils/dep-diff.js +1 -2
  57. package/changesets/utils/dependency-section.js +1 -2
  58. package/changesets/utils/dependency-table.js +1 -2
  59. package/changesets/utils/git.js +1 -2
  60. package/changesets/utils/issue-refs.js +1 -2
  61. package/changesets/utils/jsonpath.js +1 -2
  62. package/changesets/utils/logger.js +1 -2
  63. package/changesets/utils/markdown-emit.js +1 -2
  64. package/changesets/utils/markdown-link.js +1 -2
  65. package/changesets/utils/publishability.js +1 -2
  66. package/changesets/utils/remark-pipeline.js +1 -2
  67. package/changesets/utils/section-parser.js +1 -2
  68. package/changesets/utils/strip-frontmatter.js +1 -2
  69. package/changesets/utils/version-blocks.js +1 -2
  70. package/changesets/utils/version-files.js +1 -2
  71. package/changesets/vendor/github-info.js +1 -2
  72. package/commitlint/config/factory.js +1 -2
  73. package/commitlint/config/plugins.js +1 -2
  74. package/commitlint/config/rules.js +1 -2
  75. package/commitlint/config/schema.js +1 -2
  76. package/commitlint/detection/dco.js +1 -2
  77. package/commitlint/detection/scopes.js +1 -2
  78. package/commitlint/formatter/format.js +1 -2
  79. package/commitlint/formatter/messages.js +1 -2
  80. package/commitlint/hook/diagnostics/branch.js +1 -2
  81. package/commitlint/hook/diagnostics/cache.js +1 -2
  82. package/commitlint/hook/diagnostics/commitlint-config.js +1 -2
  83. package/commitlint/hook/diagnostics/open-issues.js +1 -2
  84. package/commitlint/hook/diagnostics/package-manager.js +1 -2
  85. package/commitlint/hook/diagnostics/signing.js +1 -2
  86. package/commitlint/hook/envelope.js +1 -2
  87. package/commitlint/hook/output.js +1 -2
  88. package/commitlint/hook/parse-bash-command.js +1 -2
  89. package/commitlint/hook/rules/closes-trailer.js +1 -2
  90. package/commitlint/hook/rules/forbidden-content.js +1 -2
  91. package/commitlint/hook/rules/plan-leakage.js +1 -2
  92. package/commitlint/hook/rules/signing-flag-conflict.js +1 -2
  93. package/commitlint/hook/rules/soft-wrap.js +1 -2
  94. package/commitlint/hook/rules/types.js +1 -2
  95. package/commitlint/hook/rules/verbosity.js +1 -2
  96. package/commitlint/hook/silence-logger.js +1 -2
  97. package/commitlint/index.js +1 -2
  98. package/commitlint/prompt/config.js +1 -2
  99. package/commitlint/prompt/emojis.js +1 -2
  100. package/commitlint/prompt/prompter.js +1 -2
  101. package/commitlint/static.js +1 -2
  102. package/index.d.ts +87 -251
  103. package/index.js +2 -2
  104. package/lint/Handler.js +1 -2
  105. package/lint/cli/sections.js +1 -2
  106. package/lint/cli/templates/markdownlint.gen.js +1 -2
  107. package/lint/config/Preset.js +1 -2
  108. package/lint/config/createConfig.js +1 -2
  109. package/lint/handlers/Biome.js +1 -2
  110. package/lint/handlers/Markdown.js +1 -2
  111. package/lint/handlers/PackageJson.js +1 -2
  112. package/lint/handlers/PnpmWorkspace.js +1 -2
  113. package/lint/handlers/ShellScripts.js +1 -2
  114. package/lint/handlers/TextFiles.js +1 -2
  115. package/lint/handlers/TypeScript.js +1 -2
  116. package/lint/handlers/Yaml.js +1 -2
  117. package/lint/index.js +1 -2
  118. package/lint/utils/Command.js +1 -2
  119. package/lint/utils/Filter.js +1 -2
  120. package/lint/utils/Workspace.js +1 -2
  121. package/package.json +14 -14
  122. package/repos/constants.js +1 -2
  123. package/repos/errors.js +1 -2
  124. package/repos/index.js +1 -2
  125. package/repos/schemas/drift.js +1 -2
  126. package/repos/schemas/manifest.js +1 -2
  127. package/repos/schemas/reports.js +1 -2
  128. package/repos/services/config-store.js +1 -2
  129. package/repos/services/drift.js +1 -2
  130. package/repos/services/lockdown.js +1 -2
  131. package/repos/services/manager.js +1 -2
  132. package/services/BiomeSchemaSync.js +1 -2
  133. package/services/ChangesetConfig.js +1 -2
  134. package/services/ChangesetConfigReader.js +1 -2
  135. package/services/ConfigDiscovery.js +1 -2
  136. package/services/SilkPublishability.js +147 -6
  137. package/services/SilkWorkspaceAnalyzer.js +1 -2
  138. package/turbo/digest.js +1 -2
  139. package/turbo/errors.js +1 -2
  140. package/turbo/index.js +1 -2
  141. package/turbo/schemas/DryRun.js +1 -2
  142. package/turbo/schemas/results.js +1 -2
  143. package/turbo/services/TurboInspector.js +1 -2
package/index.js CHANGED
@@ -9,6 +9,6 @@ import { BiomeSchemaSync, buildSchemaUrl, extractSemver } from "./services/Biome
9
9
  import { ConfigDiscovery } from "./services/ConfigDiscovery.js";
10
10
  import { SilkWorkspaceAnalyzer } from "./services/SilkWorkspaceAnalyzer.js";
11
11
  import { turbo_exports } from "./turbo/index.js";
12
- import { AnalyzedWorkspace, BiomeSyncError, ChangesetConfigError, ConfigNotFoundError, LIFECYCLE_SCRIPTS_CONFIG_KEY, PrBody, PublishTargetBindingError, SavvyBaseSection, SavvyHooksSection, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkPublishConfig, WorkspaceAnalysis, WorkspaceAnalysisError, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck } from "@savvy-web/silk-core";
12
+ import { AnalyzedWorkspace, BiomeSyncError, ChangesetConfigError, ConfigNotFoundError, LIFECYCLE_SCRIPTS_CONFIG_KEY, PrBody, PublishTargetBindingError, ReleaseChannelError, SavvyBaseSection, SavvyHooksSection, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkPublishConfig, WorkspaceAnalysis, WorkspaceAnalysisError, publishesBuiltLinkDirectory, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck } from "@savvy-web/silk-core";
13
13
 
14
- export { AnalyzedWorkspace, BiomeSchemaSync, BiomeSyncError, ChangesetConfig, ChangesetConfigError, ChangesetConfigReader, changesets_exports as Changesets, commitlint_exports as Commitlint, ConfigDiscovery, ConfigNotFoundError, LIFECYCLE_SCRIPTS_CONFIG_KEY, lint_exports as Lint, PrBody, PublishTargetBindingError, repos_exports as Repos, SavvyBaseSection, SavvyHooksSection, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkPublishConfig, SilkPublishability, SilkWorkspaceAnalyzer, turbo_exports as Turbo, WorkspaceAnalysis, WorkspaceAnalysisError, buildSchemaUrl, extractSemver, publishesBuiltLinkDirectory, readTargetsBinding, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck };
14
+ export { AnalyzedWorkspace, BiomeSchemaSync, BiomeSyncError, ChangesetConfig, ChangesetConfigError, ChangesetConfigReader, changesets_exports as Changesets, commitlint_exports as Commitlint, ConfigDiscovery, ConfigNotFoundError, LIFECYCLE_SCRIPTS_CONFIG_KEY, lint_exports as Lint, PrBody, PublishTargetBindingError, ReleaseChannelError, repos_exports as Repos, SavvyBaseSection, SavvyHooksSection, SavvyInstallSection, SavvyOkfSection, SavvyToolchainSection, SilkPublishConfig, SilkPublishability, SilkWorkspaceAnalyzer, turbo_exports as Turbo, WorkspaceAnalysis, WorkspaceAnalysisError, buildSchemaUrl, extractSemver, publishesBuiltLinkDirectory, readTargetsBinding, savvyBasePreamble, savvyHooksHygiene, savvyInstallBlock, savvyInstallDeps, savvyOkfBlock, savvyOkfSync, savvyToolSection, savvyToolchainCheck };
package/lint/Handler.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/lint/Handler.ts
1
+ // src/lint/Handler.ts
2
2
  /**
3
3
  * Abstract base class for lint-staged handlers.
4
4
  *
@@ -35,5 +35,4 @@ var Handler = class {
35
35
  }
36
36
  };
37
37
 
38
- //#endregion
39
38
  export { Handler };
@@ -1,7 +1,7 @@
1
1
  import { savvyToolSection } from "@savvy-web/silk-core";
2
2
  import { CommentStyle, SectionId } from "@effected/templates";
3
3
 
4
- //#region src/lint/cli/sections.ts
4
+ // src/lint/cli/sections.ts
5
5
  /** Path for the husky pre-commit hook. */
6
6
  const HUSKY_HOOK_PATH = ".husky/pre-commit";
7
7
  /** Path for the husky post-checkout hook. */
@@ -64,5 +64,4 @@ function generateManagedContent(configPath) {
64
64
  return savvyLintBlock(configPath).content;
65
65
  }
66
66
 
67
- //#endregion
68
67
  export { DEFAULT_CONFIG_PATH, HUSKY_HOOK_PATH, LegacySavvyLintHygieneDef, MARKDOWNLINT_CONFIG_PATH, POST_CHECKOUT_HOOK_PATH, POST_COMMIT_HOOK_PATH, POST_MERGE_HOOK_PATH, SavvyLintSectionDef, generateManagedContent, savvyLintBlock };
@@ -1,4 +1,4 @@
1
- //#region src/lint/cli/templates/markdownlint.gen.ts
1
+ // src/lint/cli/templates/markdownlint.gen.ts
2
2
  /** Full markdownlint-cli2 config template. */
3
3
  const MARKDOWNLINT_TEMPLATE = {
4
4
  $schema: "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.22.0/schema/markdownlint-cli2-config-schema.json",
@@ -176,5 +176,4 @@ const MARKDOWNLINT_CONFIG = {
176
176
  "changeset-dependency-table-format": false
177
177
  };
178
178
 
179
- //#endregion
180
179
  export { MARKDOWNLINT_CONFIG, MARKDOWNLINT_SCHEMA, MARKDOWNLINT_TEMPLATE };
@@ -1,6 +1,6 @@
1
1
  import { createConfig } from "./createConfig.js";
2
2
 
3
- //#region src/lint/config/Preset.ts
3
+ // src/lint/config/Preset.ts
4
4
  /**
5
5
  * Preset configurations for common lint-staged setups.
6
6
  *
@@ -153,5 +153,4 @@ var Preset = class Preset {
153
153
  }
154
154
  };
155
155
 
156
- //#endregion
157
156
  export { Preset };
@@ -7,7 +7,7 @@ import { TextFiles } from "../handlers/TextFiles.js";
7
7
  import { TypeScript } from "../handlers/TypeScript.js";
8
8
  import { Yaml } from "../handlers/Yaml.js";
9
9
 
10
- //#region src/lint/config/createConfig.ts
10
+ // src/lint/config/createConfig.ts
11
11
  /**
12
12
  * Configuration factory for generating complete lint-staged configurations.
13
13
  */
@@ -90,5 +90,4 @@ function createConfig(options = {}) {
90
90
  return config;
91
91
  }
92
92
 
93
- //#endregion
94
93
  export { createConfig };
@@ -4,7 +4,7 @@ import { getWorkspacePackagePaths, getWorkspaceRoot } from "../utils/Workspace.j
4
4
  import { existsSync } from "node:fs";
5
5
  import { join } from "node:path";
6
6
 
7
- //#region src/lint/handlers/Biome.ts
7
+ // src/lint/handlers/Biome.ts
8
8
  /**
9
9
  * Handler for JavaScript/TypeScript/JSON files.
10
10
  *
@@ -175,5 +175,4 @@ var Biome = class Biome {
175
175
  }
176
176
  };
177
177
 
178
- //#endregion
179
178
  export { Biome };
@@ -4,7 +4,7 @@ import { getWorkspaceRoot } from "../utils/Workspace.js";
4
4
  import { existsSync } from "node:fs";
5
5
  import { join } from "node:path";
6
6
 
7
- //#region src/lint/handlers/Markdown.ts
7
+ // src/lint/handlers/Markdown.ts
8
8
  /**
9
9
  * Handler for Markdown files.
10
10
  *
@@ -135,5 +135,4 @@ var Markdown = class Markdown {
135
135
  }
136
136
  };
137
137
 
138
- //#endregion
139
138
  export { Markdown };
@@ -5,7 +5,7 @@ import { Result } from "effect";
5
5
  import { readFileSync, writeFileSync } from "node:fs";
6
6
  import { PackageJsonFormat } from "@effected/package-json";
7
7
 
8
- //#region src/lint/handlers/PackageJson.ts
8
+ // src/lint/handlers/PackageJson.ts
9
9
  /**
10
10
  * Handler for package.json files.
11
11
  *
@@ -136,5 +136,4 @@ var PackageJson = class PackageJson {
136
136
  }
137
137
  };
138
138
 
139
- //#endregion
140
139
  export { PackageJson };
@@ -3,7 +3,7 @@ import { Effect, Result } from "effect";
3
3
  import { existsSync, readFileSync, writeFileSync } from "node:fs";
4
4
  import { Yaml, YamlStringifyOptions } from "@effected/yaml";
5
5
 
6
- //#region src/lint/handlers/PnpmWorkspace.ts
6
+ // src/lint/handlers/PnpmWorkspace.ts
7
7
  /**
8
8
  * Handler for pnpm-workspace.yaml.
9
9
  *
@@ -168,5 +168,4 @@ var PnpmWorkspace = class PnpmWorkspace {
168
168
  }
169
169
  };
170
170
 
171
- //#endregion
172
171
  export { PnpmWorkspace };
@@ -1,6 +1,6 @@
1
1
  import { Filter } from "../utils/Filter.js";
2
2
 
3
- //#region src/lint/handlers/ShellScripts.ts
3
+ // src/lint/handlers/ShellScripts.ts
4
4
  /**
5
5
  * Handler for shell script files.
6
6
  *
@@ -59,5 +59,4 @@ var ShellScripts = class ShellScripts {
59
59
  }
60
60
  };
61
61
 
62
- //#endregion
63
62
  export { ShellScripts };
@@ -4,7 +4,7 @@ import { Data, Effect, FileSystem, Path, Schema, Stream } from "effect";
4
4
  import { Git } from "@effected/git";
5
5
  import { ChildProcess, ChildProcessSpawner } from "effect/process";
6
6
 
7
- //#region src/lint/handlers/TextFiles.ts
7
+ // src/lint/handlers/TextFiles.ts
8
8
  /**
9
9
  * Why a file is not grep-visible text.
10
10
  *
@@ -387,5 +387,4 @@ var TextFiles = class TextFiles {
387
387
  }
388
388
  };
389
389
 
390
- //#endregion
391
390
  export { TextFileFinding, TextFileStagedReadError, TextFileStagedReadErrorBase, TextFileViolation, TextFileViolationReason, TextFiles };
@@ -1,7 +1,7 @@
1
1
  import { Command } from "../utils/Command.js";
2
2
  import { Filter } from "../utils/Filter.js";
3
3
 
4
- //#region src/lint/handlers/TypeScript.ts
4
+ // src/lint/handlers/TypeScript.ts
5
5
  /**
6
6
  * Handler for TypeScript files.
7
7
  *
@@ -136,5 +136,4 @@ var TypeScript = class TypeScript {
136
136
  }
137
137
  };
138
138
 
139
- //#endregion
140
139
  export { TypeScript };
@@ -3,7 +3,7 @@ import { Filter } from "../utils/Filter.js";
3
3
  import { readFileSync, writeFileSync } from "node:fs";
4
4
  import { Yaml, YamlFormat, YamlFormattingOptions } from "@effected/yaml";
5
5
 
6
- //#region src/lint/handlers/Yaml.ts
6
+ // src/lint/handlers/Yaml.ts
7
7
  /**
8
8
  * Handler for YAML files.
9
9
  *
@@ -179,5 +179,4 @@ var Yaml$1 = class Yaml$1 {
179
179
  }
180
180
  };
181
181
 
182
- //#endregion
183
182
  export { Yaml$1 as Yaml };
package/lint/index.js CHANGED
@@ -16,7 +16,7 @@ import { createConfig } from "./config/createConfig.js";
16
16
  import { Preset } from "./config/Preset.js";
17
17
  import { MARKDOWNLINT_CONFIG, MARKDOWNLINT_SCHEMA, MARKDOWNLINT_TEMPLATE } from "./cli/templates/markdownlint.gen.js";
18
18
 
19
- //#region src/lint/index.ts
19
+ // src/lint/index.ts
20
20
  var lint_exports = /* @__PURE__ */ __exportAll({
21
21
  Biome: () => Biome,
22
22
  Command: () => Command,
@@ -56,5 +56,4 @@ var lint_exports = /* @__PURE__ */ __exportAll({
56
56
  savvyLintBlock: () => savvyLintBlock
57
57
  });
58
58
 
59
- //#endregion
60
59
  export { Biome, Command, DEFAULT_CONFIG_PATH, Filter, HUSKY_HOOK_PATH, Handler, LegacySavvyLintHygieneDef, MARKDOWNLINT_CONFIG, MARKDOWNLINT_CONFIG_PATH, MARKDOWNLINT_SCHEMA, MARKDOWNLINT_TEMPLATE, Markdown, POST_CHECKOUT_HOOK_PATH, POST_COMMIT_HOOK_PATH, POST_MERGE_HOOK_PATH, PackageJson, PnpmWorkspace, Preset, SavvyLintSectionDef, ShellScripts, TextFileFinding, TextFileStagedReadError, TextFileStagedReadErrorBase, TextFileViolation, TextFileViolationReason, TextFiles, TypeScript, Yaml, createConfig, generateManagedContent, getWorkspacePackagePaths, getWorkspacePackages, getWorkspaceRoot, isWorkspacePackagePath, lint_exports, resetWorkspaceCache, savvyLintBlock };
@@ -3,7 +3,7 @@ import { existsSync, readFileSync } from "node:fs";
3
3
  import { dirname, join, resolve } from "node:path";
4
4
  import { execSync } from "node:child_process";
5
5
 
6
- //#region src/lint/utils/Command.ts
6
+ // src/lint/utils/Command.ts
7
7
  /**
8
8
  * Utilities for shell command operations.
9
9
  *
@@ -276,5 +276,4 @@ var Command = class Command {
276
276
  }
277
277
  };
278
278
 
279
- //#endregion
280
279
  export { Command };
@@ -1,4 +1,4 @@
1
- //#region src/lint/utils/Filter.ts
1
+ // src/lint/utils/Filter.ts
2
2
  /**
3
3
  * Static utility class for filtering file lists.
4
4
  */
@@ -83,5 +83,4 @@ var Filter = class Filter {
83
83
  }
84
84
  };
85
85
 
86
- //#endregion
87
86
  export { Filter };
@@ -2,7 +2,7 @@ import { dirname } from "node:path";
2
2
  import { findWorkspaceRootSync, getWorkspacePackagesSync } from "@effected/workspaces";
3
3
  import { nodeSyncOps } from "@effected/workspaces/node-sync";
4
4
 
5
- //#region src/lint/utils/Workspace.ts
5
+ // src/lint/utils/Workspace.ts
6
6
  /**
7
7
  * Workspace-aware discovery utilities.
8
8
  *
@@ -86,5 +86,4 @@ function resetWorkspaceCache() {
86
86
  cachedPaths = UNRESOLVED;
87
87
  }
88
88
 
89
- //#endregion
90
89
  export { getWorkspacePackagePaths, getWorkspacePackages, getWorkspaceRoot, isWorkspacePackagePath, resetWorkspaceCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/silk-effects",
3
- "version": "9.5.5",
3
+ "version": "9.6.0",
4
4
  "private": false,
5
5
  "description": "Shared Effect library for Silk Suite conventions",
6
6
  "homepage": "https://github.com/savvy-web/systems/tree/main/packages/silk-effects",
@@ -37,16 +37,16 @@
37
37
  "@changesets/get-release-plan": "^5.0.2",
38
38
  "@changesets/pre": "^3.0.0",
39
39
  "@changesets/read": "^1.0.1",
40
- "@effected/github-references": "^0.10.0",
41
- "@effected/glob": "^0.13.0",
42
- "@effected/jsonc": "^0.18.0",
43
- "@effected/markdown": "^0.19.0",
44
- "@effected/package-json": "^0.23.0",
45
- "@effected/toml": "^0.14.0",
46
- "@effected/walker": "^0.18.0",
47
- "@effected/yaml": "^0.22.0",
40
+ "@effected/github-references": "^0.11.0",
41
+ "@effected/glob": "^0.14.0",
42
+ "@effected/jsonc": "^0.19.0",
43
+ "@effected/markdown": "^0.20.0",
44
+ "@effected/package-json": "^0.24.1",
45
+ "@effected/toml": "^0.15.0",
46
+ "@effected/walker": "^0.19.0",
47
+ "@effected/yaml": "^0.23.0",
48
48
  "@manypkg/get-packages": "^3.1.0",
49
- "@savvy-web/silk-core": "0.4.14",
49
+ "@savvy-web/silk-core": "^0.5.0",
50
50
  "mdast-util-to-string": "^4.0.0",
51
51
  "remark-gfm": "^4.0.1",
52
52
  "remark-parse": "^11.0.0",
@@ -57,10 +57,10 @@
57
57
  "unist-util-visit": "^5.1.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@effected/commands": "^0.14.0",
61
- "@effected/git": "^0.23.0",
62
- "@effected/templates": "^0.13.0",
63
- "@effected/workspaces": "^0.35.0",
60
+ "@effected/commands": "^0.15.0",
61
+ "@effected/git": "^0.24.0",
62
+ "@effected/templates": "^0.14.0",
63
+ "@effected/workspaces": "^0.36.0",
64
64
  "effect": "^4.0.0"
65
65
  }
66
66
  }
@@ -1,4 +1,4 @@
1
- //#region src/repos/constants.ts
1
+ // src/repos/constants.ts
2
2
  /**
3
3
  * Directory vendored reference repos live under, relative to the repo root.
4
4
  * @public
@@ -16,5 +16,4 @@ const MANIFEST_PATH = ".repos/config.json";
16
16
  */
17
17
  const NOTE_LIMIT = 10;
18
18
 
19
- //#endregion
20
19
  export { MANIFEST_PATH, REPOS_DIR };
package/repos/errors.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Data } from "effect";
2
2
 
3
- //#region src/repos/errors.ts
3
+ // src/repos/errors.ts
4
4
  /** @internal */
5
5
  const ReposConfigErrorBase = Data.TaggedError("ReposConfigError");
6
6
  /**
@@ -57,5 +57,4 @@ var ReposLockdownError = class extends ReposLockdownErrorBase {
57
57
  }
58
58
  };
59
59
 
60
- //#endregion
61
60
  export { GitSubmoduleError, GitSubmoduleErrorBase, NoteNotFoundError, NoteNotFoundErrorBase, RepoNotFoundError, RepoNotFoundErrorBase, ReposConfigError, ReposConfigErrorBase, ReposLockdownError, ReposLockdownErrorBase };
package/repos/index.js CHANGED
@@ -9,7 +9,7 @@ import { ReposLockdown, resolveModuleDir } from "./services/lockdown.js";
9
9
  import { ReposDrift, submoduleNameFromKey } from "./services/drift.js";
10
10
  import { ReposManager, STALE_LOCK_MAX_AGE_MS } from "./services/manager.js";
11
11
 
12
- //#region src/repos/index.ts
12
+ // src/repos/index.ts
13
13
  var repos_exports = /* @__PURE__ */ __exportAll({
14
14
  DriftKind: () => DriftKind,
15
15
  GitSubmoduleError: () => GitSubmoduleError,
@@ -51,5 +51,4 @@ var repos_exports = /* @__PURE__ */ __exportAll({
51
51
  submoduleNameFromKey: () => submoduleNameFromKey
52
52
  });
53
53
 
54
- //#endregion
55
54
  export { DriftKind, GitSubmoduleError, GitSubmoduleErrorBase, MANIFEST_PATH, NoteNotFoundError, NoteNotFoundErrorBase, REPOS_DIR, RepoDrift, RepoEntry, RepoName, RepoNotFoundError, RepoNotFoundErrorBase, RepoNote, RepoOrientation, RepoStatusEntry, ReposAddResult, ReposConfigError, ReposConfigErrorBase, ReposConfigStore, ReposDeregisterResult, ReposDrift, ReposDriftReport, ReposLockdown, ReposLockdownError, ReposLockdownErrorBase, ReposManager, ReposManifestFile, ReposNoteResult, ReposPinResult, ReposRemoveResult, ReposRenameResult, ReposRestoreResult, ReposStatusReport, ReposSyncReport, STALE_LOCK_MAX_AGE_MS, repos_exports, resolveModuleDir, submoduleNameFromKey };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/repos/schemas/drift.ts
3
+ // src/repos/schemas/drift.ts
4
4
  /**
5
5
  * The kinds of drift {@link ReposDrift} can detect between the five
6
6
  * authorities it reconciles: the manifest, `.gitmodules`, the worktree,
@@ -47,5 +47,4 @@ var ReposDriftReport = class extends Schema.Class("ReposDriftReport")({
47
47
  clean: Schema.Boolean
48
48
  }) {};
49
49
 
50
- //#endregion
51
50
  export { DriftKind, RepoDrift, ReposDriftReport };
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/repos/schemas/manifest.ts
3
+ // src/repos/schemas/manifest.ts
4
4
  /**
5
5
  * A vendored-repo manifest key: non-empty, contains no `/` or `\`, and is
6
6
  * never `.` or `..` — safe to join onto a filesystem path segment
@@ -63,5 +63,4 @@ const ReposManifestFile = Schema.Struct({ repos: Schema.Record(Schema.String, Re
63
63
  return badKey === void 0 ? void 0 : `every repos key must be a valid RepoName (non-empty, no "/" or "\\", not "." or ".."); got ${JSON.stringify(badKey)}`;
64
64
  })) });
65
65
 
66
- //#endregion
67
66
  export { RepoEntry, RepoName, RepoNote, RepoOrientation, ReposManifestFile };
@@ -1,7 +1,7 @@
1
1
  import { RepoEntry, RepoNote } from "./manifest.js";
2
2
  import { Schema } from "effect";
3
3
 
4
- //#region src/repos/schemas/reports.ts
4
+ // src/repos/schemas/reports.ts
5
5
  /**
6
6
  * Status of one vendored repo: gitlink presence and dirtiness, plus notes
7
7
  * that no longer match the pinned ref.
@@ -181,5 +181,4 @@ const ReposNoteResult = Schema.Struct({
181
181
  noteCount: Schema.Number
182
182
  });
183
183
 
184
- //#endregion
185
184
  export { RepoStatusEntry, ReposAddResult, ReposDeregisterResult, ReposNoteResult, ReposPinResult, ReposRemoveResult, ReposRenameResult, ReposRestoreResult, ReposStatusReport, ReposSyncReport };
@@ -3,7 +3,7 @@ import { ReposConfigError } from "../errors.js";
3
3
  import { ReposManifestFile } from "../schemas/manifest.js";
4
4
  import { Clock, Context, Effect, FileSystem, Layer, Option, Path, Schedule, Schema } from "effect";
5
5
 
6
- //#region src/repos/services/config-store.ts
6
+ // src/repos/services/config-store.ts
7
7
  /**
8
8
  * Reads, validates, and writes the .repos/config.json manifest.
9
9
  * @public
@@ -113,5 +113,4 @@ var ReposConfigStore = class extends Context.Service()("@savvy-web/silk-effects/
113
113
  }));
114
114
  };
115
115
 
116
- //#endregion
117
116
  export { ReposConfigStore };
@@ -6,7 +6,7 @@ import { resolveModuleDir } from "./lockdown.js";
6
6
  import { Context, Effect, FileSystem, Layer, Option, Path, Result } from "effect";
7
7
  import { Git, Gitmodules } from "@effected/git";
8
8
 
9
- //#region src/repos/services/drift.ts
9
+ // src/repos/services/drift.ts
10
10
  /**
11
11
  * Extracts the submodule NAME from a `submodule.<name>.<property>` config key.
12
12
  *
@@ -252,5 +252,4 @@ var ReposDrift = class extends Context.Service()("@savvy-web/silk-effects/ReposD
252
252
  }));
253
253
  };
254
254
 
255
- //#endregion
256
255
  export { ReposDrift, submoduleNameFromKey };
@@ -2,7 +2,7 @@ import { REPOS_DIR } from "../constants.js";
2
2
  import { ReposLockdownError } from "../errors.js";
3
3
  import { Context, Effect, Exit, FileSystem, Layer, Option, Path } from "effect";
4
4
 
5
- //#region src/repos/services/lockdown.ts
5
+ // src/repos/services/lockdown.ts
6
6
  const FILE_LOCKED_BASE_MODE = 292;
7
7
  const DIR_LOCKED_MODE = 365;
8
8
  const FILE_UNLOCKED_BASE_MODE = 420;
@@ -152,5 +152,4 @@ var ReposLockdown = class extends Context.Service()("@savvy-web/silk-effects/Rep
152
152
  }));
153
153
  };
154
154
 
155
- //#endregion
156
155
  export { ReposLockdown, resolveModuleDir };
@@ -8,7 +8,7 @@ import { Clock, Context, Effect, Exit, FileSystem, Layer, Option, Path, Result,
8
8
  import { Git, GitConfig, Gitmodules, LsRemoteEntry } from "@effected/git";
9
9
  import { createHash } from "node:crypto";
10
10
 
11
- //#region src/repos/services/manager.ts
11
+ // src/repos/services/manager.ts
12
12
  /**
13
13
  * Lock files git leaves behind when a submodule fetch is interrupted; `sync`
14
14
  * clears these before attempting to (re)initialize a submodule.
@@ -728,5 +728,4 @@ var ReposManager = class extends Context.Service()("@savvy-web/silk-effects/Repo
728
728
  }));
729
729
  };
730
730
 
731
- //#endregion
732
731
  export { ReposManager, STALE_LOCK_MAX_AGE_MS };
@@ -2,7 +2,7 @@ import { BiomeSyncError } from "@savvy-web/silk-core";
2
2
  import { Context, Effect, FileSystem, Layer } from "effect";
3
3
  import { Jsonc, JsoncEdit, JsoncModifier } from "@effected/jsonc";
4
4
 
5
- //#region src/services/BiomeSchemaSync.ts
5
+ // src/services/BiomeSchemaSync.ts
6
6
  /**
7
7
  * Strip leading semver range operators from a version string.
8
8
  *
@@ -149,5 +149,4 @@ var BiomeSchemaSync = class extends Context.Service()("@savvy-web/silk-effects/B
149
149
  }));
150
150
  };
151
151
 
152
- //#endregion
153
152
  export { BiomeSchemaSync, buildSchemaUrl, extractSemver };
@@ -1,7 +1,7 @@
1
1
  import { ChangesetConfigReader } from "./ChangesetConfigReader.js";
2
2
  import { Context, Effect, Layer, Option } from "effect";
3
3
 
4
- //#region src/services/ChangesetConfig.ts
4
+ // src/services/ChangesetConfig.ts
5
5
  const isSilk = (cfg) => "_isSilk" in cfg && cfg._isSilk === true;
6
6
  /**
7
7
  * Accessor service over a workspace root's `.changeset/config.json`.
@@ -77,5 +77,4 @@ var ChangesetConfig = class ChangesetConfig extends Context.Service()("@savvy-we
77
77
  }));
78
78
  };
79
79
 
80
- //#endregion
81
80
  export { ChangesetConfig };
@@ -1,7 +1,7 @@
1
1
  import { ChangesetConfigError, ChangesetConfigFile, SilkChangesetConfigFile } from "@savvy-web/silk-core";
2
2
  import { Context, Effect, FileSystem, Layer, Schema } from "effect";
3
3
 
4
- //#region src/services/ChangesetConfigReader.ts
4
+ // src/services/ChangesetConfigReader.ts
5
5
  /**
6
6
  * Substrings that identify a Silk changelog adapter entry in `.changeset/config.json`.
7
7
  *
@@ -109,5 +109,4 @@ var ChangesetConfigReader = class extends Context.Service()("@savvy-web/silk-eff
109
109
  }));
110
110
  };
111
111
 
112
- //#endregion
113
112
  export { ChangesetConfigReader };
@@ -1,6 +1,6 @@
1
1
  import { Context, Effect, FileSystem, Layer } from "effect";
2
2
 
3
- //#region src/services/ConfigDiscovery.ts
3
+ // src/services/ConfigDiscovery.ts
4
4
  /**
5
5
  * Check whether a path exists, treating any PlatformError as "not found".
6
6
  */
@@ -69,5 +69,4 @@ var ConfigDiscovery = class extends Context.Service()("@savvy-web/silk-effects/C
69
69
  }));
70
70
  };
71
71
 
72
- //#endregion
73
72
  export { ConfigDiscovery };