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

Version not working #427

Closed
pieterocp opened this issue Oct 22, 2024 · 1 comment · Fixed by #461
Closed

Version not working #427

pieterocp opened this issue Oct 22, 2024 · 1 comment · Fixed by #461
Labels
bug Something isn't working

Comments

@pieterocp
Copy link
Contributor

pieterocp commented Oct 22, 2024

Describe the bug

The version number is giving the version number of my project, not of the version of the vue-mess-detector.

To Reproduce
Steps to reproduce the behavior:

Install within a project, run either yarn vue-mess-detector analyze --version or yarn vue-mess-detector --version or ./node_modules/vue-mess-detector/dist/cliStart.js --version, prints out whatever the projects package.json version is.

Stackblitz Link: https://stackblitz.com/edit/vitejs-vite-z35mve?file=package.json

Expected behavior

Expect to see version 0.63.1.

Screenshots

Used version number of vue-mess-detector:

0.63.1

Used version number of node & yarn:

yarn version v3.8.2 and node v20.17.0

Additional context
Might just be for me?

@pieterocp pieterocp added the bug Something isn't working label Oct 22, 2024
@David-Pena
Copy link
Collaborator

Thanks for reporting 🙌

I did a few tests and yes it seems to be taking the version from the package.json and not the version from the dependency.

Would you like to send a PR for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants