@vzn/vx 0.0.171 → 0.0.173

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.171",
3
+ "version": "0.0.173",
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.171",
21
- "@vzn/vx-linux-arm64": "0.0.171",
22
- "@vzn/vx-darwin-x64": "0.0.171",
23
- "@vzn/vx-darwin-arm64": "0.0.171"
20
+ "@vzn/vx-linux-x64": "0.0.173",
21
+ "@vzn/vx-linux-arm64": "0.0.173",
22
+ "@vzn/vx-darwin-x64": "0.0.173",
23
+ "@vzn/vx-darwin-arm64": "0.0.173"
24
24
  },
25
25
  "dependencies": {
26
26
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
@@ -359,8 +359,9 @@ export function resolveCacheDir(root: string, config: WorkspaceConfig | null): s
359
359
  export async function loadWorkspace(root: string, reads?: LoadReads): Promise<Workspace> {
360
360
  const packageGlobs = await readPackageGlobs(root, reads)
361
361
  if (packageGlobs === null) {
362
- // Should be unreachable: findWorkspaceRoot only returns dirs that
363
- // pass at least one of the two existence checks.
362
+ // The CLI never lands here (findWorkspaceRoot returns only a dir that
363
+ // passes one of the two checks); a direct call of this public function
364
+ // on a bare dir does (D-58).
364
365
  throw new UserError(`workspace root ${root} has neither pnpm-workspace.yaml nor package.json`)
365
366
  }
366
367
  return { root, packageGlobs }