@halospv3/hce.shared-config 3.4.6-develop.1 → 3.4.6-develop.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 (289) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/mjs/CaseInsensitiveMap.d.mts +15 -0
  4. package/mjs/CaseInsensitiveMap.d.mts.map +1 -0
  5. package/mjs/CaseInsensitiveMap.mjs +2 -33
  6. package/mjs/CaseInsensitiveMap.mjs.map +1 -1
  7. package/mjs/commitlintConfig.d.mts +15 -0
  8. package/mjs/commitlintConfig.d.mts.map +1 -0
  9. package/mjs/commitlintConfig.mjs +2 -13
  10. package/mjs/commitlintConfig.mjs.map +1 -1
  11. package/mjs/debug.d.mts +9 -0
  12. package/mjs/debug.d.mts.map +1 -0
  13. package/mjs/debug.mjs +2 -9
  14. package/mjs/debug.mjs.map +1 -1
  15. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts +42 -0
  16. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts.map +1 -0
  17. package/mjs/dotnet/GithubNugetRegistryInfo.mjs +2 -43
  18. package/mjs/dotnet/GithubNugetRegistryInfo.mjs.map +1 -1
  19. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts +65 -0
  20. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts.map +1 -0
  21. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs +2 -99
  22. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs.map +1 -1
  23. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.mts +1 -0
  24. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs +2 -44
  25. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs.map +1 -1
  26. package/mjs/dotnet/MSBuildProject.d.mts +267 -0
  27. package/mjs/dotnet/MSBuildProject.d.mts.map +1 -0
  28. package/mjs/dotnet/MSBuildProject.mjs +3 -490
  29. package/mjs/dotnet/MSBuildProject.mjs.map +1 -1
  30. package/mjs/dotnet/MSBuildProjectProperties.d.mts +172 -0
  31. package/mjs/dotnet/MSBuildProjectProperties.d.mts.map +1 -0
  32. package/mjs/dotnet/MSBuildProjectProperties.mjs +2 -260
  33. package/mjs/dotnet/MSBuildProjectProperties.mjs.map +1 -1
  34. package/mjs/dotnet/NugetProjectProperties.d.mts +381 -0
  35. package/mjs/dotnet/NugetProjectProperties.d.mts.map +1 -0
  36. package/mjs/dotnet/NugetProjectProperties.mjs +2 -577
  37. package/mjs/dotnet/NugetProjectProperties.mjs.map +1 -1
  38. package/mjs/dotnet/NugetRegistryInfo.d.mts +387 -0
  39. package/mjs/dotnet/NugetRegistryInfo.d.mts.map +1 -0
  40. package/mjs/dotnet/NugetRegistryInfo.mjs +4 -752
  41. package/mjs/dotnet/NugetRegistryInfo.mjs.map +1 -1
  42. package/mjs/dotnet/helpers.d.mts +66 -0
  43. package/mjs/dotnet/helpers.d.mts.map +1 -0
  44. package/mjs/dotnet/helpers.mjs +2 -354
  45. package/mjs/dotnet/helpers.mjs.map +1 -1
  46. package/mjs/dotnet/index.d.mts +8 -0
  47. package/mjs/dotnet/index.mjs +1 -9
  48. package/mjs/dotnet.d.mts +8 -0
  49. package/mjs/dotnet.mjs +1 -9
  50. package/mjs/eslintConfig.d.mts +7 -0
  51. package/mjs/eslintConfig.d.mts.map +1 -0
  52. package/mjs/eslintConfig.mjs +2 -64
  53. package/mjs/eslintConfig.mjs.map +1 -1
  54. package/mjs/index.d.mts +2 -0
  55. package/mjs/index.mjs +1 -4
  56. package/mjs/insertPlugins.d.mts +22 -0
  57. package/mjs/insertPlugins.d.mts.map +1 -0
  58. package/mjs/insertPlugins.mjs +2 -73
  59. package/mjs/insertPlugins.mjs.map +1 -1
  60. package/mjs/semantic-release__commit-analyzer.d.mts +44 -0
  61. package/mjs/semantic-release__commit-analyzer.d.mts.map +1 -0
  62. package/mjs/semantic-release__exec.d.mts +17 -0
  63. package/mjs/semantic-release__exec.d.mts.map +1 -0
  64. package/mjs/semantic-release__git.d.mts +83 -0
  65. package/mjs/semantic-release__git.d.mts.map +1 -0
  66. package/mjs/semantic-release__github.d.mts +141 -0
  67. package/mjs/semantic-release__github.d.mts.map +1 -0
  68. package/mjs/semanticReleaseConfig.d.mts +94 -0
  69. package/mjs/semanticReleaseConfig.d.mts.map +1 -0
  70. package/mjs/semanticReleaseConfig.mjs +2 -63
  71. package/mjs/semanticReleaseConfig.mjs.map +1 -1
  72. package/mjs/semanticReleaseConfigDotnet.d.mts +96 -0
  73. package/mjs/semanticReleaseConfigDotnet.d.mts.map +1 -0
  74. package/mjs/semanticReleaseConfigDotnet.mjs +7 -274
  75. package/mjs/semanticReleaseConfigDotnet.mjs.map +1 -1
  76. package/mjs/setupGitPluginSpec.d.mts +18 -0
  77. package/mjs/setupGitPluginSpec.d.mts.map +1 -0
  78. package/mjs/setupGitPluginSpec.default.d.mts +13 -0
  79. package/mjs/setupGitPluginSpec.default.d.mts.map +1 -0
  80. package/mjs/setupGitPluginSpec.default.mjs +4 -0
  81. package/mjs/setupGitPluginSpec.default.mjs.map +1 -0
  82. package/mjs/setupGitPluginSpec.mjs +2 -144
  83. package/mjs/setupGitPluginSpec.mjs.map +1 -1
  84. package/mjs/utils/Exact.d.mts +18 -0
  85. package/mjs/utils/Exact.d.mts.map +1 -0
  86. package/mjs/utils/Exact.mjs +2 -75
  87. package/mjs/utils/Exact.mjs.map +1 -1
  88. package/mjs/utils/GracefulRecursion.d.mts +14 -0
  89. package/mjs/utils/GracefulRecursion.d.mts.map +1 -0
  90. package/mjs/utils/env.d.mts +28 -0
  91. package/mjs/utils/env.d.mts.map +1 -0
  92. package/mjs/utils/env.mjs +2 -47
  93. package/mjs/utils/env.mjs.map +1 -1
  94. package/mjs/utils/execAsync.d.mts +40 -0
  95. package/mjs/utils/execAsync.d.mts.map +1 -0
  96. package/mjs/utils/execAsync.mjs +10 -59
  97. package/mjs/utils/execAsync.mjs.map +1 -1
  98. package/mjs/utils/isError.d.mts +14 -0
  99. package/mjs/utils/isError.d.mts.map +1 -0
  100. package/mjs/utils/isError.mjs +2 -19
  101. package/mjs/utils/isError.mjs.map +1 -1
  102. package/mjs/utils/miscTypes.d.mts +16 -0
  103. package/mjs/utils/miscTypes.d.mts.map +1 -0
  104. package/mjs/utils/miscTypes.mjs +2 -10
  105. package/mjs/utils/miscTypes.mjs.map +1 -1
  106. package/mjs/utils/reflection/FunctionLike.d.mts +17 -0
  107. package/mjs/utils/reflection/FunctionLike.d.mts.map +1 -0
  108. package/mjs/utils/reflection/GetterDescriptor.d.mts +11 -0
  109. package/mjs/utils/reflection/GetterDescriptor.d.mts.map +1 -0
  110. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts +26 -0
  111. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts.map +1 -0
  112. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts +17 -0
  113. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts.map +1 -0
  114. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts +18 -0
  115. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts.map +1 -0
  116. package/mjs/utils/reflection/OwnKeyOf.d.mts +15 -0
  117. package/mjs/utils/reflection/OwnKeyOf.d.mts.map +1 -0
  118. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts +15 -0
  119. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts.map +1 -0
  120. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts +13 -0
  121. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts.map +1 -0
  122. package/mjs/utils/reflection/filterForGetters.d.mts +11 -0
  123. package/mjs/utils/reflection/filterForGetters.d.mts.map +1 -0
  124. package/mjs/utils/reflection/filterForGetters.mjs +2 -27
  125. package/mjs/utils/reflection/filterForGetters.mjs.map +1 -1
  126. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts +26 -0
  127. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts.map +1 -0
  128. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs +2 -34
  129. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs.map +1 -1
  130. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts +51 -0
  131. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts.map +1 -0
  132. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs +2 -72
  133. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs.map +1 -1
  134. package/mjs/utils/reflection/getPrototypeChainOf.d.mts +19 -0
  135. package/mjs/utils/reflection/getPrototypeChainOf.d.mts.map +1 -0
  136. package/mjs/utils/reflection/getPrototypeChainOf.mjs +2 -55
  137. package/mjs/utils/reflection/getPrototypeChainOf.mjs.map +1 -1
  138. package/mjs/utils/reflection/getPrototypeOf.d.mts +12 -0
  139. package/mjs/utils/reflection/getPrototypeOf.d.mts.map +1 -0
  140. package/mjs/utils/reflection/getPrototypeOf.mjs +2 -10
  141. package/mjs/utils/reflection/getPrototypeOf.mjs.map +1 -1
  142. package/mjs/utils/reflection/inheritance.d.mts +173 -0
  143. package/mjs/utils/reflection/inheritance.d.mts.map +1 -0
  144. package/mjs/utils/reflection/inheritance.mjs +2 -148
  145. package/mjs/utils/reflection/inheritance.mjs.map +1 -1
  146. package/mjs/utils/reflection/isConstructor.d.mts +20 -0
  147. package/mjs/utils/reflection/isConstructor.d.mts.map +1 -0
  148. package/mjs/utils/reflection/isConstructor.mjs +2 -63
  149. package/mjs/utils/reflection/isConstructor.mjs.map +1 -1
  150. package/mjs/utils/reflection/isGetterDescriptor.d.mts +13 -0
  151. package/mjs/utils/reflection/isGetterDescriptor.d.mts.map +1 -0
  152. package/mjs/utils/reflection/isGetterDescriptor.mjs +2 -12
  153. package/mjs/utils/reflection/isGetterDescriptor.mjs.map +1 -1
  154. package/mjs/utils/reflection/listOwnGetters.d.mts +29 -0
  155. package/mjs/utils/reflection/listOwnGetters.d.mts.map +1 -0
  156. package/mjs/utils/reflection/listOwnGetters.mjs +2 -39
  157. package/mjs/utils/reflection/listOwnGetters.mjs.map +1 -1
  158. package/mjs/utils/reflection.d.mts +18 -0
  159. package/mjs/utils/reflection.mjs +1 -10
  160. package/package.json +99 -62
  161. package/src/debug.ts +1 -0
  162. package/src/dotnet/GithubNugetRegistryInfo.ts +4 -4
  163. package/src/dotnet/GitlabNugetRegistryInfo.ts +5 -5
  164. package/src/dotnet/IsNextVersionAlreadyPublished.cli.ts +2 -1
  165. package/src/dotnet/MSBuildProject.ts +7 -6
  166. package/src/dotnet/MSBuildProjectProperties.ts +4 -3
  167. package/src/dotnet/NugetProjectProperties.ts +4 -4
  168. package/src/dotnet/NugetRegistryInfo.ts +9 -8
  169. package/src/dotnet/helpers.ts +5 -4
  170. package/src/dotnet/index.ts +8 -8
  171. package/src/dotnet.ts +1 -1
  172. package/src/index.ts +1 -1
  173. package/src/semanticReleaseConfig.ts +5 -1
  174. package/src/semanticReleaseConfigDotnet.ts +10 -8
  175. package/src/setupGitPluginSpec.default.ts +22 -0
  176. package/src/setupGitPluginSpec.ts +4 -21
  177. package/src/tsconfig.json +1 -2
  178. package/src/utils/execAsync.ts +1 -1
  179. package/src/utils/reflection/InstancePropertyDescriptorMap.d.ts +1 -1
  180. package/src/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts +2 -2
  181. package/src/utils/reflection/OwnGetterDescriptorMap.d.ts +2 -2
  182. package/src/utils/reflection/filterForGetters.ts +5 -5
  183. package/src/utils/reflection/getOwnPropertyDescriptors.ts +4 -4
  184. package/src/utils/reflection/getOwnPropertyDescriptorsRecursively.ts +12 -12
  185. package/src/utils/reflection/getPrototypeChainOf.ts +5 -5
  186. package/src/utils/reflection/getPrototypeOf.ts +1 -1
  187. package/src/utils/reflection/inheritance.ts +5 -5
  188. package/src/utils/reflection/isGetterDescriptor.ts +1 -1
  189. package/src/utils/reflection/listOwnGetters.ts +6 -6
  190. package/src/utils/reflection.ts +17 -17
  191. package/tsconfig.base.json +2 -2
  192. package/mjs/CaseInsensitiveMap.d.ts +0 -12
  193. package/mjs/CaseInsensitiveMap.d.ts.map +0 -1
  194. package/mjs/commitlintConfig.d.ts +0 -12
  195. package/mjs/commitlintConfig.d.ts.map +0 -1
  196. package/mjs/debug.d.ts +0 -6
  197. package/mjs/debug.d.ts.map +0 -1
  198. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts +0 -38
  199. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts.map +0 -1
  200. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts +0 -61
  201. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts.map +0 -1
  202. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts +0 -2
  203. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts.map +0 -1
  204. package/mjs/dotnet/MSBuildProject.d.ts +0 -264
  205. package/mjs/dotnet/MSBuildProject.d.ts.map +0 -1
  206. package/mjs/dotnet/MSBuildProjectProperties.d.ts +0 -170
  207. package/mjs/dotnet/MSBuildProjectProperties.d.ts.map +0 -1
  208. package/mjs/dotnet/NugetProjectProperties.d.ts +0 -379
  209. package/mjs/dotnet/NugetProjectProperties.d.ts.map +0 -1
  210. package/mjs/dotnet/NugetRegistryInfo.d.ts +0 -384
  211. package/mjs/dotnet/NugetRegistryInfo.d.ts.map +0 -1
  212. package/mjs/dotnet/helpers.d.ts +0 -63
  213. package/mjs/dotnet/helpers.d.ts.map +0 -1
  214. package/mjs/dotnet/index.d.ts +0 -9
  215. package/mjs/dotnet/index.d.ts.map +0 -1
  216. package/mjs/dotnet/index.mjs.map +0 -1
  217. package/mjs/dotnet.d.ts +0 -2
  218. package/mjs/dotnet.d.ts.map +0 -1
  219. package/mjs/dotnet.mjs.map +0 -1
  220. package/mjs/eslintConfig.d.ts +0 -4
  221. package/mjs/eslintConfig.d.ts.map +0 -1
  222. package/mjs/index.d.ts +0 -3
  223. package/mjs/index.d.ts.map +0 -1
  224. package/mjs/index.mjs.map +0 -1
  225. package/mjs/insertPlugins.d.ts +0 -18
  226. package/mjs/insertPlugins.d.ts.map +0 -1
  227. package/mjs/semantic-release__commit-analyzer.d.mjs +0 -2
  228. package/mjs/semantic-release__commit-analyzer.d.mjs.map +0 -1
  229. package/mjs/semantic-release__exec.d.mjs +0 -2
  230. package/mjs/semantic-release__exec.d.mjs.map +0 -1
  231. package/mjs/semantic-release__git.d.mjs +0 -2
  232. package/mjs/semantic-release__git.d.mjs.map +0 -1
  233. package/mjs/semantic-release__github.d.mjs +0 -2
  234. package/mjs/semantic-release__github.d.mjs.map +0 -1
  235. package/mjs/semanticReleaseConfig.d.ts +0 -97
  236. package/mjs/semanticReleaseConfig.d.ts.map +0 -1
  237. package/mjs/semanticReleaseConfigDotnet.d.ts +0 -112
  238. package/mjs/semanticReleaseConfigDotnet.d.ts.map +0 -1
  239. package/mjs/setupGitPluginSpec.d.ts +0 -22
  240. package/mjs/setupGitPluginSpec.d.ts.map +0 -1
  241. package/mjs/utils/Exact.d.ts +0 -20
  242. package/mjs/utils/Exact.d.ts.map +0 -1
  243. package/mjs/utils/GracefulRecursion.d.mjs +0 -2
  244. package/mjs/utils/GracefulRecursion.d.mjs.map +0 -1
  245. package/mjs/utils/env.d.ts +0 -24
  246. package/mjs/utils/env.d.ts.map +0 -1
  247. package/mjs/utils/execAsync.d.ts +0 -37
  248. package/mjs/utils/execAsync.d.ts.map +0 -1
  249. package/mjs/utils/isError.d.ts +0 -11
  250. package/mjs/utils/isError.d.ts.map +0 -1
  251. package/mjs/utils/miscTypes.d.ts +0 -12
  252. package/mjs/utils/miscTypes.d.ts.map +0 -1
  253. package/mjs/utils/reflection/FunctionLike.d.mjs +0 -2
  254. package/mjs/utils/reflection/FunctionLike.d.mjs.map +0 -1
  255. package/mjs/utils/reflection/GetterDescriptor.d.mjs +0 -2
  256. package/mjs/utils/reflection/GetterDescriptor.d.mjs.map +0 -1
  257. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs +0 -2
  258. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs.map +0 -1
  259. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs +0 -2
  260. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs.map +0 -1
  261. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs +0 -2
  262. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs.map +0 -1
  263. package/mjs/utils/reflection/OwnKeyOf.d.mjs +0 -2
  264. package/mjs/utils/reflection/OwnKeyOf.d.mjs.map +0 -1
  265. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs +0 -2
  266. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs.map +0 -1
  267. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs +0 -2
  268. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs.map +0 -1
  269. package/mjs/utils/reflection/filterForGetters.d.ts +0 -7
  270. package/mjs/utils/reflection/filterForGetters.d.ts.map +0 -1
  271. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts +0 -22
  272. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts.map +0 -1
  273. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts +0 -56
  274. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts.map +0 -1
  275. package/mjs/utils/reflection/getPrototypeChainOf.d.ts +0 -16
  276. package/mjs/utils/reflection/getPrototypeChainOf.d.ts.map +0 -1
  277. package/mjs/utils/reflection/getPrototypeOf.d.ts +0 -8
  278. package/mjs/utils/reflection/getPrototypeOf.d.ts.map +0 -1
  279. package/mjs/utils/reflection/inheritance.d.ts +0 -180
  280. package/mjs/utils/reflection/inheritance.d.ts.map +0 -1
  281. package/mjs/utils/reflection/isConstructor.d.ts +0 -17
  282. package/mjs/utils/reflection/isConstructor.d.ts.map +0 -1
  283. package/mjs/utils/reflection/isGetterDescriptor.d.ts +0 -9
  284. package/mjs/utils/reflection/isGetterDescriptor.d.ts.map +0 -1
  285. package/mjs/utils/reflection/listOwnGetters.d.ts +0 -26
  286. package/mjs/utils/reflection/listOwnGetters.d.ts.map +0 -1
  287. package/mjs/utils/reflection.d.ts +0 -18
  288. package/mjs/utils/reflection.d.ts.map +0 -1
  289. package/mjs/utils/reflection.mjs.map +0 -1
@@ -1,10 +1 @@
1
- export { filterForGetters } from './reflection/filterForGetters.mjs';
2
- export { getOwnPropertyDescriptors } from './reflection/getOwnPropertyDescriptors.mjs';
3
- export { getOwnPropertyDescriptorsRecursively } from './reflection/getOwnPropertyDescriptorsRecursively.mjs';
4
- export { getPrototypesChainOf } from './reflection/getPrototypeChainOf.mjs';
5
- export { getPrototypeOf } from './reflection/getPrototypeOf.mjs';
6
- export { baseClassProto } from './reflection/inheritance.mjs';
7
- export { isConstructor } from './reflection/isConstructor.mjs';
8
- export { isGetterDescriptor } from './reflection/isGetterDescriptor.mjs';
9
- export { listOwnGetters } from './reflection/listOwnGetters.mjs';
10
- //# sourceMappingURL=reflection.mjs.map
1
+ import{filterForGetters as e}from"./reflection/filterForGetters.mjs";import{getOwnPropertyDescriptors as t}from"./reflection/getOwnPropertyDescriptors.mjs";import{getPrototypeOf as n}from"./reflection/getPrototypeOf.mjs";import{baseClassProto as r}from"./reflection/inheritance.mjs";import{isConstructor as i}from"./reflection/isConstructor.mjs";import{getPrototypesChainOf as a}from"./reflection/getPrototypeChainOf.mjs";import{getOwnPropertyDescriptorsRecursively as o}from"./reflection/getOwnPropertyDescriptorsRecursively.mjs";import{isGetterDescriptor as s}from"./reflection/isGetterDescriptor.mjs";import{listOwnGetters as c}from"./reflection/listOwnGetters.mjs";export{r as baseClassProto,e as filterForGetters,t as getOwnPropertyDescriptors,o as getOwnPropertyDescriptorsRecursively,n as getPrototypeOf,a as getPrototypesChainOf,i as isConstructor,s as isGetterDescriptor,c as listOwnGetters};
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@halospv3/hce.shared-config",
3
- "version": "3.4.6-develop.1",
4
- "description": "Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.",
3
+ "version": "3.4.6-develop.2",
4
+ "description": "Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are also provided.",
5
5
  "keywords": [
6
- "halo",
7
- "halo-ce",
8
6
  "semantic-release",
9
7
  "semantic-release-config",
10
8
  "commitlint",
11
- "commitlint-config"
9
+ "commitlint-config",
10
+ "eslint-config"
12
11
  ],
