{"id":13551804,"url":"https://github.com/wasabeef/version_gen","last_synced_at":"2026-04-02T02:01:55.595Z","repository":{"id":41887950,"uuid":"420898084","full_name":"wasabeef/version_gen","owner":"wasabeef","description":"The Dart code generator for your package versions. 🎯","archived":false,"fork":false,"pushed_at":"2026-03-30T12:31:33.000Z","size":130,"stargazers_count":16,"open_issues_count":12,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T14:34:13.835Z","etag":null,"topics":["dart","flutter"],"latest_commit_sha":null,"homepage":"","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/wasabeef.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"wasabeef","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-10-25T06:07:02.000Z","updated_at":"2024-04-29T05:42:07.000Z","dependencies_parsed_at":"2023-09-28T19:10:45.083Z","dependency_job_id":"bb305454-ef97-4449-9786-0e5047c64011","html_url":"https://github.com/wasabeef/version_gen","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.16326530612244894","last_synced_commit":"928c21c523e382da228e404a2e50fc1e714d3b9f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wasabeef/version_gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fversion_gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fversion_gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fversion_gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fversion_gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/version_gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fversion_gen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294372,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2024-08-01T12:01:53.941Z","updated_at":"2026-04-02T02:01:55.559Z","avatar_url":"https://github.com/wasabeef.png","language":"Dart","funding_links":["https://github.com/sponsors/wasabeef"],"categories":["Dart"],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/wasabeef/version_gen/raw/main/art/VersionGen.png\" width=\"200px\" align=\"left\"/\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://pub.dartlang.org/packages/version_gen\"\u003e\n    \u003cimg src=\"https://img.shields.io/pub/v/version_gen.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/wasabeef/version_gen/actions/workflows/dart-ci.yaml\"\u003e\n    \u003cimg src=\"https://github.com/wasabeef/version_gen/actions/workflows/dart-ci.yaml/badge.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://pub.dev/packages/flutter_lints\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/style-flutter_lints-40c4ff.svg\" /\u003e\n  \u003c/a\u003e\n  \u003cp\u003eThe Dart code generator for your package versions.\u003cbr\u003e\n  There is no way to get the package version from the code in the Dart ecosystem.\u003c/p\u003e\n\u003cbr\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n## Installation\n\n1. Add [build_runner] and [VersionGen] to your package's pubspec.yaml file:\n\n```\ndev_dependencies:\n  build_runner:\n  version_gen:\n```\n\n2. Install [VersionGen]\n\n```sh\n$ flutter pub get\n```\n\n3. Use [VersionGen]\n\n```\n$ flutter packages pub run build_runner build\n```\n\n## Configuration file\n\n[VersionGen] generates dart files based on the key **`VersionGen`** of [`pubspec.yaml`](https://dart.dev/tools/pub/pubspec).  \nDefault configuration can be found [here](#default-configuration). \n\n```yaml\n# pubspec.yaml\n# ...\n\ndev_dependencies:\n  build_runner:\n  version_gen:\n\n# Optional (default: lib/gen/)\nversion_gen:\n  path: lib/gen/\n\n```\n\n\n## Output file\n\n```dart\n/// DO NOT MODIFY BY HAND, Generated by version_gen\nString packageVersion = '1.0.0+1';\n```\n\n## Issues\n\nPlease file [FlutterGen] specific issues, bugs, or feature requests in our [issue tracker](https://github.com/FlutterGen/flutter_gen/issues/new).\n\nPlugin issues that are not specific to [FlutterGen] can be filed in the [Flutter issue tracker](https://github.com/flutter/flutter/issues/new).\n\n[build_runner]: https://pub.dev/packages/build_runner\n[versiongen]: https://pub.dev/packages/version_gen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fversion_gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Fversion_gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fversion_gen/lists"}