Skip to content

Conversation

markjm
Copy link

@markjm markjm commented Sep 13, 2021

Fixes #347

const yarnrc = parse(readFileSync(yarnrcPath).toString("UTF8"))
.object as any
if (yarnrc["yarn-path"]) {
yarnrc["yarn-path"] = join(appPath, yarnrc["yarn-path"])
Copy link
Contributor

@NMinhNguyen NMinhNguyen Nov 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if path.resolve would be better than path.join in case the path has something like ../

@orta
Copy link
Collaborator

orta commented Sep 28, 2022

I merged some upstream changes related to the yarnk lockfile which caused some conflicts, and the changes aren't quite simple enough that I'd feel comfortable using the web editor for the conflicts.

I think this is something we should get merged, so if you'd like to rebase, I'm happy to get it in. I think I also agree with @NMinhNguyen on using resolve too (but I'm not 100%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for yarn-path property
4 participants