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(cli): vue Cli does not accept "latest" dependencies in plugin #62

Merged
merged 2 commits into from
Mar 3, 2021

Conversation

y-lakhdar
Copy link
Contributor

The Vue CLI is doing a semver.validRange validation on the dependency version that we want to inject.
Since semver.validRange('latest') returns null, the associated dependencies are never added to the project.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2021

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

@@ -6,8 +6,8 @@ module.exports = (api, options, rootOptions) => {
'start-server': 'node ./scripts/start-server.js',
},
dependencies: {
'@coveo/headless': 'latest',
'@coveo/search-token-server': 'latest',
'@coveo/headless': '^0',
Copy link
Member

Choose a reason for hiding this comment

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

Could this be * ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. It is accepted.

@y-lakhdar y-lakhdar merged commit f9957b8 into master Mar 3, 2021
@louis-bompart louis-bompart deleted the CDX-131 branch June 7, 2021 13:18
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