@halospv3/hce.shared-config 3.4.6 → 3.4.7-develop.1

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 (288) hide show
  1. package/CHANGELOG.md +24 -6
  2. package/mjs/CaseInsensitiveMap.d.mts +15 -0
  3. package/mjs/CaseInsensitiveMap.d.mts.map +1 -0
  4. package/mjs/CaseInsensitiveMap.mjs +2 -33
  5. package/mjs/CaseInsensitiveMap.mjs.map +1 -1
  6. package/mjs/commitlintConfig.d.mts +15 -0
  7. package/mjs/commitlintConfig.d.mts.map +1 -0
  8. package/mjs/commitlintConfig.mjs +2 -13
  9. package/mjs/commitlintConfig.mjs.map +1 -1
  10. package/mjs/debug.d.mts +9 -0
  11. package/mjs/debug.d.mts.map +1 -0
  12. package/mjs/debug.mjs +2 -9
  13. package/mjs/debug.mjs.map +1 -1
  14. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts +42 -0
  15. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts.map +1 -0
  16. package/mjs/dotnet/GithubNugetRegistryInfo.mjs +2 -43
  17. package/mjs/dotnet/GithubNugetRegistryInfo.mjs.map +1 -1
  18. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts +65 -0
  19. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts.map +1 -0
  20. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs +2 -99
  21. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs.map +1 -1
  22. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.mts +1 -0
  23. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs +2 -44
  24. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs.map +1 -1
  25. package/mjs/dotnet/MSBuildProject.d.mts +267 -0
  26. package/mjs/dotnet/MSBuildProject.d.mts.map +1 -0
  27. package/mjs/dotnet/MSBuildProject.mjs +3 -490
  28. package/mjs/dotnet/MSBuildProject.mjs.map +1 -1
  29. package/mjs/dotnet/MSBuildProjectProperties.d.mts +172 -0
  30. package/mjs/dotnet/MSBuildProjectProperties.d.mts.map +1 -0
  31. package/mjs/dotnet/MSBuildProjectProperties.mjs +2 -260
  32. package/mjs/dotnet/MSBuildProjectProperties.mjs.map +1 -1
  33. package/mjs/dotnet/NugetProjectProperties.d.mts +381 -0
  34. package/mjs/dotnet/NugetProjectProperties.d.mts.map +1 -0
  35. package/mjs/dotnet/NugetProjectProperties.mjs +2 -577
  36. package/mjs/dotnet/NugetProjectProperties.mjs.map +1 -1
  37. package/mjs/dotnet/NugetRegistryInfo.d.mts +387 -0
  38. package/mjs/dotnet/NugetRegistryInfo.d.mts.map +1 -0
  39. package/mjs/dotnet/NugetRegistryInfo.mjs +4 -752
  40. package/mjs/dotnet/NugetRegistryInfo.mjs.map +1 -1
  41. package/mjs/dotnet/helpers.d.mts +66 -0
  42. package/mjs/dotnet/helpers.d.mts.map +1 -0
  43. package/mjs/dotnet/helpers.mjs +2 -354
  44. package/mjs/dotnet/helpers.mjs.map +1 -1
  45. package/mjs/dotnet/index.d.mts +8 -0
  46. package/mjs/dotnet/index.mjs +1 -9
  47. package/mjs/dotnet.d.mts +8 -0
  48. package/mjs/dotnet.mjs +1 -9
  49. package/mjs/eslintConfig.d.mts +7 -0
  50. package/mjs/eslintConfig.d.mts.map +1 -0
  51. package/mjs/eslintConfig.mjs +2 -64
  52. package/mjs/eslintConfig.mjs.map +1 -1
  53. package/mjs/index.d.mts +2 -0
  54. package/mjs/index.mjs +1 -4
  55. package/mjs/insertPlugins.d.mts +22 -0
  56. package/mjs/insertPlugins.d.mts.map +1 -0
  57. package/mjs/insertPlugins.mjs +2 -73
  58. package/mjs/insertPlugins.mjs.map +1 -1
  59. package/mjs/semantic-release__commit-analyzer.d.mts +44 -0
  60. package/mjs/semantic-release__commit-analyzer.d.mts.map +1 -0
  61. package/mjs/semantic-release__exec.d.mts +17 -0
  62. package/mjs/semantic-release__exec.d.mts.map +1 -0
  63. package/mjs/semantic-release__git.d.mts +83 -0
  64. package/mjs/semantic-release__git.d.mts.map +1 -0
  65. package/mjs/semantic-release__github.d.mts +141 -0
  66. package/mjs/semantic-release__github.d.mts.map +1 -0
  67. package/mjs/semanticReleaseConfig.d.mts +94 -0
  68. package/mjs/semanticReleaseConfig.d.mts.map +1 -0
  69. package/mjs/semanticReleaseConfig.mjs +2 -63
  70. package/mjs/semanticReleaseConfig.mjs.map +1 -1
  71. package/mjs/semanticReleaseConfigDotnet.d.mts +96 -0
  72. package/mjs/semanticReleaseConfigDotnet.d.mts.map +1 -0
  73. package/mjs/semanticReleaseConfigDotnet.mjs +7 -274
  74. package/mjs/semanticReleaseConfigDotnet.mjs.map +1 -1
  75. package/mjs/setupGitPluginSpec.d.mts +18 -0
  76. package/mjs/setupGitPluginSpec.d.mts.map +1 -0
  77. package/mjs/setupGitPluginSpec.default.d.mts +13 -0
  78. package/mjs/setupGitPluginSpec.default.d.mts.map +1 -0
  79. package/mjs/setupGitPluginSpec.default.mjs +4 -0
  80. package/mjs/setupGitPluginSpec.default.mjs.map +1 -0
  81. package/mjs/setupGitPluginSpec.mjs +2 -144
  82. package/mjs/setupGitPluginSpec.mjs.map +1 -1
  83. package/mjs/utils/Exact.d.mts +18 -0
  84. package/mjs/utils/Exact.d.mts.map +1 -0
  85. package/mjs/utils/Exact.mjs +2 -75
  86. package/mjs/utils/Exact.mjs.map +1 -1
  87. package/mjs/utils/GracefulRecursion.d.mts +14 -0
  88. package/mjs/utils/GracefulRecursion.d.mts.map +1 -0
  89. package/mjs/utils/env.d.mts +28 -0
  90. package/mjs/utils/env.d.mts.map +1 -0
  91. package/mjs/utils/env.mjs +2 -47
  92. package/mjs/utils/env.mjs.map +1 -1
  93. package/mjs/utils/execAsync.d.mts +40 -0
  94. package/mjs/utils/execAsync.d.mts.map +1 -0
  95. package/mjs/utils/execAsync.mjs +10 -59
  96. package/mjs/utils/execAsync.mjs.map +1 -1
  97. package/mjs/utils/isError.d.mts +14 -0
  98. package/mjs/utils/isError.d.mts.map +1 -0
  99. package/mjs/utils/isError.mjs +2 -19
  100. package/mjs/utils/isError.mjs.map +1 -1
  101. package/mjs/utils/miscTypes.d.mts +16 -0
  102. package/mjs/utils/miscTypes.d.mts.map +1 -0
  103. package/mjs/utils/miscTypes.mjs +2 -10
  104. package/mjs/utils/miscTypes.mjs.map +1 -1
  105. package/mjs/utils/reflection/FunctionLike.d.mts +17 -0
  106. package/mjs/utils/reflection/FunctionLike.d.mts.map +1 -0
  107. package/mjs/utils/reflection/GetterDescriptor.d.mts +11 -0
  108. package/mjs/utils/reflection/GetterDescriptor.d.mts.map +1 -0
  109. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts +26 -0
  110. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts.map +1 -0
  111. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts +17 -0
  112. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts.map +1 -0
  113. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts +18 -0
  114. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts.map +1 -0
  115. package/mjs/utils/reflection/OwnKeyOf.d.mts +15 -0
  116. package/mjs/utils/reflection/OwnKeyOf.d.mts.map +1 -0
  117. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts +15 -0
  118. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts.map +1 -0
  119. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts +13 -0
  120. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts.map +1 -0
  121. package/mjs/utils/reflection/filterForGetters.d.mts +11 -0
  122. package/mjs/utils/reflection/filterForGetters.d.mts.map +1 -0
  123. package/mjs/utils/reflection/filterForGetters.mjs +2 -27
  124. package/mjs/utils/reflection/filterForGetters.mjs.map +1 -1
  125. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts +26 -0
  126. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts.map +1 -0
  127. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs +2 -34
  128. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs.map +1 -1
  129. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts +51 -0
  130. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts.map +1 -0
  131. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs +2 -72
  132. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs.map +1 -1
  133. package/mjs/utils/reflection/getPrototypeChainOf.d.mts +19 -0
  134. package/mjs/utils/reflection/getPrototypeChainOf.d.mts.map +1 -0
  135. package/mjs/utils/reflection/getPrototypeChainOf.mjs +2 -55
  136. package/mjs/utils/reflection/getPrototypeChainOf.mjs.map +1 -1
  137. package/mjs/utils/reflection/getPrototypeOf.d.mts +12 -0
  138. package/mjs/utils/reflection/getPrototypeOf.d.mts.map +1 -0
  139. package/mjs/utils/reflection/getPrototypeOf.mjs +2 -10
  140. package/mjs/utils/reflection/getPrototypeOf.mjs.map +1 -1
  141. package/mjs/utils/reflection/inheritance.d.mts +173 -0
  142. package/mjs/utils/reflection/inheritance.d.mts.map +1 -0
  143. package/mjs/utils/reflection/inheritance.mjs +2 -148
  144. package/mjs/utils/reflection/inheritance.mjs.map +1 -1
  145. package/mjs/utils/reflection/isConstructor.d.mts +20 -0
  146. package/mjs/utils/reflection/isConstructor.d.mts.map +1 -0
  147. package/mjs/utils/reflection/isConstructor.mjs +2 -63
  148. package/mjs/utils/reflection/isConstructor.mjs.map +1 -1
  149. package/mjs/utils/reflection/isGetterDescriptor.d.mts +13 -0
  150. package/mjs/utils/reflection/isGetterDescriptor.d.mts.map +1 -0
  151. package/mjs/utils/reflection/isGetterDescriptor.mjs +2 -12
  152. package/mjs/utils/reflection/isGetterDescriptor.mjs.map +1 -1
  153. package/mjs/utils/reflection/listOwnGetters.d.mts +29 -0
  154. package/mjs/utils/reflection/listOwnGetters.d.mts.map +1 -0
  155. package/mjs/utils/reflection/listOwnGetters.mjs +2 -39
  156. package/mjs/utils/reflection/listOwnGetters.mjs.map +1 -1
  157. package/mjs/utils/reflection.d.mts +18 -0
  158. package/mjs/utils/reflection.mjs +1 -10
  159. package/package.json +99 -62
  160. package/src/debug.ts +1 -0
  161. package/src/dotnet/GithubNugetRegistryInfo.ts +4 -4
  162. package/src/dotnet/GitlabNugetRegistryInfo.ts +5 -5
  163. package/src/dotnet/IsNextVersionAlreadyPublished.cli.ts +2 -1
  164. package/src/dotnet/MSBuildProject.ts +7 -6
  165. package/src/dotnet/MSBuildProjectProperties.ts +4 -3
  166. package/src/dotnet/NugetProjectProperties.ts +4 -4
  167. package/src/dotnet/NugetRegistryInfo.ts +9 -8
  168. package/src/dotnet/helpers.ts +5 -4
  169. package/src/dotnet/index.ts +8 -8
  170. package/src/dotnet.ts +1 -1
  171. package/src/index.ts +1 -1
  172. package/src/semanticReleaseConfig.ts +5 -1
  173. package/src/semanticReleaseConfigDotnet.ts +10 -8
  174. package/src/setupGitPluginSpec.default.ts +22 -0
  175. package/src/setupGitPluginSpec.ts +4 -21
  176. package/src/tsconfig.json +1 -2
  177. package/src/utils/execAsync.ts +1 -1
  178. package/src/utils/reflection/InstancePropertyDescriptorMap.d.ts +1 -1
  179. package/src/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts +2 -2
  180. package/src/utils/reflection/OwnGetterDescriptorMap.d.ts +2 -2
  181. package/src/utils/reflection/filterForGetters.ts +5 -5
  182. package/src/utils/reflection/getOwnPropertyDescriptors.ts +4 -4
  183. package/src/utils/reflection/getOwnPropertyDescriptorsRecursively.ts +12 -12
  184. package/src/utils/reflection/getPrototypeChainOf.ts +5 -5
  185. package/src/utils/reflection/getPrototypeOf.ts +1 -1
  186. package/src/utils/reflection/inheritance.ts +5 -5
  187. package/src/utils/reflection/isGetterDescriptor.ts +1 -1
  188. package/src/utils/reflection/listOwnGetters.ts +6 -6
  189. package/src/utils/reflection.ts +17 -17
  190. package/tsconfig.base.json +2 -2
  191. package/mjs/CaseInsensitiveMap.d.ts +0 -12
  192. package/mjs/CaseInsensitiveMap.d.ts.map +0 -1
  193. package/mjs/commitlintConfig.d.ts +0 -12
  194. package/mjs/commitlintConfig.d.ts.map +0 -1
  195. package/mjs/debug.d.ts +0 -6
  196. package/mjs/debug.d.ts.map +0 -1
  197. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts +0 -38
  198. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts.map +0 -1
  199. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts +0 -61
  200. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts.map +0 -1
  201. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts +0 -2
  202. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts.map +0 -1
  203. package/mjs/dotnet/MSBuildProject.d.ts +0 -264
  204. package/mjs/dotnet/MSBuildProject.d.ts.map +0 -1
  205. package/mjs/dotnet/MSBuildProjectProperties.d.ts +0 -170
  206. package/mjs/dotnet/MSBuildProjectProperties.d.ts.map +0 -1
  207. package/mjs/dotnet/NugetProjectProperties.d.ts +0 -379
  208. package/mjs/dotnet/NugetProjectProperties.d.ts.map +0 -1
  209. package/mjs/dotnet/NugetRegistryInfo.d.ts +0 -384
  210. package/mjs/dotnet/NugetRegistryInfo.d.ts.map +0 -1
  211. package/mjs/dotnet/helpers.d.ts +0 -63
  212. package/mjs/dotnet/helpers.d.ts.map +0 -1
  213. package/mjs/dotnet/index.d.ts +0 -9
  214. package/mjs/dotnet/index.d.ts.map +0 -1
  215. package/mjs/dotnet/index.mjs.map +0 -1
  216. package/mjs/dotnet.d.ts +0 -2
  217. package/mjs/dotnet.d.ts.map +0 -1
  218. package/mjs/dotnet.mjs.map +0 -1
  219. package/mjs/eslintConfig.d.ts +0 -4
  220. package/mjs/eslintConfig.d.ts.map +0 -1
  221. package/mjs/index.d.ts +0 -3
  222. package/mjs/index.d.ts.map +0 -1
  223. package/mjs/index.mjs.map +0 -1
  224. package/mjs/insertPlugins.d.ts +0 -18
  225. package/mjs/insertPlugins.d.ts.map +0 -1
  226. package/mjs/semantic-release__commit-analyzer.d.mjs +0 -2
  227. package/mjs/semantic-release__commit-analyzer.d.mjs.map +0 -1
  228. package/mjs/semantic-release__exec.d.mjs +0 -2
  229. package/mjs/semantic-release__exec.d.mjs.map +0 -1
  230. package/mjs/semantic-release__git.d.mjs +0 -2
  231. package/mjs/semantic-release__git.d.mjs.map +0 -1
  232. package/mjs/semantic-release__github.d.mjs +0 -2
  233. package/mjs/semantic-release__github.d.mjs.map +0 -1
  234. package/mjs/semanticReleaseConfig.d.ts +0 -97
  235. package/mjs/semanticReleaseConfig.d.ts.map +0 -1
  236. package/mjs/semanticReleaseConfigDotnet.d.ts +0 -112
  237. package/mjs/semanticReleaseConfigDotnet.d.ts.map +0 -1
  238. package/mjs/setupGitPluginSpec.d.ts +0 -22
  239. package/mjs/setupGitPluginSpec.d.ts.map +0 -1
  240. package/mjs/utils/Exact.d.ts +0 -20
  241. package/mjs/utils/Exact.d.ts.map +0 -1
  242. package/mjs/utils/GracefulRecursion.d.mjs +0 -2
  243. package/mjs/utils/GracefulRecursion.d.mjs.map +0 -1
  244. package/mjs/utils/env.d.ts +0 -24
  245. package/mjs/utils/env.d.ts.map +0 -1
  246. package/mjs/utils/execAsync.d.ts +0 -37
  247. package/mjs/utils/execAsync.d.ts.map +0 -1
  248. package/mjs/utils/isError.d.ts +0 -11
  249. package/mjs/utils/isError.d.ts.map +0 -1
  250. package/mjs/utils/miscTypes.d.ts +0 -12
  251. package/mjs/utils/miscTypes.d.ts.map +0 -1
  252. package/mjs/utils/reflection/FunctionLike.d.mjs +0 -2
  253. package/mjs/utils/reflection/FunctionLike.d.mjs.map +0 -1
  254. package/mjs/utils/reflection/GetterDescriptor.d.mjs +0 -2
  255. package/mjs/utils/reflection/GetterDescriptor.d.mjs.map +0 -1
  256. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs +0 -2
  257. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs.map +0 -1
  258. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs +0 -2
  259. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs.map +0 -1
  260. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs +0 -2
  261. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs.map +0 -1
  262. package/mjs/utils/reflection/OwnKeyOf.d.mjs +0 -2
  263. package/mjs/utils/reflection/OwnKeyOf.d.mjs.map +0 -1
  264. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs +0 -2
  265. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs.map +0 -1
  266. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs +0 -2
  267. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs.map +0 -1
  268. package/mjs/utils/reflection/filterForGetters.d.ts +0 -7
  269. package/mjs/utils/reflection/filterForGetters.d.ts.map +0 -1
  270. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts +0 -22
  271. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts.map +0 -1
  272. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts +0 -56
  273. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts.map +0 -1
  274. package/mjs/utils/reflection/getPrototypeChainOf.d.ts +0 -16
  275. package/mjs/utils/reflection/getPrototypeChainOf.d.ts.map +0 -1
  276. package/mjs/utils/reflection/getPrototypeOf.d.ts +0 -8
  277. package/mjs/utils/reflection/getPrototypeOf.d.ts.map +0 -1
  278. package/mjs/utils/reflection/inheritance.d.ts +0 -180
  279. package/mjs/utils/reflection/inheritance.d.ts.map +0 -1
  280. package/mjs/utils/reflection/isConstructor.d.ts +0 -17
  281. package/mjs/utils/reflection/isConstructor.d.ts.map +0 -1
  282. package/mjs/utils/reflection/isGetterDescriptor.d.ts +0 -9
  283. package/mjs/utils/reflection/isGetterDescriptor.d.ts.map +0 -1
  284. package/mjs/utils/reflection/listOwnGetters.d.ts +0 -26
  285. package/mjs/utils/reflection/listOwnGetters.d.ts.map +0 -1
  286. package/mjs/utils/reflection.d.ts +0 -18
  287. package/mjs/utils/reflection.d.ts.map +0 -1
  288. package/mjs/utils/reflection.mjs.map +0 -1
