-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re-create pr https://github.com/imsnif/synp/pull/32 #35
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @bluelovers - thanks again for this change! Just a comment about naming and then we can merge.
const yarnTree = buildYarnTree(nodeModulesTree, packageLock) | ||
return lockfile.stringify(yarnTree) | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this change, but I don't like the function names. Could we change them to: convertYarnToNpm
and convertNpmToYarn
? What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm? the name is from ur
const { buildYarnTree, buildNpmTree } = require('./tree')
or u mean this 2
yarnToNpmCore
npmToYarnCore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I don't like the -core suffix.
Merged and published as 1.5.0. Thanks for this, @bluelovers ! |
re-create pr before rename pkg name
#32