@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.
13 lines • 961 B
TypeScript
import type { NuGetRegistryInfo } from './dotnetHelpers.js';
export declare const GitLabTokenEnvVar = "CI_JOB_TOKEN";
export declare const nugetGitLabUrlBase: string | undefined;
export declare const nugetGitLabUrl: string | undefined;
/**
* Get a {@link NuGetRegistryInfo} for pushing to your GitLab Packages NuGet registry.
* @export
* @param {string} [tokenEnvVar=GitLabTokenEnvVar] The name of environment variable storing the GitLab Packages NuGet registry API key. Defaults to {@link GitLabTokenEnvVar}.
* @param {string} [url=nugetGitLabUrl] The url of the GitLab Packages NuGet registry. Defaults to {@link nugetGitLabUrl}.
* @returns {(NuGetRegistryInfo | undefined)} a {@link NuGetRegistryInfo} object if {@link tokenEnvVar} and {@link url} are defined. Else, undefined.
*/
export declare function getGitlabNugetRegistryPair(tokenEnvVar?: string, url?: string | undefined): NuGetRegistryInfo | undefined;
//# sourceMappingURL=dotnetGLPR.d.ts.map