@halospv3/hce.shared-config 3.0.0-develop.4 → 3.0.0-develop.6

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 (157) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dotnet/.github/workflows/_unit_test.yml +0 -3
  3. package/dotnet/.github/workflows/dotnet-release.yml +0 -3
  4. package/dotnet/.github/workflows/sample-dotnet-build.yml +0 -3
  5. package/mjs/CaseInsensitiveMap.d.ts +12 -0
  6. package/mjs/CaseInsensitiveMap.d.ts.map +1 -0
  7. package/mjs/CaseInsensitiveMap.mjs +33 -0
  8. package/mjs/CaseInsensitiveMap.mjs.map +1 -0
  9. package/mjs/commitlintConfig.d.ts +12 -0
  10. package/mjs/commitlintConfig.d.ts.map +1 -0
  11. package/mjs/commitlintConfig.mjs +13 -0
  12. package/mjs/commitlintConfig.mjs.map +1 -0
  13. package/mjs/debug.d.ts +4 -0
  14. package/mjs/debug.d.ts.map +1 -0
  15. package/mjs/debug.mjs +7 -0
  16. package/mjs/debug.mjs.map +1 -0
  17. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts +34 -0
  18. package/mjs/dotnet/GithubNugetRegistryInfo.d.ts.map +1 -0
  19. package/mjs/dotnet/GithubNugetRegistryInfo.mjs +45 -0
  20. package/mjs/dotnet/GithubNugetRegistryInfo.mjs.map +1 -0
  21. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts +57 -0
  22. package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts.map +1 -0
  23. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs +99 -0
  24. package/mjs/dotnet/GitlabNugetRegistryInfo.mjs.map +1 -0
  25. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts +2 -0
  26. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts.map +1 -0
  27. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs +26 -0
  28. package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs.map +1 -0
  29. package/mjs/dotnet/MSBuildProject.d.ts +263 -0
  30. package/mjs/dotnet/MSBuildProject.d.ts.map +1 -0
  31. package/mjs/dotnet/MSBuildProject.mjs +444 -0
  32. package/mjs/dotnet/MSBuildProject.mjs.map +1 -0
  33. package/mjs/dotnet/MSBuildProjectProperties.d.ts +169 -0
  34. package/mjs/dotnet/MSBuildProjectProperties.d.ts.map +1 -0
  35. package/mjs/dotnet/MSBuildProjectProperties.mjs +259 -0
  36. package/mjs/dotnet/MSBuildProjectProperties.mjs.map +1 -0
  37. package/mjs/dotnet/NugetProjectProperties.d.ts +378 -0
  38. package/mjs/dotnet/NugetProjectProperties.d.ts.map +1 -0
  39. package/mjs/dotnet/NugetProjectProperties.mjs +577 -0
  40. package/mjs/dotnet/NugetProjectProperties.mjs.map +1 -0
  41. package/mjs/dotnet/NugetRegistryInfo.d.ts +382 -0
  42. package/mjs/dotnet/NugetRegistryInfo.d.ts.map +1 -0
  43. package/mjs/dotnet/NugetRegistryInfo.mjs +752 -0
  44. package/mjs/dotnet/NugetRegistryInfo.mjs.map +1 -0
  45. package/mjs/dotnet/helpers.d.ts +95 -0
  46. package/mjs/dotnet/helpers.d.ts.map +1 -0
  47. package/mjs/dotnet/helpers.mjs +351 -0
  48. package/mjs/dotnet/helpers.mjs.map +1 -0
  49. package/mjs/eslintConfig.d.ts +4 -0
  50. package/mjs/eslintConfig.d.ts.map +1 -0
  51. package/mjs/eslintConfig.mjs +98 -0
  52. package/mjs/eslintConfig.mjs.map +1 -0
  53. package/mjs/index.d.ts +3 -0
  54. package/mjs/index.d.ts.map +1 -0
  55. package/mjs/index.mjs +4 -0
  56. package/mjs/index.mjs.map +1 -0
  57. package/mjs/insertPlugins.d.ts +18 -0
  58. package/mjs/insertPlugins.d.ts.map +1 -0
  59. package/mjs/insertPlugins.mjs +73 -0
  60. package/mjs/insertPlugins.mjs.map +1 -0
  61. package/mjs/semantic-release__commit-analyzer.d.mjs +2 -0
  62. package/mjs/semantic-release__commit-analyzer.d.mjs.map +1 -0
  63. package/mjs/semantic-release__exec.d.mjs +2 -0
  64. package/mjs/semantic-release__exec.d.mjs.map +1 -0
  65. package/mjs/semantic-release__git.d.mjs +2 -0
  66. package/mjs/semantic-release__git.d.mjs.map +1 -0
  67. package/mjs/semantic-release__github.d.mjs +2 -0
  68. package/mjs/semantic-release__github.d.mjs.map +1 -0
  69. package/mjs/semanticReleaseConfig.d.ts +92 -0
  70. package/mjs/semanticReleaseConfig.d.ts.map +1 -0
  71. package/mjs/semanticReleaseConfig.mjs +63 -0
  72. package/mjs/semanticReleaseConfig.mjs.map +1 -0
  73. package/mjs/semanticReleaseConfigDotnet.d.ts +109 -0
  74. package/mjs/semanticReleaseConfigDotnet.d.ts.map +1 -0
  75. package/mjs/semanticReleaseConfigDotnet.mjs +267 -0
  76. package/mjs/semanticReleaseConfigDotnet.mjs.map +1 -0
  77. package/mjs/setupGitPluginSpec.d.ts +22 -0
  78. package/mjs/setupGitPluginSpec.d.ts.map +1 -0
  79. package/mjs/setupGitPluginSpec.mjs +144 -0
  80. package/mjs/setupGitPluginSpec.mjs.map +1 -0
  81. package/mjs/utils/Exact.d.ts +20 -0
  82. package/mjs/utils/Exact.d.ts.map +1 -0
  83. package/mjs/utils/Exact.mjs +75 -0
  84. package/mjs/utils/Exact.mjs.map +1 -0
  85. package/mjs/utils/GracefulRecursion.d.mjs +2 -0
  86. package/mjs/utils/GracefulRecursion.d.mjs.map +1 -0
  87. package/mjs/utils/env.d.ts +24 -0
  88. package/mjs/utils/env.d.ts.map +1 -0
  89. package/mjs/utils/env.mjs +39 -0
  90. package/mjs/utils/env.mjs.map +1 -0
  91. package/mjs/utils/execAsync.d.ts +36 -0
  92. package/mjs/utils/execAsync.d.ts.map +1 -0
  93. package/mjs/utils/execAsync.mjs +59 -0
  94. package/mjs/utils/execAsync.mjs.map +1 -0
  95. package/mjs/utils/miscTypes.d.ts +11 -0
  96. package/mjs/utils/miscTypes.d.ts.map +1 -0
  97. package/mjs/utils/miscTypes.mjs +10 -0
  98. package/mjs/utils/miscTypes.mjs.map +1 -0
  99. package/mjs/utils/reflection/FunctionLike.d.mjs +2 -0
  100. package/mjs/utils/reflection/FunctionLike.d.mjs.map +1 -0
  101. package/mjs/utils/reflection/GetterDescriptor.d.mjs +2 -0
  102. package/mjs/utils/reflection/GetterDescriptor.d.mjs.map +1 -0
  103. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs +2 -0
  104. package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs.map +1 -0
  105. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs +2 -0
  106. package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs.map +1 -0
  107. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs +2 -0
  108. package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs.map +1 -0
  109. package/mjs/utils/reflection/OwnKeyOf.d.mjs +2 -0
  110. package/mjs/utils/reflection/OwnKeyOf.d.mjs.map +1 -0
  111. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs +2 -0
  112. package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs.map +1 -0
  113. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs +2 -0
  114. package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs.map +1 -0
  115. package/mjs/utils/reflection/filterForGetters.d.ts +7 -0
  116. package/mjs/utils/reflection/filterForGetters.d.ts.map +1 -0
  117. package/mjs/utils/reflection/filterForGetters.mjs +27 -0
  118. package/mjs/utils/reflection/filterForGetters.mjs.map +1 -0
  119. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts +22 -0
  120. package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts.map +1 -0
  121. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs +34 -0
  122. package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs.map +1 -0
  123. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts +56 -0
  124. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts.map +1 -0
  125. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs +72 -0
  126. package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs.map +1 -0
  127. package/mjs/utils/reflection/getPrototypeChainOf.d.ts +16 -0
  128. package/mjs/utils/reflection/getPrototypeChainOf.d.ts.map +1 -0
  129. package/mjs/utils/reflection/getPrototypeChainOf.mjs +55 -0
  130. package/mjs/utils/reflection/getPrototypeChainOf.mjs.map +1 -0
  131. package/mjs/utils/reflection/getPrototypeOf.d.ts +8 -0
  132. package/mjs/utils/reflection/getPrototypeOf.d.ts.map +1 -0
  133. package/mjs/utils/reflection/getPrototypeOf.mjs +10 -0
  134. package/mjs/utils/reflection/getPrototypeOf.mjs.map +1 -0
  135. package/mjs/utils/reflection/inheritance.d.ts +180 -0
  136. package/mjs/utils/reflection/inheritance.d.ts.map +1 -0
  137. package/mjs/utils/reflection/inheritance.mjs +148 -0
  138. package/mjs/utils/reflection/inheritance.mjs.map +1 -0
  139. package/mjs/utils/reflection/isConstructor.d.ts +17 -0
  140. package/mjs/utils/reflection/isConstructor.d.ts.map +1 -0
  141. package/mjs/utils/reflection/isConstructor.mjs +63 -0
  142. package/mjs/utils/reflection/isConstructor.mjs.map +1 -0
  143. package/mjs/utils/reflection/isGetterDescriptor.d.ts +9 -0
  144. package/mjs/utils/reflection/isGetterDescriptor.d.ts.map +1 -0
  145. package/mjs/utils/reflection/isGetterDescriptor.mjs +12 -0
  146. package/mjs/utils/reflection/isGetterDescriptor.mjs.map +1 -0
  147. package/mjs/utils/reflection/listOwnGetters.d.ts +26 -0
  148. package/mjs/utils/reflection/listOwnGetters.d.ts.map +1 -0
  149. package/mjs/utils/reflection/listOwnGetters.mjs +39 -0
  150. package/mjs/utils/reflection/listOwnGetters.mjs.map +1 -0
  151. package/mjs/utils/reflection.d.ts +18 -0
  152. package/mjs/utils/reflection.d.ts.map +1 -0
  153. package/mjs/utils/reflection.mjs +10 -0
  154. package/mjs/utils/reflection.mjs.map +1 -0
  155. package/package.json +6 -4
  156. package/src/insertPlugins.ts +116 -0
  157. package/src/semanticReleaseConfigDotnet.ts +84 -81
