@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
@@ -1,6 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
 
3
- //#region src/commitlint/hook/envelope.ts
3
+ // src/commitlint/hook/envelope.ts
4
4
  /**
5
5
  * Schemas for the JSON stdin envelopes Claude passes to plugin hooks.
6
6
  *
@@ -32,5 +32,4 @@ const SessionStartEnvelope = Schema.Struct({
32
32
  source: Schema.optional(Schema.String)
33
33
  });
34
34
 
35
- //#endregion
36
35
  export { PostToolUseEnvelope, PreToolUseEnvelope, SessionStartEnvelope };
@@ -1,4 +1,4 @@
1
- //#region src/commitlint/hook/output.ts
1
+ // src/commitlint/hook/output.ts
2
2
  function preToolUseAllow(reason) {
3
3
  return { hookSpecificOutput: {
4
4
  hookEventName: "PreToolUse",
@@ -35,5 +35,4 @@ function postToolUseAdvise(message) {
35
35
  } };
36
36
  }
37
37
 
38
- //#endregion
39
38
  export { postToolUseAdvise, preToolUseAdvise, preToolUseAllow, preToolUseDeny, preToolUseSilent, sessionStartContext };
@@ -1,6 +1,6 @@
1
1
  import { parse } from "shell-quote";
2
2
 
3
- //#region src/commitlint/hook/parse-bash-command.ts
3
+ // src/commitlint/hook/parse-bash-command.ts
4
4
  /**
5
5
  * Parse a Bash command string to extract the commit message and flags
6
6
  * for `git commit` / `gh pr create` / `gh pr edit` invocations.
@@ -101,5 +101,4 @@ function extractFlagValue(tokens, ...names) {
101
101
  return null;
102
102
  }
103
103
 
104
- //#endregion
105
104
  export { parseBashCommand };
@@ -1,7 +1,7 @@
1
1
  import { Effect } from "effect";
2
2
  import { parseClosingLists } from "@effected/github-references";
3
3
 
4
- //#region src/commitlint/hook/rules/closes-trailer.ts
4
+ // src/commitlint/hook/rules/closes-trailer.ts
5
5
  /**
6
6
  * closes-trailer rule — advises when the branch encodes a ticket id but
7
7
  * the message body has no Closes/Fixes/Resolves trailer for it.
@@ -43,5 +43,4 @@ const closesTrailerRule = {
43
43
  })
44
44
  };
45
45
 
46
- //#endregion
47
46
  export { closesTrailerRule, hasClosingTrailer };
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
 
3
- //#region src/commitlint/hook/rules/forbidden-content.ts
3
+ // src/commitlint/hook/rules/forbidden-content.ts
4
4
  /**
5
5
  * forbidden-content rule — denies markdown headers and code fences in
6
6
  * commit message bodies.
@@ -28,5 +28,4 @@ const forbiddenContentRule = {
28
28
  })
29
29
  };
30
30
 
31
- //#endregion
32
31
  export { forbiddenContentRule };
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
 
3
- //#region src/commitlint/hook/rules/plan-leakage.ts
3
+ // src/commitlint/hook/rules/plan-leakage.ts
4
4
  /**
5
5
  * plan-leakage rule — advises when commit bodies reference plan files
6
6
  * (`.claude/plans/`, `.claude/design/`, or the `okf/` knowledge bundle)
@@ -37,5 +37,4 @@ const planLeakageRule = {
37
37
  })
38
38
  };
39
39
 
40
- //#endregion
41
40
  export { planLeakageRule };
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
 
3
- //#region src/commitlint/hook/rules/signing-flag-conflict.ts
3
+ // src/commitlint/hook/rules/signing-flag-conflict.ts
4
4
  /**
5
5
  * signing-flag-conflict rule — denies when the command explicitly opts out
6
6
  * of signing while the project is configured to require signing.
@@ -21,5 +21,4 @@ const signingFlagConflictRule = {
21
21
  })
22
22
  };
23
23
 
24
- //#endregion
25
24
  export { signingFlagConflictRule };
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
 
3
- //#region src/commitlint/hook/rules/soft-wrap.ts
3
+ // src/commitlint/hook/rules/soft-wrap.ts
4
4
  /**
5
5
  * soft-wrap rule — advises when a bullet point appears to have an
6
6
  * artificial mid-bullet line wrap.
@@ -33,5 +33,4 @@ const softWrapRule = {
33
33
  })
34
34
  };
35
35
 
36
- //#endregion
37
36
  export { softWrapRule };
@@ -1,4 +1,4 @@
1
- //#region src/commitlint/hook/rules/types.ts
1
+ // src/commitlint/hook/rules/types.ts
2
2
  function partitionHits(hits) {
3
3
  const deny = [];
4
4
  const advise = [];
@@ -10,5 +10,4 @@ function partitionHits(hits) {
10
10
  };
11
11
  }
12
12
 
13
- //#endregion
14
13
  export { partitionHits };
@@ -1,6 +1,6 @@
1
1
  import { Effect } from "effect";
2
2
 
3
- //#region src/commitlint/hook/rules/verbosity.ts
3
+ // src/commitlint/hook/rules/verbosity.ts
4
4
  /**
5
5
  * verbosity rule — advises when the body exceeds line or word thresholds.
6
6
  *
@@ -45,5 +45,4 @@ const verbosityRule = {
45
45
  })
46
46
  };
47
47
 
48
- //#endregion
49
48
  export { verbosityRule };
@@ -1,6 +1,6 @@
1
1
  import { Layer, Logger, References } from "effect";
2
2
 
3
- //#region src/commitlint/hook/silence-logger.ts
3
+ // src/commitlint/hook/silence-logger.ts
4
4
  /**
5
5
  * Logger configuration shared by all hook subcommands.
6
6
  *
@@ -37,5 +37,4 @@ const MinLogLevel = Layer.succeed(References.MinimumLogLevel, "Warn");
37
37
  */
