Skip to content
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

Merged
merged 4 commits into from
Jun 10, 2019

Conversation

bluelovers
Copy link
Contributor

re-create pr before rename pkg name

#32

@coveralls
Copy link

coveralls commented Jun 10, 2019

Coverage Status

Coverage increased (+0.006%) to 99.609% when pulling 8d22d89 on bluelovers:pr/001 into 435d047 on imsnif:master.

Copy link
Owner

@imsnif imsnif left a 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)
}
}
Copy link
Owner

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?

Copy link
Contributor Author

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

Copy link
Owner

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.

@imsnif imsnif merged commit 918b896 into imsnif:master Jun 10, 2019
@imsnif
Copy link
Owner

imsnif commented Jun 10, 2019

Merged and published as 1.5.0. Thanks for this, @bluelovers !

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.

None yet

3 participants