{"id":13434017,"url":"https://github.com/peerigon/updtr","last_synced_at":"2025-05-14T11:09:27.671Z","repository":{"id":47631803,"uuid":"43561686","full_name":"peerigon/updtr","owner":"peerigon","description":"Update outdated npm modules with zero pain™","archived":false,"fork":false,"pushed_at":"2024-07-03T20:58:21.000Z","size":1735,"stargazers_count":2224,"open_issues_count":14,"forks_count":33,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-10-29T15:38:01.639Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peerigon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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}},"created_at":"2015-10-02T15:48:28.000Z","updated_at":"2024-09-19T05:19:45.000Z","dependencies_parsed_at":"2024-11-19T04:15:34.271Z","dependency_job_id":"a1e1f85d-83ca-4d6b-85fe-353732f26288","html_url":"https://github.com/peerigon/updtr","commit_stats":{"total_commits":135,"total_committers":16,"mean_commits":8.4375,"dds":0.5925925925925926,"last_synced_commit":"cb5cdda66f600d20000e88384b6bb87cb1591f65"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fupdtr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fupdtr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fupdtr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fupdtr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerigon","download_url":"https://codeload.github.com/peerigon/updtr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247968368,"owners_count":21025823,"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-07-31T02:01:43.068Z","updated_at":"2025-04-09T03:10:05.635Z","avatar_url":"https://github.com/peerigon.png","language":"JavaScript","readme":"![updtr](assets/updtr.jpg)\n\n# updtr\n\n**Update outdated npm modules with zero pain™**\n\n[![Build Status](https://travis-ci.org/peerigon/updtr.svg?branch=master)](https://travis-ci.org/peerigon/updtr)\n[![](https://img.shields.io/npm/v/updtr.svg)](https://www.npmjs.com/package/updtr)\n[![](https://img.shields.io/npm/dm/updtr.svg)](https://www.npmjs.com/package/updtr)\n[![Coverage Status](https://coveralls.io/repos/peerigon/updtr/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/peerigon/updtr?branch=master)\n\nBased on `npm outdated`, **updtr** installs the latest version and runs `npm test` for each dependency. In case the test succeeds, **updtr** saves the new version number to your `package.json`. Otherwise, **updtr** rolls back the conflicting update.\n\nAdditionally, it will use `yarn` instead of `npm` when a `yarn.lock` file is present in your project.\n\nMade by [Peerigon](https://peerigon.com/?pk_campaign=gh-os\u0026pk_kwd=updtr).\n\n![updtr](assets/updtr.gif)\n\n## Installation\n\n```\nnpm install -g updtr\n```\n\n## Options\n\n### `--use` `-u`\n\nSpecify the package manager to use:\n\n- `npm`\n- `yarn`\n\nUpdtr tries to guess the package manager by looking for a `yarn.lock` file. If there is one in `process.cwd()`, it will use yarn. Setting this option overrides that default.\n\n### `--exclude` `--ex`\n\nSpace separated list of module names that should not be updated.\n\n### `--update-to` `--to`\n\n- `latest` *(default)*: update all packages to the latest version number\n- `non-breaking`: update all packages to the latest version number that does not conflict with the installed version number\n- `wanted`: update all packages to the latest version number that does not conflict with the version number as specified in the `package.json`\n\n### `--save` `-s`\n\nSpecify how updated versions should be saved to the `package.json`:\n\n- `smart` *(default)*: tries to preserve the current style. Falls back to `caret` if the style cannot be preserved.\n- `caret`: saves `^x.y.z`\n- `exact`: saves `x.y.z`\n\n### `--reporter` `-r`\n\nChoose a reporter for the console output:\n\n- `dense` *(default*): See screenshot\n- `basic`: Uses `console.log` for output, no need for a TTY (e.g when running on CI)\n- `none`: No console output\n\n### `--test` `-t`\n\nSpecify a custom test command. Surround with quotes:\n\n`updtr -t \"mocha -R spec\"`\n\n### `--test-stdout` `--out`\n\nShow test stdout if the update fails.\n\n### `--registry` `--reg`\n\nSpecify a custom registry to use.\n\n**Please note:** yarn does not support to set a custom registry via command line. Use a `.npmrc` file to achieve this. See also [yarnpkg/yarn#606](https://github.com/yarnpkg/yarn/issues/606).\n\n### `--version`\n\nShow the current updtr version.\n\n### `--help`\n\nShow all commands.\n\n## License\n\nUnlicense\n\n## Sponsors\n\n[\u003cimg src=\"https://assets.peerigon.com/peerigon/logo/peerigon-logo-flat-spinat.png\" width=\"150\" /\u003e](https://peerigon.com)\n","funding_links":[],"categories":["JavaScript","Maintenance Managers","DevShit"],"sub_categories":["A11y (accessibility)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fupdtr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerigon%2Fupdtr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fupdtr/lists"}