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

[Bug]: Version harmonize align PeerDep and Dep when range are strictly similar (but with different writing) #2575

Open
kpanot opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working priority:low

Comments

@kpanot
Copy link
Contributor

kpanot commented Dec 10, 2024

Package name

eslint-plugin

Package version

11.*

Reproduction steps

  • Set the option alignPeerDependencies: false to the EsLint rule @o3r/json-dependency-versions-harmonize.
  • create package.json with, in the peerDependencies: "typescript-json-schema": "^0.65.0"
    and in the devDependencies: "typescript-json-schema": "~0.65.0"

Current result

The devDependencies version will be changed to "typescript-json-schema": "^0.65.0"

Expected result

keep the peerDependencies to "typescript-json-schema": "^0.65.0" and the devDependencies to "typescript-json-schema": "~0.65.0"

Additional comments

In the Otter repository, the devDependencies of the package typescript-json-schema should have ~ based range.

@kpanot kpanot added bug Something isn't working triage labels Dec 10, 2024
@kpanot kpanot changed the title [Bug]: Version harmonize align PeerDep and Dep when range a strictly similar [Bug]: Version harmonize align PeerDep and Dep when range are similar Dec 12, 2024
@kpanot kpanot changed the title [Bug]: Version harmonize align PeerDep and Dep when range are similar [Bug]: Version harmonize align PeerDep and Dep when range are strictly similar (but with different writing) Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:low
Projects
None yet
Development

No branches or pull requests

2 participants