@vzn/vx 0.0.47 → 0.0.49

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/package.json +5 -5
  2. package/src/cli/lock.ts +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vzn/vx",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "An open, extensible monorepo task runner.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,10 +17,10 @@
17
17
  "node": ">=18"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@vzn/vx-linux-x64": "0.0.47",
21
- "@vzn/vx-linux-arm64": "0.0.47",
22
- "@vzn/vx-darwin-x64": "0.0.47",
23
- "@vzn/vx-darwin-arm64": "0.0.47"
20
+ "@vzn/vx-linux-x64": "0.0.49",
21
+ "@vzn/vx-linux-arm64": "0.0.49",
22
+ "@vzn/vx-darwin-x64": "0.0.49",
23
+ "@vzn/vx-darwin-arm64": "0.0.49"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
package/src/cli/lock.ts CHANGED
@@ -124,9 +124,13 @@ async function checkLock(root: string, metas: ConfiguredMeta[], bare: number): P
124
124
  JSON.stringify(await loadProjectConfig(m.configPath, { fresh: true })),
125
125
  ) as ProjectConfig
126
126
  if (!Bun.deepEquals(fresh, entry.config, true)) {
127
+ // Bytes unchanged, so the drift is in what the evaluation read: a
128
+ // file the config imports, or the environment. Blaming only the
129
+ // environment sent an edited preset's author looking for env reads
130
+ // the config does not have (item 1044).
127
131
  return (
128
132
  `lock differs from fresh evaluation in this environment (${m.name}) — ` +
129
- `env-dependent config? run 'vx lock' here or remove env reads from config`
133
+ `a file the config imports changed, or the config reads the environment; run 'vx lock' here`
130
134
  )
131
135
  }
132
136
  return null