@vzn/vx 0.0.558 → 0.0.560
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vzn/vx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.560",
|
|
4
4
|
"description": "The fastest task runner and build cache for JavaScript monorepos.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@vzn/vx-linux-x64": "0.0.
|
|
25
|
-
"@vzn/vx-linux-arm64": "0.0.
|
|
26
|
-
"@vzn/vx-darwin-x64": "0.0.
|
|
27
|
-
"@vzn/vx-darwin-arm64": "0.0.
|
|
24
|
+
"@vzn/vx-linux-x64": "0.0.560",
|
|
25
|
+
"@vzn/vx-linux-arm64": "0.0.560",
|
|
26
|
+
"@vzn/vx-darwin-x64": "0.0.560",
|
|
27
|
+
"@vzn/vx-darwin-arm64": "0.0.560"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@anthropic-ai/sandbox-runtime": "^0.0.76"
|
package/src/cache/key-fold.ts
CHANGED
|
@@ -103,7 +103,7 @@ import type { CacheKeyInput } from './layer.js'
|
|
|
103
103
|
// bytes on disk, the filter since removed, holds the CRLF build (A-60).
|
|
104
104
|
// v39: an entry saved while a gitlink without `.git` held files the key
|
|
105
105
|
// never listed sits under the key of that directory empty (A-61).
|
|
106
|
-
export const CACHE_VERSION = 'vx-cache-
|
|
106
|
+
export const CACHE_VERSION = 'vx-cache-v40'
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
109
|
* The digest a key folds for an input gone between its enumeration and its
|
|
@@ -167,10 +167,10 @@ export interface VxPlugin {
|
|
|
167
167
|
/**
|
|
168
168
|
* Contribute a cache layer. Returns a CacheLayer wrapping (or replacing)
|
|
169
169
|
* the local Cache, or undefined to decline. Consulted ONCE per prepareRun.
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* twice.
|
|
170
|
+
* Every contributed layer is kept and chained in declaration order,
|
|
171
|
+
* ahead of core's own `.vx/cache` handle at the tail: a lookup walks
|
|
172
|
+
* them until one hits, a save reaches each. A layer that WRAPS the local
|
|
173
|
+
* handle subsumes that tail, so it is not written twice.
|
|
174
174
|
*/
|
|
175
175
|
cache?(ctx: CacheContext): CacheLayer | undefined | Promise<CacheLayer | undefined>
|
|
176
176
|
|