{"name":"changelogithub","version":"13.16.1","keywords":["github","release","releases","conventional","changelog","log"],"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","_id":"changelogithub@13.16.1","maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/antfu/changelogithub#readme","bugs":{"url":"https://github.com/antfu/changelogithub/issues"},"bin":{"changelogithub":"cli.mjs"},"dist":{"shasum":"1a5482aa91ecc363308892d9b628107ca8d4ad26","tarball":"http://registry-npm.ywwl.com/changelogithub/download/changelogithub-13.16.1.tgz","fileCount":16,"integrity":"sha512-h4etOmEM/wtqBWKPbnHoqv2C8moRCCEGTckwwWpvRgr/t1tY0MbyjQbZKy1ETQ7gn1UTQMJkCSRQ4KxiQ+HfSQ==","signatures":[{"sig":"MEQCICJYGsI5NMZDPWgiqNoQXIqHtbxL1yFg74sdKI0hyrLIAiBxpo6LH5wW8B1iu4hZQe1PJZMf8NZonq2DW6Fh1tVscw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":59650,"size":16572,"noattachment":false,"key":"/changelogithub/-/changelogithub-13.16.1.tgz"},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","engines":{"node":">=12.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/antfu","gitHead":"57e5b5cd6873000622ddb82cee062e09574ee164","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"nr dev && node cli.mjs","release":"bumpp","typecheck":"tsc --noEmit","prepublishOnly":"nr build"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/antfu/changelogithub.git","type":"git"},"_npmVersion":"10.9.3","description":"Generate changelog for GitHub.","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"c12":"^3.3.1","cac":"^6.7.14","ansis":"^4.2.0","execa":"^9.6.0","ofetch":"^1.4.1","semver":"^7.7.3","tinyglobby":"^0.2.15","changelogen":"0.5.7","convert-gitmoji":"^0.1.5"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.19.0","devDependencies":{"bumpp":"^10.3.1","eslint":"^9.38.0","vitest":"^4.0.3","unbuild":"^3.6.1","fs-extra":"^11.3.2","typescript":"^5.9.3","@antfu/utils":"^9.3.0","@types/debug":"^4.1.12","@types/semver":"^7.7.1","@types/fs-extra":"^11.0.4","@types/minimist":"^1.2.5","@antfu/eslint-config":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/changelogithub_13.16.1_1761514640056_0.8442894914984249","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":1761514640284,"_cnpm_publish_time":1761514640284,"dist-tags":{"latest":"15.0.5"}}