Skip to content

Upgrade ol-contextmenu to v5.4.0 #311

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

Merged

Conversation

christophfriedrich
Copy link
Contributor

@christophfriedrich christophfriedrich commented Mar 13, 2024

Description

Upgraded the ol-contextmenu dependency to v5.4.0 (was v5.3.0 previously).

Motivation and Context

Currently, setting up a project with the peerDependencies as listed in the README results in a dependency conflict because ol=^9.0.0 is specified but ol-contextmenu 5.3.0 explicitly states ol<=8.x, which is fixed in the 5.4.0 version that @d-koppenhagen submitted and has since been released. Therefore the overrides workaround in the package.json is no longer necessary.

Edit: I just realised there was already an issue for this: #308

How Has This Been Tested?

Honestly I haven't tested this at all, but as the upstream change doesn't change anything than this very thing, it should be fine.™️

I hope I did everything correctly as this is the first time I commit to this project. I'm very happy to learn about anything I missed. My first intuition was to open another issue for it, but then I thought I could as well plunge forward and fix it myself :)

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Other (Tooling, Dependency Updates, etc.)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

If you added a new component feature (layer, geom, source, etc.), please be sure to update the documentation:

  • Add component to output.globals in vite.config.ts
  • Create a src/demos/<Component>Demo.vue
  • Create a docs/componentsguide/<Category>/<Feature>/index.md containing the Demo and documentation for the component
  • Add the docs page to docs/.vitepress/config.ts

Currently, setting up a project with the peerDependencies as listed in the README results in a dependency conflict because ol=^9.0.0 is specified but ol-contextmenu 5.3.0 explicitly states ol<=8.x, which is fixed in the 5.4.0 version.
Copy link

netlify bot commented Mar 13, 2024

Deploy Preview for vue3openlayers ready!

Name Link
🔨 Latest commit 5f24fb9
🔍 Latest deploy log https://app.netlify.com/sites/vue3openlayers/deploys/65f17da5882ec90008af13b2
😎 Deploy Preview https://deploy-preview-311--vue3openlayers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@d-koppenhagen d-koppenhagen merged commit 7a47138 into MelihAltintas:main Mar 13, 2024
4 checks passed
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