{"id":21835817,"url":"https://github.com/vtex/git-tag-match","last_synced_at":"2025-03-21T14:25:34.491Z","repository":{"id":68365585,"uuid":"161211212","full_name":"vtex/git-tag-match","owner":"vtex","description":"Check if the git tag matches package.json version","archived":false,"fork":false,"pushed_at":"2018-12-10T17:34:31.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-26T10:08:16.130Z","etag":null,"topics":["srv-store-framework","xp-developer"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vtex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-10T17:24:18.000Z","updated_at":"2019-07-03T20:51:44.000Z","dependencies_parsed_at":"2023-09-13T02:23:02.080Z","dependency_job_id":null,"html_url":"https://github.com/vtex/git-tag-match","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgit-tag-match","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgit-tag-match/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgit-tag-match/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtex%2Fgit-tag-match/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtex","download_url":"https://codeload.github.com/vtex/git-tag-match/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244812866,"owners_count":20514529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["srv-store-framework","xp-developer"],"created_at":"2024-11-27T20:25:11.036Z","updated_at":"2025-03-21T14:25:34.460Z","avatar_url":"https://github.com/vtex.png","language":"JavaScript","readme":"# git-tag-match\n\n\u003e Check if the git tag matches package.json version\n\n## Install\n\n```sh\n$ yarn add git-tag-match --dev\n```\n\n## Usage\n\n### CLI\n\n```sh\ngit-tag-match\n```\n\nOptional parameter `fileName`, example:\n\n```sh\ngit-tag-match manifest.json\n```\n\n### Node\n\n```js\nconst gitTagMatch = require('git-match-tag')\n\nconst fileName = 'package.json'\n\nconst result = await gitTagMatch(fileName)\n// {\n//   referenceVersion: '1.0.0',\n//   gitVersion: '1.0.0',\n//   match: true\n// }\n```\n\n## License\n\nMIT © [VTEX](https://www.vtex.com)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fgit-tag-match","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtex%2Fgit-tag-match","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtex%2Fgit-tag-match/lists"}