Nx task runner plugin that uses Google Cloud Storage (GCS) as a distributed computational cache for Nx monorepos. Current version 1.1.2, maintained with monthly releases. Supports application default credentials (ADC) for authentication and environment variable overrides. Designed as an alternative to Nx's default cloud cache, providing self-hosted GCS-based caching with minimal configuration through an init schematic.
npm install nx-gcp-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install plugin, run init schematic, configure bucket, set authentication, and use Nx as usual.
Use only one method of configuration (either nx.json or env vars) to avoid confusion.
Ensure proper ADC setup: set GOOGLE_APPLICATION_CREDENTIALS or run gcloud auth application-default login
Review nx.json after running init. If already configured, skip the init step.
Upgrade Nx to version 16 or later.
Check network connectivity and ensure the service account has storage.objects.get and storage.objects.create permissions on the bucket.
Set GOOGLE_APPLICATION_CREDENTIALS to a valid service account key with Storage Object Admin role.
Run `npm install nx-gcp-cache` in the workspace root.