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 ajv package (peer dependency of webpack) #808

Merged
merged 2 commits into from
Sep 4, 2018
Merged

Conversation

mirka
Copy link
Member

@mirka mirka commented Aug 29, 2018

The ajv package (required by ajv-keywords required by webpack) was missing, resulting in a peer dependency warning.

This fix adds the missing package to our devDependencies.

package.json Outdated
@@ -42,6 +42,7 @@
"trailingComma": "es5"
},
"devDependencies": {
"ajv": "^6.5.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we pin the exact version instead of adding the wildcard? I think that's the recommended way to do it so we don't get unexpected results.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for bringing this up. I was a little unclear about the current package-lock behavior, but after reading up about it I agree that we should pin exact versions here. Will 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.

Another link that helped me understand the confusion around this. The behavior around npm install and package-lock changed between minor versions of npm5 😓

@roundhill roundhill self-requested a review August 29, 2018 23:37
@roundhill
Copy link
Contributor

😎 :shipit:

@mirka mirka merged commit 0296781 into master Sep 4, 2018
@mirka mirka deleted the fix/ajv-dependency branch September 4, 2018 10:33
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