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:
parent
901d10c080
commit
6e27b5d530
1 changed files with 1 additions and 1 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue