@wtf/release-docs 8.2.0 → 8.2.2

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 (557) hide show
  1. package/README.md +56 -44
  2. package/api/@wtf/release-cargo/auth/functions/mask.md +1 -1
  3. package/api/@wtf/release-cargo/auth/functions/tokenVariableOf.md +1 -1
  4. package/api/@wtf/release-cargo/auth/functions/trustedPublishing.md +1 -1
  5. package/api/@wtf/release-cargo/auth/interfaces/HttpResponse.md +5 -5
  6. package/api/@wtf/release-cargo/auth/interfaces/TrustedPublishing.md +5 -5
  7. package/api/@wtf/release-cargo/auth/interfaces/TrustedPublishingOptions.md +6 -6
  8. package/api/@wtf/release-cargo/auth/type-aliases/HttpFetch.md +1 -1
  9. package/api/@wtf/release-cargo/auth/variables/CRATES_IO_API.md +1 -1
  10. package/api/@wtf/release-cargo/auth/variables/ID_TOKEN_VARIABLE.md +1 -1
  11. package/api/@wtf/release-cargo/auth/variables/USER_AGENT.md +1 -1
  12. package/api/@wtf/release-cargo/crates/functions/publishOrder.md +1 -1
  13. package/api/@wtf/release-cargo/crates/functions/publishable.md +1 -1
  14. package/api/@wtf/release-cargo/crates/functions/readWorkspace.md +1 -1
  15. package/api/@wtf/release-cargo/crates/functions/selectCrates.md +1 -1
  16. package/api/@wtf/release-cargo/crates/interfaces/Selection.md +5 -5
  17. package/api/@wtf/release-cargo/ecosystem/functions/packagesAt.md +1 -1
  18. package/api/@wtf/release-cargo/ecosystem/functions/packagesOfTree.md +1 -1
  19. package/api/@wtf/release-cargo/ecosystem/functions/packagesOfWorkspace.md +1 -1
  20. package/api/@wtf/release-cargo/ecosystem/functions/resolveRequirement.md +1 -1
  21. package/api/@wtf/release-cargo/ecosystem/functions/satisfiesRequirement.md +1 -1
  22. package/api/@wtf/release-cargo/ecosystem/functions/semverRange.md +1 -1
  23. package/api/@wtf/release-cargo/ecosystem/interfaces/CargoPackage.md +7 -7
  24. package/api/@wtf/release-cargo/ecosystem/variables/cargoEcosystem.md +1 -1
  25. package/api/@wtf/release-cargo/errors/classes/CargoError.md +5 -5
  26. package/api/@wtf/release-cargo/errors/type-aliases/CargoErrorCode.md +1 -1
  27. package/api/@wtf/release-cargo/errors/variables/CARGO_ERRORS.md +1 -1
  28. package/api/@wtf/release-cargo/interfaces/Crate.md +6 -6
  29. package/api/@wtf/release-cargo/interfaces/CrateDependency.md +6 -6
  30. package/api/@wtf/release-cargo/interfaces/Workspace.md +3 -3
  31. package/api/@wtf/release-cargo/publish/functions/publishCrates.md +1 -1
  32. package/api/@wtf/release-cargo/publish/interfaces/PublishCratesOptions.md +11 -11
  33. package/api/@wtf/release-cargo/publish/interfaces/PublishedCrate.md +5 -5
  34. package/api/@wtf/release-cargo/publish/type-aliases/CrateStatus.md +1 -1
  35. package/api/@wtf/release-cargo/publish/variables/RECHECK_WAITS.md +1 -1
  36. package/api/@wtf/release-cargo/registry/functions/crateUrl.md +1 -1
  37. package/api/@wtf/release-cargo/registry/functions/indexHasVersion.md +1 -1
  38. package/api/@wtf/release-cargo/registry/functions/indexPath.md +1 -1
  39. package/api/@wtf/release-cargo/registry/variables/CRATES_IO_INDEX.md +1 -1
  40. package/api/@wtf/release-cargo/stamp/functions/checkVersions.md +1 -1
  41. package/api/@wtf/release-cargo/stamp/functions/inheritsVersion.md +1 -1
  42. package/api/@wtf/release-cargo/stamp/functions/stampManifest.md +1 -1
  43. package/api/@wtf/release-cargo/stamp/functions/stampWorkspace.md +1 -1
  44. package/api/@wtf/release-cargo/stamp/interfaces/StampOptions.md +4 -4
  45. package/api/@wtf/release-cargo/stamp/interfaces/Stamped.md +3 -3
  46. package/api/@wtf/release-cargo/stamp/interfaces/StampedWorkspace.md +3 -3
  47. package/api/@wtf/release-cargo/type-aliases/DependencyKind.md +1 -1
  48. package/api/@wtf/release-go/ecosystem/functions/packagesOfModules.md +1 -1
  49. package/api/@wtf/release-go/ecosystem/functions/packagesOfRepo.md +1 -1
  50. package/api/@wtf/release-go/ecosystem/functions/resolveVersion.md +1 -1
  51. package/api/@wtf/release-go/ecosystem/functions/satisfiesVersion.md +1 -1
  52. package/api/@wtf/release-go/ecosystem/interfaces/GoPackage.md +7 -7
  53. package/api/@wtf/release-go/ecosystem/variables/goEcosystem.md +1 -1
  54. package/api/@wtf/release-go/errors/classes/GoError.md +5 -5
  55. package/api/@wtf/release-go/errors/type-aliases/GoErrorCode.md +1 -1
  56. package/api/@wtf/release-go/errors/variables/GO_ERRORS.md +1 -1
  57. package/api/@wtf/release-go/gomod/functions/entriesOf.md +1 -1
  58. package/api/@wtf/release-go/gomod/functions/linesOf.md +1 -1
  59. package/api/@wtf/release-go/gomod/functions/readGoMod.md +1 -1
  60. package/api/@wtf/release-go/gomod/functions/tokensOf.md +1 -1
  61. package/api/@wtf/release-go/gomod/interfaces/Entry.md +4 -4
  62. package/api/@wtf/release-go/gomod/interfaces/GoMod.md +4 -4
  63. package/api/@wtf/release-go/gomod/interfaces/GoReplace.md +6 -6
  64. package/api/@wtf/release-go/gomod/interfaces/GoRequire.md +4 -4
  65. package/api/@wtf/release-go/gomod/interfaces/Token.md +5 -5
  66. package/api/@wtf/release-go/interfaces/GoModule.md +6 -6
  67. package/api/@wtf/release-go/modules/functions/isFetchable.md +1 -1
  68. package/api/@wtf/release-go/modules/functions/isGoMod.md +1 -1
  69. package/api/@wtf/release-go/modules/functions/majorErrors.md +1 -1
  70. package/api/@wtf/release-go/modules/functions/majorOfPath.md +1 -1
  71. package/api/@wtf/release-go/modules/functions/modulesAt.md +1 -1
  72. package/api/@wtf/release-go/modules/functions/modulesOf.md +1 -1
  73. package/api/@wtf/release-go/modules/functions/readModules.md +1 -1
  74. package/api/@wtf/release-go/modules/functions/selectModules.md +1 -1
  75. package/api/@wtf/release-go/modules/interfaces/Selection.md +4 -4
  76. package/api/@wtf/release-go/stamp/functions/checkVersions.md +1 -1
  77. package/api/@wtf/release-go/stamp/functions/stampGoMod.md +1 -1
  78. package/api/@wtf/release-go/stamp/functions/stampModules.md +1 -1
  79. package/api/@wtf/release-go/stamp/interfaces/Stamped.md +3 -3
  80. package/api/@wtf/release-go/stamp/interfaces/StampedModules.md +3 -3
  81. package/api/@wtf/release-go/tags/functions/askProxy.md +1 -1
  82. package/api/@wtf/release-go/tags/functions/maskCredentials.md +1 -1
  83. package/api/@wtf/release-go/tags/functions/releaseCommit.md +1 -1
  84. package/api/@wtf/release-go/tags/functions/remoteTags.md +1 -1
  85. package/api/@wtf/release-go/tags/functions/tagModules.md +1 -1
  86. package/api/@wtf/release-go/tags/functions/tagOfModule.md +1 -1
  87. package/api/@wtf/release-go/tags/functions/tagPrefix.md +1 -1
  88. package/api/@wtf/release-go/tags/interfaces/TagModulesOptions.md +8 -8
  89. package/api/@wtf/release-go/tags/interfaces/TaggedModule.md +5 -5
  90. package/api/@wtf/release-go/tags/type-aliases/ModuleStatus.md +1 -1
  91. package/api/@wtf/release-go/tags/variables/RELEASE_AUTHOR.md +1 -1
  92. package/api/@wtf/release-maven/artifacts/functions/groupIdOf.md +1 -1
  93. package/api/@wtf/release-maven/artifacts/functions/installsOf.md +1 -1
  94. package/api/@wtf/release-maven/artifacts/functions/isPomFile.md +1 -1
  95. package/api/@wtf/release-maven/artifacts/functions/isRange.md +1 -1
  96. package/api/@wtf/release-maven/artifacts/functions/modulesOf.md +1 -1
  97. package/api/@wtf/release-maven/artifacts/functions/nameOf.md +1 -1
  98. package/api/@wtf/release-maven/artifacts/functions/publishOrder.md +1 -1
  99. package/api/@wtf/release-maven/artifacts/functions/readModules.md +1 -1
  100. package/api/@wtf/release-maven/artifacts/functions/readPoms.md +1 -1
  101. package/api/@wtf/release-maven/artifacts/functions/selectArtifacts.md +1 -1
  102. package/api/@wtf/release-maven/artifacts/interfaces/Selection.md +4 -4
  103. package/api/@wtf/release-maven/ecosystem/functions/compareVersions.md +1 -1
  104. package/api/@wtf/release-maven/ecosystem/functions/parseRange.md +1 -1
  105. package/api/@wtf/release-maven/ecosystem/functions/resolveVersion.md +1 -1
  106. package/api/@wtf/release-maven/ecosystem/functions/satisfiesVersion.md +1 -1
  107. package/api/@wtf/release-maven/ecosystem/interfaces/Bound.md +3 -3
  108. package/api/@wtf/release-maven/ecosystem/interfaces/Restriction.md +3 -3
  109. package/api/@wtf/release-maven/ecosystem/variables/mavenEcosystem.md +1 -1
  110. package/api/@wtf/release-maven/errors/classes/MavenError.md +5 -5
  111. package/api/@wtf/release-maven/errors/type-aliases/MavenErrorCode.md +1 -1
  112. package/api/@wtf/release-maven/errors/variables/MAVEN_ERRORS.md +1 -1
  113. package/api/@wtf/release-maven/interfaces/MavenModule.md +14 -14
  114. package/api/@wtf/release-maven/pom/functions/childOf.md +1 -1
  115. package/api/@wtf/release-maven/pom/functions/childrenOf.md +1 -1
  116. package/api/@wtf/release-maven/pom/functions/dependencyOf.md +1 -1
  117. package/api/@wtf/release-maven/pom/functions/escapeXml.md +1 -1
  118. package/api/@wtf/release-maven/pom/functions/parseXml.md +1 -1
  119. package/api/@wtf/release-maven/pom/functions/readPom.md +1 -1
  120. package/api/@wtf/release-maven/pom/functions/textAt.md +1 -1
  121. package/api/@wtf/release-maven/pom/interfaces/Pom.md +15 -15
  122. package/api/@wtf/release-maven/pom/interfaces/PomDependency.md +5 -5
  123. package/api/@wtf/release-maven/pom/interfaces/PomParent.md +4 -4
  124. package/api/@wtf/release-maven/pom/interfaces/PomPlugin.md +5 -5
  125. package/api/@wtf/release-maven/pom/interfaces/PomRepository.md +3 -3
  126. package/api/@wtf/release-maven/pom/interfaces/Span.md +3 -3
  127. package/api/@wtf/release-maven/pom/interfaces/XmlElement.md +7 -7
  128. package/api/@wtf/release-maven/pom/variables/PLUGIN_GROUP.md +1 -1
  129. package/api/@wtf/release-maven/publish/functions/deployModules.md +1 -1
  130. package/api/@wtf/release-maven/publish/interfaces/DeployModulesOptions.md +11 -11
  131. package/api/@wtf/release-maven/publish/interfaces/DeployedModule.md +4 -4
  132. package/api/@wtf/release-maven/publish/type-aliases/ModuleStatus.md +1 -1
  133. package/api/@wtf/release-maven/repository/functions/deployTargets.md +1 -1
  134. package/api/@wtf/release-maven/repository/functions/expandValues.md +1 -1
  135. package/api/@wtf/release-maven/repository/functions/hasPom.md +1 -1
  136. package/api/@wtf/release-maven/repository/functions/pomPath.md +1 -1
  137. package/api/@wtf/release-maven/repository/functions/pomUrl.md +1 -1
  138. package/api/@wtf/release-maven/repository/interfaces/Repository.md +3 -3
  139. package/api/@wtf/release-maven/repository/interfaces/ValuesOf.md +3 -3
  140. package/api/@wtf/release-maven/repository/variables/MAVEN_CENTRAL.md +1 -1
  141. package/api/@wtf/release-maven/stamp/functions/checkVersions.md +1 -1
  142. package/api/@wtf/release-maven/stamp/functions/stampModules.md +1 -1
  143. package/api/@wtf/release-maven/stamp/functions/stampPom.md +1 -1
  144. package/api/@wtf/release-maven/stamp/interfaces/PomStampOptions.md +5 -5
  145. package/api/@wtf/release-maven/stamp/interfaces/Stamped.md +3 -3
  146. package/api/@wtf/release-maven/stamp/interfaces/StampedModules.md +3 -3
  147. package/api/@wtf/release-npm/check/functions/checkPackages.md +1 -1
  148. package/api/@wtf/release-npm/check/functions/formatIssue.md +1 -1
  149. package/api/@wtf/release-npm/check/interfaces/CheckOptions.md +6 -6
  150. package/api/@wtf/release-npm/check/interfaces/Issue.md +5 -5
  151. package/api/@wtf/release-npm/check/type-aliases/CheckedPackage.md +1 -1
  152. package/api/@wtf/release-npm/check/type-aliases/IssueCode.md +1 -1
  153. package/api/@wtf/release-npm/ecosystem/variables/npmEcosystem.md +1 -1
  154. package/api/@wtf/release-npm/errors/type-aliases/NpmErrorCode.md +1 -1
  155. package/api/@wtf/release-npm/errors/variables/NPM_ERRORS.md +1 -1
  156. package/api/@wtf/release-npm/interfaces/Lookup.md +3 -3
  157. package/api/@wtf/release-npm/interfaces/PublishOptions.md +6 -6
  158. package/api/@wtf/release-npm/interfaces/PublishPackage.md +5 -5
  159. package/api/@wtf/release-npm/interfaces/PublishTrainOptions.md +13 -13
  160. package/api/@wtf/release-npm/interfaces/Publisher.md +7 -7
  161. package/api/@wtf/release-npm/interfaces/PublisherContext.md +7 -7
  162. package/api/@wtf/release-npm/manifests/functions/concreteRange.md +1 -1
  163. package/api/@wtf/release-npm/manifests/functions/manifestsAt.md +1 -1
  164. package/api/@wtf/release-npm/manifests/functions/packageOf.md +1 -1
  165. package/api/@wtf/release-npm/manifests/functions/packagesOfManifests.md +1 -1
  166. package/api/@wtf/release-npm/manifests/functions/readManifests.md +1 -1
  167. package/api/@wtf/release-npm/manifests/functions/resolveSpecifier.md +1 -1
  168. package/api/@wtf/release-npm/manifests/functions/runtimeDependenciesOf.md +1 -1
  169. package/api/@wtf/release-npm/manifests/functions/satisfiesRange.md +1 -1
  170. package/api/@wtf/release-npm/manifests/interfaces/Manifest.md +5 -5
  171. package/api/@wtf/release-npm/manifests/interfaces/NpmPackage.md +7 -7
  172. package/api/@wtf/release-npm/manifests/type-aliases/DependencyField.md +1 -1
  173. package/api/@wtf/release-npm/manifests/variables/DEPENDENCY_FIELDS.md +1 -1
  174. package/api/@wtf/release-npm/manifests/variables/FIELD_KINDS.md +1 -1
  175. package/api/@wtf/release-npm/manifests/variables/RUNTIME_FIELDS.md +1 -1
  176. package/api/@wtf/release-npm/prepare/functions/isTypeScriptSource.md +1 -1
  177. package/api/@wtf/release-npm/prepare/functions/prepareManifest.md +1 -1
  178. package/api/@wtf/release-npm/prepare/functions/stripSourceConditions.md +1 -1
  179. package/api/@wtf/release-npm/prepare/interfaces/PrepareOptions.md +5 -5
  180. package/api/@wtf/release-npm/prepare/interfaces/PreparedManifest.md +6 -6
  181. package/api/@wtf/release-npm/prepare/variables/SOURCE_CONDITIONS.md +1 -1
  182. package/api/@wtf/release-npm/publishers/functions/builtInPublisher.md +1 -1
  183. package/api/@wtf/release-npm/publishers/functions/isPublisher.md +1 -1
  184. package/api/@wtf/release-npm/publishers/variables/NPM_REGISTRY.md +1 -1
  185. package/api/@wtf/release-npm/publishers/variables/PUBLISHERS.md +1 -1
  186. package/api/@wtf/release-npm/publishers/variables/npmPublisher.md +1 -1
  187. package/api/@wtf/release-npm/publishers/variables/pnpmPublisher.md +1 -1
  188. package/api/@wtf/release-npm/release/functions/checkTrain.md +1 -1
  189. package/api/@wtf/release-npm/release/functions/distTagOf.md +1 -1
  190. package/api/@wtf/release-npm/release/functions/packTrain.md +1 -1
  191. package/api/@wtf/release-npm/release/functions/publishPacked.md +1 -1
  192. package/api/@wtf/release-npm/release/functions/publishTrain.md +1 -1
  193. package/api/@wtf/release-npm/release/functions/publishedOf.md +1 -1
  194. package/api/@wtf/release-npm/release/functions/publishedOfResolved.md +1 -1
  195. package/api/@wtf/release-npm/release/functions/releaseTrain.md +1 -1
  196. package/api/@wtf/release-npm/release/functions/resolveManifests.md +1 -1
  197. package/api/@wtf/release-npm/release/functions/tagTrain.md +1 -1
  198. package/api/@wtf/release-npm/release/interfaces/CheckRelease.md +16 -16
  199. package/api/@wtf/release-npm/release/interfaces/PackOptions.md +8 -8
  200. package/api/@wtf/release-npm/release/interfaces/PackedTrain.md +12 -12
  201. package/api/@wtf/release-npm/release/interfaces/PublishRun.md +11 -11
  202. package/api/@wtf/release-npm/release/interfaces/PublishedOf.md +4 -4
  203. package/api/@wtf/release-npm/release/interfaces/PublishedPackage.md +7 -7
  204. package/api/@wtf/release-npm/release/interfaces/PublishedTrain.md +5 -5
  205. package/api/@wtf/release-npm/release/interfaces/ResolveRelease.md +17 -17
  206. package/api/@wtf/release-npm/release/interfaces/ResolvedPackage.md +4 -4
  207. package/api/@wtf/release-npm/release/interfaces/ResolvedTrain.md +6 -6
  208. package/api/@wtf/release-npm/release/interfaces/TagRelease.md +14 -14
  209. package/api/@wtf/release-npm/release/type-aliases/LookedUpTrain.md +1 -1
  210. package/api/@wtf/release-npm/release/type-aliases/ReleaseRun.md +1 -1
  211. package/api/@wtf/release-npm/release/variables/ID_TOKENS.md +1 -1
  212. package/api/@wtf/release-npm/release/variables/RUNNER_ENVIRONMENTS.md +1 -1
  213. package/api/@wtf/release-npm/workspace/functions/pnpmWorkspaceGlobs.md +1 -1
  214. package/api/@wtf/release-npm/workspace/functions/publishableOf.md +1 -1
  215. package/api/@wtf/release-npm/workspace/functions/readWorkspace.md +1 -1
  216. package/api/@wtf/release-npm/workspace/functions/workspaceFolders.md +1 -1
  217. package/api/@wtf/release-npm/workspace/functions/workspaceGlobs.md +1 -1
  218. package/api/@wtf/release-npm/workspace/interfaces/WorkspaceGlobs.md +3 -3
  219. package/api/@wtf/release-npm/workspace/interfaces/WorkspaceOptions.md +2 -2
  220. package/api/@wtf/release-replace/errors/classes/ReplaceError.md +5 -5
  221. package/api/@wtf/release-replace/errors/type-aliases/ReplaceErrorCode.md +1 -1
  222. package/api/@wtf/release-replace/errors/variables/REPLACE_ERRORS.md +1 -1
  223. package/api/@wtf/release-replace/files/functions/filesMatcher.md +1 -1
  224. package/api/@wtf/release-replace/interfaces/ReplaceMatch.md +5 -5
  225. package/api/@wtf/release-replace/interfaces/ReplacementOf.md +5 -5
  226. package/api/@wtf/release-replace/replace/functions/regExpOf.md +1 -1
  227. package/api/@wtf/release-replace/replace/functions/replaceFiles.md +1 -1
  228. package/api/@wtf/release-replace/replace/functions/replaceText.md +1 -1
  229. package/api/@wtf/release-replace/replace/interfaces/ReplaceOptions.md +10 -10
  230. package/api/@wtf/release-replace/replace/interfaces/TextOptions.md +5 -5
  231. package/api/@wtf/release-replace/replace/type-aliases/To.md +1 -1
  232. package/api/@wtf/release-replace/templates/functions/mergeTemplates.md +1 -1
  233. package/api/@wtf/release-replace/templates/functions/resolveReplacement.md +1 -1
  234. package/api/@wtf/release-replace/templates/functions/resolveReplacements.md +1 -1
  235. package/api/@wtf/release-replace/type-aliases/Escape.md +1 -1
  236. package/api/@wtf/release-replace/type-aliases/ReplaceFunction.md +1 -1
  237. package/api/@wtf/release-replace/type-aliases/Replacement.md +1 -1
  238. package/api/@wtf/release-replace/type-aliases/ReplacementSpec.md +1 -1
  239. package/api/@wtf/release-replace/type-aliases/TemplateUse.md +1 -1
  240. package/api/@wtf/release-replace/type-aliases/Templates.md +1 -1
  241. package/api/@wtf/release-replace/values/functions/escapeValue.md +1 -1
  242. package/api/@wtf/release-replace/values/functions/textOf.md +1 -1
  243. package/api/@wtf/release-replace/values/functions/valueAt.md +1 -1
  244. package/api/@wtf/release-replace/values/variables/ESCAPES.md +1 -1
  245. package/api/@wtf/release-replace/values/variables/VALUE.md +1 -1
  246. package/api/@wtf/release-system/errors/classes/ReleaseError.md +5 -5
  247. package/api/@wtf/release-system/errors/functions/throwAll.md +1 -1
  248. package/api/@wtf/release-system/errors/type-aliases/ErrorClass.md +1 -1
  249. package/api/@wtf/release-system/errors/type-aliases/SystemErrorCode.md +1 -1
  250. package/api/@wtf/release-system/errors/variables/SYSTEM_ERRORS.md +1 -1
  251. package/api/@wtf/release-system/git/functions/commitsSince.md +1 -1
  252. package/api/@wtf/release-system/git/functions/filesOfCommits.md +1 -1
  253. package/api/@wtf/release-system/git/functions/git.md +1 -1
  254. package/api/@wtf/release-system/git/functions/gitOf.md +1 -1
  255. package/api/@wtf/release-system/git/functions/trackedFiles.md +1 -1
  256. package/api/@wtf/release-system/git/interfaces/GitContext.md +4 -4
  257. package/api/@wtf/release-system/git/interfaces/LogCommit.md +5 -5
  258. package/api/@wtf/release-system/node/functions/nodeSystem.md +1 -1
  259. package/api/@wtf/release-system/node/functions/realPathOf.md +1 -1
  260. package/api/@wtf/release-system/node/functions/systemOf.md +1 -1
  261. package/api/@wtf/release-system/paths/functions/normalizePath.md +1 -1
  262. package/api/@wtf/release-system/paths/functions/pathMatcher.md +1 -1
  263. package/api/@wtf/release-system/paths/type-aliases/PathMatcher.md +1 -1
  264. package/api/@wtf/release-system/posix/functions/basenameOf.md +1 -1
  265. package/api/@wtf/release-system/posix/functions/dirnameOf.md +1 -1
  266. package/api/@wtf/release-system/posix/functions/joinPath.md +1 -1
  267. package/api/@wtf/release-system/posix/functions/relativePath.md +1 -1
  268. package/api/@wtf/release-system/posix/functions/resolvePath.md +1 -1
  269. package/api/@wtf/release-system/system/interfaces/DirEntry.md +3 -3
  270. package/api/@wtf/release-system/system/interfaces/ExecOptions.md +4 -4
  271. package/api/@wtf/release-system/system/interfaces/ExecResult.md +4 -4
  272. package/api/@wtf/release-system/system/interfaces/System.md +7 -7
  273. package/api/@wtf/release-system/system/interfaces/SystemFs.md +8 -8
  274. package/api/@wtf/release-system/system/type-aliases/Exec.md +1 -1
  275. package/api/@wtf/release-system/system/type-aliases/SystemInput.md +1 -1
  276. package/api/@wtf/release-system/validator/functions/allOf.md +1 -1
  277. package/api/@wtf/release-system/validator/functions/anyObject.md +1 -1
  278. package/api/@wtf/release-system/validator/functions/anyOf.md +1 -1
  279. package/api/@wtf/release-system/validator/functions/arrayOf.md +1 -1
  280. package/api/@wtf/release-system/validator/functions/booleanOf.md +1 -1
  281. package/api/@wtf/release-system/validator/functions/errorOf.md +1 -1
  282. package/api/@wtf/release-system/validator/functions/errorsOf.md +1 -1
  283. package/api/@wtf/release-system/validator/functions/exclusive.md +1 -1
  284. package/api/@wtf/release-system/validator/functions/issuesOf.md +1 -1
  285. package/api/@wtf/release-system/validator/functions/objectOf.md +1 -1
  286. package/api/@wtf/release-system/validator/functions/oneOf.md +1 -1
  287. package/api/@wtf/release-system/validator/functions/orFunction.md +1 -1
  288. package/api/@wtf/release-system/validator/functions/pathText.md +1 -1
  289. package/api/@wtf/release-system/validator/functions/pluginEntriesOf.md +1 -1
  290. package/api/@wtf/release-system/validator/functions/recordOf.md +1 -1
  291. package/api/@wtf/release-system/validator/functions/refined.md +1 -1
  292. package/api/@wtf/release-system/validator/functions/stringOf.md +1 -1
  293. package/api/@wtf/release-system/validator/functions/tupleOf.md +1 -1
  294. package/api/@wtf/release-system/validator/interfaces/ArrayOptions.md +5 -5
  295. package/api/@wtf/release-system/validator/interfaces/IssueOptions.md +4 -4
  296. package/api/@wtf/release-system/validator/interfaces/ObjectOptions.md +5 -5
  297. package/api/@wtf/release-system/validator/interfaces/OptionIssue.md +4 -4
  298. package/api/@wtf/release-system/validator/interfaces/Property.md +4 -4
  299. package/api/@wtf/release-system/validator/interfaces/RecordOptions.md +6 -6
  300. package/api/@wtf/release-system/validator/interfaces/StringOptions.md +6 -6
  301. package/api/@wtf/release-system/validator/interfaces/Validator.md +4 -4
  302. package/api/@wtf/release-system/validator/type-aliases/JsonSchema.md +1 -1
  303. package/api/@wtf/release-system/validator/type-aliases/Path.md +1 -1
  304. package/api/@wtf/release-trains/cascade/functions/cascadeNotes.md +1 -1
  305. package/api/@wtf/release-trains/cascade/functions/cascadeText.md +1 -1
  306. package/api/@wtf/release-trains/cascade/functions/cascadeType.md +1 -1
  307. package/api/@wtf/release-trains/cascade/functions/cascadesOf.md +1 -1
  308. package/api/@wtf/release-trains/cascade/functions/higherType.md +1 -1
  309. package/api/@wtf/release-trains/cascade/interfaces/Cascade.md +11 -11
  310. package/api/@wtf/release-trains/cascade/interfaces/CascadeCheck.md +8 -8
  311. package/api/@wtf/release-trains/cascade/type-aliases/CascadeKind.md +1 -1
  312. package/api/@wtf/release-trains/cascade/type-aliases/ReleaseType.md +1 -1
  313. package/api/@wtf/release-trains/cascade/variables/RELEASE_TYPES.md +1 -1
  314. package/api/@wtf/release-trains/ecosystem/functions/isEcosystem.md +1 -1
  315. package/api/@wtf/release-trains/ecosystem/functions/loadEcosystems.md +1 -1
  316. package/api/@wtf/release-trains/ecosystem/functions/readPackages.md +1 -1
  317. package/api/@wtf/release-trains/ecosystem/interfaces/Dependency.md +4 -4
  318. package/api/@wtf/release-trains/ecosystem/interfaces/Ecosystem.md +5 -5
  319. package/api/@wtf/release-trains/ecosystem/interfaces/EcosystemContext.md +5 -5
  320. package/api/@wtf/release-trains/ecosystem/interfaces/EcosystemPackages.md +3 -3
  321. package/api/@wtf/release-trains/ecosystem/interfaces/Package.md +6 -6
  322. package/api/@wtf/release-trains/ecosystem/type-aliases/DependencyKind.md +1 -1
  323. package/api/@wtf/release-trains/ecosystem/type-aliases/ModuleLoader.md +1 -1
  324. package/api/@wtf/release-trains/ecosystem/variables/DEPENDENCY_KINDS.md +1 -1
  325. package/api/@wtf/release-trains/errors/classes/TrainsError.md +5 -5
  326. package/api/@wtf/release-trains/errors/type-aliases/TrainsErrorCode.md +1 -1
  327. package/api/@wtf/release-trains/errors/variables/TRAINS_ERRORS.md +1 -1
  328. package/api/@wtf/release-trains/generated/functions/filesIn.md +1 -1
  329. package/api/@wtf/release-trains/generated/functions/formatGenerated.md +1 -1
  330. package/api/@wtf/release-trains/generated/functions/listGenerated.md +1 -1
  331. package/api/@wtf/release-trains/generated/functions/parseGenerated.md +1 -1
  332. package/api/@wtf/release-trains/generated/functions/readGenerated.md +1 -1
  333. package/api/@wtf/release-trains/generated/functions/stageGenerated.md +1 -1
  334. package/api/@wtf/release-trains/generated/functions/stageGeneratedFolders.md +1 -1
  335. package/api/@wtf/release-trains/generated/functions/unlistedIn.md +1 -1
  336. package/api/@wtf/release-trains/generated/interfaces/GeneratedOptions.md +2 -2
  337. package/api/@wtf/release-trains/generated/interfaces/StageOptions.md +6 -6
  338. package/api/@wtf/release-trains/generated/variables/GENERATED.md +1 -1
  339. package/api/@wtf/release-trains/git/functions/tagOf.md +1 -1
  340. package/api/@wtf/release-trains/git/functions/tagsOf.md +1 -1
  341. package/api/@wtf/release-trains/git/functions/versionOfTag.md +1 -1
  342. package/api/@wtf/release-trains/git/interfaces/TrainTag.md +3 -3
  343. package/api/@wtf/release-trains/interfaces/Train.md +7 -7
  344. package/api/@wtf/release-trains/packages/functions/dependencyEdges.md +1 -1
  345. package/api/@wtf/release-trains/packages/functions/dependencyText.md +1 -1
  346. package/api/@wtf/release-trains/packages/functions/dependsOnErrors.md +1 -1
  347. package/api/@wtf/release-trains/packages/functions/normalizeDir.md +1 -1
  348. package/api/@wtf/release-trains/packages/functions/ownersOf.md +1 -1
  349. package/api/@wtf/release-trains/packages/functions/packagesOf.md +1 -1
  350. package/api/@wtf/release-trains/packages/functions/publishOrder.md +1 -1
  351. package/api/@wtf/release-trains/packages/functions/releasedVersions.md +1 -1
  352. package/api/@wtf/release-trains/packages/functions/trainDependencies.md +1 -1
  353. package/api/@wtf/release-trains/packages/functions/trainOrder.md +1 -1
  354. package/api/@wtf/release-trains/packages/functions/unsatisfiedErrors.md +1 -1
  355. package/api/@wtf/release-trains/packages/interfaces/DependencyEdge.md +6 -6
  356. package/api/@wtf/release-trains/packages/interfaces/OrderFault.md +4 -4
  357. package/api/@wtf/release-trains/packages/interfaces/OrderPins.md +3 -3
  358. package/api/@wtf/release-trains/packages/interfaces/PublishOrder.md +3 -3
  359. package/api/@wtf/release-trains/packages/interfaces/TrainDependency.md +3 -3
  360. package/api/@wtf/release-trains/packages/interfaces/VersionsRelease.md +7 -7
  361. package/api/@wtf/release-trains/paths/functions/filterCommits.md +1 -1
  362. package/api/@wtf/release-trains/paths/functions/gitFilesOf.md +1 -1
  363. package/api/@wtf/release-trains/paths/functions/overlapError.md +1 -1
  364. package/api/@wtf/release-trains/paths/functions/trainOfPath.md +1 -1
  365. package/api/@wtf/release-trains/paths/functions/trainsOfCommit.md +1 -1
  366. package/api/@wtf/release-trains/paths/functions/trainsOfPath.md +1 -1
  367. package/api/@wtf/release-trains/paths/type-aliases/FilesOf.md +1 -1
  368. package/api/@wtf/release-trains/schema/interfaces/ConfigPart.md +6 -6
  369. package/api/@wtf/release-trains/schema/interfaces/RootOptions.md +7 -7
  370. package/api/@wtf/release-trains/schema/type-aliases/DependencyRule.md +1 -1
  371. package/api/@wtf/release-trains/schema/variables/DEPENDENCY_RULES.md +1 -1
  372. package/api/@wtf/release-trains/schema/variables/TAG_FORMAT_PATTERN.md +1 -1
  373. package/api/@wtf/release-trains/schema/variables/TRAIN_NAME_PATTERN.md +1 -1
  374. package/api/@wtf/release-trains/schema/variables/configSchema.md +1 -1
  375. package/api/@wtf/release-trains/schema/variables/jsonSchema.md +1 -1
  376. package/api/@wtf/release-trains/schema/variables/rootOptionsSchema.md +1 -1
  377. package/api/@wtf/release-trains/schema/variables/trainSchema.md +1 -1
  378. package/api/@wtf/release-trains/schema/variables/trainsSchema.md +1 -1
  379. package/api/@wtf/release-trains/trains/functions/changelogOf.md +1 -1
  380. package/api/@wtf/release-trains/trains/functions/matchersOf.md +1 -1
  381. package/api/@wtf/release-trains/trains/functions/overlapErrors.md +1 -1
  382. package/api/@wtf/release-trains/trains/functions/selectTrain.md +1 -1
  383. package/api/@wtf/release-trains/trains/functions/tagFormatOf.md +1 -1
  384. package/api/@wtf/release-trains/trains/functions/trainHeadedNotes.md +1 -1
  385. package/api/@wtf/release-trains/trains/functions/trainOfRun.md +1 -1
  386. package/api/@wtf/release-trains/trains/functions/trainOfTag.md +1 -1
  387. package/api/@wtf/release-trains/trains/functions/trainsErrors.md +1 -1
  388. package/api/@wtf/release-trains/trains/functions/trainsOfOptions.md +1 -1
  389. package/api/@wtf/release-trains/trains/variables/TRAIN_VARIABLE.md +1 -1
  390. package/api/@wtf/release-trains/trains/variables/VERSION.md +1 -1
  391. package/api/@wtf/release-trains/type-aliases/BranchSpec.md +1 -1
  392. package/api/@wtf/release-trains/type-aliases/Trains.md +1 -1
  393. package/api/@wtf/release-trains/verify/functions/unreleasedDependencies.md +1 -1
  394. package/api/@wtf/release-trains/verify/functions/verifyTrain.md +1 -1
  395. package/api/@wtf/release-trains/verify/interfaces/UnreleasedDependencies.md +10 -10
  396. package/api/@wtf/release-trains/verify/interfaces/VerifiedTrain.md +5 -5
  397. package/api/@wtf/release-trains/verify/interfaces/VerifyRelease.md +8 -8
  398. package/api/@wtf/release-validate/errors/classes/ValidateError.md +5 -5
  399. package/api/@wtf/release-validate/errors/type-aliases/ValidateErrorCode.md +1 -1
  400. package/api/@wtf/release-validate/errors/variables/VALIDATE_ERRORS.md +1 -1
  401. package/api/@wtf/release-validate/interfaces/ConfigIssue.md +4 -4
  402. package/api/@wtf/release-validate/json-schema/functions/fromJsonSchema.md +1 -1
  403. package/api/@wtf/release-validate/json-schema/functions/pathOfPointer.md +1 -1
  404. package/api/@wtf/release-validate/json-schema/interfaces/JsonSchemaError.md +3 -3
  405. package/api/@wtf/release-validate/json-schema/interfaces/JsonSchemaValidator.md +3 -3
  406. package/api/@wtf/release-validate/validate/functions/configErrors.md +1 -1
  407. package/api/@wtf/release-validate/validate/functions/isStandardSchema.md +1 -1
  408. package/api/@wtf/release-validate/validate/functions/pathText.md +1 -1
  409. package/api/@wtf/release-validate/validate/functions/validateConfig.md +1 -1
  410. package/api/@wtf/semantic-release-cargo/functions/indexLookup.md +1 -1
  411. package/api/@wtf/semantic-release-cargo/functions/prepare.md +1 -1
  412. package/api/@wtf/semantic-release-cargo/functions/publish.md +1 -1
  413. package/api/@wtf/semantic-release-cargo/functions/verifyConditions.md +1 -1
  414. package/api/@wtf/semantic-release-cargo/interfaces/CargoPluginOptions.md +12 -12
  415. package/api/@wtf/semantic-release-cargo/interfaces/CargoRelease.md +3 -3
  416. package/api/@wtf/semantic-release-cargo/schema/type-aliases/CargoOptions.md +1 -1
  417. package/api/@wtf/semantic-release-cargo/schema/variables/cargoOptionsSchema.md +1 -1
  418. package/api/@wtf/semantic-release-cargo/schema/variables/cargoSchema.md +1 -1
  419. package/api/@wtf/semantic-release-cargo/schema/variables/configSchema.md +1 -1
  420. package/api/@wtf/semantic-release-cargo/schema/variables/jsonSchema.md +1 -1
  421. package/api/@wtf/semantic-release-cargo/variables/default.md +1 -1
  422. package/api/@wtf/semantic-release-go/functions/prepare.md +1 -1
  423. package/api/@wtf/semantic-release-go/functions/publish.md +1 -1
  424. package/api/@wtf/semantic-release-go/functions/verifyConditions.md +1 -1
  425. package/api/@wtf/semantic-release-go/functions/verifyRelease.md +1 -1
  426. package/api/@wtf/semantic-release-go/interfaces/GoPluginOptions.md +8 -8
  427. package/api/@wtf/semantic-release-go/interfaces/GoRelease.md +3 -3
  428. package/api/@wtf/semantic-release-go/schema/type-aliases/GoOptions.md +1 -1
  429. package/api/@wtf/semantic-release-go/schema/variables/configSchema.md +1 -1
  430. package/api/@wtf/semantic-release-go/schema/variables/goOptionsSchema.md +1 -1
  431. package/api/@wtf/semantic-release-go/schema/variables/goSchema.md +1 -1
  432. package/api/@wtf/semantic-release-go/schema/variables/jsonSchema.md +1 -1
  433. package/api/@wtf/semantic-release-go/variables/default.md +1 -1
  434. package/api/@wtf/semantic-release-maven/functions/pomLookup.md +1 -1
  435. package/api/@wtf/semantic-release-maven/functions/prepare.md +1 -1
  436. package/api/@wtf/semantic-release-maven/functions/publish.md +1 -1
  437. package/api/@wtf/semantic-release-maven/functions/verifyConditions.md +1 -1
  438. package/api/@wtf/semantic-release-maven/interfaces/LookupAuth.md +3 -3
  439. package/api/@wtf/semantic-release-maven/interfaces/MavenPluginOptions.md +12 -12
  440. package/api/@wtf/semantic-release-maven/interfaces/MavenRelease.md +2 -2
  441. package/api/@wtf/semantic-release-maven/schema/type-aliases/MavenOptions.md +1 -1
  442. package/api/@wtf/semantic-release-maven/schema/variables/configSchema.md +1 -1
  443. package/api/@wtf/semantic-release-maven/schema/variables/jsonSchema.md +1 -1
  444. package/api/@wtf/semantic-release-maven/schema/variables/mavenOptionsSchema.md +1 -1
  445. package/api/@wtf/semantic-release-maven/schema/variables/mavenSchema.md +1 -1
  446. package/api/@wtf/semantic-release-maven/variables/default.md +1 -1
  447. package/api/@wtf/semantic-release-npm/functions/addChannel.md +1 -1
  448. package/api/@wtf/semantic-release-npm/functions/fail.md +1 -1
  449. package/api/@wtf/semantic-release-npm/functions/loadPublisher.md +1 -1
  450. package/api/@wtf/semantic-release-npm/functions/prepare.md +1 -1
  451. package/api/@wtf/semantic-release-npm/functions/publish.md +1 -1
  452. package/api/@wtf/semantic-release-npm/functions/verifyConditions.md +1 -1
  453. package/api/@wtf/semantic-release-npm/interfaces/PublishPluginOptions.md +18 -18
  454. package/api/@wtf/semantic-release-npm/interfaces/PublishedRelease.md +4 -4
  455. package/api/@wtf/semantic-release-npm/interfaces/SmokeOption.md +2 -2
  456. package/api/@wtf/semantic-release-npm/schema/type-aliases/PublishOptions.md +1 -1
  457. package/api/@wtf/semantic-release-npm/schema/variables/configSchema.md +1 -1
  458. package/api/@wtf/semantic-release-npm/schema/variables/jsonSchema.md +1 -1
  459. package/api/@wtf/semantic-release-npm/schema/variables/publishOptionsSchema.md +1 -1
  460. package/api/@wtf/semantic-release-npm/schema/variables/publishSchema.md +1 -1
  461. package/api/@wtf/semantic-release-npm/type-aliases/PublisherSpec.md +1 -1
  462. package/api/@wtf/semantic-release-npm/variables/default.md +1 -1
  463. package/api/@wtf/semantic-release-replace/functions/functionOf.md +1 -1
  464. package/api/@wtf/semantic-release-replace/functions/prepare.md +1 -1
  465. package/api/@wtf/semantic-release-replace/functions/templatesOf.md +1 -1
  466. package/api/@wtf/semantic-release-replace/functions/verifyConditions.md +1 -1
  467. package/api/@wtf/semantic-release-replace/interfaces/ReplacePluginOptions.md +5 -5
  468. package/api/@wtf/semantic-release-replace/schema/interfaces/ModuleExport.md +3 -3
  469. package/api/@wtf/semantic-release-replace/schema/interfaces/ReplaceOptions.md +4 -4
  470. package/api/@wtf/semantic-release-replace/schema/interfaces/RootTemplates.md +2 -2
  471. package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginReplacement.md +1 -1
  472. package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginReplacementSpec.md +1 -1
  473. package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginTemplates.md +1 -1
  474. package/api/@wtf/semantic-release-replace/schema/type-aliases/PluginTo.md +1 -1
  475. package/api/@wtf/semantic-release-replace/schema/type-aliases/TemplateSet.md +1 -1
  476. package/api/@wtf/semantic-release-replace/schema/type-aliases/TemplatesOption.md +1 -1
  477. package/api/@wtf/semantic-release-replace/schema/variables/configSchema.md +1 -1
  478. package/api/@wtf/semantic-release-replace/schema/variables/exportedSetSchema.md +1 -1
  479. package/api/@wtf/semantic-release-replace/schema/variables/jsonSchema.md +1 -1
  480. package/api/@wtf/semantic-release-replace/schema/variables/replaceOptionsSchema.md +1 -1
  481. package/api/@wtf/semantic-release-replace/schema/variables/replacementSchema.md +1 -1
  482. package/api/@wtf/semantic-release-replace/schema/variables/rootTemplatesSchema.md +1 -1
  483. package/api/@wtf/semantic-release-replace/schema/variables/templateSchema.md +1 -1
  484. package/api/@wtf/semantic-release-replace/schema/variables/templatesSchema.md +1 -1
  485. package/api/@wtf/semantic-release-replace/variables/default.md +1 -1
  486. package/api/@wtf/semantic-release-trains/config/functions/skipPlugins.md +1 -1
  487. package/api/@wtf/semantic-release-trains/config/functions/stepId.md +1 -1
  488. package/api/@wtf/semantic-release-trains/config/functions/trainAssets.md +1 -1
  489. package/api/@wtf/semantic-release-trains/config/functions/trainChangelog.md +1 -1
  490. package/api/@wtf/semantic-release-trains/config/functions/trainOfTag.md +1 -1
  491. package/api/@wtf/semantic-release-trains/config/functions/trainTagFormat.md +1 -1
  492. package/api/@wtf/semantic-release-trains/config/interfaces/AssetsOptions.md +4 -4
  493. package/api/@wtf/semantic-release-trains/config/interfaces/SkipOptions.md +3 -3
  494. package/api/@wtf/semantic-release-trains/config/variables/BRANCHES.md +1 -1
  495. package/api/@wtf/semantic-release-trains/config/variables/BREAKING.md +1 -1
  496. package/api/@wtf/semantic-release-trains/config/variables/TITLE.md +1 -1
  497. package/api/@wtf/semantic-release-trains/defaults/functions/skipRuleOf.md +1 -1
  498. package/api/@wtf/semantic-release-trains/defaults/functions/skips.md +1 -1
  499. package/api/@wtf/semantic-release-trains/defaults/functions/trainOptionsOf.md +1 -1
  500. package/api/@wtf/semantic-release-trains/defaults/interfaces/SkipContext.md +5 -5
  501. package/api/@wtf/semantic-release-trains/defaults/type-aliases/SkipCheck.md +1 -1
  502. package/api/@wtf/semantic-release-trains/defaults/type-aliases/TrainOptions.md +1 -1
  503. package/api/@wtf/semantic-release-trains/defaults/variables/SKIP_RULES.md +1 -1
  504. package/api/@wtf/semantic-release-trains/defaults/variables/TRAIN_OPTIONS.md +4 -3
  505. package/api/@wtf/semantic-release-trains/defaults/variables/TRAIN_SKIP.md +1 -1
  506. package/api/@wtf/semantic-release-trains/errors/type-aliases/PluginErrorCode.md +1 -1
  507. package/api/@wtf/semantic-release-trains/errors/variables/PLUGIN_ERRORS.md +1 -1
  508. package/api/@wtf/semantic-release-trains/info/functions/decideTrain.md +1 -1
  509. package/api/@wtf/semantic-release-trains/info/functions/dotenvOf.md +1 -1
  510. package/api/@wtf/semantic-release-trains/info/functions/infoOf.md +1 -1
  511. package/api/@wtf/semantic-release-trains/info/interfaces/DecideRun.md +4 -4
  512. package/api/@wtf/semantic-release-trains/info/interfaces/InfoRun.md +8 -8
  513. package/api/@wtf/semantic-release-trains/info/interfaces/TrainDecision.md +5 -5
  514. package/api/@wtf/semantic-release-trains/info/interfaces/TrainInfo.md +5 -5
  515. package/api/@wtf/semantic-release-trains/interfaces/TrainsEntryOptions.md +5 -5
  516. package/api/@wtf/semantic-release-trains/interfaces/TrainsOptions.md +7 -7
  517. package/api/@wtf/semantic-release-trains/schema/variables/configSchema.md +1 -1
  518. package/api/@wtf/semantic-release-trains/schema/variables/jsonSchema.md +1 -1
  519. package/api/@wtf/semantic-release-trains/schema/variables/pluginSpecSchema.md +1 -1
  520. package/api/@wtf/semantic-release-trains/schema/variables/skipRuleSchema.md +1 -1
  521. package/api/@wtf/semantic-release-trains/schema/variables/trainsEntrySchema.md +1 -1
  522. package/api/@wtf/semantic-release-trains/schema/variables/trainsPluginSchema.md +1 -1
  523. package/api/@wtf/semantic-release-trains/type-aliases/PluginSpec.md +1 -1
  524. package/api/@wtf/semantic-release-trains/type-aliases/TrainsPluginOptions.md +1 -1
  525. package/api/@wtf/semantic-release-trains/variables/addChannel.md +1 -1
  526. package/api/@wtf/semantic-release-trains/variables/analyzeCommits.md +1 -1
  527. package/api/@wtf/semantic-release-trains/variables/default.md +1 -1
  528. package/api/@wtf/semantic-release-trains/variables/fail.md +1 -1
  529. package/api/@wtf/semantic-release-trains/variables/generateNotes.md +1 -1
  530. package/api/@wtf/semantic-release-trains/variables/prepare.md +1 -1
  531. package/api/@wtf/semantic-release-trains/variables/publish.md +1 -1
  532. package/api/@wtf/semantic-release-trains/variables/success.md +1 -1
  533. package/api/@wtf/semantic-release-trains/variables/verifyConditions.md +1 -1
  534. package/api/@wtf/semantic-release-trains/variables/verifyRelease.md +1 -1
  535. package/api/@wtf/semantic-release-validate/functions/configOf.md +1 -1
  536. package/api/@wtf/semantic-release-validate/functions/loadSchema.md +1 -1
  537. package/api/@wtf/semantic-release-validate/functions/verifyConditions.md +1 -1
  538. package/api/@wtf/semantic-release-validate/interfaces/ValidatePluginOptions.md +2 -2
  539. package/api/@wtf/semantic-release-validate/schema/interfaces/Validator.md +2 -2
  540. package/api/@wtf/semantic-release-validate/schema/variables/configSchema.md +1 -1
  541. package/api/@wtf/semantic-release-validate/schema/variables/jsonSchema.md +1 -1
  542. package/api/@wtf/semantic-release-validate/schema/variables/validateOptionsSchema.md +1 -1
  543. package/api/@wtf/semantic-release-validate/variables/default.md +1 -1
  544. package/guides/changelogs.md +39 -28
  545. package/guides/ci-recipes.md +393 -271
  546. package/guides/configuring-trains.md +291 -203
  547. package/guides/dependency-rules.md +171 -113
  548. package/guides/ecosystems.md +222 -156
  549. package/guides/getting-started.md +135 -69
  550. package/guides/publishing-crates.md +208 -143
  551. package/guides/publishing-go-modules.md +170 -110
  552. package/guides/publishing-maven.md +197 -123
  553. package/guides/publishing.md +278 -191
  554. package/guides/system.md +50 -34
  555. package/guides/troubleshooting.md +358 -92
  556. package/guides/validating-a-config.md +68 -49
  557. package/package.json +3 -3
