-
Notifications
You must be signed in to change notification settings - Fork 648
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
Use npm packages for public/resources #1427
base: master
Are you sure you want to change the base?
Conversation
…into some-improvements
The only thing that concerns me with this is dependabot automatically upgrading to major releases. I think we need to double check the dependabot settings because it automatically merged the last major maplibre-native and I didn't expect it would. I know the next release of leaflet is a breaking change because the L. syntax is going away, although I am pretty sure the code we have that uses it doesn't actually do anything (since it deals with pixel ratio, which leaflet needs @2x in the (url) path...not like our preview page uses.) I also know maplibre just experienced so pushback with their geometry type change that ended up getting revert. it seems to me some manual decision to change major releases would be good for this type of thing. point being, i think this would be fine as long as we make sure dependabot is fixed so it doesn't automerge major releases.... but I still need to look at that. |
Maybe this helps (untested, just of the docs):
|
I think we actually might need to look at the automerger I was looking at it a bit yesterday and we would still want dependabot to make a PR for major changes, but we might need to see if we can adjust the automerger so it doesn't automatically merge major releases |
based on this it looks like we could set the target to minor |
Check. For automerger exists a
https://github.com/fastify/github-action-merge-dependabot?tab=readme-ov-file#inputs |
From my perspective it does not make sense to handle development different than production: Major releases may cause problems in both cases. But feel free to change it, if you have a different opinion or experience. |
I agree that we should just target minor. and and major updates can be manually approved I did just update the release workflow to allow pre-releases,, so in the future i think it will allow some level of testing. in the past this project didn't have pre-releases. |
I wanted to add a dependency to my preview page and stumbled over the mirrored files and your discussion #1208
Here is my suggestion as "prepare" script including (the latest versions of)
an updated Dockerfile (in general -> Using "&&" instead of ";" to chain commands) and especially with the added "copyfiles" regarding the new "prepare" step.