13
12
  "type": "module",
14
13
  "homepage": "https://github.com/halospv3/hce.shared#readme",
@@ -32,23 +31,22 @@
32
31
  "src/**/*",
33
32
  "tsconfig*.json"
34
33
  ],
35
- "main": "./mjs/index.mjs",
36
34
  "infra": "polyrepo",
37
35
  "repository": {
38
36
  "type": "git",
39
37
  "url": "git+https://github.com/HaloSPV3/HCE.Shared.git"
40
38
  },
41
39
  "scripts": {
42
- "build": "packemon build --addExports --addFiles --declaration --loadConfigs",
40
+ "build": "tsdown",
43
41
  "build:clean": "npm run clean-build",
44
42
  "check": "npm run type && npm run test && npm run lint",
45
- "clean": "packemon clean",
43
+ "clean": "tsdown --clean",
46
44
  "clean-build": "npm run clean && npm run build",
47
45
  "coverage": "npm run test -- --experimental-test-coverage",
48
46
  "lint": "eslint --cache --fix .",
49
47
  "lint:check": "eslint --cache .",
50
48
  "eslint-inspector": "eslint --inspect-config",
51
- "prepack": "packemon pack --addExports --addFiles --declaration --loadConfigs",
49
+ "prepack": "npm run clean && npm run build",
52
50
  "pack": "echo 'You should use `npm pack`' && exit 1",
53
51
  "postinstall": "patch-package && husky",
54
52
  "presemantic-release": "npm pack",
@@ -58,15 +56,15 @@
58
56
  "test:cacheSampleProjects": "echo \"START: Cache Sample Projects\" && tsx ./tests/dotnet/MSBuildProject.projects.ts && echo \"DONE: Cache Sample Projects\"",
59
57
  "test:watch": "npm run test -- --watch",
60
58
  "type": "tsc --build",
61
- "validate": "packemon validate",
62
- "watch": "packemon watch --loadConfigs"
59
+ "validate": "tsdown --no-write",
60
+ "watch": "tsdown --watch"
63
61
  },
