Skip to content
On this page

Commands ​

check-package-version v1.3.0+ ​

Script to check whether a given version string matches the dependency of a package in package.json. The package dependency can be in the dependencies or the devDependencies.

Input arguments: ​

  1. version string (e.g. 1.2.0)
  2. Name of the package (e.g. @lade-software-library/semantic-release)
  3. (Optional) Path to package.json (Default: ./package.json)

Example calls ​

shell
check-package-version 1.2.0 @lade-software-library/semantic-release

# With path to package.json
check-package-version 1.2.0 @lade-software-library/semantic-release ../package.json

write-changelog v1.3.0+ ​

Generates a CHANGELOG.md file out of the releases defined in the Gitlab repository.

WARNING

The content of CHANGELOG.md will be replaced.

Input arguments ​

  1. Repository-ID (Default from environment variable: REPOSITORY_ID)
  2. Gitlab API Token (Default from environment variable: GITLAB_TOKEN)

Example calls ​

shell
export REPOSITORY_ID=93
export GITLAB_TOKEN=<token>
write-changelog

# With parameters as arguments
write-changelog 93 <token>