{"name":"changelogithub","version":"0.13.10","keywords":["github","release","releases","conventional","changelog","log"],"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","_id":"changelogithub@0.13.10","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":"bebb2f5a1a6a9f52a99d12d53ab8c41f0ddaf8d8","tarball":"http://registry-npm.ywwl.com/changelogithub/download/changelogithub-0.13.10.tgz","fileCount":14,"integrity":"sha512-9LouGMOOuT+k2ho+E1q0y8lKD7rMXInWP8mDdZfL1lzfKT1DYykuBqQqLjRWFYuER6Rn6AD2+8d3b/KjD2it0g==","signatures":[{"sig":"MEYCIQCDcut6mlJvQsN4WCfdXU2odf9KwbBdIG2SviHIippzFgIhAOK5gMHodhfZjdeNBCmp7QgWs6lh2WikNBH1RleZVNcp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47332,"size":9128,"noattachment":false,"key":"/changelogithub/-/changelogithub-0.13.10.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":"db48a2c362b2c65f12cbe4613a3e5a725363bac1","scripts":{"dev":"unbuild --stub","lint":"eslint .","test":"vitest","build":"unbuild","start":"nr dev && node cli.mjs","release":"bumpp --commit --push --tag","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.8.1","description":"Generate changelog for GitHub.","directories":{},"sideEffects":false,"_nodeVersion":"20.16.0","dependencies":{"c12":"^1.11.1","cac":"^6.7.14","execa":"^9.3.1","ofetch":"^1.3.4","semver":"^7.6.3","kolorist":"^1.8.0","changelogen":"0.5.5","@antfu/utils":"^0.7.10","convert-gitmoji":"^0.1.5"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.8.0","devDependencies":{"esno":"^4.7.0","bumpp":"^9.5.2","eslint":"^9.9.1","vitest":"^2.0.5","unbuild":"^2.0.0","fs-extra":"^11.2.0","typescript":"^5.5.4","@types/debug":"^4.1.12","@types/semver":"^7.5.8","@types/fs-extra":"^11.0.4","@types/minimist":"^1.2.5","@antfu/eslint-config":"^2.27.1"},"_npmOperationalInternal":{"tmp":"tmp/changelogithub_0.13.10_1724517070591_0.3553773650143013","host":"s3://npm-registry-packages"},"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":1724517070787,"_cnpm_publish_time":1724517070787,"dist-tags":{"latest":"15.0.5"}}