{"_id":"@conventional-changelog/git-client@3.2.0","bugs":{"url":"https://github.com/conventional-changelog/conventional-changelog/issues"},"dist":{"shasum":"69e783d11d172c8940c531f750e7d9644decfb72","tarball":"http://registry-npm.ywwl.com/@conventional-changelog/git-client/download/@conventional-changelog/git-client-3.2.0.tgz","fileCount":18,"integrity":"sha512-sD/E0vzpkoDz/dqM1Hhv0ihC4KBw6RXjefeO8SG1XrX+wGkMxe1pKeedkKDPCtr2JjuhbuS9aJNgOvnT8hbeBw==","signatures":[{"sig":"MEQCIEs8B4B2nbhqSyQrdvDLlgfiAse+3g+kDrNUaUvf2g0kAiBL1oWpdE6atA0pZlX5w6uriBDM6Ia4aEcXyZta+l9Fsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGbD//WvPPVsWHKFHDl7am/bGsAto0zyN1A0duN8lWj1AiBou5yYjQQVQN2D6u4uP0VctjsuVVAW+hYbOyYExujffA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@conventional-changelog%2fgit-client@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45785,"size":12592,"noattachment":false,"key":"/@conventional-changelog/git-client/-/@conventional-changelog/git-client-3.2.0.tgz"},"name":"@conventional-changelog/git-client","type":"module","author":{"url":"https://github.com/dangreen","name":"Dan Onoshko","email":"danon0404@gmail.com"},"engines":{"node":">=22"},"exports":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"license":"MIT","version":"3.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"17d83305-1205-4cb0-80be-be44f561b5c3"}},"homepage":"https://conventional-changelog.js.org/git-client/","keywords":["git","client","conventional","changelog"],"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":{},"maintainers":[{"name":"bcoe","email":"bencoe@gmail.com"},{"name":"oss-bot","email":"bencoe+oss-bot@gmail.com"},{"name":"dangreen","email":"danon0404@gmail.com"}],"dependencies":{"verkit":"^0.5.0","@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.3"},"peerDependenciesMeta":{"conventional-commits-filter":{"optional":true},"conventional-commits-parser":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/git-client_3.2.0_1791223988869_0.5065069579770072"},"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":1791223988948,"_cnpm_publish_time":1791223988948,"dist-tags":{"latest":"3.2.0"}}