package/guides/system.md CHANGED
@@ -1,11 +1,20 @@
1
1
  # The system
2
2
 
3
- Every function of the libraries, `@wtf/release-trains`, `@wtf/release-npm` and
4
- `@wtf/release-replace`, does its work outside itself through a
5
- `System` of `@wtf/release-system`, the base they build on, which it requires and never makes of its
6
- own: files, processes, the environment, the working folder, a folder of
7
- temporary files, and the clock. None of their modules names Node. A plugin of semantic-release
8
- passes Node's system; a CLI passes its own, adapted to the interface; a test passes one in memory.
3
+ Read this page when you want to run the libraries outside semantic-release, from a CLI of your own,
4
+ or in tests. You can also use it to change how the plugins run processes.
5
+
6
+ Every function of the libraries, such as `@wtf/release-trains`, `@wtf/release-npm` and
7
+ `@wtf/release-replace`, reaches the outside world through a `System`. The `System` type comes from
8
+ `@wtf/release-system`, the base that the other libraries build on. A function requires a system
9
+ from its caller and never makes one itself.
10
+
11
+ The system provides files, processes, the environment, the working folder, a folder for temporary
12
+ files, and the clock. None of the library modules names Node. Each caller passes the system that
13
+ fits it:
14
+
15
+ - A semantic-release plugin passes Node's system.
16
+ - A CLI adapts its own files and processes to the interface, and passes that.
17
+ - A test passes a system in memory.
9
18
 
