changelog-gitlab

Gitlab plugin for atlassian/changesets

Usage no npm install needed!

<script type="module">
  import changelogGitlab from 'https://cdn.skypack.dev/changelog-gitlab';
</script>

README

changelog-gitlab

Gitlab plugin for atlassian/changesets. Add information about merge request and issues reference to your CHANGELOG.md

Installation

yarn add --dev changelog-gitlab

Usage

Gitlab configuration

Create .env file in project root with:

GITLAB_PERSONAL_TOKEN=GITLAB_PERSONAL_TOKEN
GITLAB_PROJECT_ID=GITLAB_PROJECT_ID
GITLAB_HOST=https://gitlab.com

where GITLAB_PERSONAL_TOKEN is your personal access token and GITLAB_PROJECT_ID is your project id.

Changesets configuration

To change how the changelog is generated, you use the changelog setting in the ./changeset/config.json.

Change your .changeset/config.json to point to the new package:

"changelog": "changelog-gitlab"

More information about changelog configuration.

Useful link

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT