{"name":"@conventional-changelog/git-client","version":"2.7.0","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@2.7.0","maintainers":[{"name":"bcoe","email":"bencoe@gmail.com"},{"name":"oss-bot","email":"bencoe+oss-bot@gmail.com"},{"name":"dangreen","email":"danon0404@gmail.com"}],"homepage":"https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-client#readme","bugs":{"url":"https://github.com/conventional-changelog/conventional-changelog/issues"},"dist":{"shasum":"07ea8202fd822e71d32c54aaed08b2c5ae9cc7c2","tarball":"http://registry-npm.ywwl.com/@conventional-changelog/git-client/download/@conventional-changelog/git-client-2.7.0.tgz","fileCount":18,"integrity":"sha512-j7A8/LBEQ+3rugMzPXoKYzyUPpw/0CBQCyvtTR7Lmu4olG4yRC/Tfkq79Mr3yuPs0SUitlO2HwGP3gitMJnRFw==","signatures":[{"sig":"MEUCIFRwnAN5DzLL5bNwgoplH/6ltMhdklBkJ6J5SZj+ciVgAiEAlgl8/VRokRrH2v/Dg8e0ZDHgjSyJMEPa4U+ThWrGPiA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45167,"size":12168,"noattachment":false,"key":"/@conventional-changelog/git-client/-/@conventional-changelog/git-client-2.7.0.tgz"},"type":"module","_from":"file:conventional-changelog-git-client-2.7.0.tgz","engines":{"node":">=18"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"_npmUser":{"name":"dangreen","email":"danon0404@gmail.com"},"_resolved":"/tmp/16f2f6e35b4e9fbf328263f7371b536c/conventional-changelog-git-client-2.7.0.tgz","_integrity":"sha512-j7A8/LBEQ+3rugMzPXoKYzyUPpw/0CBQCyvtTR7Lmu4olG4yRC/Tfkq79Mr3yuPs0SUitlO2HwGP3gitMJnRFw==","repository":{"url":"git+https://github.com/conventional-changelog/conventional-changelog.git","type":"git","directory":"packages/git-client"},"_npmVersion":"10.8.2","description":"Simple git client for conventional changelog packages.","directories":{},"_nodeVersion":"20.20.2","dependencies":{"semver":"^7.5.2","@simple-libs/stream-utils":"^1.2.0","@simple-libs/child-process-utils":"^1.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"conventional-commits-filter":"^5.0.0","conventional-commits-parser":"^6.4.0"},"peerDependenciesMeta":{"conventional-commits-filter":{"optional":true},"conventional-commits-parser":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/git-client_2.7.0_1775594471343_0.6175236128845123","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":1775594471487,"_cnpm_publish_time":1775594471487,"dist-tags":{"latest":"3.2.0"}}