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.

22 lines 1.31 kB
import type { PluginSpecTuple } from './semanticReleaseConfig.js'; export declare const GitPluginId = "@semantic-release/git"; /** * As specified at https://github.com/semantic-release/git#options * To use, assign or create an object with the same (but mutable) properties and deeply-copy to the object * @satisfies { GitOptions } */ export declare const DefaultOptions: { readonly assets: ['README.md', 'CHANGELOG.md', 'package.json', 'package-lock.json', 'npm-shrinkwrap.json']; readonly message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'; }; /** * https://github.com/semantic-release/git#options * * This plugin may be deprecated at a later date. * Q: Why would I need to commit during release? * A: This is for committing your changelog, README, and/or other files updated during the release procedure. * @param plugins An ordered array of {@link PluginSpecTuple PluginSpecTuples}. * @returns A {@link PluginSpecTuple}[]. Duplicate `@semantic-release/git` plugin entries are merged or overridden. The last entry takes priority e.g. if the last entry is `{assets: false}`, previous entries' assets are ignored. */ export declare function setupGitPluginSpec(plugins: PluginSpecTuple[]): PluginSpecTuple[]; //# sourceMappingURL=setupGitPluginSpec.d.ts.map