configFiles function
The root dpk.yaml and the current package's own dpk.yaml.
Implementation
List<String> configFiles(Project project) => {
project.configPath,
p.join(project.workspace.current.path, kConfigFileName),
}.where((path) => File(path).existsSync()).toList();