10
19
  ```ts
11
20
  import type { System } from '@wtf/release-system/system'
@@ -14,24 +23,27 @@ import type { System } from '@wtf/release-system/system'
14
23
  export type Members = keyof System // 'fs' | 'exec' | 'env' | 'cwd' | 'tmpdir' | 'now'
15
24
  ```
16
25
 
17
- | Member | What it is |
18
- | -------- | --------------------------------------------------------------------------------------------------------------------------- |
19
- | `fs` | `readFile`, `writeFile`, `readdir`, `exists`, `mkdir` and `rm` of text, and `copy` byte for byte, of absolute paths |
20
- | `exec` | `exec(command, args, { cwd, env, input })`, which gives `{ stdout, stderr, code }`: the system's `cwd` and `env` by default |
21
- | `env` | The environment that a process gets |
22
- | `cwd` | The working folder |
23
- | `tmpdir` | A folder of temporary files, outside the repo, where the packages of a release are copied and packed |
24
- | `now` | The time, which dates a changelog |
26
+ | Member | What it is |
27
+ | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
28
+ | `fs` | `readFile`, `writeFile`, `readdir`, `exists`, `mkdir` and `rm` for text, and `copy` byte for byte. Every path is absolute. |
29
+ | `exec` | `exec(command, args, { cwd, env, input })`, which returns `{ stdout, stderr, code }`. It uses the system's `cwd` and `env` by default. |
30
+ | `env` | The environment that a process gets. |
31
+ | `cwd` | The working folder. |
32
+ | `tmpdir` | A folder for temporary files, outside the repo. A release copies and packs its packages there. |
33
+ | `now` | The current time, which dates a changelog. |
25
34
 
