@halospv3/hce.shared-config 3.4.5 → 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 (290) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dotnet/.github/workflows/_unit_test.yml +1 -1
  4. package/mjs/CaseInsensitiveMap.d.mts +15 -0
  5. package/mjs/CaseInsensitiveMap.d.mts.map +1 -0
  6. package/mjs/CaseInsensitiveMap.mjs +2 -33
  7. package/mjs/CaseInsensitiveMap.mjs.map +1 -1
  8. package/mjs/commitlintConfig.d.mts +15 -0
  9. package/mjs/commitlintConfig.d.mts.map +1 -0
  10. package/mjs/commitlintConfig.mjs +2 -13
  11. package/mjs/commitlintConfig.mjs.map +1 -1
  12. package/mjs/debug.d.mts +9 -0
  13. package/mjs/debug.d.mts.map +1 -0
  14. package/mjs/debug.mjs +2 -9
  15. package/mjs/debug.mjs.map +1 -1
  16. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts +42 -0
  17. package/mjs/dotnet/GithubNugetRegistryInfo.d.mts.map +1 -0
  18. package/mjs/dotnet/GithubNugetRegistryInfo.mjs +2 -43
  19. package/mjs/dotnet/GithubNugetRegistryInfo.mjs.map +1 -1
  20. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts +65 -0
  21. package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts.map +1 -0
  22. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs +2 -99
  23. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs.map +1 -1
  24. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.mts +1 -0
  25. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs +2 -44
  26. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs.map +1 -1
  27. package/mjs/dotnet/MSBuildProject.d.mts +267 -0
  28. package/mjs/dotnet/MSBuildProject.d.mts.map +1 -0
  29. package/mjs/dotnet/MSBuildProject.mjs +3 -490
  30. package/mjs/dotnet/MSBuildProject.mjs.map +1 -1
  31. package/mjs/dotnet/MSBuildProjectProperties.d.mts +172 -0
  32. package/mjs/dotnet/MSBuildProjectProperties.d.mts.map +1 -0
  33. package/mjs/dotnet/MSBuildProjectProperties.mjs +2 -260
  34. package/mjs/dotnet/MSBuildProjectProperties.mjs.map +1 -1
  35. package/mjs/dotnet/NugetProjectProperties.d.mts +381 -0
  36. package/mjs/dotnet/NugetProjectProperties.d.mts.map +1 -0
  37. package/mjs/dotnet/NugetProjectProperties.mjs +2 -577
  38. package/mjs/dotnet/NugetProjectProperties.mjs.map +1 -1
  39. package/mjs/dotnet/NugetRegistryInfo.d.mts +387 -0
  40. package/mjs/dotnet/NugetRegistryInfo.d.mts.map +1 -0
  41. package/mjs/dotnet/NugetRegistryInfo.mjs +4 -752
  42. package/mjs/dotnet/NugetRegistryInfo.mjs.map +1 -1
  43. package/mjs/dotnet/helpers.d.mts +66 -0
  44. package/mjs/dotnet/helpers.d.mts.map +1 -0
  45. package/mjs/dotnet/helpers.mjs +2 -354
  46. package/mjs/dotnet/helpers.mjs.map +1 -1
  47. package/mjs/dotnet/index.d.mts +8 -0
  48. package/mjs/dotnet/index.mjs +1 -9
  49. package/mjs/dotnet.d.mts +8 -0
  50. package/mjs/dotnet.mjs +1 -9
  51. package/mjs/eslintConfig.d.mts +7 -0
  52. package/mjs/eslintConfig.d.mts.map +1 -0
  53. package/mjs/eslintConfig.mjs +2 -64
  54. package/mjs/eslintConfig.mjs.map +1 -1
  55. package/mjs/index.d.mts +2 -0
  56. package/mjs/index.mjs +1 -4
  57. package/mjs/insertPlugins.d.mts +22 -0
  58. package/mjs/insertPlugins.d.mts.map +1 -0
  59. package/mjs/insertPlugins.mjs +2 -73
  60. package/mjs/insertPlugins.mjs.map +1 -1
  61. package/mjs/semantic-release__commit-analyzer.d.mts +44 -0
  62. package/mjs/semantic-release__commit-analyzer.d.mts.map +1 -0
  63. package/mjs/semantic-release__exec.d.mts +17 -0
  64. package/mjs/semantic-release__exec.d.mts.map +1 -0
  65. package/mjs/semantic-release__git.d.mts +83 -0
  66. package/mjs/semantic-release__git.d.mts.map +1 -0
  67. package/mjs/semantic-release__github.d.mts +141 -0
  68. package/mjs/semantic-release__github.d.mts.map +1 -0
  69. package/mjs/semanticReleaseConfig.d.mts +94 -0
  70. package/mjs/semanticReleaseConfig.d.mts.map +1 -0
  71. package/mjs/semanticReleaseConfig.mjs +2 -63
  72. package/mjs/semanticReleaseConfig.mjs.map +1 -1
  73. package/mjs/semanticReleaseConfigDotnet.d.mts +96 -0
  74. package/mjs/semanticReleaseConfigDotnet.d.mts.map +1 -0
  75. package/mjs/semanticReleaseConfigDotnet.mjs +7 -274
  76. package/mjs/semanticReleaseConfigDotnet.mjs.map +1 -1
  77. package/mjs/setupGitPluginSpec.d.mts +18 -0
  78. package/mjs/setupGitPluginSpec.d.mts.map +1 -0
  79. package/mjs/setupGitPluginSpec.default.d.mts +13 -0
  80. package/mjs/setupGitPluginSpec.default.d.mts.map +1 -0
  81. package/mjs/setupGitPluginSpec.default.mjs +4 -0
  82. package/mjs/setupGitPluginSpec.default.mjs.map +1 -0
  83. package/mjs/setupGitPluginSpec.mjs +2 -144
  84. package/mjs/setupGitPluginSpec.mjs.map +1 -1
  85. package/mjs/utils/Exact.d.mts +18 -0
  86. package/mjs/utils/Exact.d.mts.map +1 -0
  87. package/mjs/utils/Exact.mjs +2 -75
  88. package/mjs/utils/Exact.mjs.map +1 -1
  89. package/mjs/utils/GracefulRecursion.d.mts +14 -0
  90. package/mjs/utils/GracefulRecursion.d.mts.map +1 -0
  91. package/mjs/utils/env.d.mts +28 -0
  92. package/mjs/utils/env.d.mts.map +1 -0
  93. package/mjs/utils/env.mjs +2 -47
  94. package/mjs/utils/env.mjs.map +1 -1
  95. package/mjs/utils/execAsync.d.mts +40 -0
  96. package/mjs/utils/execAsync.d.mts.map +1 -0
  97. package/mjs/utils/execAsync.mjs +10 -59
  98. package/mjs/utils/execAsync.mjs.map +1 -1
  99. package/mjs/utils/isError.d.mts +14 -0
  100. package/mjs/utils/isError.d.mts.map +1 -0
  101. package/mjs/utils/isError.mjs +2 -19
  102. package/mjs/utils/isError.mjs.map +1 -1
  103. package/mjs/utils/miscTypes.d.mts +16 -0
  104. package/mjs/utils/miscTypes.d.mts.map +1 -0
  105. package/mjs/utils/miscTypes.mjs +2 -10
  106. package/mjs/utils/miscTypes.mjs.map +1 -1
  107. package/mjs/utils/reflection/FunctionLike.d.mts +17 -0
  108. package/mjs/utils/reflection/FunctionLike.d.mts.map +1 -0
  109. package/mjs/utils/reflection/GetterDescriptor.d.mts +11 -0
  110. package/mjs/utils/reflection/GetterDescriptor.d.mts.map +1 -0
  111. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts +26 -0
  112. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts.map +1 -0
  113. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts +17 -0
  114. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts.map +1 -0
  115. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts +18 -0
  116. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts.map +1 -0
  117. package/mjs/utils/reflection/OwnKeyOf.d.mts +15 -0
  118. package/mjs/utils/reflection/OwnKeyOf.d.mts.map +1 -0
  119. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts +15 -0
  120. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts.map +1 -0
  121. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts +13 -0
  122. package/mjs/utils/reflection/PropertyDescriptorMap.d.mts.map +1 -0
  123. package/mjs/utils/reflection/filterForGetters.d.mts +11 -0
  124. package/mjs/utils/reflection/filterForGetters.d.mts.map +1 -0
  125. package/mjs/utils/reflection/filterForGetters.mjs +2 -27
  126. package/mjs/utils/reflection/filterForGetters.mjs.map +1 -1
  127. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts +26 -0
  128. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts.map +1 -0
  129. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs +2 -34
  130. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs.map +1 -1
  131. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts +51 -0
  132. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts.map +1 -0
  133. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs +2 -72
  134. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs.map +1 -1
  135. package/mjs/utils/reflection/getPrototypeChainOf.d.mts +19 -0
  136. package/mjs/utils/reflection/getPrototypeChainOf.d.mts.map +1 -0
  137. package/mjs/utils/reflection/getPrototypeChainOf.mjs +2 -55
  138. package/mjs/utils/reflection/getPrototypeChainOf.mjs.map +1 -1
  139. package/mjs/utils/reflection/getPrototypeOf.d.mts +12 -0
  140. package/mjs/utils/reflection/getPrototypeOf.d.mts.map +1 -0
  141. package/mjs/utils/reflection/getPrototypeOf.mjs +2 -10
  142. package/mjs/utils/reflection/getPrototypeOf.mjs.map +1 -1
  143. package/mjs/utils/reflection/inheritance.d.mts +173 -0
  144. package/mjs/utils/reflection/inheritance.d.mts.map +1 -0
  145. package/mjs/utils/reflection/inheritance.mjs +2 -148
  146. package/mjs/utils/reflection/inheritance.mjs.map +1 -1
  147. package/mjs/utils/reflection/isConstructor.d.mts +20 -0
  148. package/mjs/utils/reflection/isConstructor.d.mts.map +1 -0
  149. package/mjs/utils/reflection/isConstructor.mjs +2 -63
  150. package/mjs/utils/reflection/isConstructor.mjs.map +1 -1
  151. package/mjs/utils/reflection/isGetterDescriptor.d.mts +13 -0
  152. package/mjs/utils/reflection/isGetterDescriptor.d.mts.map +1 -0
  153. package/mjs/utils/reflection/isGetterDescriptor.mjs +2 -12
  154. package/mjs/utils/reflection/isGetterDescriptor.mjs.map +1 -1
  155. package/mjs/utils/reflection/listOwnGetters.d.mts +29 -0
  156. package/mjs/utils/reflection/listOwnGetters.d.mts.map +1 -0
  157. package/mjs/utils/reflection/listOwnGetters.mjs +2 -39
  158. package/mjs/utils/reflection/listOwnGetters.mjs.map +1 -1
  159. package/mjs/utils/reflection.d.mts +18 -0
  160. package/mjs/utils/reflection.mjs +1 -10
  161. package/package.json +102 -65
  162. package/src/debug.ts +1 -0
  163. package/src/dotnet/GithubNugetRegistryInfo.ts +4 -4
  164. package/src/dotnet/GitlabNugetRegistryInfo.ts +5 -5
  165. package/src/dotnet/IsNextVersionAlreadyPublished.cli.ts +2 -1
  166. package/src/dotnet/MSBuildProject.ts +8 -7
  167. package/src/dotnet/MSBuildProjectProperties.ts +4 -3
  168. package/src/dotnet/NugetProjectProperties.ts +4 -4
  169. package/src/dotnet/NugetRegistryInfo.ts +9 -8
  170. package/src/dotnet/helpers.ts +5 -4
  171. package/src/dotnet/index.ts +8 -8
  172. package/src/dotnet.ts +1 -1
  173. package/src/index.ts +1 -1
  174. package/src/semanticReleaseConfig.ts +5 -1
  175. package/src/semanticReleaseConfigDotnet.ts +10 -8
  176. package/src/setupGitPluginSpec.default.ts +22 -0
  177. package/src/setupGitPluginSpec.ts +4 -21
  178. package/src/tsconfig.json +1 -2
  179. package/src/utils/execAsync.ts +1 -1
  180. package/src/utils/reflection/InstancePropertyDescriptorMap.d.ts +1 -1
  181. package/src/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts +2 -2
  182. package/src/utils/reflection/OwnGetterDescriptorMap.d.ts +2 -2
  183. package/src/utils/reflection/filterForGetters.ts +5 -5
  184. package/src/utils/reflection/getOwnPropertyDescriptors.ts +4 -4
  185. package/src/utils/reflection/getOwnPropertyDescriptorsRecursively.ts +12 -12
  186. package/src/utils/reflection/getPrototypeChainOf.ts +5 -5
  187. package/src/utils/reflection/getPrototypeOf.ts +1 -1
  188. package/src/utils/reflection/inheritance.ts +5 -5
  189. package/src/utils/reflection/isGetterDescriptor.ts +1 -1
  190. package/src/utils/reflection/listOwnGetters.ts +6 -6
  191. package/src/utils/reflection.ts +17 -17
  192. package/tsconfig.base.json +2 -2
  193. package/mjs/CaseInsensitiveMap.d.ts +0 -12
  194. package/mjs/CaseInsensitiveMap.d.ts.map +0 -1
  195. package/mjs/commitlintConfig.d.ts +0 -12
  196. package/mjs/commitlintConfig.d.ts.map +0 -1
  197. package/mjs/debug.d.ts +0 -6
  198. package/mjs/debug.d.ts.map +0 -1
  199. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts +0 -38
  200. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts.map +0 -1
  201. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts +0 -61
  202. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts.map +0 -1
  203. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts +0 -2
  204. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts.map +0 -1
  205. package/mjs/dotnet/MSBuildProject.d.ts +0 -264
  206. package/mjs/dotnet/MSBuildProject.d.ts.map +0 -1
  207. package/mjs/dotnet/MSBuildProjectProperties.d.ts +0 -170
  208. package/mjs/dotnet/MSBuildProjectProperties.d.ts.map +0 -1
  209. package/mjs/dotnet/NugetProjectProperties.d.ts +0 -379
  210. package/mjs/dotnet/NugetProjectProperties.d.ts.map +0 -1
  211. package/mjs/dotnet/NugetRegistryInfo.d.ts +0 -384
  212. package/mjs/dotnet/NugetRegistryInfo.d.ts.map +0 -1
  213. package/mjs/dotnet/helpers.d.ts +0 -63
  214. package/mjs/dotnet/helpers.d.ts.map +0 -1
  215. package/mjs/dotnet/index.d.ts +0 -9
  216. package/mjs/dotnet/index.d.ts.map +0 -1
  217. package/mjs/dotnet/index.mjs.map +0 -1
  218. package/mjs/dotnet.d.ts +0 -2
  219. package/mjs/dotnet.d.ts.map +0 -1
  220. package/mjs/dotnet.mjs.map +0 -1
  221. package/mjs/eslintConfig.d.ts +0 -4
  222. package/mjs/eslintConfig.d.ts.map +0 -1
  223. package/mjs/index.d.ts +0 -3
  224. package/mjs/index.d.ts.map +0 -1
  225. package/mjs/index.mjs.map +0 -1
  226. package/mjs/insertPlugins.d.ts +0 -18
  227. package/mjs/insertPlugins.d.ts.map +0 -1
  228. package/mjs/semantic-release__commit-analyzer.d.mjs +0 -2
  229. package/mjs/semantic-release__commit-analyzer.d.mjs.map +0 -1
  230. package/mjs/semantic-release__exec.d.mjs +0 -2
  231. package/mjs/semantic-release__exec.d.mjs.map +0 -1
  232. package/mjs/semantic-release__git.d.mjs +0 -2
  233. package/mjs/semantic-release__git.d.mjs.map +0 -1
  234. package/mjs/semantic-release__github.d.mjs +0 -2
  235. package/mjs/semantic-release__github.d.mjs.map +0 -1
  236. package/mjs/semanticReleaseConfig.d.ts +0 -97
  237. package/mjs/semanticReleaseConfig.d.ts.map +0 -1
  238. package/mjs/semanticReleaseConfigDotnet.d.ts +0 -112
  239. package/mjs/semanticReleaseConfigDotnet.d.ts.map +0 -1
  240. package/mjs/setupGitPluginSpec.d.ts +0 -22
  241. package/mjs/setupGitPluginSpec.d.ts.map +0 -1
  242. package/mjs/utils/Exact.d.ts +0 -20
  243. package/mjs/utils/Exact.d.ts.map +0 -1
  244. package/mjs/utils/GracefulRecursion.d.mjs +0 -2
  245. package/mjs/utils/GracefulRecursion.d.mjs.map +0 -1
  246. package/mjs/utils/env.d.ts +0 -24
  247. package/mjs/utils/env.d.ts.map +0 -1
  248. package/mjs/utils/execAsync.d.ts +0 -37
  249. package/mjs/utils/execAsync.d.ts.map +0 -1
  250. package/mjs/utils/isError.d.ts +0 -11
  251. package/mjs/utils/isError.d.ts.map +0 -1
  252. package/mjs/utils/miscTypes.d.ts +0 -12
  253. package/mjs/utils/miscTypes.d.ts.map +0 -1
  254. package/mjs/utils/reflection/FunctionLike.d.mjs +0 -2
  255. package/mjs/utils/reflection/FunctionLike.d.mjs.map +0 -1
  256. package/mjs/utils/reflection/GetterDescriptor.d.mjs +0 -2
  257. package/mjs/utils/reflection/GetterDescriptor.d.mjs.map +0 -1
  258. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs +0 -2
  259. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs.map +0 -1
  260. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs +0 -2
  261. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs.map +0 -1
  262. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs +0 -2
  263. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs.map +0 -1
  264. package/mjs/utils/reflection/OwnKeyOf.d.mjs +0 -2
  265. package/mjs/utils/reflection/OwnKeyOf.d.mjs.map +0 -1
  266. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs +0 -2
  267. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs.map +0 -1
  268. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs +0 -2
  269. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs.map +0 -1
  270. package/mjs/utils/reflection/filterForGetters.d.ts +0 -7
  271. package/mjs/utils/reflection/filterForGetters.d.ts.map +0 -1
  272. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts +0 -22
  273. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts.map +0 -1
  274. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts +0 -56
  275. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts.map +0 -1
  276. package/mjs/utils/reflection/getPrototypeChainOf.d.ts +0 -16
  277. package/mjs/utils/reflection/getPrototypeChainOf.d.ts.map +0 -1
  278. package/mjs/utils/reflection/getPrototypeOf.d.ts +0 -8
  279. package/mjs/utils/reflection/getPrototypeOf.d.ts.map +0 -1
  280. package/mjs/utils/reflection/inheritance.d.ts +0 -180
  281. package/mjs/utils/reflection/inheritance.d.ts.map +0 -1
  282. package/mjs/utils/reflection/isConstructor.d.ts +0 -17
  283. package/mjs/utils/reflection/isConstructor.d.ts.map +0 -1
  284. package/mjs/utils/reflection/isGetterDescriptor.d.ts +0 -9
  285. package/mjs/utils/reflection/isGetterDescriptor.d.ts.map +0 -1
  286. package/mjs/utils/reflection/listOwnGetters.d.ts +0 -26
  287. package/mjs/utils/reflection/listOwnGetters.d.ts.map +0 -1
  288. package/mjs/utils/reflection.d.ts +0 -18
  289. package/mjs/utils/reflection.d.ts.map +0 -1
  290. package/mjs/utils/reflection.mjs.map +0 -1
