@vzn/vx 0.0.217 → 0.0.218

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.217",
3
+ "version": "0.0.218",
4
4
  "description": "A fast, correct task runner and build cache for JavaScript monorepos.",
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.217",
21
- "@vzn/vx-linux-arm64": "0.0.217",
22
- "@vzn/vx-darwin-x64": "0.0.217",
23
- "@vzn/vx-darwin-arm64": "0.0.217"
20
+ "@vzn/vx-linux-x64": "0.0.218",
21
+ "@vzn/vx-linux-arm64": "0.0.218",
22
+ "@vzn/vx-darwin-x64": "0.0.218",
23
+ "@vzn/vx-darwin-arm64": "0.0.218"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -1146,9 +1146,17 @@ async function executeCachedTask(args: ExecuteArgs): Promise<TaskOutcome> {
1146
1146
  endCheck()
1147
1147
  if (moved === undefined) return true
1148
1148
  const what = moved === null ? 'its inputs' : `\`${relPosix(args.workspaceRoot, moved)}\``
1149
+ // A task that regenerates its own input (TanStack Router's committed
1150
+ // `routeTree.gen.ts`, rewritten to the same bytes by every build) is
1151
+ // never saved (item 1015), and the line said so without the way out.
1152
+ // Not for `package.json`, which an output may not cover.
1153
+ const hint =
1154
+ moved === null || path.basename(moved) === 'package.json'
1155
+ ? ''
1156
+ : '; if the task writes it, declare it in cache.outputs'
1149
1157
  log.status(
1150
1158
  `[vx] ${node.id}: ${what} changed after its key was taken — the result stands, ` +
1151
- `but is not saved under a key that no longer describes it`,
1159
+ `but is not saved under a key that no longer describes it${hint}`,
1152
1160
  )
1153
1161
  forgetUndeclaredWrites(args, wsOutputs.length > 0 ? 'workspace' : 'project')
1154
1162
  unkeyed = true