{"name":"changelogithub","version":"13.14.0","keywords":["github","release","releases","conventional","changelog","log"],"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"license":"MIT","_id":"changelogithub@13.14.0","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":"a6fb6e5d4223999133f92af3251635289c075229","tarball":"http://registry-npm.ywwl.com/changelogithub/download/changelogithub-13.14.0.tgz","fileCount":16,"integrity":"sha512-yRCjLj8q6ONS/4LmqaN8RW/v327Wcec2t3QObRCBWuPQ2WVO2VLv1f4AIFUAKqeD4ce46lUyvCJdgQLrdzecUw==","signatures":[{"sig":"MEUCIGAsiLtqwvZxzAI8yhRd2ZPem0UijmzcTnZTRI9/IzK+AiEAz5SKCd+Uooa7KukkgIqtWfKZuxDGgn2ug2B4biN2jIU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53699,"size":15023,"noattachment":false,"key":"/changelogithub/-/changelogithub-13.14.0.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":"30e92f0105a7485dd7735bc8f9ace7bf96002ffd","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.9.2","description":"Generate changelog for GitHub.","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","dependencies":{"c12":"^3.0.3","cac":"^6.7.14","ansis":"^4.0.0","execa":"^9.5.3","ofetch":"^1.4.1","semver":"^7.7.2","changelogen":"0.5.7","convert-gitmoji":"^0.1.5"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.11.0","devDependencies":{"bumpp":"^10.1.0","eslint":"^9.26.0","vitest":"^3.1.3","unbuild":"^3.5.0","fs-extra":"^11.3.0","typescript":"^5.8.3","@antfu/utils":"^9.2.0","@types/debug":"^4.1.12","@types/semver":"^7.7.0","@types/fs-extra":"^11.0.4","@types/minimist":"^1.2.5","@antfu/eslint-config":"^4.13.0"},"_npmOperationalInternal":{"tmp":"tmp/changelogithub_13.14.0_1747211362529_0.6651506028319081","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":1747211362692,"_cnpm_publish_time":1747211362692,"dist-tags":{"latest":"15.0.5"}}