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

Add version to package.json to solve problem with NPM 3 #8

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

lumaxis
Copy link
Contributor

@lumaxis lumaxis commented Jun 13, 2017

NPM 3 has issues when trying to install packages from git that have no version.

package.json Outdated
@@ -1,5 +1,6 @@
{
"name": "@types/validator",
"version": "0.0.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

if we add one, it should be like with @types, where the major and minor matches the source library and patch is for the typings version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Absolutely! @felixfbecker This version of the types matches validator 5.7.0, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, but it probably works for latest too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@felixfbecker Alright, changed to 5.7.0. I'll open a separate PR to update the types for validator 7.0.0

NPM 3 has issues when trying to install packages from git that have no `version`.
@felixfbecker felixfbecker merged commit 8399094 into typed-typings:master Jun 13, 2017
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.

2 participants