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.

26 lines 1.36 kB
/** * Build a prepareCmd string from .NET project paths and `dotnet nuget sign` arguments. * * todo: parse Solution files to publish all projects with default Publish parameters (as evaluated by MSBuild). If multi-targeting frameworks and/or runtime, evaluate those properties for Publish permutation matrix. * todo: cleanup, docs * @export * @param {string[]} projectsToPublish * @param {string[]|false} projectsToPackAndPush Relative and/or full file paths of projects to pass to `dotnet pack`. By default, these will be output to `./publish/`. * @param {string[]} dotnetNugetSignArgs Arguments appended to `dotnet nuget sign`. You can also append '&&' if you want to start a new command or if you want to sign different sets of packages with different keys. */ export declare function configurePrepareCmd(projectsToPublish: string[], projectsToPackAndPush: string[] | false, dotnetNugetSignArgs?: string[]): string; export interface NuGetRegistryInfo { tokenEnvVar: string; url: string; user?: string | undefined; } export declare const nugetDefault: NuGetRegistryInfo; /** * todo - * @param nupkgDir * @param registries * @param pushToGitHub * @returns */ export declare function configureDotnetNugetPush(nupkgDir?: string, registries?: NuGetRegistryInfo[], pushToGitHub?: boolean): string; //# sourceMappingURL=dotnetHelpers.d.ts.map