{"library":"rush-audit-cache-plugin","title":"Rush Build Cache Audit Plugin","description":"rush-audit-cache-plugin is a diagnostic utility designed to provide deep insights into the behavior of the Rush.js build cache. It helps monorepo maintainers understand why cache hits or misses occur, identifying potential misconfigurations or inefficiencies. As of its current stable version, 0.3.2, it is a pre-1.0 release, indicating ongoing development, though it's actively maintained within the TikTok rush-plugins monorepo. The plugin differentiates itself by leveraging low-level system calls (via `strace` on Linux) to precisely track file system interactions during builds, offering a granular view beyond what typical cache logs provide. Its release cadence is not public, likely tied to its maintainers' internal development needs.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install rush-audit-cache-plugin"],"cli":null},"imports":["// No direct JavaScript/TypeScript import is typically used by end-users.\n// The plugin is enabled via Rush's configuration system, e.g., in common/config/rush/rush-plugins.json:\n// {\n//   \"plugins\": [\n//     {\n//       \"packageName\": \"rush-audit-cache-plugin\",\n//       \"pluginName\": \"rush-audit-cache-plugin\"\n//     }\n//   ]\n// }"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  // common/config/rush/rush-plugins.json\n  \"plugins\": [\n    {\n      \"packageName\": \"rush-audit-cache-plugin\",\n      \"pluginName\": \"rush-audit-cache-plugin\"\n    }\n  ]\n}\n\n// Then, from your monorepo root, run:\nrush audit-cache --project <your-project-name>","lang":"typescript","description":"Shows how to enable the plugin in Rush configuration and run the audit-cache command for a specific project.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}