@@ -6,11 +6,11 @@ import type {
6
6
  InstanceTypeOrSelf,
7
7
  SuperClassLike,
8
8
  WithProto,
9
- } from './inheritance.js';
10
- import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.js';
11
- import type { OwnGetterDescriptorMap } from './OwnGetterDescriptorMap.js';
12
- import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.js';
13
- import type { PropertyDescriptorMap } from './PropertyDescriptorMap.js';
9
+ } from './inheritance.ts';
10
+ import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
11
+ import type { OwnGetterDescriptorMap } from './OwnGetterDescriptorMap.d.ts';
12
+ import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
13
+ import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
14
14
 
15
15
  export function filterForGetters<
16
16
  Class extends ClassLike<ConstructorConstraint<Class> & WithProto<SuperClassLike | typeof baseClassProto>>,
@@ -1,7 +1,7 @@
1
- import type { InstanceOrStatic } from '../miscTypes.js';
2
- import type { BaseClassProto, ClassLike, ConstructorConstraint, SuperClassLike, WithProto } from './inheritance.js';
3
- import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.js';
4
- import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.js';
1
+ import type { InstanceOrStatic } from '../miscTypes.ts';
2
+ import type { BaseClassProto, ClassLike, ConstructorConstraint, SuperClassLike, WithProto } from './inheritance.ts';
3
+ import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
4
+ import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
5
5
 