26
- A non-zero exit code is not a failure of `exec` itself: the caller decides. `exec` rejects only when
27
- the command cannot start. Paths are POSIX paths, which `@wtf/release-system/posix` joins, of no
28
- system.
35
+ A non-zero exit code is not a failure of `exec` itself, and the caller decides what it means.
36
+ `exec` rejects only when the command cannot start.
29
37
 
30
- ## Node's system
38
+ Paths are POSIX paths. `@wtf/release-system/posix` joins them, without needing a system.
31
39
 
32
- `nodeSystem` of `@wtf/release-system/node` is Node's: `node:fs/promises`, `node:child_process`,
33
- `process.env`, `process.cwd()`, `os.tmpdir()` and `new Date()`. It is the one module of the
34
- libraries that names Node, and only a caller on Node imports it: a plugin, a build script, a test.
40
+ ## Use Node's system
41
+
42
+ `nodeSystem` from `@wtf/release-system/node` is Node's system. It uses `node:fs/promises`,
43
+ `node:child_process`, `process.env`, `process.cwd()`, `os.tmpdir()` and `new Date()`.
44
+
45
+ It is the only library module that names Node. Only a caller that runs on Node imports it, such as
46
+ a plugin, a build script or a test.
35
47
 
36
48
  ```ts
37
49
  import { nodeSystem } from '@wtf/release-system/node'
@@ -41,10 +53,10 @@ const system = nodeSystem()
41
53
  export const packages = await readWorkspace(system.cwd, { system })
42
54
  ```
