{"name":"@semantic-release/changelog","version":"7.0.0-beta.1","keywords":["changelog","conventional-changelog","release","semantic-release","version"],"author":{"url":"https://github.com/pvdlg","name":"Pierre Vanduynslager"},"license":"MIT","_id":"@semantic-release/changelog@7.0.0-beta.1","maintainers":[{"name":"pvdlg","email":"pierre.denis.vanduynslager@gmail.com"},{"name":"semantic-release-bot","email":"semantic-release@martynus.net"},{"name":"gr2m","email":"gregor@martynus.net"},{"name":"travi","email":"npm@travi.org"}],"contributors":[{"url":"http://boennemann.me","name":"Stephan Bönnemann","email":"stephan@boennemann.me"},{"url":"https://twitter.com/gr2m","name":"Gregor Martynus"}],"homepage":"https://github.com/semantic-release/changelog#readme","bugs":{"url":"https://github.com/semantic-release/changelog/issues"},"c8":{"all":true,"include":["lib/**/*.js","index.js"],"reporter":["json","text","html"]},"ava":{"files":["test/**/*.test.js","!test/integration.test.js"]},"dist":{"shasum":"19f021200f50818e7d4270f5366a7ff55e234f33","tarball":"http://registry-npm.ywwl.com/@semantic-release/changelog/download/@semantic-release/changelog-7.0.0-beta.1.tgz","fileCount":9,"integrity":"sha512-fDHQ7K3BbNtDaJV8Ui7zjk3R8lNvPzdnOGL4lGvftvHu7NXvQqCEe8URLTY8yZ874XK9/QBMnfGZqseIDyOxWg==","signatures":[{"sig":"MEUCIGAPa87KStxV0MMYlu2lIdqpLt3kNlETKh5yajWyNxGDAiEAtrDXXeG+Q4OFyiYIvtcxmXXEzALiskOvvS/gyee7A/o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@semantic-release%2fchangelog@7.0.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11655,"size":4235,"noattachment":false,"key":"/@semantic-release/changelog/-/@semantic-release/changelog-7.0.0-beta.1.tgz"},"type":"module","engines":{"node":"^22.14.0 || >= 24.10.0"},"exports":"./index.js","gitHead":"0563e5d95a6f89da6041c3b7398875fa5d0482c8","scripts":{"lint":"prettier --check \"{lib,test}/**/*.{js,json,ts}\" \"*.{md,json,js}\" \".github/**/*.yml\"","test":"npm-run-all --print-label --parallel lint:* --parallel test:*","test:unit":"c8 ava --verbose","lint:engines":"ls-engines","lint:publish":"publint --strict","lint:lockfile":"lockfile-lint","lint:prettier":"prettier --check \"{lib,test}/**/*.{js,json,ts}\" \"*.{md,json,js}\" \".github/**/*.yml\"","semantic-release":"semantic-release","test:integration":"ava --verbose test/integration.test.js","lint:prettier:fix":"prettier --write \"*.{js,json,md}\" \".github/**/*.{md,yml}\" \"{bin,lib,test}/**/*.js\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:838943ef-2c73-42c2-afdb-072ba58511a3"}},"prettier":{"printWidth":120,"trailingComma":"es5"},"renovate":{"extends":["github>semantic-release/.github:renovate-config"]},"repository":{"url":"git+https://github.com/semantic-release/changelog.git","type":"git"},"_npmVersion":"11.13.0","description":"semantic-release plugin to create or update a changelog file","directories":{},"_nodeVersion":"24.14.1","dependencies":{"lodash-es":"^4.17.21","aggregate-error":"^5.0.0","@semantic-release/error":"^4.0.0"},"lockfile-lint":{"path":"package-lock.json","type":"npm","allowed-hosts":["npm"],"validate-https":true},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"10.1.3","ava":"6.2.0","sinon":"19.0.2","tempy":"3.1.0","publint":"^0.3.18","prettier":"3.5.3","ls-engines":"^0.9.4","npm-run-all":"^4.1.5","lockfile-lint":"^5.0.0","semantic-release":"25.0.3"},"peerDependencies":{"semantic-release":">=20.1.0"},"_npmOperationalInternal":{"tmp":"tmp/changelog_7.0.0-beta.1_1776947960951_0.3404581220536349","host":"s3://npm-registry-packages-npm-production"},"readme":"# @semantic-release/changelog\n\n[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to create or update a changelog file.\n\n> [!WARNING]\n> Please consider whether committing release notes to a file is worth the [added complexity](https://semantic-release.gitbook.io/semantic-release/support/faq#should-release-notes-be-committed-to-a-changelog.md-in-my-repository-during-a-release) compared to other available options for capturing release notes.\n\n[![Build Status](https://github.com/semantic-release/changelog/workflows/Test/badge.svg)](https://github.com/semantic-release/changelog/actions?query=workflow%3ATest+branch%3Amaster) [![npm latest version](https://img.shields.io/npm/v/@semantic-release/changelog/latest.svg)](https://www.npmjs.com/package/@semantic-release/changelog)\n[![npm next version](https://img.shields.io/npm/v/@semantic-release/changelog/next.svg)](https://www.npmjs.com/package/@semantic-release/changelog)\n\n| Step               | Description                                                                                                                                                                                           |\n| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `verifyConditions` | Verify the `changelogFile` and `changelogTitle` options configuration.                                                                                                                                |\n| `prepare`          | Create or update a changelog file in the local project directory with the changelog content created in the [generate notes step](https://github.com/semantic-release/semantic-release#release-steps). |\n\n## Install\n\n```bash\n$ npm install @semantic-release/changelog -D\n```\n\n## Usage\n\nThe plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration):\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/commit-analyzer\",\n    \"@semantic-release/release-notes-generator\",\n    [\n      \"@semantic-release/changelog\",\n      {\n        \"changelogFile\": \"docs/CHANGELOG.md\"\n      }\n    ],\n    [\n      \"@semantic-release/git\",\n      {\n        \"assets\": [\"docs/CHANGELOG.md\"]\n      }\n    ]\n  ]\n}\n```\n\nWith this example, for each release, a `docs/CHANGELOG.md` will be created or updated.\n\n## Configuration\n\n### Options\n\n| Options          | Description                                           | Default        |\n| ---------------- | ----------------------------------------------------- | -------------- |\n| `changelogFile`  | File path of the changelog.                           | `CHANGELOG.md` |\n| `changelogTitle` | Title of the changelog file (first line of the file). | -              |\n\n### Examples\n\nWhen used with the [@semantic-release/git](https://github.com/semantic-release/git) or [@semantic-release/npm](https://github.com/semantic-release/npm) plugins the `@semantic-release/changelog` plugin must be called before those plugins in order to update the changelog file so the [@semantic-release/git](https://github.com/semantic-release/git) and [@semantic-release/npm](https://github.com/semantic-release/npm) plugins can include it in the release.\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/commit-analyzer\",\n    \"@semantic-release/release-notes-generator\",\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\"\n  ]\n}\n```\n","publish_time":1776947961112,"_cnpm_publish_time":1776947961112,"dist-tags":{"beta":"8.0.0-beta.1","latest":"7.0.0","next":"5.0.0"}}