In #544 a change to cli/src/index.ts was introduced that reads package.json from one level up. It works if the project is checked out locally, but not in the npm package, because the package.json of the workspace packages is not included in the inspector package. We can get that from one level up, the inpsector's own package, and so this change does that.

This commit is contained in:
cliffhall 2025-10-04 13:23:33 -04:00
commit 6e27b5d530

View file

@ -31,7 +31,7 @@ type JsonValue =
| JsonValue[]
| { [key: string]: JsonValue };
import packageJson from "../package.json" with { type: "json" };
import packageJson from "../../package.json" with { type: "json" };
type Args = {
target: string[];