6
6
  /**
7
7
  * Get the property descriptors of the class or constructor similar to {@link Object.getOwnPropertyDescriptors}, but with more options--including recursion.
@@ -1,7 +1,7 @@
1
- import type { Increment } from '../GracefulRecursion.js';
2
- import type { InstanceOrStatic, Integer } from '../miscTypes.js';
3
- import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.js';
4
- import { getPrototypesChainOf } from './getPrototypeChainOf.js';
1
+ import type { Increment } from '../GracefulRecursion.d.ts';
2
+ import type { InstanceOrStatic, Integer } from '../miscTypes.ts';
3
+ import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.ts';
4
+ import { getPrototypesChainOf } from './getPrototypeChainOf.ts';
5
5
  import type {
6
6
  BaseClass,
7
7
  BaseClassProto,
@@ -11,17 +11,17 @@ import type {
11
11
  ProtoChainOfClass,
12
12
  SuperClassLike,
13
13
  WithProto,
14
- } from './inheritance.js';
15
- import type { InstanceTypeOrSelfPropertyDescriptorMap } from './InstanceTypeOrSelfPropertyDescriptorMap.js';
16
- import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.js';
17
- /* eslint-disable jsdoc/check-tag-names */
14
+ } from './inheritance.ts';
15
+ import type { InstanceTypeOrSelfPropertyDescriptorMap } from './InstanceTypeOrSelfPropertyDescriptorMap.d.ts';
16
+ import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
18
17
  /**
19
18
  * JSDoc type imports
20
- * @typedef {import('./getPrototypeOf.js').getPrototypeOf} getPrototypeOf
21
- * @typedef {import('./listOwnGetters.js').listOwnGetters} listOwnGetters
22
- * @typedef {import('./InstancePropertyDescriptorMap.js').InstancePropertyDescriptorMap} InstancePropertyDescriptorMap
23
19
  */