64
62
  "dependencies": {
65
- "@commitlint/cli": "^20.4.2",
66
- "@commitlint/config-conventional": "^20.4.2",
67
- "@dotenvx/dotenvx": "^1.47.6",
63
+ "@commitlint/cli": "^20.5.0",
64
+ "@commitlint/config-conventional": "^20.5.0",
65
+ "@dotenvx/dotenvx": "^1.57.2",
68
66
  "@eslint/js": "^10.0.1",
69
- "@eslint/json": "^1.0.1",
67
+ "@eslint/json": "^1.2.0",
70
68
  "@semantic-release/changelog": "^6.0.3",
71
69
  "@semantic-release/commit-analyzer": "^13.0.1",
72
70
  "@semantic-release/exec": "^7.1.0",
@@ -85,11 +83,11 @@
85
83
  "globals": "^17.4.0",
86
84
  "husky": "^9.1.7",
87
85
  "patch-package": "^8.0.1",
88
- "sanitize-filename": "^1.6.3",
86
+ "sanitize-filename": "^1.6.4",
89
87
  "semantic-release": "^25.0.0",
90
88
  "semantic-release-export-data": "^1.1.0",
91
89
  "ts-essentials": "^10.1.1",
92
- "typescript-eslint": "^8.56.1"
90
+ "typescript-eslint": "^8.57.2"
93
91
  },
94
92
  "peerDependencies": {
95
93
  "@bintoss/semantic-release-npm-multiple": "^3.0.0 || >= 3.0.0",
@@ -108,26 +106,27 @@
108
106
  }
109
107
  },
110
108
  "devDependencies": {
111
- "@babel/cli": "^7.28.0",
112
- "@babel/core": "^7.28.0",
109
+ "@arethetypeswrong/core": "^0.18.2",
113
110
  "@bintoss/semantic-release-npm-multiple": "^3.17.1",
114
- "@commitlint/types": "^20.0.0",
111
+ "@commitlint/types": "^20.5.0",
115
112
  "@eslint/config-inspector": "^1.4.2",
116
113
  "@eslint/markdown": "^7.5.1",
117
114
  "@sebbo2002/semantic-release-jsr": "^3.2.0",
118
115
  "@semantic-release/gitlab": "^13.3.2",
119
116
  "@tsconfig/node24": "^24.0.3",
120
- "@types/debug": "^4.1.12",
117
+ "@types/debug": "^4.1.13",
121
118
  "@types/tmp": "^0.2.6",
122
119
  "conventional-changelog-preset-loader": "^5.0.0",
123
- "eslint": "^10.0.3",
124
- "eslint-plugin-jsdoc": "^62.7.1",
120
+ "eslint": "^10.1.0",
121
+ "eslint-plugin-jsdoc": "^62.8.1",
125
122
  "eslint-plugin-unicorn": "^63.0.0",
126
- "packemon": "^4.1.2",
123
+ "publint": "^0.3.18",
127
124
  "tmp": "^0.2.3",
125
+ "tsdown": "^0.21.5",
128
126
  "tslib": "^2.8.1",
129
127
  "tsx": "^4.20.3",
130
- "typescript": "^5.8.3"
128
+ "typescript": "^5.8.3",
129
+ "unplugin-unused": "^0.5.7"
131
130
  },
132
131
  "//engines.node": "See file://./.nvmrc, https://github.com/nvm-sh/nvm#nvmrc. Supporting the lowest version possible is a PITA. Just support LTS. ",
133
132
  "engines": {
@@ -136,43 +135,81 @@
136
135
  },
