{"name":"@conventional-changelog/git-client","version":"3.1.1","keywords":["git","client","conventional","changelog"],"author":{"url":"https://github.com/dangreen","name":"Dan Onoshko","email":"danon0404@gmail.com"},"license":"MIT","_id":"@conventional-changelog/git-client@3.1.1","maintainers":[{"name":"bcoe","email":"bencoe@gmail.com"},{"name":"oss-bot","email":"bencoe+oss-bot@gmail.com"},{"name":"dangreen","email":"danon0404@gmail.com"}],"homepage":"https://conventional-changelog.js.org/git-client/","bugs":{"url":"https://github.com/conventional-changelog/conventional-changelog/issues"},"dist":{"shasum":"f565d8f8a7647ae369c0d63823dfd55eaf5a10dc","tarball":"http://registry-npm.ywwl.com/@conventional-changelog/git-client/download/@conventional-changelog/git-client-3.1.1.tgz","fileCount":18,"integrity":"sha512-w/q+UIVdWQMgXlziPIYfPlyDud+H8kcvSCzDQQoc/gid7yZzb6eNfAkNN4UlEcS2cVVh924jevsOIb36d0In2g==","signatures":[{"sig":"MEUCIGPpv1Q2a2uv+y49Nc5JnNgEfQLIKtKkGQAS/B1GOB/nAiEAqcswOTdZWnoXybYLy4J626qRybRdzDh/l5+7/NQifOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCHokIPBSJFyWyQeL7zg4IKoaiC3r5tAlvJswd5wEICXAIhAIB3zFObxUUqeAGJlM8jZQQigl3e5qfVYV3SK7/ufza6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45188,"size":12313,"noattachment":false,"key":"/@conventional-changelog/git-client/-/@conventional-changelog/git-client-3.1.1.tgz"},"type":"module","engines":{"node":">=22"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"_npmUser":{"name":"dangreen","email":"danon0404@gmail.com"},"repository":{"url":"https://github.com/conventional-changelog/conventional-changelog.git","type":"git","directory":"packages/git-client"},"description":"Simple git client for conventional changelog packages.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"semver":"^7.5.2","@simple-libs/stream-utils":"^2.0.0","@simple-libs/child-process-utils":"^2.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"conventional-commits-filter":"^6.0.1","conventional-commits-parser":"^7.1.2"},"peerDependenciesMeta":{"conventional-commits-filter":{"optional":true},"conventional-commits-parser":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/git-client_3.1.1_1786090480261_0.46510907515905764","host":"s3://npm-registry-packages-npm-production"},"readme":"# @conventional-changelog/git-client\n\n[![ESM-only package][package]][package-url]\n[![NPM version][npm]][npm-url]\n[![Node version][node]][node-url]\n[![Dependencies status][deps]][deps-url]\n[![Install size][size]][size-url]\n[![Build status][build]][build-url]\n[![Coverage status][coverage]][coverage-url]\n\n[package]: https://img.shields.io/badge/package-ESM--only-ffe536.svg\n[package-url]: https://nodejs.org/api/esm.html\n\n[npm]: https://img.shields.io/npm/v/@conventional-changelog/git-client.svg\n[npm-url]: https://npmjs.com/package/@conventional-changelog/git-client\n\n[node]: https://img.shields.io/node/v/@conventional-changelog/git-client.svg\n[node-url]: https://nodejs.org\n\n[deps]: https://img.shields.io/librariesio/release/npm/@conventional-changelog/git-client\n[deps-url]: https://libraries.io/npm/@conventional-changelog%2Fgit-client\n\n[size]: https://packagephobia.com/badge?p=@conventional-changelog/git-client\n[size-url]: https://packagephobia.com/result?p=@conventional-changelog/git-client\n\n[build]: https://img.shields.io/github/actions/workflow/status/conventional-changelog/conventional-changelog/tests.yaml?branch=master\n[build-url]: https://github.com/conventional-changelog/conventional-changelog/actions\n\n[coverage]: https://coveralls.io/repos/github/conventional-changelog/conventional-changelog/badge.svg?branch=master\n[coverage-url]: https://coveralls.io/github/conventional-changelog/conventional-changelog?branch=master\n\nSimple git client for conventional changelog packages.\n\n## Install\n\n```bash\n# pnpm\npnpm add @conventional-changelog/git-client conventional-commits-filter conventional-commits-parser\n# yarn\nyarn add @conventional-changelog/git-client conventional-commits-filter conventional-commits-parser\n# npm\nnpm i @conventional-changelog/git-client conventional-commits-filter conventional-commits-parser\n```\n\nNote: `conventional-commits-filter` and `conventional-commits-parser` are required only if you need `ConventionalGitClient#getCommits` method.\n\n## Usage\n\n```js\nimport {\n  GitClient,\n  ConventionalGitClient\n} from '@conventional-changelog/git-client'\n\n// Basic git client\nconst client = new GitClient(process.cwd())\n\nawait client.add('package.json')\nawait client.commit({ message: 'chore: release v1.0.0' })\nawait client.tag({ name: 'v1.0.0' })\nawait client.push('master')\n\n// Conventional git client, which extends basic git client\nconst conventionalClient = new ConventionalGitClient(process.cwd())\n\nconsole.log(await conventionalClient.getVersionFromTags()) // v1.0.0\n```\n\n## Documentation\n\nFor the API reference, visit the [documentation website](https://conventional-changelog.js.org/git-client/).\n\n## License\n\nMIT © [Dan Onoshko](https://github.com/dangreen)\n","publish_time":1786090480343,"_cnpm_publish_time":1786090480343,"dist-tags":{"latest":"3.2.0"}}