{"id":15428528,"url":"https://github.com/turbo87/auto-dist-tag","last_synced_at":"2025-04-13T02:10:09.879Z","repository":{"id":20483792,"uuid":"90037511","full_name":"Turbo87/auto-dist-tag","owner":"Turbo87","description":"Automatically rewrites the \"publishConfig.tag\" setting in your \"package.json\" file for you","archived":false,"fork":false,"pushed_at":"2025-04-07T23:31:43.000Z","size":1716,"stargazers_count":6,"open_issues_count":16,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T02:09:55.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Turbo87.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":"Turbo87","custom":"https://paypal.me/tobiasbieniek"}},"created_at":"2017-05-02T13:36:59.000Z","updated_at":"2024-07-05T20:27:08.000Z","dependencies_parsed_at":"2023-02-16T03:16:39.213Z","dependency_job_id":"95ab5c61-f194-41d5-8d1e-f67634b2253f","html_url":"https://github.com/Turbo87/auto-dist-tag","commit_stats":{"total_commits":385,"total_committers":11,"mean_commits":35.0,"dds":0.4311688311688312,"last_synced_commit":"bf14c5e2b985b3b071507521210ba2fedee33d4c"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fauto-dist-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fauto-dist-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fauto-dist-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turbo87%2Fauto-dist-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turbo87","download_url":"https://codeload.github.com/Turbo87/auto-dist-tag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654090,"owners_count":21140236,"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":[],"created_at":"2024-10-01T18:05:06.272Z","updated_at":"2025-04-13T02:10:09.846Z","avatar_url":"https://github.com/Turbo87.png","language":"JavaScript","funding_links":["https://github.com/sponsors/Turbo87","https://paypal.me/tobiasbieniek"],"categories":[],"sub_categories":[],"readme":"auto-dist-tag\n===============================================================================\n\n[![Build Status](https://travis-ci.org/Turbo87/auto-dist-tag.svg?branch=master)](https://travis-ci.org/Turbo87/auto-dist-tag)\n[![npm](https://img.shields.io/npm/v/auto-dist-tag.svg)](https://www.npmjs.com/package/auto-dist-tag)\n\n\u003e Automatically rewrites the `publishConfig.tag` setting in your\n\u003e `package.json` file for you\n\n\nInstall\n-------------------------------------------------------------------------------\n\n```\nnpm install --global auto-dist-tag\n```\n\n\nUsage\n-------------------------------------------------------------------------------\n\n```\n$ auto-dist-tag --help\n\n  Usage\n    $ auto-dist-tag [path]\n\n  Options\n    --write, -w  Write calculated dist-tag to the package.json file\n```\n\n`auto-dist-tag` will automatically figure out what the best\n[`dist-tag`](https://docs.npmjs.com/cli/dist-tag) is based on the `version`\nproperty in your `package.json` file and the previously published versions\nunless you explicitly specify a tag yourself.\n\nHave a look at our [tests](test/calc-dist-tag-test.js) to figure out what\ntags to expect as output.\n\n\n### Travis CI\n\nIf you are using [Travis CI](https://docs.travis-ci.com/user/deployment/npm/)\nto automatically publish your package to npm you should add the following\nsnippet to your `.travis.yml` file:\n\n```yaml\nbefore_deploy:\n  - npm install -g auto-dist-tag@1\n  - auto-dist-tag --write\n\ndeploy:\n  skip_cleanup: true\n  ...\n```\n\n\nLicense\n-------------------------------------------------------------------------------\n\nThis project is licensed under the [Apache License 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Fauto-dist-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturbo87%2Fauto-dist-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturbo87%2Fauto-dist-tag/lists"}