diff --git a/cli/internal/fs/package_json.go b/cli/internal/fs/package_json.go index fa8db67178b36..6eb4869b56f1d 100644 --- a/cli/internal/fs/package_json.go +++ b/cli/internal/fs/package_json.go @@ -50,8 +50,8 @@ type PackageJSON struct { OptionalDependencies map[string]string `json:"optionalDependencies,omitempty"` PeerDependencies map[string]string `json:"peerDependencies,omitempty"` Os []string `json:"os,omitempty"` - Workspaces Workspaces `json:"workspaces"` - Private bool `json:"private"` + Workspaces Workspaces `json:"workspaces,omitempty"` + Private bool `json:"private,omitempty"` PackageJSONPath string Hash string Dir string