@@ -0,0 +1,381 @@
1
+ import { BooleanString, EmptyOrBooleanString } from "../utils/miscTypes.mjs";
2
+ import { ClassLike, WithProto } from "../utils/reflection/inheritance.mjs";
3
+ import { CaseInsensitiveMap } from "../CaseInsensitiveMap.mjs";
4
+ import { Class_MSBPP, MSBuildProjectProperties } from "./MSBuildProjectProperties.mjs";
5
+ import { type } from "arktype";
6
+
7
+ //#region src/dotnet/NugetProjectProperties.d.ts
8
+ declare const Type_RepositoryType: type<"" | "git" | "tfs">;
9
+ declare const Type_SymbolPackageFormat: type<"symbols.nupkg" | "snupkg">;
10
+ /**
11
+ * A readonly record of a .csproj or .fsproj with NuGet configuration properties in
12
+ * addition to those specified by {@link MSBuildProjectProperties}. This record
13
+ * should be considered immutable. A new instance should be constructed from MSBuild's evaluation output.
14
+ * @see https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target-inputs
15
+ */
16
+ declare class NugetProjectProperties extends MSBuildProjectProperties {
17
+ private _isPackable;
18
+ private _suppressDependenciesWhenPacking;
19
+ private _packageVersion;
20
+ private _packageId;
21
+ private _packageDescription;
22
+ private _authors;
23
+ private _copyright;
24
+ private _packageRequireLicenseAcceptance;
25
+ private _developmentDependency;
26
+ private _packageLicenseExpression;
27
+ private _packageLicenseFile;
28
+ private _packageProjectUrl;
29
+ private _packageIcon;
30
+ private _packageReleaseNotes;
31
+ private _packageReadmeFile;
32
+ private _packageTags;
33
+ private _packageOutputPath;
34
+ private _includeSymbols;
35
+ private _includeSource;
36
+ private _packageType;
37
+ private _isTool;
38
+ private _repositoryUrl;
39
+ private _repositoryType;
40
+ private _repositoryCommit;
41
+ private _symbolPackageFormat;
42
+ private _noPackageAnalysis;
43
+ private _minClientVersion;
44
+ private _includeBuiltOutput;
45
+ private _includeContentInPack;
46
+ private _buildOutputTargetFolder;
47
+ private _contentTargetFolders;
48
+ private _nuspecFile;
49
+ private _nuspecBasePath;
50
+ private _nuspecProperties;
51
+ private _title;
52
+ private _company;
53
+ private _product;
54
+ /**
55
+ * Initialize a readonly record of an MSBuild project's properties, including those related to NuGet.
56
+ * @param msbuildProjectFullPath See {@link NugetProjectProperties.MSBuildProjectFullPath}
57
+ * @param properties The dictionary returned by MSBuild's `-getProperty:propname,...` argument
58
+ */
59
+ constructor(msbuildProjectFullPath: string, properties: CaseInsensitiveMap<string, string>);
60
+ /**
61
+ * @returns A string-formatted boolean. If 'false', the project's `Pack`
62
+ * Target (if available) will no-op.
63
+ *
64
+ * Default: `"true"`
65
+ */
66
+ get IsPackable(): BooleanString;
67
+ /**
68
+ * @returns `"true"` or `"false"`. If "true", the package's dependencies are
69
+ * excluded from the generated NuGet package.
70
+ *
71
+ * Default: `"false"`
72
+ */
73
+ get SuppressDependenciesWhenPacking(): BooleanString;
74
+ /**
75
+ * @returns A semver-compatible version number in the form
76
+ * Major.Minor.Patch[-Suffix], where -Suffix identifies prerelease versions.
77
+ *
78
+ * Default: {@link Version}
79
+ * @example "1.0.0", "1.0.0-beta", "1.0.0-beta-00345"
80
+ */
81
+ get PackageVersion(): string;
82
+ /**
83
+ * @returns The ID of the resulting NuGet package.
84
+ *
85
+ * Default: {@link AssemblyName}
86
+ */
87
+ get PackageId(): string;
88
+ /**
89
+ * @returns A long description of the package for UI display.
90
+ *
91
+ * Default: {@link Description}
92
+ */
93
+ get PackageDescription(): string;
94
+ /**
95
+ * @returns A semicolon-separated list of the package's authors, matching the
96
+ * profile names on nuget.org. These are displayed in the NuGet Gallery on
97
+ * nuget.org and are used to cross-reference packages by the same authors.
98
+ *
99
+ * Default: {@link AssemblyName `AssemblyName`}
100
+ */
101
+ get Authors(): string;
102
+ /**
103
+ * @returns Copyright details for the package.
104
+ *
105
+ * Default: `''`
106
+ */
107
+ get Copyright(): string;
108
+ /**
109
+ * @returns A string-formatted boolean. If `"true"`, the client must prompt the
110
+ * consumer to accept the package license before installing the package.
111
+ *
112
+ * Default: `"false"`
113
+ */
114
+ get PackageRequireLicenseAcceptance(): BooleanString;
115
+ /**
116
+ * This boolean only affects the package created from the project.
117
+ * @see
118
+ * {@link https://github.com/NuGet/Home/wiki/DevelopmentDependency-support-for-PackageReference DevelopmentDependency support for PackageReference}
119
+ * @returns A string-formatted boolean. If `"true"`, the package is marked as
120
+ * a development-only dependency and is prevented from being included as a
121
+ * dependency in other packages. With PackageReference (NuGet 4.8+), this flag
122
+ * also means that compile-time assets are excluded from compilation.
123
+ *
124
+ * Default: `''` (`false`-y)
125
+ */
126
+ get DevelopmentDependency(): EmptyOrBooleanString;
127
+ /**
128
+ * @returns The {@link https://spdx.org/licenses/ SPDX license identifier} or
129
+ * expression.
130
+ *
131
+ * Default: `''`
132
+ * @see
133
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-a-license-expression-or-a-license-file Packing a license expression or a license file}
134
+ * @example "Apache-2.0"
135
+ */
136
+ get PackageLicenseExpression(): string;
137
+ /**
138
+ * @returns The path to a license file within the package if you're using a
139
+ * custom license or a license that hasn't been assigned an SPDX identifier.
140
+ *
141
+ * Default: `''`
142
+ */
143
+ get PackageLicenseFile(): string;
144
+ /**
145
+ * @returns The package's project URL.
146
+ *
147
+ * Default: `''`
148
+ */
149
+ get PackageProjectUrl(): string;
150
+ /**
151
+ * @returns The package icon path, relative to the root of the package.
152
+ *
153
+ * Default: `''`
154
+ * @description You must pack the referenced icon image file. By default, it
155
+ * is not packed.
156
+ * @see
157
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-an-icon-image-file Packing an icon image file},
158
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/nuspec#icon icon metadata}
159
+ */
160
+ get PackageIcon(): string;
161
+ /**
162
+ * @returns Release notes for the package.
163
+ *
164
+ * Default: `''`
165
+ */
166
+ get PackageReleaseNotes(): string;
167
+ /**
168
+ * @returns The path of the package's README file relative to the package's
169
+ * root.
170
+ *
171
+ * Default: `''`
172
+ * @description You must pack the referenced readme file. By default, it is
173
+ * not packed.
174
+ */
175
+ get PackageReadmeFile(): string;
176
+ /**
177
+ * @returns A semicolon-delimited list of tags that designates the package.
178
+ *
179
+ * Default : `''`
180
+ */
181
+ get PackageTags(): string;
182
+ /**
183
+ * @returns A relative or absolute path determining the where the packed
184
+ * package will be dropped.
185
+ *
186
+ * Default: {@link OutputPath}
187
+ */
188
+ get PackageOutputPath(): string;
189
+ /**
190
+ * @returns A string-formatted boolean indicating whether the package should
191
+ * create an additional symbols package when the project is packed. The
192
+ * symbols package's format is controlled by the `SymbolPackageFormat`
193
+ * property.
194
+ *
195
+ * Default: `''` (false-y)
196
+ * @description When using `MSBuild -t:pack -p:IncludeSymbols=true`, the
197
+ * corresponding .pdb files are copied along with other output files (.dll,
198
+ * .exe, .winmd, .xml, .json, .pri). Note that setting `IncludeSymbols=true`
199
+ * creates a regular package and a symbols package.
200
+ * @see
201
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#includesymbols IncludeSymbols}
202
+ */
203
+ get IncludeSymbols(): EmptyOrBooleanString;
204
+ /**
205
+ * @returns A string-formatted boolean indicating whether the pack process
206
+ * should create a source package. The source package contains the library's
207
+ * source code as well as PDB files. Source files are put under the
208
+ * `src/ProjectName` directory in the resulting package file.
209
+ *
210
+ * Default: `''` (false-y)
211
+ * @see
212
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#includesource IncludeSource}
213
+ */
214
+ get IncludeSource(): EmptyOrBooleanString;
215
+ /**
216
+ * @returns A semicolon-separated list of tags indicating the package's
217
+ * intended use. Custom types are allowed, but cannot be installed via Visual
218
+ * Studio nor nuget.exe. See https://github.com/NuGet/Home/issues/10468.
219
+ *
220
+ * Package types can be version e.g. `PackageType1, 1.0.0.0;PackageType2`
221
+ *
222
+ * Default: `''`
223
+ * @example "Dependency ", "DotnetTool", "MSBuildSdk", "Template"
224
+ * @see {@link https://learn.microsoft.com/en-us/nuget/create-packages/set-package-type?tabs=dotnet Set a NuGet package type}
225
+ */
226
+ get PackageType(): string;
227
+ /**
228
+ * @returns A string-formatted boolean specifying whether all output files are
229
+ * copied to the *tools* folder instead of the *lib* folder.
230
+ *
231
+ * Default: `''` (false-y)
232
+ * @see
233
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#istool IsTool}
234
+ */
235
+ get IsTool(): EmptyOrBooleanString;
236
+ /**
237
+ * @returns The repository URL used to clone or retrieve source code.
238
+ *
239
+ * Default: `''`
240
+ * @example "https://github.com/NuGet/NuGet.Client.git".
241
+ */
242
+ get RepositoryUrl(): string;
243
+ /**
244
+ * @returns The repository type.
245
+ *
246
+ * Default: `''`
247
+ * @example "git", "fts"
248
+ */
249
+ get RepositoryType(): typeof Type_RepositoryType.inferOut;
250
+ /**
251
+ * @returns The (optional) repository commit or changeset to indicate which
252
+ * source the package was built against. {@link RepositoryUrl} must also be
253
+ * specified for this property to be included.
254
+ *
255
+ * Default: `''`
256
+ * @description This is evaluated only during the "Pack" and "Publish"
257
+ * Targets. If using nuget.exe or Visual Studio, NuGet 4.7.0 or later is
258
+ * required.
259
+ * @example "0e4d1b598f350b3dc675018d539114d1328189ef"
260
+ */
261
+ get RepositoryCommit(): string;
262
+ /**
263
+ * @returns A string specifying the format of the symbols package. If
264
+ * "symbols.nupkg", a legacy symbols package is created with a .symbols.nupkg
265
+ * extension containing PDBs, DLLs, and other output files. If "snupkg", a
266
+ * snupkg symbol package is created containing the portable PDBs. The default
267
+ * is "symbols.nupkg".
268
+ *
269
+ * Default: "symbols.nupkg"
270
+ * @example "symbols.nupkg", "snupkg"
271
+ */
272
+ get SymbolPackageFormat(): typeof Type_SymbolPackageFormat.inferOut;
273
+ /**
274
+ * @returns A string-formatted boolean specifying that `pack` should not run
275
+ * package analysis after building the package.
276
+ *
277
+ * Default: `''` (false-y)
278
+ */
279
+ get NoPackageAnalysis(): EmptyOrBooleanString;
280
+ /**
281
+ * @returns A string specifying the minimum version of the NuGet client that
282
+ * can install this package, enforced by nuget.exe and the Visual Studio
283
+ * Package Manager.
284
+ *
285
+ * Default: `''`
286
+ */
287
+ get MinClientVersion(): string;
288
+ /**
289
+ * @returns A string-formatted boolean value specifying whether the build
290
+ * output assemblies should be packed into the .nupkg file or not.
291
+ *
292
+ * Default: `"true"`
293
+ */
294
+ get IncludeBuildOutput(): BooleanString;
295
+ /**
296
+ * @returns A string-formatted boolean specifying whether any items that have
297
+ * a type of Content are included in the resulting package automatically.
298
+ *
299
+ * Default: `"true"`
300
+ */
301
+ get IncludeContentInPack(): BooleanString;
302
+ /**
303
+ * @returns The output directory of the output assemblies relative to the root
304
+ * of the package. The output assemblies (and other output files) are copied
305
+ * into their respective framework folders.
306
+ *
307
+ * Default: `''`
308
+ * @see
309
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#output-assemblies Output assemblies}
310
+ */
311
+ get BuildOutputTargetFolder(): string;
312
+ /**
313
+ * @returns A semicolon-separated list of default locations of where all the
314
+ * content files should go if `PackagePath` is not specified for them.
315
+ *
316
+ * Default: `"content;contentFiles"`
317
+ * @see
318
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#including-content-in-a-package Including content in a package}
319
+ */
320
+ get ContentTargetFolders(): string;
321
+ /**
322
+ * @returns The relative or absolute path to the `*.nuspec` file being used
323
+ * for packing. If specified, it's used **exclusively** for packaging
324
+ * information, and any information in the projects is not used.
325
+ *
326
+ * Default: `''`
327
+ * @see
328
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
329
+ */
330
+ get NuspecFile(): string;
331
+ /**
332
+ * @returns The base path for the *.nuspec* file.
333
+ *
334
+ * Default: `''`
335
+ * @see
336
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
337
+ */
338
+ get NuspecBasePath(): string;
339
+ /**
340
+ * @returns A semicolon-separated list of key=value pairs.
341
+ *
342
+ * Default: `''`
343
+ * @see
344
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
345
+ */
346
+ get NuspecProperties(): string;
347
+ /**
348
+ * @returns A human-friendly title of the package, typically used in UI displays as
349
+ * on nuget.org and the Package Manager in Visual Studio.
350
+ * Default: {@link PackageId}
351
+ */
352
+ get Title(): string;
353
+ /**
354
+ * @returns Company name or information.
355
+ *
356
+ * Default: {@link Authors}
357
+ */
358
+ get Company(): string;
359
+ /**
360
+ * @returns Product name or information.
361
+ *
362
+ * Default: {@link AssemblyName}
363
+ */
364
+ get Product(): string;
365
+ }
366
+ type Class_NPP = ClassLike<typeof NugetProjectProperties & WithProto<Class_MSBPP>>;
367
+ declare class NPPGetterNames {
368
+ private static _prototypeChain;
369
+ private static get PrototypeChain();
370
+ private static _instanceGetters;
371
+ private static _instanceGettersRecursive;
372
+ private static _StaticGetters;
373
+ private static _StaticGettersRecursive;
374
+ static get InstanceGetters(): Exclude<keyof NugetProjectProperties, keyof MSBuildProjectProperties>[];
375
+ static get InstanceGettersRecursive(): (keyof NugetProjectProperties)[];
376
+ static get StaticGetters(): never[];
377
+ static get StaticGettersRecursive(): ("prototype" | "GetFullPath")[];
378
+ }
379
+ //#endregion
380
+ export { Class_NPP, NPPGetterNames, NugetProjectProperties };
381
+ //# sourceMappingURL=NugetProjectProperties.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NugetProjectProperties.d.mts","names":[],"sources":["../../src/dotnet/NugetProjectProperties.ts"],"mappings":";;;;;;;c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