137
136
  "engineStrict": true,
138
137
  "exports": {
139
- ".": {
140
- "types": "./mjs/index.d.ts",
141
- "import": "./mjs/index.mjs"
142
- },
143
- "./package.json": "./package.json",
144
- "./*": {
145
- "types": "./mjs/*.d.ts",
146
- "import": "./mjs/*.mjs"
147
- },
148
- "./*.d": {
149
- "types": "./src/*.d.ts",
150
- "import": "./mjs/*.mjs"
151
- },
152
- "./utils/reflection/*.d": {
153
- "types": "./src/utils/reflection/*.d.ts",
154
- "import": "./mjs/*.mjs"
155
- },
156
- "./utils/*.d": {
157
- "types": "./src/utils/*.d.ts",
158
- "import": "./mjs/*.mjs"
159
- },
160
- "./semantic_release__*": {
161
- "types": "./src/semantic_release__*.d.ts"
162
- }
138
+ ".": "./mjs/index.mjs",
139
+ "./CaseInsensitiveMap": "./mjs/CaseInsensitiveMap.mjs",
140
+ "./commitlintConfig": "./mjs/commitlintConfig.mjs",
141
+ "./debug": "./mjs/debug.mjs",
142
+ "./dotnet": "./mjs/dotnet/index.mjs",
143
+ "./dotnet/GithubNugetRegistryInfo": "./mjs/dotnet/GithubNugetRegistryInfo.mjs",
144
+ "./dotnet/GitlabNugetRegistryInfo": "./mjs/dotnet/GitlabNugetRegistryInfo.mjs",
145
+ "./dotnet/helpers": "./mjs/dotnet/helpers.mjs",
146
+ "./dotnet/IsNextVersionAlreadyPublished.cli": "./mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs",
147
+ "./dotnet/MSBuildProject": "./mjs/dotnet/MSBuildProject.mjs",
148
+ "./dotnet/MSBuildProjectProperties": "./mjs/dotnet/MSBuildProjectProperties.mjs",
149
+ "./dotnet/NugetProjectProperties": "./mjs/dotnet/NugetProjectProperties.mjs",
150
+ "./dotnet/NugetRegistryInfo": "./mjs/dotnet/NugetRegistryInfo.mjs",
151
+ "./eslintConfig": "./mjs/eslintConfig.mjs",
152
+ "./insertPlugins": "./mjs/insertPlugins.mjs",
153
+ "./semanticReleaseConfig": "./mjs/semanticReleaseConfig.mjs",
154
+ "./semanticReleaseConfigDotnet": "./mjs/semanticReleaseConfigDotnet.mjs",
155
+ "./setupGitPluginSpec": "./mjs/setupGitPluginSpec.mjs",
156
+ "./setupGitPluginSpec.default": "./mjs/setupGitPluginSpec.default.mjs",
157
+ "./utils/env": "./mjs/utils/env.mjs",
158
+ "./utils/Exact": "./mjs/utils/Exact.mjs",
159
+ "./utils/execAsync": "./mjs/utils/execAsync.mjs",
160
+ "./utils/isError": "./mjs/utils/isError.mjs",
161
+ "./utils/miscTypes": "./mjs/utils/miscTypes.mjs",
162
+ "./utils/reflection": "./mjs/utils/reflection.mjs",
163
+ "./utils/reflection/filterForGetters": "./mjs/utils/reflection/filterForGetters.mjs",
164
+ "./utils/reflection/getOwnPropertyDescriptors": "./mjs/utils/reflection/getOwnPropertyDescriptors.mjs",
165
+ "./utils/reflection/getOwnPropertyDescriptorsRecursively": "./mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs",
166
+ "./utils/reflection/getPrototypeChainOf": "./mjs/utils/reflection/getPrototypeChainOf.mjs",
167
+ "./utils/reflection/getPrototypeOf": "./mjs/utils/reflection/getPrototypeOf.mjs",
168
+ "./utils/reflection/inheritance": "./mjs/utils/reflection/inheritance.mjs",
169
+ "./utils/reflection/isConstructor": "./mjs/utils/reflection/isConstructor.mjs",
170
+ "./utils/reflection/isGetterDescriptor": "./mjs/utils/reflection/isGetterDescriptor.mjs",
171
+ "./utils/reflection/listOwnGetters": "./mjs/utils/reflection/listOwnGetters.mjs",
172
+ "./*": "./*"
163
173
  },
164
- "types": "./mjs/index.d.ts",
165
- "packemon": {
166
- "platform": "node",
167
- "inputs": {
168
- "CaseInsensitiveMap": "src/CaseInsensitiveMap.ts",
169
- "commitlintConfig": "src/commitlintConfig.ts",
170
- "eslintConfig": "src/eslintConfig.ts",
171
- "index": "src/index.ts",
172
- "semanticReleaseConfig": "src/semanticReleaseConfig.ts",
173
- "semanticReleaseConfigDotnet": "src/semanticReleaseConfigDotnet.ts",
174
- "setupGitPluginSpec": "src/setupGitPluginSpec.ts"
174
+ "types": "./mjs/index.d.mts",
175
+ "packageManager": "npm@11.11.1+sha512.6ac6b30a876415dcf545e433ba4cb34bf0c3efbb86088a9415e446de0b5a4fc6fd511d277b59bd40e06e3204fbda28f5aeded346b3a8c780355b39ed31622e12",
176
+ "publishConfig": {
177
+ "exports": {
178
+ ".": "./mjs/index.mjs",
179
+ "./CaseInsensitiveMap": "./mjs/CaseInsensitiveMap.mjs",
180
+ "./commitlintConfig": "./mjs/commitlintConfig.mjs",
181
+ "./debug": "./mjs/debug.mjs",
182
+ "./dotnet": "./mjs/dotnet/index.mjs",
183
+ "./dotnet/GithubNugetRegistryInfo": "./mjs/dotnet/GithubNugetRegistryInfo.mjs",
184
+ "./dotnet/GitlabNugetRegistryInfo": "./mjs/dotnet/GitlabNugetRegistryInfo.mjs",
185
+ "./dotnet/helpers": "./mjs/dotnet/helpers.mjs",
186
+ "./dotnet/IsNextVersionAlreadyPublished.cli": "./mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs",
187
+ "./dotnet/MSBuildProject": "./mjs/dotnet/MSBuildProject.mjs",
188
+ "./dotnet/MSBuildProjectProperties": "./mjs/dotnet/MSBuildProjectProperties.mjs",
189
+ "./dotnet/NugetProjectProperties": "./mjs/dotnet/NugetProjectProperties.mjs",
190
+ "./dotnet/NugetRegistryInfo": "./mjs/dotnet/NugetRegistryInfo.mjs",
191
+ "./eslintConfig": "./mjs/eslintConfig.mjs",
192
+ "./insertPlugins": "./mjs/insertPlugins.mjs",
193
+ "./semanticReleaseConfig": "./mjs/semanticReleaseConfig.mjs",
194
+ "./semanticReleaseConfigDotnet": "./mjs/semanticReleaseConfigDotnet.mjs",
195
+ "./setupGitPluginSpec": "./mjs/setupGitPluginSpec.mjs",
196
+ "./setupGitPluginSpec.default": "./mjs/setupGitPluginSpec.default.mjs",
197
+ "./utils/env": "./mjs/utils/env.mjs",
198
+ "./utils/Exact": "./mjs/utils/Exact.mjs",
199
+ "./utils/execAsync": "./mjs/utils/execAsync.mjs",
200
+ "./utils/isError": "./mjs/utils/isError.mjs",
201
+ "./utils/miscTypes": "./mjs/utils/miscTypes.mjs",
202
+ "./utils/reflection": "./mjs/utils/reflection.mjs",
203
+ "./utils/reflection/filterForGetters": "./mjs/utils/reflection/filterForGetters.mjs",
204
+ "./utils/reflection/getOwnPropertyDescriptors": "./mjs/utils/reflection/getOwnPropertyDescriptors.mjs",
205
+ "./utils/reflection/getOwnPropertyDescriptorsRecursively": "./mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs",
206
+ "./utils/reflection/getPrototypeChainOf": "./mjs/utils/reflection/getPrototypeChainOf.mjs",
207
+ "./utils/reflection/getPrototypeOf": "./mjs/utils/reflection/getPrototypeOf.mjs",
208
+ "./utils/reflection/inheritance": "./mjs/utils/reflection/inheritance.mjs",
209
+ "./utils/reflection/isConstructor": "./mjs/utils/reflection/isConstructor.mjs",
210
+ "./utils/reflection/isGetterDescriptor": "./mjs/utils/reflection/isGetterDescriptor.mjs",
211
+ "./utils/reflection/listOwnGetters": "./mjs/utils/reflection/listOwnGetters.mjs",
212
+ "./*": "./*"
175
213
  }
176
- },
177
- "packageManager": "npm@11.11.1+sha512.6ac6b30a876415dcf545e433ba4cb34bf0c3efbb86088a9415e446de0b5a4fc6fd511d277b59bd40e06e3204fbda28f5aeded346b3a8c780355b39ed31622e12"
214
+ }
178
215
  }
