UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.

42 lines 1.55 kB
import { MSBuildProjectProperties } from './MSBuildProjectProperties.js'; /** * All pre-defined properties of {@link MSBuildProjectProperties} except FullPath */ export declare const MSBuildProjectPreDefinedProperties: string[]; /** @todo Experimental and may be removed in a later release. * A cache for your evaluated MSBuild Projects. */ export declare const MSBuildEvaluatedProjects: MSBuildProject[]; export declare class MSBuildProject { Properties: MSBuildProjectProperties; /** * * @param fullPath The full path of the .NET MSBuild project file. * @param customProperties MSBuild properties to evaluate in addition to those pre-defined in {@link MSBuildProjectProperties} */ constructor(fullPath: string, customProperties?: string[]); /** * * `dotnet msbuild src -getProperty:TargetFramework -getProperty:TargetFrameworks -getProperty:RuntimeIdentifiers -getProperty:IsTrimmable` * * ...produces... * * ```json * { * "Properties": { * "TargetFramework": "net6.0", * "TargetFrameworks": "", * "RuntimeIdentifiers": "win7-x64;win7-x86;win-arm64;linux-x64;linux-arm64", * "IsTrimmable": "true", * } * } * ``` * * ...which can can be parsed like... * ```js * var ridArray = JSON.parse(out).Properties.RuntimeIdentifiers.split(';'); * ``` */ static evaluateProperties(fullPath: string, properties: string[]): MSBuildProjectProperties; } //# sourceMappingURL=MSBuildProject.d.ts.map