Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-soporan committed Jun 8, 2023
1 parent 85629de commit e476317
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-npm/sources/NpmSemverResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class NpmSemverResolver implements Resolver {
if (!semver.valid(selector))
return false;

console.log(`NpmSemverResolver supports locator`, structUtils.prettyLocator(opts.project.configuration, locator));
// console.log(`NpmSemverResolver supports locator`, structUtils.prettyLocator(opts.project.configuration, locator));

return true;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/yarnpkg-core/sources/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,8 @@ export class Project {
if (!opts.lockfileOnly)
this.forgetTransientResolutions();

console.log(Array.from(this.originalPackages.values(), locator => structUtils.prettyLocator(this.configuration, locator)).join(`\n`));

// Note that the resolution process is "offline" until everything has been
// successfully resolved; all the processing is expected to have zero side
// effects until we're ready to set all the variables at once (the one
Expand Down

0 comments on commit e476317

Please sign in to comment.