package/src/debug.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // note: @types/debug is incorrect. There is no .log function!
2
2
  import createDebugger, { type Debugger } from 'debug';
3
+ import * as process from 'node:process';
3
4
 
4
5
  const _debug = createDebugger('@halospv3/hce.shared-config') as Debugger & { log: never };
5
6
 
@@ -1,11 +1,11 @@
1
1
  import type { Type } from 'arktype';
2
- import { getEnvVarValue } from '../utils/env.js';
3
- import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
4
- import type { NugetProjectProperties } from './NugetProjectProperties.js';
2
+ import { getEnvVarValue } from '../utils/env.ts';
3
+ import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.ts';
4
+ import type { NugetProjectProperties } from './NugetProjectProperties.ts';
5
5
  import {
6
6
  NugetRegistryInfo,
7
7
  NRIOptsBase,
8
- } from './NugetRegistryInfo.js';
8
+ } from './NugetRegistryInfo.ts';
9
9
  import type { Default } from 'arktype/internal/attributes.ts';
10
10
 
11
11
  const NUGET_PKG_GITHUB_COM = 'https://nuget.pkg.github.com';
@@ -1,14 +1,14 @@
1
- import { getEnvVarValue } from '../utils/env.js';
2
- import { isError } from '../utils/isError.js';
1
+ import { getEnvVarValue } from '../utils/env.ts';
2
+ import { isError } from '../utils/isError.ts';
3
3
  import {
4
4
  NugetRegistryInfo,
5
5
  NRIOpts,
6
6
  NRIOptsBase,
7
- } from './NugetRegistryInfo.js';
7
+ } from './NugetRegistryInfo.ts';
8
8
  import type { Out, Type } from 'arktype';
9
9
  import type { Default } from 'arktype/internal/attributes.ts';
10
- import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
11
- import type { NugetProjectProperties } from './NugetProjectProperties.js';
10
+ import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.ts';
11
+ import type { NugetProjectProperties } from './NugetProjectProperties.ts';
12
12
 
13
13
  // https://docs.gitlab.com/ee/user/packages/nuget_repository/
