{"name":"changelogithub","version":"15.0.4","keywords":["github","release","releases","conventional","changelog","log"],"author":"Anthony Fu <anthonyfu117@hotmail.com>","license":"MIT","_id":"changelogithub@15.0.4","maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/antfu-collective/changelogithub#readme","bugs":"https://github.com/antfu-collective/changelogithub/issues","bin":{"changelogithub":"./dist/cli.mjs"},"dist":{"shasum":"4db6fd75923d88bee44473f9b0e9350e675ee544","tarball":"http://registry-npm.ywwl.com/changelogithub/download/changelogithub-15.0.4.tgz","fileCount":8,"integrity":"sha512-ZAVZRfE38jsT4FqBA2FZlyYXR6hNHWammR10QJSr5rnZB2XP0motbSgLAaj1OPZoKRvvVo6zCRPLGyjECuNwEg==","signatures":[{"sig":"MEYCIQCO5Ckqq7q3XDMNK7npN6Hrj2g7pCUSuAjTnt/BBVghrQIhAOzck4LjqVNmduW7SfVNzcIVa6IZYpEkV/AWKv+LIQP2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/changelogithub@15.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33200,"size":10596,"noattachment":false,"key":"/changelogithub/-/changelogithub-15.0.4.tgz"},"type":"module","engines":{"node":"^22.19.0 || ^24.11.0 || >=26.0.0"},"exports":{".":"./dist/index.mjs","./cli":"./dist/cli.mjs","./package.json":"./package.json"},"funding":"https://github.com/sponsors/antfu","scripts":{"dev":"tsdown --watch","lint":"eslint .","test":"vitest","build":"tsdown","start":"pnpm run build && node dist/cli.mjs","release":"bumpp","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8bc9168a-85c8-46a7-8a90-6103d9fc74b3"}},"repository":{"url":"git+https://github.com/antfu-collective/changelogithub.git","type":"git"},"description":"Generate changelog for GitHub.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"c12":"^3.3.4","cac":"^7.0.0","ansis":"^4.3.1","ofetch":"^1.5.1","verkit":"^0.3.1","tinyexec":"^1.2.4","tinyglobby":"^0.2.17","changelogen":"0.5.7","convert-gitmoji":"^0.1.5"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^12.0.0","eslint":"^10.8.0","tsdown":"^0.22.14","vitest":"^4.1.10","@antfu/ni":"^30.3.0","typescript":"^6.0.3","@types/node":"^26.1.2","@antfu/utils":"^9.3.0","@antfu/eslint-config":"^9.2.0"},"inlinedDependencies":{"@antfu/utils":"9.3.0"},"_npmOperationalInternal":{"tmp":"tmp/changelogithub_15.0.4_1785287263776_0.5242886528364226","host":"s3://npm-registry-packages-npm-production"},"readme":"# changelogithub\n\n[![NPM version](https://img.shields.io/npm/v/changelogithub?color=a1b858&label=)](https://www.npmjs.com/package/changelogithub)\n\nGenerate changelog for GitHub releases from [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/), powered by [changelogen](https://github.com/unjs/changelogen).\n\n[👉 Changelog example](https://github.com/unocss/unocss/releases/tag/v0.39.0)\n\n## Features\n\n- Support exclamation mark as breaking change, e.g. `chore!: drop node v10`\n- Grouped scope in changelog\n- Create the release note, or update the existing one\n- List contributors\n\n## Usage\n\nIn GitHub Actions:\n\n```yml\n# .github/workflows/release.yml\n\nname: Release\n\npermissions:\n  contents: write\n\non:\n  push:\n    tags:\n      - 'v*'\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v6\n        with:\n          fetch-depth: 0\n\n      - name: Set node\n        uses: actions/setup-node@v6\n        with:\n          registry-url: https://registry.npmjs.org/\n          node-version: lts/*\n\n      - run: npx changelogithub # or changelogithub@0.12 to ensure a stable result\n        env:\n          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}\n```\n\nIt will be trigged whenever you push a tag to GitHub that starts with `v`.\n\n## Configuration\n\nYou can put a configuration file in the project root, named as `changelogithub.config.{json,ts,js,mjs,cjs}`, `.changelogithubrc` or use the `changelogithub` field in `package.json`.\n\n## Preview Locally\n\n```bash\nnpx changelogithub --dry\n```\n\n## Why?\n\nI used to use [`conventional-github-releaser`](https://github.com/conventional-changelog/releaser-tools/tree/master/packages/conventional-github-releaser) for almost all my projects. Until I found that it [does NOT support using exclamation marks for breaking changes](https://github.com/conventional-changelog/conventional-changelog/issues/648) - hiding those important breaking changes in the changelog without the awareness from maintainers.\n\n## License\n\n[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)\n","publish_time":1785287263933,"_cnpm_publish_time":1785287263933,"dist-tags":{"latest":"15.0.5"}}