{"id":21458948,"url":"https://github.com/netglade/cached_build_runner","last_synced_at":"2026-01-11T04:23:19.298Z","repository":{"id":128248874,"uuid":"608959688","full_name":"netglade/cached_build_runner","owner":"netglade","description":"Helps to optimize the build_runner by caching generated codes for non changed .dart files","archived":false,"fork":false,"pushed_at":"2024-05-05T17:27:27.000Z","size":136,"stargazers_count":19,"open_issues_count":10,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-15T04:16:42.366Z","etag":null,"topics":["build-runner","cache","dart","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/cached_build_runner","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/netglade.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,"zenodo":null}},"created_at":"2023-03-03T04:25:25.000Z","updated_at":"2025-06-16T09:46:39.000Z","dependencies_parsed_at":"2024-02-02T16:27:17.990Z","dependency_job_id":"76df0460-abc0-41ab-a4a1-10ad160e0d66","html_url":"https://github.com/netglade/cached_build_runner","commit_stats":null,"previous_names":["netglade/cached_build_runner","jyotirmoy-paul/cached_build_runner"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/netglade/cached_build_runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netglade%2Fcached_build_runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netglade%2Fcached_build_runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netglade%2Fcached_build_runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netglade%2Fcached_build_runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netglade","download_url":"https://codeload.github.com/netglade/cached_build_runner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netglade%2Fcached_build_runner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265828823,"owners_count":23835081,"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":["build-runner","cache","dart","flutter"],"created_at":"2024-11-23T06:25:25.288Z","updated_at":"2026-01-11T04:23:19.241Z","avatar_url":"https://github.com/netglade.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cached Build Runner\n\nCached Build Runner is a Dart package that optimizes the build_runner by caching generated code for unchanged .dart files. This package can be used as a dev_dependency and provides a cached version of the build_runner, which caches generated files instead of generating them every time.\n\n## Usage\n\n```bash\ncached_build_runner \u003ccommand\u003e [arguments]\n```\n\n### Commands\nGlobal options:\n-h, --help    Print this usage information.\n\nAvailable commands:\n* **build**: Performs a single build on the specified targets and then exits.\n* **watch**: Builds the specified targets, watching the file system for updates and rebuilding as appropriate.\n* **cache**: Commands for manipulating cache.\n\nAvailable arguments:\n* -h, --help: Print out usage instructions.\n* -v, --verbose: Enables verbose logs.\n* -d, --debug: Enables even more verbose logs.\n* -p, --[no]prune: Enable pruning cache directory when pubspec.lock was changed since last build. Defaults true.\n* -c, --cache-directory: Provide the directory where this tool can keep the caches.\n\n## Cache sub-commands\n* **prune**: Clear cache directory.\n* **list**: List table of files with hash (digest) and their dirty state.\n\narguments\n* -h, --help: Print out usage instructions.\n* -v, --verbose: Enables verbose logs.\n* -c, --cache-directory: Provide the directory where this tool can keep the caches.\n\n# Installation\nAdd the package to your pubspec.yaml file under dev_dependencies:\n\n```yaml\ndev_dependencies:\n  build_runner: ^latest_version\n  cached_build_runner: ^latest_version\n```\n**Please note that you have to add `build_runner` as a mandatory dependency in your project for `cached_build_runner` to work properly.**\n\nReplace latest_version with the latest available version of the package.\n\n\n---\nOriginal work done by @jyotirmoy-paul.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetglade%2Fcached_build_runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetglade%2Fcached_build_runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetglade%2Fcached_build_runner/lists"}