14
14
  export class GitlabNugetRegistryInfo extends NugetRegistryInfo {
@@ -1,4 +1,5 @@
1
- import { NugetRegistryInfo, getGithubOutput } from './NugetRegistryInfo.js';
1
+ import * as console from 'node:console';
2
+ import { NugetRegistryInfo, getGithubOutput } from './NugetRegistryInfo.ts';
2
3
  import esMain from 'es-main';
3
4
 
4
5
  /**
@@ -2,16 +2,17 @@ import { type, type Scope, type Type } from 'arktype';
2
2
  import { warn } from 'node:console';
3
3
  import { type Dirent } from 'node:fs';
4
4
  import { readdir, realpath, stat } from 'node:fs/promises';
5
- import path from 'node:path';
5
+ // eslint-disable-next-line unicorn/import-style
6
+ import * as path from 'node:path';
6
7
  import { setTimeout } from 'node:timers/promises';
7
- import { CaseInsensitiveMap } from '../CaseInsensitiveMap.js';
8
- import { execAsync } from '../utils/execAsync.js';
9
- import { isError } from '../utils/isError.js';
10
- import { MSBuildProjectProperties } from './MSBuildProjectProperties.js';
8
+ import { CaseInsensitiveMap } from '../CaseInsensitiveMap.ts';
9
+ import { execAsync } from '../utils/execAsync.ts';
10
+ import { isError } from '../utils/isError.ts';
11
+ import { MSBuildProjectProperties } from './MSBuildProjectProperties.ts';
11
12
  import {
12
13
  NPPGetterNames,
13
14
  NugetProjectProperties,
14
- } from './NugetProjectProperties.js';
15
+ } from './NugetProjectProperties.ts';
15
16
 
16
17
  /**
17
18
  * See [MSBuild well-known item metadata](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-well-known-item-metadata).
@@ -1,8 +1,9 @@
1
1
  import { strictEqual } from 'node:assert/strict';
2
2
  import { existsSync } from 'node:fs';
3
- import node_path from 'node:path';
4
- import { CaseInsensitiveMap } from '../CaseInsensitiveMap.js';
5
- import type { BaseClass, ClassLike } from '../utils/reflection.js';
3
+ // eslint-disable-next-line unicorn/import-style
4
+ import * as node_path from 'node:path';
5
+ import { CaseInsensitiveMap } from '../CaseInsensitiveMap.ts';
6
+ import type { BaseClass, ClassLike } from '../utils/reflection.ts';
6
7
 
7
8
  /**
8
9
  * Known properties. Additional properties may be added upon request.
@@ -1,19 +1,19 @@
1
1
  import { type } from 'arktype';
2
- import { CaseInsensitiveMap } from '../CaseInsensitiveMap.js';
2
+ import { CaseInsensitiveMap } from '../CaseInsensitiveMap.ts';
3
3
  import {
4
4
  tBooleanString,
5
5
  tEmptyOrBooleanString,
6
6
  type BooleanString,
7
7
  type EmptyOrBooleanString,
8
- } from '../utils/miscTypes.js';
8
+ } from '../utils/miscTypes.ts';
9
9
  import {
10
10
  getPrototypesChainOf,
11
11
  listOwnGetters,
12
12
  type ClassLike,
13
13
  type ProtoChainOfClass,
14
14
  type WithProto,
15
- } from '../utils/reflection.js';
16
- import { MSBuildProjectProperties, type Class_MSBPP } from './MSBuildProjectProperties.js';
15
+ } from '../utils/reflection.ts';
16
+ import { MSBuildProjectProperties, type Class_MSBPP } from './MSBuildProjectProperties.ts';
17
17
 
18
18
  const Type_RepositoryType: type<'' | 'git' | 'tfs'> = type('""|"git"|"tfs"');
19
19
  const Type_SymbolPackageFormat: type<'symbols.nupkg' | 'snupkg'> = type('"symbols.nupkg" | "snupkg"');
@@ -1,7 +1,7 @@
1
1
  /* JSDoc Types */
2
2
  /* eslint-disable @typescript-eslint/no-unused-vars */
3
- import type { SemanticReleaseConfigDotnet } from '../semanticReleaseConfigDotnet.js';
4
- import type { NugetProjectProperties } from './NugetProjectProperties.js';
3
+ import type { SemanticReleaseConfigDotnet as _srcd } from '../semanticReleaseConfigDotnet.ts';
4
+ import type { NugetProjectProperties } from './NugetProjectProperties.ts';
5
5
  /* eslint-enable @typescript-eslint/no-unused-vars */
6
6
 
7
7
  import { config as configDotenv } from '@dotenvx/dotenvx';
@@ -12,14 +12,15 @@ import type { ExecException } from 'node:child_process';
12
12
  import { existsSync, writeFileSync } from 'node:fs';
13
13
  import { writeFile } from 'node:fs/promises';
14
14
  import { tmpdir } from 'node:os';
15
- import node_path from 'node:path';
15
+ // eslint-disable-next-line unicorn/import-style
16
+ import * as node_path from 'node:path';
16
17
  import { cwd, env } from 'node:process';
17
18
  import { setTimeout } from 'node:timers/promises';
18
- import { isError } from '../utils/isError.js';
19
+ import { isError } from '../utils/isError.ts';
19
20
  import sanitizeFileName from 'sanitize-filename';
20
- import { getEnvVarValue } from '../utils/env.js';
21
- import { execAsync } from '../utils/execAsync.js';
22
- import { catchEBUSY, MSBuildEvaluationOutput, MSBuildProject } from './MSBuildProject.js';
21
+ import { getEnvVarValue } from '../utils/env.ts';
22
+ import { execAsync } from '../utils/execAsync.ts';
23
+ import { catchEBUSY, MSBuildEvaluationOutput, MSBuildProject } from './MSBuildProject.ts';
23
24
  import type { Default } from 'arktype/internal/attributes.ts';
24
25
 
25
26
  type TmpDirNamespace_Unix = `${ReturnType<typeof tmpdir>}/HCE.Shared/.NET/Dummies`;
@@ -451,7 +452,7 @@ but the environment variable is empty or undefined.`);
451
452
  /**
452
453
  * !Not ready for use! Remove private modifier and commit as `feat(dotnet)` when ready for release!
453
454
  * Blocking Issue: convert all dotnet-related functionality to a Semantic Release plugin!
454
- * The current {@link SemanticReleaseConfigDotnet} leverages
455
+ * The current {@link _srcd SemanticReleaseConfigDotnet} leverages
455
456
  * `@semantic-release/exec` to invoke dotnet commands. This is fine for
456
457
  * relatively short command lines, but chaining commands with ' && ' results
457
458
  * in quickly-growing complexity.
@@ -1,9 +1,10 @@
1
1
  import { type, type Type } from 'arktype';
2
- import path from 'node:path';
2
+ // eslint-disable-next-line unicorn/import-style
3
+ import * as path from 'node:path';
3
4
  import { cwd } from 'node:process';
4
- import { MSBuildProject } from './MSBuildProject.js';
5
- import { MSBuildProjectProperties as MSBPP } from './MSBuildProjectProperties.js';
6
- import { NugetRegistryInfo } from './NugetRegistryInfo.js';
5
+ import { MSBuildProject } from './MSBuildProject.ts';
6
+ import { MSBuildProjectProperties as MSBPP } from './MSBuildProjectProperties.ts';
7
+ import { NugetRegistryInfo } from './NugetRegistryInfo.ts';
7
8
  import type { Default } from 'arktype/internal/attributes.ts';
8
9
 
9
10
  const ourDefaultPubDir = path.join('.', 'publish') as `.${'/' | '\\'}publish`;
@@ -1,8 +1,8 @@
1
- export * from './GithubNugetRegistryInfo.js';
2
- export * from './GitlabNugetRegistryInfo.js';
3
- export * from './helpers.js';
4
- export * from './IsNextVersionAlreadyPublished.cli.js';
5
- export * from './MSBuildProject.js';
6
- export * from './MSBuildProjectProperties.js';
7
- export * from './NugetProjectProperties.js';
8
- export * from './NugetRegistryInfo.js';
1
+ export * from './GithubNugetRegistryInfo.ts';
2
+ export * from './GitlabNugetRegistryInfo.ts';
3
+ export * from './helpers.ts';
4
+ export * from './IsNextVersionAlreadyPublished.cli.ts';
5
+ export * from './MSBuildProject.ts';
6
+ export * from './MSBuildProjectProperties.ts';
7
+ export * from './NugetProjectProperties.ts';
8
+ export * from './NugetRegistryInfo.ts';
package/src/dotnet.ts CHANGED
@@ -1 +1 @@
1
- export * from './dotnet/index.js';
1
+ export * from './dotnet/index.ts';
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  /** Runs HCE.Shared and returns a semantic-release "shareable configuration" object. */
2
- export { baseConfig as default } from './semanticReleaseConfig.js';
2
+ export { baseConfig as default } from './semanticReleaseConfig.ts';
@@ -1,9 +1,13 @@
1
+ // @ts-types="./semantic-release__commit-analyzer.d.ts"
1
2
  import type { Options as SRCommitAnalyzerOptions } from '@semantic-release/commit-analyzer';
3
+ // @ts-types="./semantic-release__exec.d.ts"
2
4
  import type { Options as SRExecOptions } from '@semantic-release/exec';
5
+ // @ts-types="./semantic-release__git.d.ts"
3
6
  import type { Options as SRGitOptions } from '@semantic-release/git';
7
+ // @ts-types="./semantic-release__github.d.ts"
4
8
  import type { Options as SRGithubOptions } from '@semantic-release/github';
5
9
  import type { Options, PluginSpec } from 'semantic-release';
6
- import { DefaultOptions } from './setupGitPluginSpec.js';
10
+ import { DefaultOptions } from './setupGitPluginSpec.default.ts';
7
11
 
8
12
  export interface SRReleaseNotesGeneratorOptions {
9
13
  /**
@@ -18,14 +18,16 @@
18
18
 
19
19
  import { inspect } from 'node:util';
20
20
  import type { Options } from 'semantic-release';
21
+ // @ts-types="./semantic-release__exec.d.ts"
21
22
  import type { Options as SRExecOptions } from '@semantic-release/exec';
22
- import debug from './debug.js';
23
- import { configureDotnetNugetPush, configurePrepareCmd } from './dotnet/helpers.js';
24
- import { getEnvVarValue } from './utils/env.js';
25
- import { baseConfig } from './semanticReleaseConfig.js';
26
- import { NugetRegistryInfo } from './dotnet/NugetRegistryInfo.js';
27
- import { MSBuildProject } from './dotnet/MSBuildProject.js';
28
- import { insertPlugin } from './insertPlugins.js';
23
+ import * as console from 'node:console';
24
+ import debug from './debug.ts';
25
+ import { configureDotnetNugetPush, configurePrepareCmd } from './dotnet/helpers.ts';
26
+ import { getEnvVarValue } from './utils/env.ts';
27
+ import { baseConfig } from './semanticReleaseConfig.ts';
28
+ import { NugetRegistryInfo } from './dotnet/NugetRegistryInfo.ts';
29
+ import { MSBuildProject } from './dotnet/MSBuildProject.ts';
30
+ import { insertPlugin } from './insertPlugins.ts';
29
31
 
30
32
  type UnArray<T> = T extends (infer U)[] ? U : T;
31
33
  interface SRConfigDotnetOptions extends Omit<typeof baseConfig, 'plugins'> {
@@ -307,7 +309,7 @@ Appending it to the end of the array...This may cause an unexpected order of ope
307
309
  p => new NugetRegistryInfo({ project: p }),
308
310
  );
309
311
  const nupkgPaths = await Promise.all(
310
- regInfos.map(async nri =>
312
+ regInfos.map(nri =>
311
313
  nri.PackDummyPackage({}).then((nupkgs) => {
312
314
  // this is a full file path.
313
315
  const mainNupkg = nupkgs.find(nupkg =>
@@ -0,0 +1,22 @@
1
+ /// <reference file="./semantic-release__git.d.ts">
2
+ // @ts-types="./semantic-release__git.d.ts"
3
+ import type { Options as GitOptions } from '@semantic-release/git';
4
+ /**
5
+ * As specified at https://github.com/semantic-release/git#options
6
+ * To use, assign or create an object with the same (but mutable) properties and deeply-copy to the object
7
+ * @satisfies { GitOptions }
8
+ */
9
+ export const DefaultOptions: {
10
+ readonly assets: ['README.md', 'CHANGELOG.md', 'package.json', 'package-lock.json', 'npm-shrinkwrap.json'];
11
+ readonly message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}';
12
+ } = {
13
+ assets: [
14
+ 'README.md',
15
+ 'CHANGELOG.md',
16
+ 'package.json',
17
+ 'package-lock.json',
18
+ 'npm-shrinkwrap.json',
19
+ ],
20
+ message:
21
+ 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
22
+ } as const satisfies GitOptions;
@@ -1,27 +1,10 @@
1
+ // @ts-types="./semantic-release__git.d.ts"
1
2
  import type { AssetEntry, Options as GitOptions } from '@semantic-release/git';
2
- import type { PluginSpecSRGit, PluginSpecTuple } from './semanticReleaseConfig.js';
3
+ import type { PluginSpecSRGit, PluginSpecTuple } from './semanticReleaseConfig.ts';
4
+ import { DefaultOptions } from './setupGitPluginSpec.default.ts';
3
5
 
4
6
  export const GitPluginId = '@semantic-release/git';
5
-
6
- /**
7
- * As specified at https://github.com/semantic-release/git#options
8
- * To use, assign or create an object with the same (but mutable) properties and deeply-copy to the object
9
- * @satisfies { GitOptions }
10
- */
11
- export const DefaultOptions: {
12
- readonly assets: ['README.md', 'CHANGELOG.md', 'package.json', 'package-lock.json', 'npm-shrinkwrap.json'];
13
- readonly message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}';
14
- } = {
15
- assets: [
16
- 'README.md',
17
- 'CHANGELOG.md',
18
- 'package.json',
19
- 'package-lock.json',
20
- 'npm-shrinkwrap.json',
21
- ],
22
- message:
23
- 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
24
- } as const satisfies GitOptions;
7
+ export { DefaultOptions } from './setupGitPluginSpec.default.ts';
25
8
 
26
9
  /**
27
10
  * Check if {@link unk} is an {@link AssetEntry}.
package/src/tsconfig.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "extends": "../tsconfig.base.json",
3
3
  "compilerOptions": {
4
- "outDir": "../_tsout/src",
5
- "isolatedDeclarations": true
4
+ "outDir": "../_tsout/src"
6
5
  },
7
6
  "include": [
8
7
  "./**/*"
@@ -3,7 +3,7 @@ import { type, type Type } from 'arktype';
3
3
  import { exec } from 'node:child_process';
4
4
  import { constants } from 'node:os';
5
5
  import { promisify } from 'node:util';
6
- import { isError } from './isError.js';
6
+ import { isError } from './isError.ts';
7
7
 
8
8
  /**
9
9
  * A `promisify(exec)` wrapper to optionally assign the child process's STDERR as the {@link Error.prototype.cause}.
@@ -1,4 +1,4 @@
1
- import type { PropertyDescriptorMap } from './PropertyDescriptorMap.ts';
1
+ import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
2
2
  import type {
3
3
  BaseClassProto,
4
4
  ConstructorConstraint,
@@ -1,6 +1,6 @@
1
1
  import type { BaseClassProto, ConstructorLike, InstanceTypeOrSelf, ProtoOrSuperClass, SuperClassLike, WithProto } from './inheritance.ts';
2
- import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.ts';
3
- import type { PropertyDescriptorMap } from './PropertyDescriptorMap.ts';
2
+ import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
3
+ import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
4
4
 
5
5
  /**
6
6
  * Variant of {@link InstancePropertyDescriptorMap} with a lesser constraint on {@link T}.
@@ -1,5 +1,5 @@
1
- import type { GetterDescriptor } from './GetterDescriptor.ts';
2
- import type { OwnKeyOf } from './OwnKeyOf.js';
1
+ import type { GetterDescriptor } from './GetterDescriptor.d.ts';
2
+ import type { OwnKeyOf } from './OwnKeyOf.d.ts';
3
3
 
4
4
  /**
5
5
  * # !WARNING!