{"id":25603833,"url":"https://github.com/sgehrman/pubspec_updater","last_synced_at":"2025-04-13T09:23:20.105Z","repository":{"id":148897444,"uuid":"226030424","full_name":"sgehrman/pubspec_updater","owner":"sgehrman","description":"A native tool to update versions in pubspec.yaml files","archived":false,"fork":false,"pushed_at":"2022-10-20T20:31:48.000Z","size":15,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T00:54:58.958Z","etag":null,"topics":["dart","flutter","yaml"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sgehrman.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":"2019-12-05T06:18:25.000Z","updated_at":"2023-10-20T10:04:38.000Z","dependencies_parsed_at":"2023-05-17T00:00:40.264Z","dependency_job_id":null,"html_url":"https://github.com/sgehrman/pubspec_updater","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/sgehrman%2Fpubspec_updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgehrman%2Fpubspec_updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgehrman%2Fpubspec_updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgehrman%2Fpubspec_updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgehrman","download_url":"https://codeload.github.com/sgehrman/pubspec_updater/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248689516,"owners_count":21145960,"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":["dart","flutter","yaml"],"created_at":"2025-02-21T17:29:10.907Z","updated_at":"2025-04-13T09:23:20.089Z","avatar_url":"https://github.com/sgehrman.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pubspec_updater\n\nCreates a native tool to update all package versions in pubspec.yaml\n\n```bash\ndart install.dart\n```\n\nThis will copy a tool called pubspec_updater in to /home/user/bin. Make sure you have a bin dir in home and it's added to your \\$PATH.\n\nOnly tested on Linux, but should work on macOS.\n\nSend in Pull Requests if it doesn't work for you. Let me know if there is a better way to build this.\n\nOnce the tool is installed, you can go to any flutter package directory with a pubspec.yaml file and run:\n\nThis will display what it will change, but not write out the changes\n\n```bash\npubspec_updater\n```\n\nRun with -u to actually write the pubspec.yaml\n\n```bash\npubspec_updater -u\n```\n\nThere are other flags to control how it change the versions. Use -h for help.\n\n```bash\npubspec_updater -h\n```\n\nIt will also add versions for pubs with out a version. It avoids any versions with \u003c or \u003e\n\nCode is based on [https://github.com/mauriciotogneri/dapackages](https://github.com/mauriciotogneri/dapackages)\n\nInspired by npm-check-updates [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/npm-check-updates)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgehrman%2Fpubspec_updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgehrman%2Fpubspec_updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgehrman%2Fpubspec_updater/lists"}