38
38
  const HookSilencer = Layer.merge(StderrLogger, MinLogLevel);
39
39
 
40
- //#endregion
41
40
  export { HookSilencer };
@@ -28,7 +28,7 @@ import { softWrapRule } from "./hook/rules/soft-wrap.js";
28
28
  import { partitionHits } from "./hook/rules/types.js";
29
29
  import { verbosityRule } from "./hook/rules/verbosity.js";
30
30
 
31
- //#region src/commitlint/index.ts
31
+ // src/commitlint/index.ts
32
32
  /**
33
33
  * Commitlint namespace — commitlint business logic extracted from \@savvy-web/commitlint.
34
34
  *
@@ -141,5 +141,4 @@ var CommitlintConfig = class {
141
141
  constructor() {}
142
142
  };
143
143
 
144
- //#endregion
145
144
  export { COMMIT_TYPES, COMMIT_TYPE_DEFINITIONS, CommitlintConfig, CommitlintConfig as default, DCO_SIGNOFF_TEXT, ERROR_EXPLANATIONS, ERROR_SUGGESTIONS, HookSilencer, ISSUES_CACHE_RELATIVE_PATH, PostToolUseEnvelope, PreToolUseEnvelope, SessionStartEnvelope, TDD_SCOPE_PATTERN, TDD_STATES, TYPE_EMOJIS, TYPE_EMOJIS_UNICODE, buildSigningDiagnostic, closesTrailerRule, commitlint_exports, createPromptConfig, createTypeEnum, defaultPromptConfig, detectDCO, detectFromLockfiles, detectPackageManager, detectScopes, emojiPromptConfig, fetchAndCacheOpenIssues, forbiddenContentRule, format, getExplanation, getSuggestion, getTypeEmoji, hasClosingTrailer, inferTicketId, parseBashCommand, parseGpgKeyExpiry, parseHuskyConfigPath, parsePackageManagerField, partitionHits, planLeakageRule, postToolUseAdvise, preToolUseAdvise, preToolUseAllow, preToolUseDeny, preToolUseSilent, prompter, readBranchInfo, readCache, readCommitlintConfigPath, readOpenIssuesFromCache, readOrFetchOpenIssues, readSigningDiagnostic, resolveIssuesCachePath, sessionStartContext, signingFlagConflictRule, softWrapRule, staticConfig, verbosityRule, writeCache };
@@ -1,7 +1,7 @@
1
1
  import { COMMIT_TYPE_DEFINITIONS } from "../config/rules.js";
2
2
  import { TYPE_EMOJIS } from "./emojis.js";
3
3
 
4
- //#region src/commitlint/prompt/config.ts
4
+ // src/commitlint/prompt/config.ts
5
5
  /**
6
6
  * Create type enum configuration for prompts.
7
7
  *
@@ -87,5 +87,4 @@ const defaultPromptConfig = createPromptConfig();
87
87
  */
88
88
  const emojiPromptConfig = createPromptConfig({ emojis: true });
89
89
 
90
- //#endregion
91
90
  export { createPromptConfig, createTypeEnum, defaultPromptConfig, emojiPromptConfig };
@@ -1,4 +1,4 @@
1
- //#region src/commitlint/prompt/emojis.ts
1
+ // src/commitlint/prompt/emojis.ts
2
2
  /**
3
3
  * Emoji shortcode mapping for commit types.
4
4
  *
@@ -70,5 +70,4 @@ function getTypeEmoji(type, unicode = false) {
70
70
  return unicode ? TYPE_EMOJIS_UNICODE[type] : TYPE_EMOJIS[type];
71
71
  }
72
72
 
73
- //#endregion
74
73
  export { TYPE_EMOJIS, TYPE_EMOJIS_UNICODE, getTypeEmoji };
@@ -1,7 +1,7 @@
1
1
  import { COMMIT_TYPE_DEFINITIONS } from "../config/rules.js";
2
2
  import { TYPE_EMOJIS_UNICODE } from "./emojis.js";
3
3
 
4
- //#region src/commitlint/prompt/prompter.ts
4
+ // src/commitlint/prompt/prompter.ts
5
5
  /** Default prompter options */
6
6
  const DEFAULT_OPTIONS = {
7
7
  emojis: true,
@@ -131,5 +131,4 @@ function prompter(cz, commit, options = {}) {
131
131
  }).catch(() => {});
132
132
  }
133
133
 
134
- //#endregion
135
134
  export { prompter };
@@ -1,7 +1,7 @@
1
1
  import { COMMIT_TYPES, COMMIT_TYPE_DEFINITIONS, DCO_SIGNOFF_TEXT, TDD_SCOPE_PATTERN, TDD_STATES } from "./config/rules.js";
2
2
  import { silkPlugin } from "./config/plugins.js";
3
3
 
4
- //#region src/commitlint/static.ts
4
+ // src/commitlint/static.ts
5
5
  /**
6
6
  * Static commitlint configuration (no auto-detection).
7
7
  *
@@ -69,5 +69,4 @@ const staticConfig = {
69
69
  } }
70
70
  };
71
71
 
72
- //#endregion
73
72
  export { staticConfig as default };