Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c95c97d8f | ||
|
|
5e08c4d95a | ||
|
|
c84d5d39e5 | ||
|
|
c21a1ac793 | ||
|
|
915f36cda7 | ||
|
|
eba86ac8e5 | ||
|
|
e40eecdce0 |
@@ -18,7 +18,7 @@ jobs:
|
|||||||
name: release
|
name: release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
|
||||||
with:
|
with:
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||||
- run: git config --global user.name github-actions
|
- run: git config --global user.name github-actions
|
||||||
- run: git config --global user.email github-actions@github.com
|
- run: git config --global user.email github-actions@github.com
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: test_matrix
|
needs: test_matrix
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
|
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
|
||||||
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
|
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|||||||
@@ -6,6 +6,11 @@ The [Authentication](../../usage/ci-configuration.md#authentication) environment
|
|||||||
|
|
||||||
**Note**: Make sure to configure your release branch as [protected](https://docs.gitlab.com/ce/user/project/protected_branches.html) in order for the CI/CD build to access the protected variables.
|
**Note**: Make sure to configure your release branch as [protected](https://docs.gitlab.com/ce/user/project/protected_branches.html) in order for the CI/CD build to access the protected variables.
|
||||||
|
|
||||||
|
## npm provenance
|
||||||
|
|
||||||
|
Since GitLab CI is a [supported provider](https://docs.npmjs.com/generating-provenance-statements#provenance-limitations) for [npm provenance](https://docs.npmjs.com/generating-provenance-statements), it is recommended to enable this to increase supply-chain security for your npm packages.
|
||||||
|
Find more detail about configuring npm to publish with provenance through semantic-release [in the documentation for our npm plugin](https://github.com/semantic-release/npm#npm-provenance).
|
||||||
|
|
||||||
## Node project configuration
|
## Node project configuration
|
||||||
|
|
||||||
GitLab CI supports [Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html) allowing to test on multiple Node versions and publishing a release only when all test pass.
|
GitLab CI supports [Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html) allowing to test on multiple Node versions and publishing a release only when all test pass.
|
||||||
|
|||||||
Vendored
+711
@@ -0,0 +1,711 @@
|
|||||||
|
declare interface AggregateError extends Error {
|
||||||
|
errors: any[];
|
||||||
|
}
|
||||||
|
|
||||||
|
declare module "semantic-release" {
|
||||||
|
import { Signale } from "signale";
|
||||||
|
export interface EnvCi {
|
||||||
|
/**
|
||||||
|
* Boolean, true if the environment is a CI environment
|
||||||
|
*/
|
||||||
|
isCi: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Commit hash
|
||||||
|
*/
|
||||||
|
commit: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current branch name
|
||||||
|
*/
|
||||||
|
branch: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Base context used in every semantic release step.
|
||||||
|
*/
|
||||||
|
export interface BaseContext {
|
||||||
|
/**
|
||||||
|
* stdout for semantic-release process
|
||||||
|
*/
|
||||||
|
stdout: NodeJS.WriteStream;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* stderr for semantic-release process
|
||||||
|
*/
|
||||||
|
stderr: NodeJS.WriteStream;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Signale console loger instance.
|
||||||
|
*
|
||||||
|
* Has error, log and success methods.
|
||||||
|
*/
|
||||||
|
logger: Signale<"error" | "log" | "success">;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the verify conditions step.
|
||||||
|
*/
|
||||||
|
export interface VerifyConditionsContext extends BaseContext {
|
||||||
|
/**
|
||||||
|
* The current working directory to use. It should be configured to
|
||||||
|
* the root of the Git repository to release from.
|
||||||
|
*
|
||||||
|
* It allows to run semantic-release from a specific path without
|
||||||
|
* having to change the local process cwd with process.chdir().
|
||||||
|
*
|
||||||
|
* @default process.cwd
|
||||||
|
*/
|
||||||
|
cwd?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The environment variables to use.
|
||||||
|
*
|
||||||
|
* It allows to run semantic-release with specific environment
|
||||||
|
* variables without having to modify the local process.env.
|
||||||
|
*
|
||||||
|
* @default process.env
|
||||||
|
*/
|
||||||
|
env: Record<string, string>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information about the CI environment.
|
||||||
|
*/
|
||||||
|
envCi: EnvCi;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information of the current branch
|
||||||
|
*/
|
||||||
|
branch: BranchObject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information on branches
|
||||||
|
*/
|
||||||
|
branches: ReadonlyArray<BranchObject>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the analyze commits step.
|
||||||
|
*/
|
||||||
|
export interface AnalyzeCommitsContext extends VerifyConditionsContext {
|
||||||
|
/**
|
||||||
|
* List of commits taken into account when determining the new version.
|
||||||
|
*/
|
||||||
|
commits: ReadonlyArray<Commit>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of releases
|
||||||
|
*/
|
||||||
|
releases: ReadonlyArray<Release>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Last release
|
||||||
|
*/
|
||||||
|
lastRelease: LastRelease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the verify release step.
|
||||||
|
*/
|
||||||
|
export interface VerifyReleaseContext extends AnalyzeCommitsContext {
|
||||||
|
/**
|
||||||
|
* The next release.
|
||||||
|
*/
|
||||||
|
nextRelease: NextRelease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the generate notes step.
|
||||||
|
*/
|
||||||
|
export type GenerateNotesContext = VerifyReleaseContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the add channel step.
|
||||||
|
*/
|
||||||
|
export type AddChannelContext = VerifyReleaseContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the prepare step.
|
||||||
|
*/
|
||||||
|
export type PrepareContext = VerifyReleaseContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the publish step.
|
||||||
|
*/
|
||||||
|
export type PublishContext = VerifyReleaseContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Context used for the success step.
|
||||||
|
*/
|
||||||
|
export type SuccessContext = VerifyReleaseContext;
|
||||||
|
|
||||||
|
export interface FailContext extends BaseContext {
|
||||||
|
/**
|
||||||
|
* Errors that occurred during the release process.
|
||||||
|
*/
|
||||||
|
errors: AggregateError;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface Commit {
|
||||||
|
/**
|
||||||
|
* The commit abbreviated and full hash.
|
||||||
|
*/
|
||||||
|
commit: {
|
||||||
|
/**
|
||||||
|
* The commit hash.
|
||||||
|
*/
|
||||||
|
long: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit abbreviated hash.
|
||||||
|
*/
|
||||||
|
short: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit abbreviated and full tree hash.
|
||||||
|
*/
|
||||||
|
tree: {
|
||||||
|
/**
|
||||||
|
* The commit tree hash.
|
||||||
|
*/
|
||||||
|
long: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit abbreviated tree hash.
|
||||||
|
*/
|
||||||
|
short: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit author information.
|
||||||
|
*/
|
||||||
|
author: {
|
||||||
|
/**
|
||||||
|
* The commit author name.
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit author email.
|
||||||
|
*/
|
||||||
|
email: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit author date.
|
||||||
|
*/
|
||||||
|
short: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The committer information.
|
||||||
|
*/
|
||||||
|
committer: {
|
||||||
|
/**
|
||||||
|
* The committer name.
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The committer email.
|
||||||
|
*/
|
||||||
|
email: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The committer date.
|
||||||
|
*/
|
||||||
|
short: string;
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit subject.
|
||||||
|
*/
|
||||||
|
subject: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit body.
|
||||||
|
*/
|
||||||
|
body: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit full message (subject and body).
|
||||||
|
*/
|
||||||
|
message: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The commit hash.
|
||||||
|
*/
|
||||||
|
hash: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The committer date.
|
||||||
|
*/
|
||||||
|
committerDate: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface BranchObject {
|
||||||
|
/**
|
||||||
|
* The name of git branch.
|
||||||
|
*
|
||||||
|
* A `name` is required for all types of branch. It can be defined as a
|
||||||
|
* [glob](https://github.com/micromatch/micromatch#matching-features)
|
||||||
|
* in which case the definition will be expanded to one per matching
|
||||||
|
* branch existing in the repository.
|
||||||
|
*
|
||||||
|
* If `name` doesn't match any branch existing in the repository, the
|
||||||
|
* definition will be ignored. For example, the default configuration
|
||||||
|
* includes the definition `next` and `next-major` which will become
|
||||||
|
* active only when the branches `next` and/or `next-major` are
|
||||||
|
* created in the repository.
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The distribution channel on which to publish releases from this
|
||||||
|
* branch.
|
||||||
|
*
|
||||||
|
* If this field is set to `false`, then the branch will be released
|
||||||
|
* on the default distribution channel (for example the `@latest`
|
||||||
|
* [dist-tag](https://docs.npmjs.com/cli/dist-tag) for npm). This is
|
||||||
|
* also the default behavior for the first
|
||||||
|
* [release branch](https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#release-branches)
|
||||||
|
* if the channel property is not set.
|
||||||
|
*
|
||||||
|
* For all other branches, if the channel property is not set, then the
|
||||||
|
* channel name will be the same as the branch name.
|
||||||
|
*
|
||||||
|
* The value of `channel`, if defined as a string, is generated with
|
||||||
|
* [Lodash template](https://lodash.com/docs#template) with the
|
||||||
|
* variable `name` set to the branch name.
|
||||||
|
*
|
||||||
|
* For example `{name: 'next', channel: 'channel-${name}'}` will be
|
||||||
|
* expanded to `{name: 'next', channel: 'channel-next'}`.
|
||||||
|
*/
|
||||||
|
channel?: string | false | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The range of [semantic versions](https://semver.org/) to support on
|
||||||
|
* this branch.
|
||||||
|
*
|
||||||
|
* A `range` only applies to maintenance branches and must be formatted
|
||||||
|
* like `N.N.x` or `N.x` (`N` is a number). If no range is specified
|
||||||
|
* but the `name` is formatted as a range, then the branch will be
|
||||||
|
* considered a maintenance branch and the `name` value will be used
|
||||||
|
* for the `range`.
|
||||||
|
*
|
||||||
|
* Required for maintenance branches, unless `name` is formatted like
|
||||||
|
* `N.N.x` or `N.x` (`N` is a number).
|
||||||
|
*/
|
||||||
|
range?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The pre-release identifier to append to [semantic versions](https://semver.org/)
|
||||||
|
* released from this branch.
|
||||||
|
*
|
||||||
|
* A `prerelease` property applies only to pre-release branches and
|
||||||
|
* the `prerelease` value must be valid per the [Semantic Versioning
|
||||||
|
* Specification](https://semver.org/#spec-item-9). It will determine
|
||||||
|
* the name of versions. For example if `prerelease` is set to
|
||||||
|
* `"beta"`, the version will be formatted like `2.0.0-beta.1`,
|
||||||
|
* `2.0.0-beta.2`, etc.
|
||||||
|
*
|
||||||
|
* The value of `prerelease`, if defined as a string, is generated with
|
||||||
|
* [Lodash template](https://lodash.com/docs#template) with the
|
||||||
|
* variable `name` set to the name of the branch.
|
||||||
|
*
|
||||||
|
* If the `prerelease property is set to `true` then the name of the
|
||||||
|
* branch is used as the pre-release identifier.
|
||||||
|
*
|
||||||
|
* Required for pre-release branches.
|
||||||
|
*/
|
||||||
|
prerelease?: string | boolean | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specifies a git branch holding commits to analyze and code to release.
|
||||||
|
*
|
||||||
|
* Each branch may be defined either by a string or an object. Specifying
|
||||||
|
* a string is a shortcut for specifying that string as the `name` field,
|
||||||
|
* for example `"master"` expands to `{name: "master"}`.
|
||||||
|
*/
|
||||||
|
export type BranchSpec = string | BranchObject;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A semver release type.
|
||||||
|
* See https://github.com/semantic-release/commit-analyzer/blob/master/lib/default-release-types.js
|
||||||
|
*/
|
||||||
|
export type ReleaseType = "prerelease" | "prepatch" | "patch" | "preminor" | "minor" | "premajor" | "major";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Details of a release published by a publish plugin.
|
||||||
|
*/
|
||||||
|
export interface Release {
|
||||||
|
/**
|
||||||
|
* The release name, only if set by the corresponding publish plugin.
|
||||||
|
*/
|
||||||
|
name?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The release URL, only if set by the corresponding publish plugin.
|
||||||
|
*/
|
||||||
|
url?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The semver export type of the release.
|
||||||
|
*/
|
||||||
|
type: ReleaseType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The version of the release.
|
||||||
|
*/
|
||||||
|
version: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The sha of the last commit being part of the release.
|
||||||
|
*/
|
||||||
|
gitHead: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Git tag associated with the release.
|
||||||
|
*/
|
||||||
|
gitTag: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The release notes for the release.
|
||||||
|
*/
|
||||||
|
notes: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the plugin that published the release.
|
||||||
|
*/
|
||||||
|
pluginName: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface LastRelease {
|
||||||
|
/**
|
||||||
|
* The version name of the release.
|
||||||
|
*/
|
||||||
|
version: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Git tag of the release.
|
||||||
|
*/
|
||||||
|
gitTag: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of channels the release was published to.
|
||||||
|
*/
|
||||||
|
channels: string[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Git checksum of the last commit of the release.
|
||||||
|
*/
|
||||||
|
gitHead: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The Release name
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface NextRelease extends Omit<LastRelease, "channels"> {
|
||||||
|
/**
|
||||||
|
* The semver export type of the release.
|
||||||
|
*/
|
||||||
|
type: ReleaseType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The release channel of the release.
|
||||||
|
*/
|
||||||
|
channel: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The release notes of the next release.
|
||||||
|
*/
|
||||||
|
notes?: string | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specifies a plugin to use.
|
||||||
|
*
|
||||||
|
* The plugin is specified by its module name.
|
||||||
|
*
|
||||||
|
* To pass options to a plugin, specify an array containing the plugin module
|
||||||
|
* name and an options object.
|
||||||
|
*/
|
||||||
|
export type PluginSpec<T = any> = string | [string, T];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* semantic-release options, after normalization and defaults have been
|
||||||
|
* applied.
|
||||||
|
*/
|
||||||
|
export interface GlobalConfig extends Options {
|
||||||
|
/**
|
||||||
|
* The branches on which releases should happen. By default
|
||||||
|
* **semantic-release** will release:
|
||||||
|
*
|
||||||
|
* * regular releases to the default distribution channel from the
|
||||||
|
* branch `master`
|
||||||
|
* * regular releases to a distribution channel matching the branch
|
||||||
|
* name from any existing branch with a name matching a maintenance
|
||||||
|
* release range (`N.N.x` or `N.x.x` or `N.x` with `N` being a
|
||||||
|
* number)
|
||||||
|
* * regular releases to the `next` distribution channel from the
|
||||||
|
* branch `next` if it exists
|
||||||
|
* * regular releases to the `next-major` distribution channel from
|
||||||
|
* the branch `next-major` if it exists.
|
||||||
|
* * prereleases to the `beta` distribution channel from the branch
|
||||||
|
* `beta` if it exists
|
||||||
|
* * prereleases to the `alpha` distribution channel from the branch
|
||||||
|
* `alpha` if it exists
|
||||||
|
*
|
||||||
|
* **Note**: If your repository does not have a release branch, then
|
||||||
|
* **semantic-release** will fail with an `ERELEASEBRANCHES` error
|
||||||
|
* message. If you are using the default configuration, you can fix
|
||||||
|
* this error by pushing a `master` branch.
|
||||||
|
*
|
||||||
|
* **Note**: Once **semantic-release** is configured, any user with the
|
||||||
|
* permission to push commits on one of those branches will be able to
|
||||||
|
* publish a release. It is recommended to protect those branches, for
|
||||||
|
* example with [GitHub protected branches](https://help.github.com/articles/about-protected-branches).
|
||||||
|
*
|
||||||
|
* See [Workflow configuration](https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#workflow-configuration)
|
||||||
|
* for more details.
|
||||||
|
*/
|
||||||
|
branches: ReadonlyArray<BranchSpec> | BranchSpec;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The git repository URL.
|
||||||
|
*
|
||||||
|
* Any valid git url format is supported (see
|
||||||
|
* [git protocols](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols))
|
||||||
|
*
|
||||||
|
* Default: `repository` property in `package.json`, or git origin url.
|
||||||
|
*/
|
||||||
|
repositoryUrl: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The git tag format used by **semantic-release** to identify
|
||||||
|
* releases. The tag name is generated with [Lodash template](https://lodash.com/docs#template)
|
||||||
|
* and will be compiled with the `version` variable.
|
||||||
|
*
|
||||||
|
* **Note**: The `tagFormat` must contain the `version` variable
|
||||||
|
* exactly once and compile to a
|
||||||
|
* [valid git reference](https://git-scm.com/docs/git-check-ref-format#_description).
|
||||||
|
*/
|
||||||
|
tagFormat: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the list of plugins to use. Plugins will run in series, in
|
||||||
|
* the order defined, for each [step](https://semantic-release.gitbook.io/semantic-release/#release-steps)
|
||||||
|
* if they implement it.
|
||||||
|
*
|
||||||
|
* Plugins configuration can be defined by wrapping the name and an
|
||||||
|
* options object in an array.
|
||||||
|
*
|
||||||
|
* See [Plugins configuration](https://semantic-release.gitbook.io/semantic-release/usage/plugins#plugins)
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* Default: `[
|
||||||
|
* "@semantic-release/commit-analyzer",
|
||||||
|
* "@semantic-release/release-notes-generator",
|
||||||
|
* "@semantic-release/npm",
|
||||||
|
* "@semantic-release/github"
|
||||||
|
* ]`
|
||||||
|
*/
|
||||||
|
plugins: ReadonlyArray<PluginSpec>;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** semantic-release configuration specific for API usage. */
|
||||||
|
export interface Config {
|
||||||
|
/**
|
||||||
|
* The current working directory to use. It should be configured to
|
||||||
|
* the root of the Git repository to release from.
|
||||||
|
*
|
||||||
|
* It allows to run semantic-release from a specific path without
|
||||||
|
* having to change the local process cwd with process.chdir().
|
||||||
|
*
|
||||||
|
* @default process.cwd
|
||||||
|
*/
|
||||||
|
cwd?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The environment variables to use.
|
||||||
|
*
|
||||||
|
* It allows to run semantic-release with specific environment
|
||||||
|
* variables without having to modify the local process.env.
|
||||||
|
*
|
||||||
|
* @default process.env
|
||||||
|
*/
|
||||||
|
env?: Record<string, any> | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The writable stream used to log information.
|
||||||
|
*
|
||||||
|
* It allows to configure semantic-release to write logs to a specific
|
||||||
|
* stream rather than the local process.stdout.
|
||||||
|
*
|
||||||
|
* @default process.stdout
|
||||||
|
*/
|
||||||
|
stdout?: NodeJS.WriteStream | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The writable stream used to log errors.
|
||||||
|
*
|
||||||
|
* It allows to configure semantic-release to write errors to a
|
||||||
|
* specific stream rather than the local process.stderr.
|
||||||
|
*
|
||||||
|
* @default process.stderr
|
||||||
|
*/
|
||||||
|
stderr?: NodeJS.WriteStream | undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* semantic-release options.
|
||||||
|
*
|
||||||
|
* Can be used to set any core option or plugin options.
|
||||||
|
* Each option will take precedence over options configured in the
|
||||||
|
* configuration file and shareable configurations.
|
||||||
|
*/
|
||||||
|
export interface Options {
|
||||||
|
/**
|
||||||
|
* List of modules or file paths containing a
|
||||||
|
* [shareable configuration](https://semantic-release.gitbook.io/semantic-release/usage/shareable-configurations).
|
||||||
|
* If multiple shareable configurations are set, they will be imported
|
||||||
|
* in the order defined with each configuration option taking
|
||||||
|
* precedence over the options defined in a previous shareable
|
||||||
|
* configuration.
|
||||||
|
*
|
||||||
|
* **Note**: Options defined via CLI arguments or in the configuration
|
||||||
|
* file will take precedence over the ones defined in any shareable
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
extends?: ReadonlyArray<string> | string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The branches on which releases should happen. By default
|
||||||
|
* **semantic-release** will release:
|
||||||
|
*
|
||||||
|
* * regular releases to the default distribution channel from the
|
||||||
|
* branch `master`
|
||||||
|
* * regular releases to a distribution channel matching the branch
|
||||||
|
* name from any existing branch with a name matching a maintenance
|
||||||
|
* release range (`N.N.x` or `N.x.x` or `N.x` with `N` being a
|
||||||
|
* number)
|
||||||
|
* * regular releases to the `next` distribution channel from the
|
||||||
|
* branch `next` if it exists
|
||||||
|
* * regular releases to the `next-major` distribution channel from
|
||||||
|
* the branch `next-major` if it exists.
|
||||||
|
* * prereleases to the `beta` distribution channel from the branch
|
||||||
|
* `beta` if it exists
|
||||||
|
* * prereleases to the `alpha` distribution channel from the branch
|
||||||
|
* `alpha` if it exists
|
||||||
|
*
|
||||||
|
* **Note**: If your repository does not have a release branch, then
|
||||||
|
* **semantic-release** will fail with an `ERELEASEBRANCHES` error
|
||||||
|
* message. If you are using the default configuration, you can fix
|
||||||
|
* this error by pushing a `master` branch.
|
||||||
|
*
|
||||||
|
* **Note**: Once **semantic-release** is configured, any user with the
|
||||||
|
* permission to push commits on one of those branches will be able to
|
||||||
|
* publish a release. It is recommended to protect those branches, for
|
||||||
|
* example with [GitHub protected branches](https://help.github.com/articles/about-protected-branches).
|
||||||
|
*
|
||||||
|
* See [Workflow configuration](https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration#workflow-configuration)
|
||||||
|
* for more details.
|
||||||
|
*/
|
||||||
|
branches?: ReadonlyArray<BranchSpec> | BranchSpec | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The git repository URL.
|
||||||
|
*
|
||||||
|
* Any valid git url format is supported (see
|
||||||
|
* [git protocols](https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols))
|
||||||
|
*
|
||||||
|
* Default: `repository` property in `package.json`, or git origin url.
|
||||||
|
*/
|
||||||
|
repositoryUrl?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The git tag format used by **semantic-release** to identify
|
||||||
|
* releases. The tag name is generated with [Lodash template](https://lodash.com/docs#template)
|
||||||
|
* and will be compiled with the `version` variable.
|
||||||
|
*
|
||||||
|
* **Note**: The `tagFormat` must contain the `version` variable
|
||||||
|
* exactly once and compile to a
|
||||||
|
* [valid git reference](https://git-scm.com/docs/git-check-ref-format#_description).
|
||||||
|
*/
|
||||||
|
tagFormat?: string | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the list of plugins to use. Plugins will run in series, in
|
||||||
|
* the order defined, for each [step](https://semantic-release.gitbook.io/semantic-release/#release-steps)
|
||||||
|
* if they implement it.
|
||||||
|
*
|
||||||
|
* Plugins configuration can be defined by wrapping the name and an
|
||||||
|
* options object in an array.
|
||||||
|
*
|
||||||
|
* See [Plugins configuration](https://semantic-release.gitbook.io/semantic-release/usage/plugins#plugins)
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
* Default: `[
|
||||||
|
* "@semantic-release/commit-analyzer",
|
||||||
|
* "@semantic-release/release-notes-generator",
|
||||||
|
* "@semantic-release/npm",
|
||||||
|
* "@semantic-release/github"
|
||||||
|
* ]`
|
||||||
|
*/
|
||||||
|
plugins?: ReadonlyArray<PluginSpec> | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dry-run mode, skip publishing, print next version and release notes.
|
||||||
|
*/
|
||||||
|
dryRun?: boolean | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set to false to skip Continuous Integration environment verifications.
|
||||||
|
* This allows for making releases from a local machine.
|
||||||
|
*/
|
||||||
|
ci?: boolean | undefined;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Any other options supported by plugins.
|
||||||
|
*/
|
||||||
|
[name: string]: any;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An object with details of the release if a release was published, or
|
||||||
|
* false if no release was published.
|
||||||
|
*/
|
||||||
|
export type Result =
|
||||||
|
| false
|
||||||
|
| {
|
||||||
|
/**
|
||||||
|
* Information related to the last release found.
|
||||||
|
*/
|
||||||
|
lastRelease: LastRelease;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The list of commits included in the new release.
|
||||||
|
*/
|
||||||
|
commits: Commit[];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Information related to the newly published release.
|
||||||
|
*/
|
||||||
|
nextRelease: NextRelease;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The list of releases published, one release per publish plugin.
|
||||||
|
*/
|
||||||
|
releases: Release[];
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run semantic-release and returns a Promise that resolves to a Result
|
||||||
|
* object.
|
||||||
|
* @async
|
||||||
|
*/
|
||||||
|
export default function (options: Options, environment?: Config): Promise<Result>;
|
||||||
|
}
|
||||||
Generated
+76
-108
@@ -24,7 +24,7 @@
|
|||||||
"get-stream": "^6.0.0",
|
"get-stream": "^6.0.0",
|
||||||
"git-log-parser": "^1.2.0",
|
"git-log-parser": "^1.2.0",
|
||||||
"hook-std": "^3.0.0",
|
"hook-std": "^3.0.0",
|
||||||
"hosted-git-info": "^6.0.0",
|
"hosted-git-info": "^7.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"marked": "^5.0.0",
|
"marked": "^5.0.0",
|
||||||
"marked-terminal": "^5.1.1",
|
"marked-terminal": "^5.1.1",
|
||||||
@@ -518,13 +518,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@semantic-release/npm": {
|
"node_modules/@semantic-release/npm": {
|
||||||
"version": "10.0.4",
|
"version": "10.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-10.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-10.0.5.tgz",
|
||||||
"integrity": "sha512-6R3timIQ7VoL2QWRkc9DG8v74RQtRp7UOe/2KbNaqwJ815qOibAv65bH3RtTEhs4axEaHoZf7HDgFs5opaZ9Jw==",
|
"integrity": "sha512-cJnQ2M5pxJRwZEkb0A/+U3TG4UNmjrrLwV2PxJKljn5OPT0yJB8GzGgWbbKACayvxrT06YdTa4Amtq/piJcOIA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@semantic-release/error": "^4.0.0",
|
"@semantic-release/error": "^4.0.0",
|
||||||
"aggregate-error": "^4.0.1",
|
"aggregate-error": "^4.0.1",
|
||||||
"execa": "^7.0.0",
|
"execa": "^8.0.0",
|
||||||
"fs-extra": "^11.0.0",
|
"fs-extra": "^11.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"nerf-dart": "^1.0.0",
|
"nerf-dart": "^1.0.0",
|
||||||
@@ -543,28 +543,6 @@
|
|||||||
"semantic-release": ">=20.1.0"
|
"semantic-release": ">=20.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@semantic-release/npm/node_modules/execa": {
|
|
||||||
"version": "7.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
|
|
||||||
"integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
|
|
||||||
"dependencies": {
|
|
||||||
"cross-spawn": "^7.0.3",
|
|
||||||
"get-stream": "^6.0.1",
|
|
||||||
"human-signals": "^4.3.0",
|
|
||||||
"is-stream": "^3.0.0",
|
|
||||||
"merge-stream": "^2.0.0",
|
|
||||||
"npm-run-path": "^5.1.0",
|
|
||||||
"onetime": "^6.0.0",
|
|
||||||
"signal-exit": "^3.0.7",
|
|
||||||
"strip-final-newline": "^3.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^14.18.0 || ^16.14.0 || >=18.0.0"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sindresorhus/execa?sponsor=1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@semantic-release/release-notes-generator": {
|
"node_modules/@semantic-release/release-notes-generator": {
|
||||||
"version": "11.0.4",
|
"version": "11.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-11.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-11.0.4.tgz",
|
||||||
@@ -1665,9 +1643,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cpu-features": {
|
"node_modules/cpu-features": {
|
||||||
"version": "0.0.8",
|
"version": "0.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.9.tgz",
|
||||||
"integrity": "sha512-BbHBvtYhUhksqTjr6bhNOjGgMnhwhGTQmOoZGD+K7BCaQDCuZl/Ve1ZxUSMRwVC4D/rkCPQ2MAIeYzrWyK7eEg==",
|
"integrity": "sha512-AKjgn2rP2yJyfbepsmLfiYcmtNn/2eUvocUyM/09yB0YDiz39HteK/5/T4Onf0pmdYDMgkBoGvRLvEguzyL7wQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"optional": true,
|
"optional": true,
|
||||||
@@ -2027,6 +2005,19 @@
|
|||||||
"url": "https://github.com/sindresorhus/execa?sponsor=1"
|
"url": "https://github.com/sindresorhus/execa?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/env-ci/node_modules/human-signals": {
|
||||||
|
"version": "4.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
|
||||||
|
"integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.18.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/env-ci/node_modules/signal-exit": {
|
||||||
|
"version": "3.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||||
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
||||||
|
},
|
||||||
"node_modules/error-ex": {
|
"node_modules/error-ex": {
|
||||||
"version": "1.3.2",
|
"version": "1.3.2",
|
||||||
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
|
||||||
@@ -2144,25 +2135,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/execa/node_modules/human-signals": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16.17.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/execa/node_modules/signal-exit": {
|
|
||||||
"version": "4.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
|
|
||||||
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/ext": {
|
"node_modules/ext": {
|
||||||
"version": "1.7.0",
|
"version": "1.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
||||||
@@ -2297,6 +2269,12 @@
|
|||||||
"node": ">=8.0.0"
|
"node": ">=8.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/foreground-child/node_modules/signal-exit": {
|
||||||
|
"version": "3.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
||||||
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/form-data-encoder": {
|
"node_modules/form-data-encoder": {
|
||||||
"version": "2.1.4",
|
"version": "2.1.4",
|
||||||
"resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz",
|
||||||
@@ -2569,14 +2547,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/hosted-git-info": {
|
"node_modules/hosted-git-info": {
|
||||||
"version": "6.1.1",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.0.tgz",
|
||||||
"integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==",
|
"integrity": "sha512-ICclEpTLhHj+zCuSb2/usoNXSVkxUSIopre+b1w8NDY9Dntp9LO4vLdHYI336TH8sAqwrRgnSfdkBG2/YpisHA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lru-cache": "^7.5.1"
|
"lru-cache": "^10.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
"node": "^16.14.0 || >=18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/html-escaper": {
|
"node_modules/html-escaper": {
|
||||||
@@ -2629,11 +2607,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/human-signals": {
|
"node_modules/human-signals": {
|
||||||
"version": "4.3.1",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
|
||||||
"integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
|
"integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.18.0"
|
"node": ">=16.17.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ieee754": {
|
"node_modules/ieee754": {
|
||||||
@@ -3214,11 +3192,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lru-cache": {
|
"node_modules/lru-cache": {
|
||||||
"version": "7.18.3",
|
"version": "10.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz",
|
||||||
"integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
|
"integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12"
|
"node": "14 || >=16.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/make-dir": {
|
"node_modules/make-dir": {
|
||||||
@@ -3704,9 +3682,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/node-fetch": {
|
"node_modules/node-fetch": {
|
||||||
"version": "2.6.12",
|
"version": "2.6.13",
|
||||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.12.tgz",
|
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.13.tgz",
|
||||||
"integrity": "sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==",
|
"integrity": "sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"whatwg-url": "^5.0.0"
|
"whatwg-url": "^5.0.0"
|
||||||
@@ -7348,6 +7326,17 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/read-pkg/node_modules/hosted-git-info": {
|
||||||
|
"version": "6.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz",
|
||||||
|
"integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==",
|
||||||
|
"dependencies": {
|
||||||
|
"lru-cache": "^7.5.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/read-pkg/node_modules/json-parse-even-better-errors": {
|
"node_modules/read-pkg/node_modules/json-parse-even-better-errors": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz",
|
||||||
@@ -7364,6 +7353,14 @@
|
|||||||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/read-pkg/node_modules/lru-cache": {
|
||||||
|
"version": "7.18.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz",
|
||||||
|
"integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/read-pkg/node_modules/normalize-package-data": {
|
"node_modules/read-pkg/node_modules/normalize-package-data": {
|
||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz",
|
||||||
@@ -7606,9 +7603,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/semantic-release": {
|
"node_modules/semantic-release": {
|
||||||
"version": "21.0.7",
|
"version": "21.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-21.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-21.0.9.tgz",
|
||||||
"integrity": "sha512-peRDSXN+hF8EFSKzze90ff/EnAmgITHQ/a3SZpRV3479ny0BIZWEJ33uX6/GlOSKdaSxo9hVRDyv2/u2MuF+Bw==",
|
"integrity": "sha512-EnylO0+UcKbVFaHeMbCjJpxqpgJPnze4zoOwmj34Kv4GnuyTV9MkNKrwmdZPFbmom9PpMj+9JN/8eyZzKkKyZQ==",
|
||||||
"peer": true,
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@semantic-release/commit-analyzer": "^10.0.0",
|
"@semantic-release/commit-analyzer": "^10.0.0",
|
||||||
@@ -7620,13 +7617,13 @@
|
|||||||
"cosmiconfig": "^8.0.0",
|
"cosmiconfig": "^8.0.0",
|
||||||
"debug": "^4.0.0",
|
"debug": "^4.0.0",
|
||||||
"env-ci": "^9.0.0",
|
"env-ci": "^9.0.0",
|
||||||
"execa": "^7.0.0",
|
"execa": "^8.0.0",
|
||||||
"figures": "^5.0.0",
|
"figures": "^5.0.0",
|
||||||
"find-versions": "^5.1.0",
|
"find-versions": "^5.1.0",
|
||||||
"get-stream": "^6.0.0",
|
"get-stream": "^6.0.0",
|
||||||
"git-log-parser": "^1.2.0",
|
"git-log-parser": "^1.2.0",
|
||||||
"hook-std": "^3.0.0",
|
"hook-std": "^3.0.0",
|
||||||
"hosted-git-info": "^6.0.0",
|
"hosted-git-info": "^7.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"marked": "^5.0.0",
|
"marked": "^5.0.0",
|
||||||
"marked-terminal": "^5.1.1",
|
"marked-terminal": "^5.1.1",
|
||||||
@@ -7647,29 +7644,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/semantic-release/node_modules/execa": {
|
|
||||||
"version": "7.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
|
|
||||||
"integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
|
|
||||||
"peer": true,
|
|
||||||
"dependencies": {
|
|
||||||
"cross-spawn": "^7.0.3",
|
|
||||||
"get-stream": "^6.0.1",
|
|
||||||
"human-signals": "^4.3.0",
|
|
||||||
"is-stream": "^3.0.0",
|
|
||||||
"merge-stream": "^2.0.0",
|
|
||||||
"npm-run-path": "^5.1.0",
|
|
||||||
"onetime": "^6.0.0",
|
|
||||||
"signal-exit": "^3.0.7",
|
|
||||||
"strip-final-newline": "^3.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^14.18.0 || ^16.14.0 || >=18.0.0"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sindresorhus/execa?sponsor=1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/semver": {
|
"node_modules/semver": {
|
||||||
"version": "7.5.4",
|
"version": "7.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
|
||||||
@@ -7767,9 +7741,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/signal-exit": {
|
"node_modules/signal-exit": {
|
||||||
"version": "3.0.7",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
|
||||||
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"node_modules/signale": {
|
"node_modules/signale": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
@@ -8916,18 +8896,6 @@
|
|||||||
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/write-file-atomic/node_modules/signal-exit": {
|
|
||||||
"version": "4.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
|
|
||||||
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/xtend": {
|
"node_modules/xtend": {
|
||||||
"version": "4.0.2",
|
"version": "4.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
|
||||||
|
|||||||
+3
-1
@@ -41,7 +41,7 @@
|
|||||||
"get-stream": "^6.0.0",
|
"get-stream": "^6.0.0",
|
||||||
"git-log-parser": "^1.2.0",
|
"git-log-parser": "^1.2.0",
|
||||||
"hook-std": "^3.0.0",
|
"hook-std": "^3.0.0",
|
||||||
"hosted-git-info": "^6.0.0",
|
"hosted-git-info": "^7.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"marked": "^5.0.0",
|
"marked": "^5.0.0",
|
||||||
"marked-terminal": "^5.1.1",
|
"marked-terminal": "^5.1.1",
|
||||||
@@ -81,6 +81,7 @@
|
|||||||
"bin",
|
"bin",
|
||||||
"docs",
|
"docs",
|
||||||
"lib",
|
"lib",
|
||||||
|
"index.d.ts",
|
||||||
"index.js",
|
"index.js",
|
||||||
"cli.js"
|
"cli.js"
|
||||||
],
|
],
|
||||||
@@ -98,6 +99,7 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"types": "index.d.ts",
|
||||||
"c8": {
|
"c8": {
|
||||||
"include": [
|
"include": [
|
||||||
"lib/**/*.js",
|
"lib/**/*.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user