Finds the package root by searching upward from filePath for pubspec.yaml. Returns null if not found.
filePath
pubspec.yaml
static String? findRoot(String filePath) => _findPackageRoot(filePath);