43
55
 
44
- ## A system of your own
56
+ ## Write a system of your own
45
57
 
46
58
  A CLI with its own files and processes adapts them to the interface, and passes the result to each
47
- function:
59
+ function. This example logs each process before it runs:
48
60
 
49
61
  ```ts
50
62
  import npm from '@wtf/release-npm'
@@ -72,13 +84,17 @@ export function check(system: System) {
72
84
  }
73
85
  ```
74
86
 
75
- ## The plugins
87
+ ## Change the system that the plugins use
88
+
89
+ Each plugin makes Node's system for the run. It builds the system from the folder and the
90
+ environment that semantic-release gives each step, `cwd` and `env`, which the plugin requires. It
91
+ passes that system to every call into its library, so each process runs in that folder and with
92
+ that environment.
76
93
 
77
- Each plugin makes Node's system of the run, of the folder and the environment semantic-release
78
- gives each step, `cwd` and `env`, which it requires, and passes it to every call of its library: a
79
- process of it runs there, and of that environment. Its option `system`, or one at the root of the
80
- config, replaces members of it, merged by `systemOf` of `@wtf/release-system/node`, its `fs` member
81
- by member:
94
+ To replace members of that system, set the plugin's `system` option, or a `system` option at the
95
+ root of the config. `systemOf` from `@wtf/release-system/node` merges it over Node's system. It
96
+ merges `fs` member by member. This example stops every process of the release from asking for a
97
+ password:
82
98
 
