{"_id":"@amalia-oss/nx-remotecache-gcs","_rev":"6-5c84c9dea1b0170b1f0fdc544b951146","name":"@amalia-oss/nx-remotecache-gcs","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.10.1","nx-remotecache-custom":"^4.0.0"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"2.5.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"e81775560ad208151fb95856d197b66ea4f1dcd4","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-52PRb9SlFHy57519C/d4w7TMLKJ4ehGODWt2TOGtmLu8V+TPRWQ40jZwj4b+77Lw/gLKYHcq5BINWJxUt16ogg==","shasum":"384a7b8a132213bb0a285fc984761389d242ab75","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.0.0.tgz","fileCount":11,"unpackedSize":7697,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGG5yIOoQBfi1gdMLsdqaAVvh0UgQi78DQkWI/ZNdwdRAiEAyZM5MQtcau++oN5P6YH5JAMsJi6lH8UqiHQ57ZK34Gc="}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.0.0_1684326850400_0.40176564346203114"},"_hasShrinkwrap":false},"1.0.1":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.0.1","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.10.1","nx-remotecache-custom":"^4.0.0"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"2.5.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"fe3851da1126099475fc0379c07e6fbfc3bdfa11","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-ElBp0Va7g2B27OHCZAlRyP3zHMDwsH2G2I3e0iLq8I5rncRuv541sX1BEgiDXLrzQ5hJgAGFxkmJBkSRORnuxw==","shasum":"f53798034e918eae2f3d927fa56824ce6b5613c8","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.0.1.tgz","fileCount":11,"unpackedSize":7701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHx/5tCkRhdfvfe9MBR4YTUpRl5XG/8VeHQ1VvWLxPwfAiEAvEuwLzVmmAsAugENj+GSI8p2INygl7DnpcZYHj7FWA4="}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.0.1_1684327769256_0.16014046350245592"},"_hasShrinkwrap":false},"1.0.2":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.0.2","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.10.1","nx-remotecache-custom":"^4.0.0"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"2.5.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"92ffe5a0d4e9793226aa86dc9ac7fbe02f834a63","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-WFSZglR9Dwxbhg6I2KuxlImsWZbBivYHoNfqmUso78IExojdCqtVu3YBvd9sggiUw9Qe9LOkxOY2ysxFO9uarA==","shasum":"30ee1d94f3d638d9ede8c930d188e99f2ff68847","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.0.2.tgz","fileCount":11,"unpackedSize":8774,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwolBrSETx7UgcdEiTbvxELEloqOm5RZ7pUybdaMRKIAIgFAfRIJ+LbmaA+jAGu6gWAHC/nv5r4o1KNJhy8h4Wty4="}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.0.2_1684330894845_0.4022352801561566"},"_hasShrinkwrap":false},"1.0.3":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.0.3","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.10.1","nx-remotecache-custom":"^4.0.0"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"2.5.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"7941222203b1ce3ed121b5639cb01c6d4fa06d0c","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.0.3","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-c+vGy2/d+BxWvoduG1kSr8BdwEOUi9i5uKAjQP+WIwcIrYIAAvrZsB0wFwD39muozPsrGrEEQ80GMzkYD6wuOw==","shasum":"38534b9debe007b84dd82c978982fb63b0692455","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.0.3.tgz","fileCount":11,"unpackedSize":8778,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICckry8iSPssu3Tuwsk/mk6neVaOCz0vVsqKmTJqWV9+AiEAwWSBq/fj5R3E8BeMERXDYWoQH61NNWX70fii27oF9kI="}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.0.3_1684336303384_0.1547163243087155"},"_hasShrinkwrap":false},"1.0.4":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.0.4","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.10.1","nx-remotecache-custom":"^4.0.0"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"^2.3.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"f72e96855cb0c0a66619be0429bb4204e7000779","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.0.4","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-VrZPW+Zwp+55iaWU6Ws38LlQf7ZF1iPICFfIvnEyDvqCFOBzNkv6D5j1S9x1p+MdF6kDAxL0nAWfPoKquVmlsg==","shasum":"a975425992434e5b958e8af5916ee930e10e8f42","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.0.4.tgz","fileCount":11,"unpackedSize":8746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCePZjtGdqk35txzzzTXF94PRLkN6ho5vfWa0oXqNzUKgIhAPaD2yHsy48Zoj/Ps++La69N2hWBFg5ni6fFCwA2L+8/"}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.0.4_1684906886551_0.5501281621323024"},"_hasShrinkwrap":false},"1.1.0":{"name":"@amalia-oss/nx-remotecache-gcs","version":"1.1.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^6.12.0","nx-remotecache-custom":"^4.2.1"},"peerDependencies":{"@nx/workspace":">= 16","tslib":"^2.3.0"},"main":"./src/index.js","types":"./src/index.d.ts","gitHead":"5b63ff15e1409a548566d6da967c6f0ff6459e2b","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-AJE117UAN7fLe/H1TheDvdIhcRhyrvr3vGZQ6ixeYQ29ksDN6rxB0RPJ76KonFkJV89fzD1vNMe0/KAjnwFieg==","shasum":"4ec9b56a008cfb67df9103f2e149fc38f79115e1","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-1.1.0.tgz","fileCount":11,"unpackedSize":8746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDT3lfTSC9Z53bQMsERQutHyjZp8/DPws0+NRlhOPD/5AIhANYHy1/YghfpgUoFqiFhqIGKyv6AISiUW2zNbf2OomHt"}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_1.1.0_1691068529816_0.05348914134112581"},"_hasShrinkwrap":false},"2.0.0":{"name":"@amalia-oss/nx-remotecache-gcs","version":"2.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"description":"A task runner for nx with google cloud storage buckets as remote cache","dependencies":{"@google-cloud/storage":"^7.2.0","nx-remotecache-custom":"^5.0.1"},"peerDependencies":{"@nx/workspace":">= 16.9.0","tslib":"^2.3.0"},"main":"./src/index.js","type":"commonjs","types":"./src/index.d.ts","gitHead":"94b6614a4d30e57d8a10a6563819f1e74c4e31ed","homepage":"https://github.com/amalia-oss/packages#readme","_id":"@amalia-oss/nx-remotecache-gcs@2.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-d4209fP0EDMCq4FgJIivc2RvQExkwUwZAKo92Dk94q2UjaRN8I9Uu7vmNj5BKwGZlyhsOT5z9kUh4dfRHSD8qw==","shasum":"09bb8eac8bbf8690ef77529046df8f4155d21d59","tarball":"https://registry.npmjs.org/@amalia-oss/nx-remotecache-gcs/-/nx-remotecache-gcs-2.0.0.tgz","fileCount":11,"unpackedSize":8740,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVPceTB50G5T97/zRqngLgGhKZv/Ev478oDYzU8uXjNAiEA7jzKJbI+60XnnGa1nYRzYJwAvpaTFLkfAzJhp9c67nY="}]},"_npmUser":{"name":"svc-tech-amalia-io","email":"tech@amalia.io"},"directories":{},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nx-remotecache-gcs_2.0.0_1697117507011_0.14342819767787507"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-17T12:34:10.323Z","1.0.0":"2023-05-17T12:34:10.579Z","modified":"2023-10-12T13:31:47.472Z","1.0.1":"2023-05-17T12:49:29.405Z","1.0.2":"2023-05-17T13:41:35.005Z","1.0.3":"2023-05-17T15:11:43.532Z","1.0.4":"2023-05-24T05:41:26.710Z","1.1.0":"2023-08-03T13:15:29.975Z","2.0.0":"2023-10-12T13:31:47.261Z"},"maintainers":[{"name":"svc-tech-amalia-io","email":"tech@amalia.io"}],"description":"A task runner for nx with google cloud storage buckets as remote cache","homepage":"https://github.com/amalia-oss/packages#readme","repository":{"type":"git","url":"git+https://github.com/amalia-oss/packages.git"},"bugs":{"url":"https://github.com/amalia-oss/packages/issues"},"license":"MIT","readme":"# nx-remotecache-gcs\n\n[![version](https://img.shields.io/npm/v/@amalia-oss/nx-remotecache-gcs?style=for-the-badge&logo=npm&label=)](https://www.npmjs.com/package/@amalia-oss/nx-remotecache-gcs)\n\nA task runner for [nx](https://nx.dev) that uses Google Cloud Storage as our\nremote cache bucket.\n\nUsing a remote cache enables all team members and CI\nservers to share a single cache.\n\nThe concept and benefits of [computation caching](https://nx.dev/angular/guides/computation-caching) are\nexplained in the NX documentation.\n\nThis package was built with [nx-remotecache-custom](https://www.npmjs.com/package/nx-remotecache-custom).\n\n## Install\n\n```\nnpm install --save-dev @amalia-oss/nx-remotecache-gcs\n```\n\n## Setup\n\nThis task runner relies upon [`@google-cloud/storage`](https://www.npmjs.com/package/@google-cloud/storage).\n\nThis package considers that you've already configured your Google Cloud CLI, especially the application default credentials if you work locally.\n\n```shell\ngcloud auth application-default login\n```\n\nThe procedure for an automated environment such as a CI/CD can differ.\n\n## Configuration\n\n| Parameter   | Description                                           | Environment Variable     | `nx.json`    |\n| ----------- | ----------------------------------------------------- | ------------------------ | ------------ |\n| Bucket Name | The name of your GCS bucket to use as cache container | `NX_REMOTE_CACHE_BUCKET` | `bucketName` |\n\nBy default, environment variables will be loaded from the `.env` file at the root of your workspace.\nSee [#Advanced Configuration](#advanced-configuration) for more information.\n\n**NB:** The environment variable will always take precedence over the `nx.json` configuration.\n\nIn your `nx.json` file:\n\n```json\n{\n  \"tasksRunnerOptions\": {\n    \"default\": {\n      \"runner\": \"@amalia-oss/nx-remotecache-gcs\",\n      \"options\": {\n        \"bucketName\": \"my-bucket-name\",\n        \"cacheableOperations\": [\"build\", \"test\", \"lint\", \"e2e\"]\n      }\n    }\n  }\n}\n```\n\n## Advanced Configuration\n\nSee [nx-remotecache-custom](https://github.com/NiklasPor/nx-remotecache-custom#advanced-configuration).\n\n```json\n{\n  \"tasksRunnerOptions\": {\n    \"default\": {\n      \"runner\": \"@amalia-oss/nx-remotecache-gcs\",\n      \"options\": {\n        \"bucketName\": \"my-bucket-name\",\n        \"cacheableOperations\": [\"build\", \"test\", \"lint\", \"e2e\"],\n        \"silent\": false,\n        \"verbose\": false,\n        \"dotenv\": true,\n        \"dotenvPath\": \".env\"\n      }\n    }\n  }\n}\n```\n\n## Inspirations\n\n- [nx-remotecache-azure](https://github.com/NiklasPor/nx-remotecache-azure/)\n- [@mansagroup/nx-gcs-remote-cache](https://github.com/MansaGroup/nx-gcs-remote-cache)\n","readmeFilename":"README.md"}