24
- /* eslint-enable jsdoc/check-tag-names */
20
+ /* eslint-disable @typescript-eslint/no-unused-vars */
21
+ import type { getPrototypeOf as _getPrototypeOf } from './getPrototypeOf.ts';
22
+ import type { listOwnGetters as _listOwnGetters } from './listOwnGetters.ts';
23
+ import type { InstancePropertyDescriptorMap as _InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
24
+ /* eslint-enable @typescript-eslint/no-unused-vars */
25
25
 
26
26
  /**
27
27
  * A conditional wrapper for {@link InstanceTypeOrSelfPropertyDescriptorMap} and
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable jsdoc/no-defaults */
2
- import type { TupleIndices } from '../miscTypes.js';
3
- import { getPrototypeOf } from './getPrototypeOf.js';
2
+ import type { TupleIndices } from '../miscTypes.ts';
3
+ import { getPrototypeOf } from './getPrototypeOf.ts';
4
4
  import {
5
5
  baseClassProto,
6
6
  type BaseClassProto,
@@ -10,8 +10,8 @@ import {
10
10
  type ProtoChainOfClassInstance,
11
11
  type SuperClassLike,
12
12
  type WithProto,
13
- } from './inheritance.js';
14
- import { isConstructor } from './isConstructor.js';
13
+ } from './inheritance.ts';
14
+ import { isConstructor } from './isConstructor.ts';
15
15
 
16
16
  type ProtoChain<
17
17
  Class extends ClassLike<ConstructorConstraint<Class> & WithProto<SuperClassLike | BaseClassProto>>,
@@ -46,7 +46,7 @@ export function getPrototypesChainOf<
46
46
  let index: TupleIndices<typeof returnValue> = 0 as TupleIndices<typeof returnValue>;
47
47
 
48
48
  while (baseClassProto !== current) {
49
- parent = getPrototypeOf<typeof current>(current);
49
+ parent = getPrototypeOf(current);
50
50
  // current is a Class symbol/constructor. Object.getOwnPropertyDescriptors on current will include static properties.
51
51
  if (!isConstructor(current))
52
52
  break;
@@ -1,4 +1,4 @@
1
- import type { ProtoOrSuperClass, WithProto } from './inheritance.js';
1
+ import type { ProtoOrSuperClass, WithProto } from './inheritance.ts';
2
2
 
3
3
  /**
4
4
  * A nearly useless wrapper for {@link Reflect.getPrototypeOf}
@@ -1,8 +1,8 @@
1
- import type { Increment } from '../GracefulRecursion.js';
2
- import type { Integer } from '../miscTypes.js';
3
- import type { FunctionLike } from './FunctionLike.js';
4
- import { getPrototypeOf } from './getPrototypeOf.js';
5
- import type { PropertyDescriptorMap } from './PropertyDescriptorMap.js';
1
+ import type { Increment } from '../GracefulRecursion.d.ts';
2
+ import type { Integer } from '../miscTypes.ts';
3
+ import type { FunctionLike } from './FunctionLike.d.ts';
4
+ import { getPrototypeOf } from './getPrototypeOf.ts';
5
+ import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
6
6
 
7
7
  /**
8
8
  * The `[[Prototype]]` (i.e. `__proto__`) of any base class.
@@ -1,4 +1,4 @@
1
- import type { GetterDescriptor } from './GetterDescriptor.js';
1
+ import type { GetterDescriptor } from './GetterDescriptor.d.ts';
2
2
 
3
3
  /**
4
4
  * A function for inferring a {@link TypedPropertyDescriptor} is a {@link GetterDescriptor}
@@ -1,6 +1,6 @@
1
- import type { InstanceOrStatic } from '../miscTypes.js';
2
- import { filterForGetters } from './filterForGetters.js';
3
- import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.js';
1
+ import type { InstanceOrStatic } from '../miscTypes.ts';
2
+ import { filterForGetters } from './filterForGetters.ts';
3
+ import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.ts';
4
4
  import type {
5
5
  BaseClassProto,
6
6
  ClassLike,
@@ -8,9 +8,9 @@ import type {
8
8
  InstanceTypeOrSelf,
9
9
  SuperClassLike,
10
10
  WithProto,
11
- } from './inheritance.js';
12
- import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.js';
13
- import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.js';
11
+ } from './inheritance.ts';
12
+ import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
13
+ import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
14
14
 
15
15
  /**
16
16
  * Description placeholder
@@ -1,18 +1,18 @@
1
- export type * from './reflection/FunctionLike.js';
2
- export type * from './reflection/GetterDescriptor.js';
3
- export type * from './reflection/InstancePropertyDescriptorMap.js';
4
- export type * from './reflection/InstanceTypeOrSelfPropertyDescriptorMap.js';
5
- export type * from './reflection/OwnGetterDescriptorMap.js';
6
- export type * from './reflection/OwnKeyOf.js';
7
- export type * from './reflection/OwnPropertyDescriptorMap.js';
8
- export type * from './reflection/PropertyDescriptorMap.js';
1
+ export type * from './reflection/FunctionLike.d.ts';
2
+ export type * from './reflection/GetterDescriptor.d.ts';
3
+ export type * from './reflection/InstancePropertyDescriptorMap.d.ts';
4
+ export type * from './reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts';
5
+ export type * from './reflection/OwnGetterDescriptorMap.d.ts';
6
+ export type * from './reflection/OwnKeyOf.d.ts';
7
+ export type * from './reflection/OwnPropertyDescriptorMap.d.ts';
8
+ export type * from './reflection/PropertyDescriptorMap.d.ts';
9
9
 
10
- export * from './reflection/filterForGetters.js';
11
- export * from './reflection/getOwnPropertyDescriptors.js';
12
- export * from './reflection/getOwnPropertyDescriptorsRecursively.js';
13
- export * from './reflection/getPrototypeChainOf.js';
14
- export * from './reflection/getPrototypeOf.js';
15
- export * from './reflection/inheritance.js';
16
- export * from './reflection/isConstructor.js';
17
- export * from './reflection/isGetterDescriptor.js';
18
- export * from './reflection/listOwnGetters.js';
10
+ export * from './reflection/filterForGetters.ts';
11
+ export * from './reflection/getOwnPropertyDescriptors.ts';
12
+ export * from './reflection/getOwnPropertyDescriptorsRecursively.ts';
13
+ export * from './reflection/getPrototypeChainOf.ts';
14
+ export * from './reflection/getPrototypeOf.ts';
15
+ export * from './reflection/inheritance.ts';
16
+ export * from './reflection/isConstructor.ts';
17
+ export * from './reflection/isGetterDescriptor.ts';
18
+ export * from './reflection/listOwnGetters.ts';
@@ -25,13 +25,14 @@
25
25
  "compileOnSave": true,
26
26
  "extends": "@tsconfig/node24/tsconfig.json",
27
27
  "compilerOptions": {
28
+ "allowImportingTsExtensions": true,
28
29
  "composite": true,
29
30
  "declarationMap": true,
30
31
  "emitDeclarationOnly": true,
32
+ "esModuleInterop": false,
31
33
  "forceConsistentCasingInFileNames": true,
32
34
  "isolatedDeclarations": true,
33
35
  "isolatedModules": true,
34
- "module": "Node18",
35
36
  "noEmitOnError": true,
36
37
  "noErrorTruncation": true,
37
38
  "noFallthroughCasesInSwitch": true,
@@ -42,7 +43,6 @@
42
43
  "noUnusedLocals": true,
43
44
  "noUnusedParameters": true,
44
45
  "resolveJsonModule": true,
45
- "skipLibCheck": true,
46
46
  "sourceMap": true,
47
47
  "verbatimModuleSyntax": true
48
48
  },
@@ -1,12 +0,0 @@
1
- /**
2
- * https://stackoverflow.com/a/50022230/14894786
3
- * licensed under CC BY-SA 4.0
4
- * changes: add overrides, remove "as any", remove empty lines
5
- */
6
- export declare class CaseInsensitiveMap<T, U> extends Map<T, U> {
7
- delete(key: T): boolean;
8
- get(key: T): U | undefined;
9
- has(key: T): boolean;
10
- set(key: T, value: U): this;
11
- }
12
- //# sourceMappingURL=CaseInsensitiveMap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CaseInsensitiveMap.d.ts","sourceRoot":"","sources":["../src/CaseInsensitiveMap.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAE,SAAQ,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5C,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAOvB,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS;IAO1B,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAOpB,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;CAMrC"}
@@ -1,12 +0,0 @@
1
- import type { RuleConfigSeverity, UserConfig } from '@commitlint/types';
2
- declare const disabled: RuleConfigSeverity.Disabled;
3
- declare const commitlintConfig: UserConfig & {
4
- extends: UserConfig['extends'] | ['@commitlint/config-conventional'];
5
- rules: {
6
- 'body-max-line-length': [typeof disabled];
7
- 'footer-max-line-length': [typeof disabled];
8
- 'header-max-length': [typeof disabled];
9
- };
10
- };
11
- export default commitlintConfig;
12
- //# sourceMappingURL=commitlintConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commitlintConfig.d.ts","sourceRoot":"","sources":["../src/commitlintConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIxE,QAAA,MAAM,QAAQ,EAAQ,kBAAkB,CAAC,QAAQ,CAAC;AAClD,QAAA,MAAM,gBAAgB,EAAE,UAAU,GAAG;IACnC,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;IACrE,KAAK,EAAE;QACL,sBAAsB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;QAC1C,wBAAwB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;QAC5C,mBAAmB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;KACxC,CAAC;CAQH,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
package/mjs/debug.d.ts DELETED
@@ -1,6 +0,0 @@
1
- import { type Debugger } from 'debug';
2
- declare const _debug: Debugger & {
3
- log: never;
4
- };
5
- export default _debug;
6
- //# sourceMappingURL=debug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtD,QAAA,MAAM,MAAM,EAAoD,QAAQ,GAAG;IAAE,GAAG,EAAE,KAAK,CAAA;CAAE,CAAC;AAM1F,eAAe,MAAM,CAAC"}
@@ -1,38 +0,0 @@
1
- import type { Type } from 'arktype';
2
- import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
3
- import type { NugetProjectProperties } from './NugetProjectProperties.js';
4
- import { NugetRegistryInfo } from './NugetRegistryInfo.js';
5
- import type { Default } from 'arktype/internal/attributes.ts';
6
- export declare const DefaultGithubTokenEnvVars: readonly ['GH_TOKEN', 'GITHUB_TOKEN'];
7
- export declare class GithubNugetRegistryInfo extends NugetRegistryInfo {
8
- static readonly NUGET_PKG_GITHUB_COM = "https://nuget.pkg.github.com";
9
- /**
10
- * Creates an instance of GithubNugetRegistryInfo.
11
- * @param opts The input type of {@link GHNRIOpts.from}
12
- */
13
- constructor(opts: typeof GHNRIOpts.inferIn);
14
- /**
15
- * Returns `https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json`
16
- * or (if GITHUB_REPOSITORY_OWNER is not defined in {@link process.env} nor
17
- * {@link process.cwd() $CWD}/.env) `undefined`.
18
- * @returns If GITHUB_REPOSITORY_OWNER is defined, returns the GitHub Package Repository URL endpoint for NuGet pushes (--source).\
19
- * Otherwise, returns `undefined`
20
- */
21
- static getNugetGitHubUrl(): string | undefined;
22
- }
23
- /**
24
- * The default value of {@link GHNRIOpts.t.source `source`} is dependent on
25
- * {@link GHNRI.getNugetGitHubUrl} and will default to an empty string if the
26
- * environment variable `GITHUB_REPOSITORY_OWNER` is undefined!
27
- */
28
- export declare const GHNRIOpts: Type<{
29
- project: MSBuildProject | {
30
- readonly Items: Readonly<Required<MSBuildEvaluationOutput>['Items']>;
31
- readonly Properties: Readonly<NugetProjectProperties>;
32
- readonly Targets: readonly string[];
33
- readonly TargetResults: Required<MSBuildEvaluationOutput>['TargetResults'][];
34
- };
35
- source: Default<string, string>;
36
- tokenEnvVars: Default<readonly string[], readonly ['GH_TOKEN', 'GITHUB_TOKEN']>;
37
- }>;
38
- //# sourceMappingURL=GithubNugetRegistryInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GithubNugetRegistryInfo.d.ts","sourceRoot":"","sources":["../../src/dotnet/GithubNugetRegistryInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAG9D,eAAO,MAAM,yBAAyB,EAAE,SAAS,CAAC,UAAU,EAAE,cAAc,CAG1E,CAAC;AAEH,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC5D,MAAM,CAAC,QAAQ,CAAC,oBAAoB,kCAAkC;IAGtE;;;OAGG;gBACS,IAAI,EAAE,OAAO,SAAS,CAAC,OAAO;IAI1C;;;;;;OAMG;IACH,MAAM,CAAC,iBAAiB,IAAI,MAAM,GAAG,SAAS;CAM/C;AAGD;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC;IAC3B,OAAO,EAAE,cAAc,GAAG;QACxB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACrE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;QACtD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;QACpC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC;KAC9E,CAAC;IACF,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,YAAY,EAAE,OAAO,CAAC,SAAS,MAAM,EAAE,EAAE,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC;CACjF,CASC,CAAC"}
@@ -1,61 +0,0 @@
1
- import { NugetRegistryInfo } from './NugetRegistryInfo.js';
2
- import type { Out, Type } from 'arktype';
3
- import type { Default } from 'arktype/internal/attributes.ts';
4
- import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
5
- import type { NugetProjectProperties } from './NugetProjectProperties.js';
6
- export declare class GitlabNugetRegistryInfo extends NugetRegistryInfo {
7
- /**
8
- * The GitLab API v4 root URL.
9
- * @returns The value of the environment variable `CI_API_V4_URL`.
10
- * If that's `undefined`, 'https://gitlab.com/api/v4' is returned, instead.
11
- */
12
- static get CI_API_V4_URL(): string;
13
- /**
14
- * CI_PROJECT_ID - If you want to publish to your GitLab server, this needs to be set to the Id of the project you want to publish to. When running in GitLab CI this is already set to the project the pipeline runs in by GitLab.
15
- * This method checks the contents of your `.env` file, if present.
16
- * @returns The value of the environment variable `CI_PROJECT_ID` or `undefined`.
17
- * @todo add URI encoded project pathname as alternative e.g. 'halospv3%2FHCE.Shared' in 'https://gitlab.com/api/v4/projects/halospv3%2FHCE.Shared'
18
- */
19
- static get projectId(): string | undefined;
20
- /**
21
- * CI_PROJECT_NAMESPACE_ID
22
- * This method checks the contents of your `.env` file, if present.
23
- * @returns The value of the environment variable 'CI_PROJECT_NAMESPACE_ID' or `undefined`.
24
- */
25
- static get ownerId(): string | undefined;
26
- static readonly DefaultGitlabTokenEnvVars: readonly ['GL_TOKEN', 'GITLAB_TOKEN', 'CI_JOB_TOKEN'];
27
- /**
28
- * Creates an instance of GitlabNugetRegistryInfo.
29
- * @param opts The input type of {@link GLNRIOpts.from}
30
- */
31
- constructor(opts: typeof GLNRIOpts.inferIn);
32
- /**
33
- * Get the GitLab Nuget API for your project url as seen in https://docs.gitlab.com/ee/user/packages/nuget_repository/index.html#publish-a-nuget-package-by-using-cicd
34
- * ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/nuget/index.json
35
- * @returns If {@link this.projectId} is a string, a string formatted like
36
- * `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/nuget/index.json`.
37
- * Else, {@link Error}.
38
- */
39
- static get projectUrl(): string | Error;
40
- /**
41
- * ${CI_API_V4_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/-/packages/nuget/index.json
42
- * @returns If {@link ownerId} is a string, then a string formatted like
43
- * `${CI_API_V4_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/-/packages/nuget/index.json`.
44
- * Else, {@link Error}.
45
- */
46
- static get groupUrl(): string | Error;
47
- }
48
- /**
49
- * The Arktype definition for {@link GitlabNugetRegistryInfo}'s constructor parameter. Construct an object of this type by calling {@link GLNRIOpts.from}
50
- */
51
- export declare const GLNRIOpts: Type<{
52
- project: MSBuildProject | {
53
- readonly Items: Readonly<Required<MSBuildEvaluationOutput>['Items']>;
54
- readonly Properties: Readonly<NugetProjectProperties>;
55
- readonly Targets: readonly string[];
56
- readonly TargetResults: Required<MSBuildEvaluationOutput>['TargetResults'][];
57
- };
58
- tokenEnvVars: Default<readonly string[], readonly ['GL_TOKEN', 'GITLAB_TOKEN', 'CI_JOB_TOKEN']>;
59
- source: (In: Default<string | Error, string | Error>) => Out<string | Error>;
60
- }>;
61
- //# sourceMappingURL=GitlabNugetRegistryInfo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GitlabNugetRegistryInfo.d.ts","sourceRoot":"","sources":["../../src/dotnet/GitlabNugetRegistryInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,iBAAiB,EAGlB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAG1E,qBAAa,uBAAwB,SAAQ,iBAAiB;IAC5D;;;;OAIG;IACH,MAAM,KAAK,aAAa,IAAI,MAAM,CAEjC;IAED;;;;;OAKG;IACH,MAAM,KAAK,SAAS,IAAI,MAAM,GAAG,SAAS,CAEzC;IAED;;;;OAIG;IACH,MAAM,KAAK,OAAO,IAAI,MAAM,GAAG,SAAS,CAEvC;IAED,MAAM,CAAC,QAAQ,CAAC,yBAAyB,EAAE,SAAS,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,CAIpF;IAEZ;;;OAGG;gBACS,IAAI,EAAE,OAAO,SAAS,CAAC,OAAO;IAO1C;;;;;;OAMG;IACH,MAAM,KAAK,UAAU,IAAI,MAAM,GAAG,KAAK,CAItC;IAED;;;;;OAKG;IACH,MAAM,KAAK,QAAQ,IAAI,MAAM,GAAG,KAAK,CAIpC;CACF;AAGD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,CAAC;IAC3B,OAAO,EAAE,cAAc,GAAG;QACxB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QACrE,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;QACtD,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;QACpC,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,uBAAuB,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC;KAC9E,CAAC;IACF,YAAY,EAAE,OAAO,CAAC,SAAS,MAAM,EAAE,EAAE,SAAS,CAAC,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC;IAChG,MAAM,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC,MAAM,GAAG,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;CAC9E,CA0BC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=IsNextVersionAlreadyPublished.cli.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IsNextVersionAlreadyPublished.cli.d.ts","sourceRoot":"","sources":["../../src/dotnet/IsNextVersionAlreadyPublished.cli.ts"],"names":[],"mappings":""}
@@ -1,264 +0,0 @@
1
- import { type Scope, type Type } from 'arktype';
2
- import { NugetProjectProperties } from './NugetProjectProperties.js';
3
- declare const msbuildEvaluationOutput: Type<{
4
- Properties?: Record<string, string> | undefined;
5
- Items?: Record<string, {
6
- [x: string]: string | undefined;
7
- Identity: string;
8
- FullPath: string;
9
- RootDir: string;
10
- Filename: string;
11
- Extension: string;
12
- RelativeDir: string;
13
- Directory: string;
14
- RecursiveDir: string;
15
- ModifiedTime: string;
16
- CreatedTime: string;
17
- AccessedTime: string;
18
- DefiningProjectFullPath: string;
19
- DefiningProjectDirectory: string;
20
- DefiningProjectName: string;
21
- DefiningProjectExtension: string;
22
- SubType?: string;
23
- TargetFrameworkIdentifier?: string | undefined;
24
- TargetPlatformMoniker?: string | undefined;
25
- CopyUpToDateMarker?: string | undefined;
26
- TargetPlatformIdentifier?: string | undefined;
27
- TargetFrameworkVersion?: string | undefined;
28
- ReferenceAssembly?: string | undefined;
29
- }[]> | undefined;
30
- TargetResults?: Record<string, {
31
- Result: 'Success';
32
- Items: {
33
- [x: string]: string | undefined;
34
- Identity: string;
35
- FullPath: string;
36
- RootDir: string;
37
- Filename: string;
38
- Extension: string;
39
- RelativeDir: string;
40
- Directory: string;
41
- RecursiveDir: string;
42
- ModifiedTime: string;
43
- CreatedTime: string;
44
- AccessedTime: string;
45
- DefiningProjectFullPath: string;
46
- DefiningProjectDirectory: string;
47
- DefiningProjectName: string;
48
- DefiningProjectExtension: string;
49
- SubType?: string | undefined;
50
- TargetFrameworkIdentifier?: string | undefined;
51
- TargetPlatformMoniker?: string | undefined;
52
- CopyUpToDateMarker?: string | undefined;
53
- TargetPlatformIdentifier?: string | undefined;
54
- TargetFrameworkVersion?: string | undefined;
55
- ReferenceAssembly?: string | undefined;
56
- }[];
57
- } | {
58
- Result: 'Failure';
59
- Items: never[];
60
- }> | undefined;
61
- }>;
62
- export declare class MSBuildEvaluationOutput {
63
- /**
64
- * @param rawMSBuildEvaluation The output of a CLI MSBuild project evaluation.
65
- * May be the UTF-8 string-encoded JSON or the object decoded from that JSON.
66
- */
67
- constructor(rawMSBuildEvaluation: Parameters<typeof JSON.parse>[0] | Parameters<typeof msbuildEvaluationOutput.from>[0]);
68
- /**
69
- * The specified properties and their values as evaluated by MSBuild Core.
70
- * `-getProperty:{propertyName,...}`
71
- */
72
- Properties?: typeof msbuildEvaluationOutput.infer.Properties;
73
- /**
74
- * The specified items and their values and associated metadata as evaluated
75
- * by MSBuild Core.
76
- * `-getItem:{itemName,...}`
77
- */
78
- Items?: typeof msbuildEvaluationOutput.infer.Items;
79
- /**
80
- * The specified Targets and their output values as evaluated by MSBuild
81
- * Core.
82
- * `-getTargetResult:{targetName,...}`
83
- */
84
- TargetResults?: typeof msbuildEvaluationOutput.infer.TargetResults;
85
- }
86
- export declare const EvaluationOptions: Type<{
87
- FullName: string;
88
- Property: {
89
- MSBuildProjectFullPath?: string | undefined;
90
- AssemblyName?: string | undefined;
91
- BaseIntermediateOutputPath?: string | undefined;
92
- BaseOutputPath?: string | undefined;
93
- Description?: string | undefined;
94
- IntermediateOutput?: string | undefined;
95
- OutDir?: string | undefined;
96
- OutputPath?: string | undefined;
97
- Version?: string | undefined;
98
- VersionPrefix?: string | undefined;
99
- VersionSuffix?: string | undefined;
100
- TargetFramework?: string | undefined;
101
- TargetFrameworks?: string | undefined;
102
- RuntimeIdentifier?: string | undefined;
103
- RuntimeIdentifiers?: string | undefined;
104
- };
105
- Targets: readonly string[] | string[];
106
- GetItem: readonly string[] | string[];
107
- GetProperty: readonly string[] | string[];
108
- GetTargetResult: readonly string[] | string[];
109
- }>;
110
- export declare class MSBuildProject {
111
- /**
112
- * Properties for multi-targeting `dotnet publish` outputs.
113
- * These are included in {@link NPPGetterNames.InstanceGettersRecursive}.
114
- */
115
- static readonly MatrixProperties: readonly string[];
116
- /**
117
- * Creates an instance of MSBuildProject.
118
- * @param opts The order-independent arguments for this constructor.
119
- * Properties may be added or moved around in this definition without
120
- * breaking compatibility.
121
- * @param opts.fullPath The full path of the MSBuild project's file. This
122
- * should have a '.csproj', '.fsproj', or '.vbproj' file extension.
123
- * @param opts.projTargets A list of MSBuild Targets supported by the project.
124
- * @param opts.evaluation The output of an MSBuild project evaluation. This
125
- * comprises MSBuild Properties, Items, and Target results.
126
- */
127
- constructor(opts: {
128
- fullPath: string;
129
- projTargets: string[];
130
- evaluation: MSBuildEvaluationOutput;
131
- });
132
- readonly Items: Readonly<Required<MSBuildEvaluationOutput>['Items']>;
133
- readonly Properties: Readonly<NugetProjectProperties>;
134
- readonly Targets: readonly string[];
135
- /**
136
- * Allows appending subsequent target results.
137
- */
138
- readonly TargetResults: Required<MSBuildEvaluationOutput>['TargetResults'][];
139
- /**
140
- * @param projectPath The full path of the project file or its directory. A
141
- * relative path may be passed, but will resolve relative to the current
142
- * working directory.
143
- * @param includeNonPublic Include conventionally internal/private MSBuild
144
- * targets in the result.
145
- * @returns A string array of the project's MSBuild targets.
146
- * @todo consider 'file' of -targets[:file]
147
- * Prints a list of available targets without executing the
148
- * actual build process. By default the output is written to
149
- * the console window. If the path to an output file
150
- * is provided that will be used instead.
151
- * (Short form: -ts)
152
- * Example:
153
- * -ts:out.txt
154
- */
155
- static GetTargets(projectPath: string, includeNonPublic?: boolean): Promise<string[]>;
156
- /**
157
- * Evaluate {@link Items}, {@link Properties}, and {@link TargetResults},
158
- * returning them as an instance of {@link MSBuildProject}.\
159
- * Note: MSBuild will probably fail if Restore is skipped and another
160
- * target is specified. If you choose Pack, you must do ['Restore', 'Pack'].
161
- * @param options The result of {@link EvaluationOptions.from}.
162
- * @returns A promised {@link MSBuildProject} instance.
163
- * @throws {Error} if the exec command fails -OR- the JSON parse fails -OR-
164
- * MSBuildProject's constructor fails.
165
- * @see {@link PackableProjectsToMSBuildProjects} for most use-cases.
166
- */
167
- static Evaluate(options: typeof EvaluationOptions.inferOut): Promise<MSBuildProject>;
168
- /**
169
- * Evaluate multiple project paths with some default Evaluate options.
170
- * @async
171
- * @param projectsToPackAndPush An array of MSBuild projects' full file
172
- * paths. If a path is a directory, files in that directory are filtered for
173
- * `.csproj`, `.fsproj`, and `.vbproj` project files.
174
- * See https://github.com/dotnet/sdk/blob/497f334b2862bdf98b30c00ede2fd259ea5f624d/src/Cli/dotnet/Commands/New/MSBuildEvaluation/MSBuildEvaluationResult.cs#L19-L32.\
175
- * @returns A promised array of {@link MSBuildProject} instances.
176
- * All known MSBuild and NuGet properties are evaluated.
177
- * If applicable, a project's "Pack" target is evaluated.
178
- */
179
- static PackableProjectsToMSBuildProjects(projectsToPackAndPush: string[]): Promise<Promise<MSBuildProject>[]>;
180
- static fromJSON(json: string): MSBuildProject;
181
- }
182
- /**
183
- * ArkType type definitions for internal usage, but may be re-used elsewhere
184
- * @internal
185
- */
186
- export declare const _InternalMSBuildEvaluationTypes: Scope<{
187
- msbuildEvaluationOutput: {
188
- Properties?: Record<string, string> | undefined;
189
- Items?: Record<string, {
190
- [x: string]: string | undefined;
191
- Identity: string;
192
- FullPath: string;
193
- RootDir: string;
194
- Filename: string;
195
- Extension: string;
196
- RelativeDir: string;
197
- Directory: string;
198
- RecursiveDir: string;
199
- ModifiedTime: string;
200
- CreatedTime: string;
201
- AccessedTime: string;
202
- DefiningProjectFullPath: string;
203
- DefiningProjectDirectory: string;
204
- DefiningProjectName: string;
205
- DefiningProjectExtension: string;
206
- SubType?: string | undefined;
207
- TargetFrameworkIdentifier?: string | undefined;
208
- TargetPlatformMoniker?: string | undefined;
209
- CopyUpToDateMarker?: string | undefined;
210
- TargetPlatformIdentifier?: string | undefined;
211
- TargetFrameworkVersion?: string | undefined;
212
- ReferenceAssembly?: string | undefined;
213
- }[]> | undefined;
214
- TargetResults?: Record<string, {
215
- Result: 'Success';
216
- Items: {
217
- [x: string]: string | undefined;
218
- Identity: string;
219
- FullPath: string;
220
- RootDir: string;
221
- Filename: string;
222
- Extension: string;
223
- RelativeDir: string;
224
- Directory: string;
225
- RecursiveDir: string;
226
- ModifiedTime: string;
227
- CreatedTime: string;
228
- AccessedTime: string;
229
- DefiningProjectFullPath: string;
230
- DefiningProjectDirectory: string;
231
- DefiningProjectName: string;
232
- DefiningProjectExtension: string;
233
- SubType?: string | undefined;
234
- TargetFrameworkIdentifier?: string | undefined;
235
- TargetPlatformMoniker?: string | undefined;
236
- CopyUpToDateMarker?: string | undefined;
237
- TargetPlatformIdentifier?: string | undefined;
238
- TargetFrameworkVersion?: string | undefined;
239
- ReferenceAssembly?: string | undefined;
240
- }[];
241
- } | {
242
- Result: 'Failure';
243
- Items: never[];
244
- }> | undefined;
245
- };
246
- }>;
247
- /**
248
- * Use this in your catch statement or .catch call to return `undefined` when
249
- * a "file in use by another process" (i.e. EBUSY/ERROR_SHARING_VIOLATION) error is reported.
250
- * @param error Probably an Error object
251
- * @returns `undefined` if file in use by another process
252
- */
253
- export declare function catchEBUSY(error: unknown): undefined;
254
- /**
255
- *
256
- * Use this in your catch statement or .catch call to return `undefined` when
257
- * MSBuild error CSC2012 (e.g. "file in use by another process") is reported.
258
- * @param error Probably an Error object
259
- * @returns `undefined` if CSC2012 (file in use by another process) occurs
260
- * @deprecated Use {@link catchEBUSY}.
261
- */
262
- export declare function catchCsc2012(error: unknown): undefined;
263
- export {};
264
- //# sourceMappingURL=MSBuildProject.d.ts.map