turborepo-remote-cache 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -80,10 +80,15 @@ For example:
80
80
  ```
81
81
 
82
82
  ### Enable remote caching in Docker
83
- For some reason, the `.turbo/config.json` is not working in Docker containers. In order to enable remote caching during Docker build, you need to pass the configuration via CLI arguments.
83
+ For some reason, the `.turbo/config.json` is not working in Docker containers. In order to enable remote caching in Docker, you need to pass the configuration via CLI arguments.
84
84
 
85
85
  ```json
86
- "build": "turbo run build --team=\"team_FcALQN9XEVbeJ1NjTQoS9Wup\" --token=\"yourToken\" --api=\"https://your-caching.server.dev\"",
86
+ "build": "turbo run build --team=\"team_awesome\" --token=\"turbotoken\" --api=\"https://your-caching.server.dev\"",
87
+ ```
88
+ and add this to your `Dockerfile` before calling the `turbo run build` command:
89
+ ```docker
90
+ ENV VERCEL_ARTIFACTS_TOKEN=turbotoken
91
+ ENV VERCEL_ARTIFACTS_OWNER=team_awesome
87
92
  ```
88
93
 
89
94
  ## Deploy on Vercel
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turborepo-remote-cache",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Turborepo remote cache server",
5
5
  "main": "build",
6
6
  "author": "Maksim Sinik <maksim@sinik.it>",