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

fix: update cmd should work normal when set empty string version #4243

Merged
merged 11 commits into from
Jan 17, 2022

Conversation

fireairforce
Copy link
Member

@fireairforce fireairforce commented Jan 17, 2022

closes: #4196

@fireairforce fireairforce changed the title fix: outdated work normal when set empty string version (WIP)fix: outdated work normal when set empty string version Jan 17, 2022
@fireairforce fireairforce changed the title (WIP)fix: outdated work normal when set empty string version fix: update cmd should work normal when set empty string version Jan 17, 2022
@fireairforce
Copy link
Member Author

feel free to review it~ @zkochan

},
devDependencies: {
'pnpm-foo': '',
'peer-c': '',
Copy link
Member

Choose a reason for hiding this comment

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

I didn't know this was possible. What does it mean? Is it the same as *? Does it work with Yarn/npm?

Copy link
Member Author

Choose a reason for hiding this comment

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

works fine in yarn, this was a bug here, it will update the devPendencies(which pkg's version was a empty string '') to dependencies, it's a wrong behaviour before this pr fix...

Copy link
Member Author

Choose a reason for hiding this comment

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

this works fine in yarn

Comment on lines 1 to 3
/// <reference path="../../../typings/index.d.ts" />
import './getSpecFromPackageManifest.test'
import './updateProjectManifestObject.test'
Copy link
Member

Choose a reason for hiding this comment

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

this whole file is not needed. It was needed when we used tape.

Copy link
Member Author

Choose a reason for hiding this comment

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

done~

@zkochan
Copy link
Member

zkochan commented Jan 17, 2022

Please also create a changeset for pnpm, with a link to the closed issue.

So that the release will create a nice release page like this: https://github.com/pnpm/pnpm/releases/tag/v6.26.1

@fireairforce
Copy link
Member Author

done~

@zkochan zkochan merged commit 8a2cad0 into pnpm:main Jan 17, 2022
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.

pnpm6 update move devDependencies with empty version
2 participants