83
99
  ```js train=trains
84
100
  // release.config.mjs
@@ -110,13 +126,13 @@ export default {
110
126
  }
111
127
  ```
112
128
 
113
- semantic-release copies the config for each plugin. It keeps the functions of an object, so a
114
- system in a `release.config.mjs` reaches each plugin. A config written in JSON has no system: the
115
- plugins then run on Node's system.
129
+ semantic-release copies the config for each plugin. The copy keeps the functions of an object, so
130
+ a system in a `release.config.mjs` reaches each plugin. A config written in JSON cannot hold a
131
+ system, so the plugins then run on Node's system.
116
132
 
117
- ## In tests
133
+ ## Use a system in tests
118
134
 
119
- A system of files in memory and of scripted processes runs the libraries with no disk and no git:
135
+ A system with files in memory and scripted processes runs the libraries with no disk and no git:
120
136
 
121
137
  ```ts
122
138
  import type { System } from '@wtf/release-system/system'
@@ -1,52 +1,363 @@
1
1
  # Troubleshooting
2
2
 
3
- ## The errors
4
-
5
- Each error of these packages is a `ReleaseError` of `@wtf/release-system/errors`, of the class of
6
- its package, `TrainsError` of `@wtf/release-trains/errors` or `ReplaceError` of
7
- `@wtf/release-replace/errors`, which semantic-release prints as it prints its own errors: the code,
8
- the message, and the details, which say how to fix it. A step that finds more than one fault
9
- reports all of them. git fails with `EGIT`, a `ReleaseError` itself; a validator of options of
10
- `@wtf/release-system` with `EOPTIONS`, or the code its check gives, of the class of the package
11
- that asks.
12
-
13
- | Code | Package | What is wrong | The fix |
14
- | ------------------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15
- | `ETRAINNOTSELECTED` | `release-trains` | No train is chosen for the run. | Set `RELEASE_TRAIN` of the job, or `train` of the root of the config. |
16
- | `ETRAINUNKNOWN` | `release-trains` | The chosen train is not declared. | Choose a declared train, or declare it. |
17
- | `ETRAINNAME` | `release-trains` | The name of a train cannot be part of a tag. | Use letters, digits, `.`, `_` and `-`. |
18
- | `ETRAINPATHS` | `release-trains` | A train declares no paths. | Give it `paths`. |
19
- | `ETRAINOVERLAP` | `release-trains` | The paths of two trains hold the same file, or the folder of a package. | Narrow the paths, or move a file that both use to `shared`. |
20
- | `ETAGFORMAT` | `release-trains` | A tag format does not contain `${version}` exactly once, or two trains share one, or the run tags with another format. | Give `--tag-format "<train>-v${version}"`, or `tagFormat` of the config. |
21
- | `ECHANGELOG` | `release-trains` | The changelog of a train has no place, or is a changelog of a package or of another train; or, of `file: false`, there is none. | Give the train a `changelog` of its own, or `false`; of `file: false`, give the plugin `trainChangelog`. |
22
- | `ETRAINDEPENDSON` | `release-trains` | A `dependsOn` names no train, its own train, or a train that depends back on it. | Name other declared trains, and drop a name that makes a cycle. See [Dependency rules](dependency-rules.md). |
23
- | `EDEPENDENCYUNSATISFIED` | `release-trains` | A package requires a version that no release of its train has. | Release that train first, or require a released version. |
24
- | `EDEPENDENCYNOTRAIN` | `release-trains` | A package depends, by a range that reaches the registry, on a package of no train. | Hold the folder of that package in the `paths` of a train, or drop the dependency. |
25
- | `EDEPENDENCYNORELEASE` | `release-trains` | A package depends, by a range that reaches the registry, on a package of a train that has no release. | Release that train first. |
26
- | `EDEPENDENCYUNRELEASED` | `release-trains` | A dependency train has unreleased commits (`fail`). | Release that train first. |
27
- | `EECOSYSTEM` | `release-trains` | An ecosystem of `ecosystems` cannot be loaded, is no ecosystem, or has the name of another. | Install it in the repo, or beside a global semantic-release, or name a file of it that is there; name each once. |
28
- | `EGIT` | `release-system` | git failed, as in a shallow clone. | Clone with all the history and the tags. |
29
- | `EWORKSPACE` | `release-npm` | A `package.json` of the workspace is not valid JSON. | Fix it, or leave its folder out of the workspace. |
30
- | `EGENERATED` | `release-trains` | A generated folder to list is not there. | List it after the build wrote it. |
31
- | `EOPTIONS` | `semantic-release-trains` | A run has no `trains` or no `ecosystems`, an option is not valid, as a `wrap` of no plugin, or an entry of both `wrap` and `generated`. | See [Configuring trains](configuring-trains.md). |
32
- | `EPLUGINLOAD` | `semantic-release-trains` | The plugin an entry of `wrap` wraps cannot be loaded. | Install it in the repo, or beside a global semantic-release, or name a file of it that is there, by its path or its `file:` URL. |
33
- | `ETAGNOTRELEASED` | `semantic-release-trains` | The tag of a run of `semantic-release-trains-tag` is on no branch of the config, or on none of the channel it was released on. | Push the branch with the tag, or fix semantic-release's note of the tag, `refs/notes/semantic-release-<tag>`. |
34
- | `EINFORUN` | `semantic-release-trains` | The dry run of a train, which `semantic-release-trains-info` decides its release by, failed. | Its log is above: run `RELEASE_TRAIN=<train> npx semantic-release --dry-run` to see it alone. |
35
- | `EINFOVARIABLE` | `semantic-release-trains` | Two trains make the same variables of `semantic-release-trains-info`, as `a-b` and `a_b`. | Rename one of them, so their names differ in a letter or a digit. |
36
- | `EPUBLISHER` | `release-npm` | The publisher cannot be loaded, or is not a publisher. | See [Publishing](publishing.md#publishers). |
37
- | `EPUBLISHCHECK` | `release-npm` | A package would not publish as it should. | Fix each fault in the list. Nothing was published. |
38
- | `EPUBLISHBEHIND` | `release-npm` | A release is below the version its dist-tag points at on the registry. | Release forward. Nothing was published. Of a package npm pointed `latest` at on its first publish, on another channel, point it by hand; of one that joined at a higher version, name it in `aside`. |
39
- | `EPUBLISH` | `release-npm` | A publish, or a question to the registry, failed. | Fix the cause, delete the tag, run again at the release commit: see [Publishing](publishing.md#when-a-publish-fails). |
40
- | `EREPLACE` | `release-replace` | The RegExp of a replacement is none. | Give `from` the source of a RegExp, its backslashes doubled, and `flags` of no `g`. |
41
- | `ETEMPLATE` | `release-replace` | A replacement names a template that is none. | Define it in `templates`, of the root or of the entry, or name one the error lists. |
42
- | `EVALUE` | `release-replace` | The text of a replacement names a value the context has not, or one of no text. | Name a value of text by its whole path, as `${nextRelease.version}`. |
43
- | `EREPLACEFUNCTION` | `release-replace` | The function of a replacement gives no text. | Give each match a string, or a promise of one. |
44
- | `EREPLACEMODULE` | `release-replace` | The module of the function of a replacement cannot be loaded, or its export is no function. | Name a module of the repo by its path, or a package it installs, and its export of a function. |
45
-
46
- Each package exports its codes with what they mean: `SYSTEM_ERRORS` of
47
- `@wtf/release-system/errors`, `TRAINS_ERRORS` of `@wtf/release-trains/errors`, `PLUGIN_ERRORS` of
48
- `@wtf/semantic-release-trains/errors`, `NPM_ERRORS` of `@wtf/release-npm/errors`, and
49
- `REPLACE_ERRORS` of `@wtf/release-replace/errors`:
3
+ Find your problem by what you see, under [Symptoms](#symptoms), or by the code that the run prints,
4
+ under [Error codes](#error-codes). Each entry gives the cause, then the fix.
5
+
6
+ ## Symptoms
7
+
8
+ ### No release, but there are commits
9
+
10
+ Check these causes in turn:
11
+
12
+ - **The commits do not change the train's files.** The run logs how many commits since the last
13
+ release change the train's files. A commit of a file at the root, such as the lockfile, counts
14
+ only for the trains that list the file in `shared`. It also counts only when it changes no
15
+ train's own files. When it changes another train's files too, it counts for that train alone. See
16
+ [Which commits count](configuring-trains.md#which-commits-count).
17
+ - **The commits do not make a release.** The commit analyzer decides, with its preset. With the
18
+ default rules, a `docs:` or `chore:` commit makes no release.
19
+ - **A `!` is not read.** A tool that reads the commits with other parser options can read `feat!:`
20
+ as a minor release, or as no release. Give every breaking commit a `BREAKING CHANGE:` footer. See
21
+ [the caveat](configuring-trains.md#a-preset-and-type).
22
+ - **A shallow clone.** A clone of one commit has no history and none of the trains' tags. Clone all
23
+ of the history: `GIT_DEPTH: 0` on GitLab, `fetch-depth: 0` on GitHub.
24
+
25
+ ### A train releases with no commits of its own
26
+
27
+ **Cause:** A dependency train released a version outside a range that the train's last release
28
+ published with `workspace:*`, `workspace:^` or `workspace:~`. For example, a peer dependency got a
29
+ major release, or a dependency got a patch. The run logs each such release, and the notes list them
30
+ in a `### Dependencies` section.
31
+
32
+ **Fix:** This release is a cascade, and it is on by default. To turn it off, set `cascade: false` at
33
+ the root of the config. See
34
+ [Dependency rules](dependency-rules.md#when-a-dependency-train-releases-outside-a-published-range).
35
+
36
+ ### The version is too high
37
+
38
+ **Cause:** A train's last release is its highest tag on the branch, in the train's tag format. A tag
39
+ in another format, such as a `v1.2.0` from before the trains, is not read.
40
+
41
+ **Fix:** To start a train from a version, tag a commit with that version in the train's tag format.
42
+
43
+ ### The notes list commits of another train
44
+
45
+ **Cause:** A commit that changes the files of two trains is in the notes of both.
46
+
47
+ **Fix:** When the notes must stay apart, split such a change into one commit for each train.
48
+
49
+ ### A squashed merge request releases several trains
50
+
51
+ **Cause:** A squash commit holds all the changes of the merge request. It counts for each train
52
+ whose files it changes. Its message decides the type of release for each of those trains.
53
+
54
+ ### The push is rejected
55
+
56
+ **Cause:** Two runs pushed to the branch at the same time, or the job started from a commit that is
57
+ behind the branch.
58
+
59
+ **Fix:** Run the trains one at a time, and fetch the branch before each run. See
60
+ [Run releases in CI](ci-recipes.md).
61
+
62
+ ## Error codes
63
+
64
+ Every error of these packages is a `ReleaseError` from `@wtf/release-system/errors`, in the error
65
+ class of its package: `TrainsError` from `@wtf/release-trains/errors`, or `ReplaceError` from
66
+ `@wtf/release-replace/errors`. semantic-release prints them as it prints its own errors: the code,
67
+ the message, and the details, which say how to fix it. A step that finds more than one fault reports
68
+ all of them.
69
+
70
+ When git fails, the error is `EGIT`, itself a `ReleaseError`. A validator of options from
71
+ `@wtf/release-system` fails with `EOPTIONS`, or with the code its check gives, in the error class of
72
+ the package that asks.
73
+
74
+ This page lists the codes of the trains, npm and replace packages. The other packages describe their
75
+ own codes:
76
+
77
+ - Cargo: [Publish Cargo crates](publishing-crates.md).
78
+ - Go: [Publish Go modules](publishing-go-modules.md).
79
+ - Maven: [Publish Maven modules](publishing-maven.md).
80
+ - `@wtf/release-validate`: [Validate a config](validating-a-config.md).
81
+ - `EPUBLISHSMOKE` of `@wtf/release-npm`: [Publish npm packages](publishing.md).
82
+
83
+ ### `ETRAINNOTSELECTED`
84
+
85
+ Package: `release-trains`.
86
+
87
+ **Cause:** No train is chosen for the run.
88
+
89
+ **Fix:** Set `RELEASE_TRAIN` in the job, or `train` at the root of the config.
90
+
91
+ ### `ETRAINUNKNOWN`
92
+
93
+ Package: `release-trains`.
94
+
95
+ **Cause:** The chosen train is not declared.
96
+
97
+ **Fix:** Choose a declared train, or declare it.
98
+
99
+ ### `ETRAINNAME`
100
+
101
+ Package: `release-trains`.
102
+
103
+ **Cause:** A train's name cannot be part of a tag.
104
+
105
+ **Fix:** Use only letters, digits, `.`, `_` and `-`.
106
+
107
+ ### `ETRAINPATHS`
108
+
109
+ Package: `release-trains`.
110
+
111
+ **Cause:** A train declares no paths.
112
+
113
+ **Fix:** Give it `paths`.
114
+
115
+ ### `ETRAINOVERLAP`
116
+
117
+ Package: `release-trains`.
118
+
119
+ **Cause:** The paths of two trains hold the same file, or the same package's folder.
120
+
121
+ **Fix:** Narrow the paths, or move a file that both trains use to `shared`.
122
+
123
+ ### `ETAGFORMAT`
124
+
125
+ Package: `release-trains`.
126
+
127
+ **Cause:** One of these:
128
+
129
+ - A tag format does not contain `${version}` exactly once.
130
+ - Two trains share one tag format.
131
+ - The run tags with another format than the train's.
132
+
133
+ **Fix:** Pass `--tag-format "<train>-v${version}"`, or set `tagFormat` in the config.
134
+
135
+ ### `ECHANGELOG`
136
+
137
+ Package: `release-trains`.
138
+
139
+ **Cause:** The train's changelog has no place. The train names no `changelog`, and its first path is
140
+ a glob, so there is no folder for its `CHANGELOG.md`.
141
+
142
+ **Fix:** Give the train a changelog of its own, such as `changelog: 'CHANGELOG-<train>.md'`, or
143
+ `changelog: false` for none.
144
+
145
+ ### `ETRAINDEPENDSON`
146
+
147
+ Package: `release-trains`.
148
+
149
+ **Cause:** A `dependsOn` names no train, its own train, or a train that depends back on it.
150
+
151
+ **Fix:** Name other declared trains, and drop a name that makes a cycle. See
152
+ [Dependency rules](dependency-rules.md).
153
+
154
+ ### `EDEPENDENCYUNSATISFIED`
155
+
156
+ Package: `release-trains`.
157
+
158
+ **Cause:** A package requires a version that no release of its train has.
159
+
160
+ **Fix:** Release that train first, or require a released version.
161
+
162
+ ### `EDEPENDENCYNOTRAIN`
163
+
164
+ Package: `release-trains`.
165
+
166
+ **Cause:** A package depends on a package that is in no train, by a range that reaches the registry.
167
+
168
+ **Fix:** Put that package's folder in the `paths` of a train, or drop the dependency.
169
+
170
+ ### `EDEPENDENCYNORELEASE`
171
+
172
+ Package: `release-trains`.
173
+
174
+ **Cause:** A package depends on a package of a train that has no release, by a range that reaches
175
+ the registry.
176
+
177
+ **Fix:** Release that train first.
178
+
179
+ ### `EDEPENDENCYUNRELEASED`
180
+
181
+ Package: `release-trains`.
182
+
183
+ **Cause:** A dependency train has unreleased commits, and the config sets `dependencies: 'fail'`.
184
+
185
+ **Fix:** Release that train first.
186
+
187
+ ### `EECOSYSTEM`
188
+
189
+ Package: `release-trains`.
190
+
191
+ **Cause:** An ecosystem in `ecosystems` cannot be loaded, is not an ecosystem, or has the same name
192
+ as another.
193
+
194
+ **Fix:** Install it in the repo or beside a global semantic-release, or name a file of it that is
195
+ there. Name each ecosystem once.
196
+
197
+ ### `EGIT`
198
+
199
+ Package: `release-system`.
200
+
201
+ **Cause:** git failed, for example in a shallow clone.
202
+
203
+ **Fix:** Clone all of the history and the tags.
204
+
205
+ ### `EWORKSPACE`
206
+
207
+ Package: `release-npm`.
208
+
209
+ **Cause:** A `package.json` in the workspace is not valid JSON.
210
+
211
+ **Fix:** Fix it, or leave its folder out of the workspace.
212
+
213
+ ### `EGENERATED`
214
+
215
+ Package: `release-trains`.
216
+
217
+ **Cause:** A generated folder to list is not there.
218
+
219
+ **Fix:** List it after the build has written it.
220
+
221
+ ### `EOPTIONS`
222
+
223
+ Package: `semantic-release-trains`.
224
+
225
+ **Cause:** One of these:
226
+
227
+ - A run has no `trains` or no `ecosystems`.
228
+ - An option is not valid, such as a `wrap` of no plugin.
229
+ - An entry has both `wrap` and `generated`.
230
+
231
+ **Fix:** See [Configure trains](configuring-trains.md).
232
+
233
+ ### `EPLUGINLOAD`
234
+
235
+ Package: `semantic-release-trains`.
236
+
237
+ **Cause:** The plugin that a `wrap` entry wraps cannot be loaded.
238
+
239
+ **Fix:** Install it in the repo or beside a global semantic-release, or name a file of it that is
240
+ there, by its path or its `file:` URL.
241
+
242
+ ### `ETAGNOTRELEASED`
243
+
244
+ Package: `semantic-release-trains`.
245
+
246
+ **Cause:** The tag of a `semantic-release-trains-tag` run is on no branch of the config, or on none
247
+ of the channel it was released on.
248
+
249
+ **Fix:** Push the branch with the tag, or fix semantic-release's note on the tag,
250
+ `refs/notes/semantic-release-<tag>`.
251
+
252
+ ### `EINFORUN`
253
+
254
+ Package: `semantic-release-trains`.
255
+
256
+ **Cause:** A train's dry run failed. `semantic-release-trains-info` predicts the train's release
257
+ with that dry run.
258
+
259
+ **Fix:** The dry run's log is above the error. To see it alone, run
260
+ `RELEASE_TRAIN=<train> npx semantic-release --dry-run`.
261
+
262
+ ### `EINFOVARIABLE`
263
+
264
+ Package: `semantic-release-trains`.
265
+
266
+ **Cause:** Two trains make the same variables of `semantic-release-trains-info`, such as `a-b` and
267
+ `a_b`.
268
+
269
+ **Fix:** Rename one of them, so that their names differ in a letter or a digit.
270
+
271
+ ### `EPUBLISHER`
272
+
273
+ Package: `release-npm`.
274
+
275
+ **Cause:** The publisher cannot be loaded, or is not a publisher.
276
+
277
+ **Fix:** See [Publishing](publishing.md#publishers).
278
+
279
+ ### `EPUBLISHCHECK`
280
+
281
+ Package: `release-npm`.
282
+
283
+ **Cause:** A package would not publish as it should. Nothing was published.
284
+
285
+ **Fix:** Fix each fault in the list.
286
+
287
+ ### `EPUBLISHBEHIND`
288
+
289
+ Package: `release-npm`.
290
+
291
+ **Cause:** A release is below the version that its dist-tag points at on the registry. Nothing was
292
+ published.
293
+
294
+ **Fix:** Release forward. Two cases need more:
295
+
296
+ - npm pointed `latest` at a package on its first publish, on another channel: point it by hand.
297
+ - A package joined the train at a higher version: name it in `aside`.
298
+
299
+ ### `EPUBLISH`
300
+
301
+ Package: `release-npm`.
302
+
303
+ **Cause:** A publish, or a question to the registry, failed.
304
+
305
+ **Fix:** Fix the cause, delete the tag, and run again at the release commit. See
306
+ [Publishing](publishing.md#when-a-publish-fails).
307
+
308
+ ### `EREPLACE`
309
+
310
+ Package: `release-replace`.
311
+
312
+ **Cause:** The RegExp of a replacement is not a valid RegExp.
313
+
314
+ **Fix:** Give `from` the source of a RegExp, with its backslashes doubled, and `flags` without `g`.
315
+
316
+ ### `ETEMPLATE`
317
+
318
+ Package: `release-replace`.
319
+
320
+ **Cause:** A replacement names a template that does not exist.
321
+
322
+ **Fix:** Define it in `templates`, at the root or in the entry, or name one that the error lists.
323
+
324
+ ### `EVALUE`
325
+
326
+ Package: `release-replace`.
327
+
328
+ **Cause:** The text of a replacement names a value that the context does not have, or a value that
329
+ is not text.
330
+
331
+ **Fix:** Name a value that is text by its whole path, such as `${nextRelease.version}`.
332
+
333
+ ### `EREPLACEFUNCTION`
334
+
335
+ Package: `release-replace`.
336
+
337
+ **Cause:** The function of a replacement returns no text.
338
+
339
+ **Fix:** Return a string, or a promise of one, for each match.
340
+
341
+ ### `EREPLACEMODULE`
342
+
343
+ Package: `release-replace`.
344
+
345
+ **Cause:** The module of a replacement's function cannot be loaded, or its export is not a function.
346
+
347
+ **Fix:** Name a module of the repo by its path, or a package that the repo installs, and an export
348
+ that is a function.
349
+
350
+ ## Look up an error code in your code
351
+
352
+ Each package exports its codes with what they mean:
353
+
354
+ | Export | Module |
355
+ | ---------------- | ------------------------------------- |
356
+ | `SYSTEM_ERRORS` | `@wtf/release-system/errors` |
357
+ | `TRAINS_ERRORS` | `@wtf/release-trains/errors` |
358
+ | `PLUGIN_ERRORS` | `@wtf/semantic-release-trains/errors` |
359
+ | `NPM_ERRORS` | `@wtf/release-npm/errors` |
360
+ | `REPLACE_ERRORS` | `@wtf/release-replace/errors` |
50
361
 
51
362
  ```ts
52
363
  import { REPLACE_ERRORS } from '@wtf/release-replace/errors'
@@ -64,48 +375,3 @@ export function describe(error: unknown): string {
64
375
  return `${MEANINGS[error.code] ?? error.message} ${error.details}`
65
376
  }
66
377
  ```
67
-
68
- ## No release, but there are commits
69
-
70
- - **The commits do not change the files of the train.** The run logs how many commits since the
71
- last release change the files of the train. A commit of a file at the root, such as the lockfile,
72
- counts only for the trains that list the file in `shared`, and only when it changes the own files
73
- of no train: beside the files of another train, it counts for that train alone. See
74
- [Which commits count](configuring-trains.md#which-commits-count).
75
- - **The commits do not make a release.** The commit analyzer decides, with its preset. A `docs:` or
76
- `chore:` commit makes no release with the default rules.
77
- - **A `!` is not read.** A tool that reads the commits with other parser options can read
78
- `feat!:` as a minor release, or as no release. Give every breaking commit a `BREAKING CHANGE:`
79
- footer. See [the caveat](configuring-trains.md#a-preset-and-type).
80
- - **A shallow clone.** A clone of one commit has no history and no tags of the trains. Clone with
81
- all of the history: `GIT_DEPTH: 0` on GitLab, `fetch-depth: 0` on GitHub.
82
-
83
- ## A release with no commits of its own
84
-
85
- A train releases when a dependency train released a version outside a range that the train's last
86
- release published, by `workspace:*`, `workspace:^` or `workspace:~`: a major of a peer, a patch of a
87
- dependency. The run logs each, and the notes have a section `### Dependencies` of them. Set
88
- `cascade: false` at the root of the config for none. See
89
- [Dependency rules](dependency-rules.md#a-release-of-a-dependency-train-that-a-published-range-does-not-take-a-cascade).
90
-
91
- ## A version that is too high
92
-
93
- The last release of a train is its highest tag that the branch holds, in the tag format of the
94
- train. A tag of another format, such as a `v1.2.0` from before the trains, is not read. To start a
95
- train from a version, tag a commit in the format of the train.
96
-
97
- ## The notes have commits of another train
98
-
99
- A commit that changes the files of two trains is in the notes of both. Split such a change into one
100
- commit for each train when the notes must stay apart.
101
-
102
- ## A squashed merge request
103
-
104
- A squash commit holds all the changes of the merge request, and it counts for each train whose files
105
- it changes. Its message decides the type of release for each of those trains.
106
-
107
- ## The push is rejected
108
-
109
- Two runs pushed to the branch at the same time, or the job started from a commit that is behind the
110
- branch. Run the trains one at a time, and fetch the branch before each run. See
111
- [CI recipes](ci-recipes.md).