@@ -0,0 +1,259 @@
1
+ import { strictEqual } from 'node:assert/strict';
2
+ import { existsSync } from 'node:fs';
3
+ import node_path from 'node:path';
4
+ import { CaseInsensitiveMap } from '../CaseInsensitiveMap.mjs';
5
+
6
+ /**
7
+ * Known properties. Additional properties may be added upon request.
8
+ *
9
+ * todo: add Reserved properties, Well-Known properties, Common properties, and more. Maybe as sub classes.
10
+ * See:
11
+ * - {@link https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties?view=vs-2022 MSBuild Reserved and Well-known Properties}
12
+ * - {@link https://learn.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties?view=vs-2022 Common MSBuild project properties}
13
+ * - {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props Microsoft.NET.Sdk}
14
+ * - {@link https://learn.microsoft.com/en-us/aspnet/core/razor-pages/web-sdk?view=aspnetcore-8.0&toc=%2Fdotnet%2Fnavigate%2Ftools-diagnostics%2Ftoc.json&bc=%2Fdotnet%2Fbreadcrumb%2Ftoc.json#properties Microsoft.NET.Sdk.Web}
15
+ * - {@link https://learn.microsoft.com/en-us/aspnet/core/razor-pages/sdk?view=aspnetcore-8.0&toc=%2Fdotnet%2Fnavigate%2Ftools-diagnostics%2Ftoc.json&bc=%2Fdotnet%2Fbreadcrumb%2Ftoc.json Microsoft.NET.Sdk.Razor}
16
+ * - {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props-desktop Microsoft.NET.Sdk.Desktop}
17
+ */
18
+ class MSBuildProjectProperties {
19
+ // #region static
20
+
21
+ /**
22
+ * Resolve the given path if it is not absolute. If the path exists, it is returned. Else, an Error is thrown.
23
+ * @param path The full file path of an MSBuild project.
24
+ * @returns The absolute path to the MSBuild project file.
25
+ */
26
+ static GetFullPath(path) {
27
+ if (!node_path.isAbsolute(path)) path = node_path.resolve(path);
28
+ if (!existsSync(path)) throw new Error(`${node_path.basename(path)} could not be found at "${path}"`);
29
+ return path;
30
+ }
31
+
32
+ /**
33
+ * Note: This method may remove elements from {@link properties}.\
34
+ * Try to get an element from {@link properties} by its {@link key}.
35
+ * If an element is found, it is removed and the value of the element is returned.
36
+ * Otherwise, `undefined` is returned.
37
+ * @param properties The CaseInsensitiveMap of properties passed to the constructor.
38
+ * @param key The key of the property to get from {@link properties}
39
+ * @returns If found, the value of the `[string, string]` tuple found in {@link properties}. Else, `undefined`.
40
+ */
41
+ static getAndForget(properties, key) {
42
+ const v = properties.get(key);
43
+ if (v !== undefined) properties.delete(key);
44
+ return v;
45
+ }
46
+
47
+ // #endregion static
48
+ // #endregion static
49
+
50
+ // #region private
51
+ _msbuildProjectFullPath;
52
+ _assemblyName;
53
+ _baseIntermediateOutputPath;
54
+ _baseOutputPath;
55
+ _description;
56
+ _intermediateOutputPath;
57
+ _outDir;
58
+ _outputPath;
59
+ _runtimeIdentifier;
60
+ _runtimeIdentifiers;
61
+ _targetFramework;
62
+ _targetFrameworks;
63
+ _version;
64
+ _versionPrefix;
65
+ _versionSuffix;
66
+ // #endregion private
67
+
68
+ constructor(msbuildProjectFullPath, properties) {
69
+ // runtime type checks
70
+ strictEqual(typeof msbuildProjectFullPath, 'string', new TypeError(`msbuildProjectFullPath should be a string, not ${typeof msbuildProjectFullPath}!`));
71
+ strictEqual(properties instanceof CaseInsensitiveMap, true, `arg 'properties' should be instanceof ${CaseInsensitiveMap.name}`);
72
+ strictEqual([...properties.keys()].every(v => typeof v === 'string'), true, 'all keys in arg \'properties\' should be strings');
73
+ this._msbuildProjectFullPath = MPP.GetFullPath(msbuildProjectFullPath);
74
+ this._assemblyName = MPP.getAndForget(properties, 'AssemblyName');
75
+ this._description = MPP.getAndForget(properties, 'Description');
76
+ this._outputPath = MPP.getAndForget(properties, 'OutputPath');
77
+ this._runtimeIdentifier = MPP.getAndForget(properties, 'RuntimeIdentifier');
78
+ this._runtimeIdentifiers = MPP.getAndForget(properties, 'RuntimeIdentifiers');
79
+ this._targetFramework = MPP.getAndForget(properties, 'TargetFramework');
80
+ this._targetFrameworks = MPP.getAndForget(properties, 'TargetFrameworks');
81
+ this._version = MPP.getAndForget(properties, 'Version');
82
+ this._versionPrefix = MPP.getAndForget(properties, 'VersionPrefix');
83
+ this._versionSuffix = MPP.getAndForget(properties, 'VersionSuffix');
84
+ // rest
85
+ for (const key of properties.keys()) {
86
+ const value = MPP.getAndForget(properties, key);
87
+ if (value !== undefined) {
88
+ Object.defineProperty(this, key, {
89
+ value: value,
90
+ writable: false,
91
+ enumerable: true,
92
+ configurable: true
93
+ });
94
+ }
95
+ }
96
+ }
97
+ get MSBuildProjectFullPath() {
98
+ return this._msbuildProjectFullPath ??= '';
99
+ }
100
+
101
+ /**
102
+ * @returns The name of the assembly.
103
+ *
104
+ * Default: {@link https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties#:~:text=MSBuildProjectDirectory,-Reserved MSBuildProjectDirectory}
105
+ */
106
+ get AssemblyName() {
107
+ return this._assemblyName ??= '';
108
+ }
109
+
110
+ /**
111
+ * @returns The top-level folder where all configuration-specific intermediate output
112
+ * folders are created. The default value is `obj\`.
113
+ * @example
114
+ * ```xml
115
+ * <BaseIntermediateOutputPath>c:\xyz\obj\</BaseIntermediateOutputPath>
116
+ * ```
117
+ */
118
+ get BaseIntermediateOutputPath() {
119
+ return this._baseIntermediateOutputPath ??= '';
120
+ }
121
+
122
+ /**
123
+ * @returns The base path for the output file.
124
+ * If it's set, MSBuild uses `OutputPath = $(BaseOutputPath)\$(Configuration)\`.
125
+ * @example ```xml
126
+ * <BaseOutputPath>c:\xyz\bin\</BaseOutputPath>
127
+ * ```
128
+ */
129
+ get BaseOutputPath() {
130
+ return this._baseOutputPath ??= '';
131
+ }
132
+
133
+ /**
134
+ * A long description for the assembly.
135
+ * If {@link NugetProperties.PackageDescription} is not specified, then this property is also used as the description of the package.
136
+ * @returns The value of the `Description` property.
137
+ */
138
+ get Description() {
139
+ return this._description ??= '';
140
+ }
141
+
142
+ /**
143
+ * @returns The full intermediate output path as derived from
144
+ * {@link BaseIntermediateOutputPath}, if no path is specified.
145
+ * @example "obj\\debug\\"
146
+ */
147
+ get IntermediateOutput() {
148
+ return this._intermediateOutputPath ??= '';
149
+ }
150
+
151
+ /**
152
+ * @returns The final output location for the project or solution.
153
+ * When you build a solution, OutDir can be used to gather multiple project outputs in one location.
154
+ * In addition, OutDir is included in AssemblySearchPaths used for resolving references.
155
+ * @example
156
+ * `bin/Debug`
157
+ */
158
+ get OutDir() {
159
+ return this._outDir ??= '';
160
+ }
161
+
162
+ /**
163
+ * @returns The path to the output directory, relative to the project
164
+ * directory.
165
+ * @example
166
+ * `bin/Debug`
167
+ * /// non-AnyCPU builds
168
+ * `bin/Debug/${Platform}`
169
+ */
170
+ get OutputPath() {
171
+ return this._outputPath ??= '';
172
+ }
173
+
174
+ /**
175
+ * Set Version -OR- VersionPrefix.
176
+ * @returns The value of the `Version` property.
177
+ *
178
+ * Default: `"1.0.0"`
179
+ */
180
+ get Version() {
181
+ return this._version ??= '1.0.0';
182
+ }
183
+
184
+ /**
185
+ * Set Version -OR- VersionPrefix.\
186
+ * Setting {@link NugetProperties.PackageVersion} overwrites {@link VersionPrefix}
187
+ * @returns The MAJOR.MINOR.PATCH string of the version.
188
+ * @see {@link VersionSuffix}
189
+ */
190
+ get VersionPrefix() {
191
+ return this._versionPrefix ??= '';
192
+ }
193
+
194
+ /**
195
+ * The effect of this property on the package version depends on the values of the Version and VersionPrefix properties, as shown in the following table:
196
+ * | Properties with values | Package version |
197
+ * | ---------------------- | --------------- |
198
+ * | None | 1.0.0 |
199
+ * | Version | $(Version) |
200
+ * | VersionPrefix only | $(VersionPrefix) |
201
+ * | VersionSuffix only | 1.0.0-$(VersionSuffix) |
202
+ * | VersionPrefix and VersionSuffix | $(VersionPrefix)-$(VersionSuffix) |
203
+ * \
204
+ * Setting {@link PackageVersion} overwrites {@link VersionSuffix}
205
+ * @returns The string appended to the end of the MAJOR.MINOR.PATCH semver string (i.e. {@link VersionPrefix})
206
+ */
207
+ get VersionSuffix() {
208
+ return this._versionSuffix ??= '';
209
+ }
210
+
211
+ /**
212
+ * @returns The {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#targetframework Target Framework}
213
+ * @see
214
+ * https://learn.microsoft.com/en-us/nuget/reference/target-frameworks#supported-frameworks
215
+ * https://learn.microsoft.com/en-us/dotnet/standard/frameworks
216
+ */
217
+ get TargetFramework() {
218
+ return this._targetFramework ??= '';
219
+ }
220
+
221
+ /**
222
+ * @returns The {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#targetframeworks Target Frameworks} (plural)
223
+ * @see
224
+ * https://learn.microsoft.com/en-us/nuget/reference/target-frameworks#supported-frameworks
225
+ * https://learn.microsoft.com/en-us/dotnet/standard/frameworks
226
+ */
227
+ get TargetFrameworks() {
228
+ return this._targetFrameworks ??= '';
229
+ }
230
+
231
+ /**
232
+ * @returns
233
+ * > The {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#runtimeidentifier `Runtime Identifier`} property lets you specify a single runtime
234
+ * > identifier (RID) for the project. The RID enables publishing a
235
+ * > self-contained deployment.
236
+ * @see
237
+ * https://learn.microsoft.com/en-us/dotnet/core/rid-catalog
238
+ */
239
+ get RuntimeIdentifier() {
240
+ return this._runtimeIdentifier ??= '';
241
+ }
242
+
243
+ /**
244
+ * @returns
245
+ * > The {@link https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#runtimeidentifiers `RuntimeIdentifiers`} property lets you specify a
246
+ * > semicolon-delimited list of runtime identifiers (RIDs) for the project.
247
+ * > Use this property if you need to publish for multiple runtimes.
248
+ * > `RuntimeIdentifiers` is used at restore time to ensure the right assets
249
+ * > are in the graph.
250
+ * @see
251
+ * https://learn.microsoft.com/en-us/dotnet/core/rid-catalog
252
+ */
253
+ get RuntimeIdentifiers() {
254
+ return this._runtimeIdentifiers ??= '';
255
+ }
256
+ }
257
+ const MPP = MSBuildProjectProperties;
258
+ export { MSBuildProjectProperties };
259
+ //# sourceMappingURL=MSBuildProjectProperties.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MSBuildProjectProperties.mjs","sources":["../../src/dotnet/MSBuildProjectProperties.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,wBAAwB,CAAC;AACtC;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,WAAW,CAAC,IAAI,EAAE;AAC3B,IAAI,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;AACnE,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,IAAI,KAAK,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,wBAAwB,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AACzG,IAAI,OAAO,IAAI;AACf;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,YAAY,CAAC,UAAU,EAAE,GAAG,EAAE;AACvC,IAAI,MAAM,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC;AACjC,IAAI,IAAI,CAAC,KAAK,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC;AAC/C,IAAI,OAAO,CAAC;AACZ;;AAEA;AACA;;AAEA;AACA,EAAE,uBAAuB;AACzB,EAAE,aAAa;AACf,EAAE,2BAA2B;AAC7B,EAAE,eAAe;AACjB,EAAE,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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,kBAAkB,GAAG;AAC3B,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,EAAE;AAC1C;AACA;AACA,MAAM,GAAG,GAAG,wBAAwB;;;;"}
@@ -0,0 +1,378 @@
1
+ import { CaseInsensitiveMap } from '../CaseInsensitiveMap.js';
2
+ import { type BooleanString, type EmptyOrBooleanString } from '../utils/miscTypes.js';
3
+ import { type ClassLike, type WithProto } from '../utils/reflection.js';
4
+ import { MSBuildProjectProperties, type Class_MSBPP } from './MSBuildProjectProperties.js';
5
+ declare const Type_RepositoryType: import("arktype/internal/methods/string.ts").StringType<"" | "git" | "tfs", {}>;
6
+ declare const Type_SymbolPackageFormat: import("arktype/internal/methods/string.ts").StringType<"symbols.nupkg" | "snupkg", {}>;
7
+ /**
8
+ * A readonly record of a .csproj or .fsproj with NuGet configuration properties in
9
+ * addition to those specified by {@link MSBuildProjectProperties}. This record
10
+ * should be considered immutable. A new instance should be constructed from MSBuild's evaluation output.
11
+ * @see https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target-inputs
12
+ */
13
+ export declare class NugetProjectProperties extends MSBuildProjectProperties {
14
+ private _isPackable;
15
+ private _suppressDependenciesWhenPacking;
16
+ private _packageVersion;
17
+ private _packageId;
18
+ private _packageDescription;
19
+ private _authors;
20
+ private _copyright;
21
+ private _packageRequireLicenseAcceptance;
22
+ private _developmentDependency;
23
+ private _packageLicenseExpression;
24
+ private _packageLicenseFile;
25
+ private _packageProjectUrl;
26
+ private _packageIcon;
27
+ private _packageReleaseNotes;
28
+ private _packageReadmeFile;
29
+ private _packageTags;
30
+ private _packageOutputPath;
31
+ private _includeSymbols;
32
+ private _includeSource;
33
+ private _packageType;
34
+ private _isTool;
35
+ private _repositoryUrl;
36
+ private _repositoryType;
37
+ private _repositoryCommit;
38
+ private _symbolPackageFormat;
39
+ private _noPackageAnalysis;
40
+ private _minClientVersion;
41
+ private _includeBuiltOutput;
42
+ private _includeContentInPack;
43
+ private _buildOutputTargetFolder;
44
+ private _contentTargetFolders;
45
+ private _nuspecFile;
46
+ private _nuspecBasePath;
47
+ private _nuspecProperties;
48
+ private _title;
49
+ private _company;
50
+ private _product;
51
+ /**
52
+ * Initialize a readonly record of an MSBuild project's properties, including those related to NuGet.
53
+ * @param msbuildProjectFullPath @inheritdoc {@link NugetProjectProperties.MSBuildProjectFullPath}
54
+ * @param properties The dictionary returned by MSBuild's `-getProperty:propname,...` argument
55
+ */
56
+ constructor(msbuildProjectFullPath: string, properties: CaseInsensitiveMap<string, string>);
57
+ /**
58
+ * @returns A string-formatted boolean. If 'false', the project's `Pack`
59
+ * Target (if available) will no-op.
60
+ *
61
+ * Default: `"true"`
62
+ */
63
+ get IsPackable(): BooleanString;
64
+ /**
65
+ * @returns `"true"` or `"false"`. If "true", the package's dependencies are
66
+ * excluded from the generated NuGet package.
67
+ *
68
+ * Default: `"false"`
69
+ */
70
+ get SuppressDependenciesWhenPacking(): BooleanString;
71
+ /**
72
+ * @returns A semver-compatible version number in the form
73
+ * Major.Minor.Patch[-Suffix], where -Suffix identifies prerelease versions.
74
+ *
75
+ * Default: {@link Version}
76
+ * @example "1.0.0", "1.0.0-beta", "1.0.0-beta-00345"
77
+ */
78
+ get PackageVersion(): string;
79
+ /**
80
+ * @returns The ID of the resulting NuGet package.
81
+ *
82
+ * Default: {@link AssemblyName}
83
+ */
84
+ get PackageId(): string;
85
+ /**
86
+ * @returns A long description of the package for UI display.
87
+ *
88
+ * Default: {@link Description}
89
+ */
90
+ get PackageDescription(): string;
91
+ /**
92
+ * @returns A semicolon-separated list of the package's authors, matching the
93
+ * profile names on nuget.org. These are displayed in the NuGet Gallery on
94
+ * nuget.org and are used to cross-reference packages by the same authors.
95
+ *
96
+ * Default: {@link AssemblyName `AssemblyName`}
97
+ */
98
+ get Authors(): string;
99
+ /**
100
+ * @returns Copyright details for the package.
101
+ *
102
+ * Default: `''`
103
+ */
104
+ get Copyright(): string;
105
+ /**
106
+ * @returns A string-formatted boolean. If `"true"`, the client must prompt the
107
+ * consumer to accept the package license before installing the package.
108
+ *
109
+ * Default: `"false"`
110
+ */
111
+ get PackageRequireLicenseAcceptance(): BooleanString;
112
+ /**
113
+ * This boolean only affects the package created from the project.
114
+ * @see
115
+ * {@link https://github.com/NuGet/Home/wiki/DevelopmentDependency-support-for-PackageReference DevelopmentDependency support for PackageReference}
116
+ * @returns A string-formatted boolean. If `"true"`, the package is marked as
117
+ * a development-only dependency and is prevented from being included as a
118
+ * dependency in other packages. With PackageReference (NuGet 4.8+), this flag
119
+ * also means that compile-time assets are excluded from compilation.
120
+ *
121
+ * Default: `''` (`false`-y)
122
+ */
123
+ get DevelopmentDependency(): EmptyOrBooleanString;
124
+ /**
125
+ * @returns The {@link https://spdx.org/licenses/ SPDX license identifier} or
126
+ * expression.
127
+ *
128
+ * Default: `''`
129
+ * @see
130
+ * {@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}
131
+ * @example "Apache-2.0"
132
+ */
133
+ get PackageLicenseExpression(): string;
134
+ /**
135
+ * @returns The path to a license file within the package if you're using a
136
+ * custom license or a license that hasn't been assigned an SPDX identifier.
137
+ *
138
+ * Default: `''`
139
+ */
140
+ get PackageLicenseFile(): string;
141
+ /**
142
+ * @returns The package's project URL.
143
+ *
144
+ * Default: `''`
145
+ */
146
+ get PackageProjectUrl(): string;
147
+ /**
148
+ * @returns The package icon path, relative to the root of the package.
149
+ *
150
+ * Default: `''`
151
+ * @description You must pack the referenced icon image file. By default, it
152
+ * is not packed.
153
+ * @see
154
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-an-icon-image-file Packing an icon image file},
155
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/nuspec#icon icon metadata}
156
+ */
157
+ get PackageIcon(): string;
158
+ /**
159
+ * @returns Release notes for the package.
160
+ *
161
+ * Default: `''`
162
+ */
163
+ get PackageReleaseNotes(): string;
164
+ /**
165
+ * @returns The path of the package's README file relative to the package's
166
+ * root.
167
+ *
168
+ * Default: `''`
169
+ * @description You must pack the referenced readme file. By default, it is
170
+ * not packed.
171
+ */
172
+ get PackageReadmeFile(): string;
173
+ /**
174
+ * @returns A semicolon-delimited list of tags that designates the package.
175
+ *
176
+ * Default : `''`
177
+ */
178
+ get PackageTags(): string;
179
+ /**
180
+ * @returns A relative or absolute path determining the where the packed
181
+ * package will be dropped.
182
+ *
183
+ * Default: {@link OutputPath}
184
+ */
185
+ get PackageOutputPath(): string;
186
+ /**
187
+ * @returns A string-formatted boolean indicating whether the package should
188
+ * create an additional symbols package when the project is packed. The
189
+ * symbols package's format is controlled by the `SymbolPackageFormat`
190
+ * property.
191
+ *
192
+ * Default: `''` (false-y)
193
+ * @description When using `MSBuild -t:pack -p:IncludeSymbols=true`, the
194
+ * corresponding .pdb files are copied along with other output files (.dll,
195
+ * .exe, .winmd, .xml, .json, .pri). Note that setting `IncludeSymbols=true`
196
+ * creates a regular package and a symbols package.
197
+ * @see
198
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#includesymbols IncludeSymbols}
199
+ */
200
+ get IncludeSymbols(): EmptyOrBooleanString;
201
+ /**
202
+ * @returns A string-formatted boolean indicating whether the pack process
203
+ * should create a source package. The source package contains the library's
204
+ * source code as well as PDB files. Source files are put under the
205
+ * `src/ProjectName` directory in the resulting package file.
206
+ *
207
+ * Default: `''` (false-y)
208
+ * @see
209
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#includesource IncludeSource}
210
+ */
211
+ get IncludeSource(): EmptyOrBooleanString;
212
+ /**
213
+ * @returns A semicolon-separated list of tags indicating the package's
214
+ * intended use. Custom types are allowed, but cannot be installed via Visual
215
+ * Studio nor nuget.exe. See https://github.com/NuGet/Home/issues/10468.
216
+ *
217
+ * Package types can be version e.g. `PackageType1, 1.0.0.0;PackageType2`
218
+ *
219
+ * Default: `''`
220
+ * @example "Dependency ", "DotnetTool", "MSBuildSdk", "Template"
221
+ * @see {@link https://learn.microsoft.com/en-us/nuget/create-packages/set-package-type?tabs=dotnet Set a NuGet package type}
222
+ */
223
+ get PackageType(): string;
224
+ /**
225
+ * @returns A string-formatted boolean specifying whether all output files are
226
+ * copied to the *tools* folder instead of the *lib* folder.
227
+ *
228
+ * Default: `''` (false-y)
229
+ * @see
230
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#istool IsTool}
231
+ */
232
+ get IsTool(): EmptyOrBooleanString;
233
+ /**
234
+ * @returns The repository URL used to clone or retrieve source code.
235
+ *
236
+ * Default: `''`
237
+ * @example "https://github.com/NuGet/NuGet.Client.git".
238
+ */
239
+ get RepositoryUrl(): string;
240
+ /**
241
+ * @returns The repository type.
242
+ *
243
+ * Default: `''`
244
+ * @example "git", "fts"
245
+ */
246
+ get RepositoryType(): typeof Type_RepositoryType.inferOut;
247
+ /**
248
+ * @returns The (optional) repository commit or changeset to indicate which
249
+ * source the package was built against. {@link RepositoryUrl} must also be
250
+ * specified for this property to be included.
251
+ *
252
+ * Default: `''`
253
+ * @description This is evaluated only during the "Pack" and "Publish"
254
+ * Targets. If using nuget.exe or Visual Studio, NuGet 4.7.0 or later is
255
+ * required.
256
+ * @example "0e4d1b598f350b3dc675018d539114d1328189ef"
257
+ */
258
+ get RepositoryCommit(): string;
259
+ /**
260
+ * @returns A string specifying the format of the symbols package. If
261
+ * "symbols.nupkg", a legacy symbols package is created with a .symbols.nupkg
262
+ * extension containing PDBs, DLLs, and other output files. If "snupkg", a
263
+ * snupkg symbol package is created containing the portable PDBs. The default
264
+ * is "symbols.nupkg".
265
+ *
266
+ * Default: "symbols.nupkg"
267
+ * @example "symbols.nupkg", "snupkg"
268
+ */
269
+ get SymbolPackageFormat(): typeof Type_SymbolPackageFormat.inferOut;
270
+ /**
271
+ * @returns A string-formatted boolean specifying that `pack` should not run
272
+ * package analysis after building the package.
273
+ *
274
+ * Default: `''` (false-y)
275
+ */
276
+ get NoPackageAnalysis(): EmptyOrBooleanString;
277
+ /**
278
+ * @returns A string specifying the minimum version of the NuGet client that
279
+ * can install this package, enforced by nuget.exe and the Visual Studio
280
+ * Package Manager.
281
+ *
282
+ * Default: `''`
283
+ */
284
+ get MinClientVersion(): string;
285
+ /**
286
+ * @returns A string-formatted boolean value specifying whether the build
287
+ * output assemblies should be packed into the .nupkg file or not.
288
+ *
289
+ * Default: `"true"`
290
+ */
291
+ get IncludeBuildOutput(): BooleanString;
292
+ /**
293
+ * @returns A string-formatted boolean specifying whether any items that have
294
+ * a type of Content are included in the resulting package automatically.
295
+ *
296
+ * Default: `"true"`
297
+ */
298
+ get IncludeContentInPack(): BooleanString;
299
+ /**
300
+ * @returns The output directory of the output assemblies relative to the root
301
+ * of the package. The output assemblies (and other output files) are copied
302
+ * into their respective framework folders.
303
+ *
304
+ * Default: `''`
305
+ * @see
306
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#output-assemblies Output assemblies}
307
+ */
308
+ get BuildOutputTargetFolder(): string;
309
+ /**
310
+ * @returns A semicolon-separated list of default locations of where all the
311
+ * content files should go if `PackagePath` is not specified for them.
312
+ *
313
+ * Default: `"content;contentFiles"`
314
+ * @see
315
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#including-content-in-a-package Including content in a package}
316
+ */
317
+ get ContentTargetFolders(): string;
318
+ /**
319
+ * @returns The relative or absolute path to the `*.nuspec` file being used
320
+ * for packing. If specified, it's used **exclusively** for packaging
321
+ * information, and any information in the projects is not used.
322
+ *
323
+ * Default: `''`
324
+ * @see
325
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
326
+ */
327
+ get NuspecFile(): string;
328
+ /**
329
+ * @returns The base path for the *.nuspec* file.
330
+ *
331
+ * Default: `''`
332
+ * @see
333
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
334
+ */
335
+ get NuspecBasePath(): string;
336
+ /**
337
+ * @returns A semicolon-separated list of key=value pairs.
338
+ *
339
+ * Default: `''`
340
+ * @see
341
+ * {@link https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file Packing using a .nuspec}
342
+ */
343
+ get NuspecProperties(): string;
344
+ /**
345
+ * @returns A human-friendly title of the package, typically used in UI displays as
346
+ * on nuget.org and the Package Manager in Visual Studio.
347
+ * Default: {@link PackageId}
348
+ */
349
+ get Title(): string;
350
+ /**
351
+ * @returns Company name or information.
352
+ *
353
+ * Default: {@link Authors}
354
+ */
355
+ get Company(): string;
356
+ /**
357
+ * @returns Product name or information.
358
+ *
359
+ * Default: {@link AssemblyName}
360
+ */
361
+ get Product(): string;
362
+ }
363
+ export type Class_NPP = ClassLike<typeof NugetProjectProperties & WithProto<Class_MSBPP>>;
364
+ export declare class NPPGetterNames {
365
+ private static _prototypeChain;
366
+ private static get PrototypeChain();
367
+ private static _instanceGetters;
368
+ private static _instanceGettersRecursive;
369
+ private static _StaticGetters;
370
+ private static _StaticGettersRecursive;
371
+ static get InstanceGetters(): Exclude<keyof NugetProjectProperties, keyof MSBuildProjectProperties>[];
372
+ static get InstanceGettersRecursive(): (keyof NugetProjectProperties)[];
373
+ static get StaticGetters(): never[];
374
+ static get StaticGettersRecursive(): ('prototype' | 'GetFullPath')[];
375
+ }
376
+ export {};
377
+ /** @module NugetProjectProperties */
378
+ //# sourceMappingURL=NugetProjectProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NugetProjectProperties.d.ts","sourceRoot":"","sources":["../../src/dotnet/NugetProjectProperties.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EAC1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAGL,KAAK,SAAS,EAEd,KAAK,SAAS,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