creativecommons / creativecommons.github.io-source

Source files for CC Open Source website
https://opensource.creativecommons.org/
MIT License
79 stars 173 forks source link

[Feature] Regular update of Browserslist #824

Open Queen-codes opened 1 month ago

Queen-codes commented 1 month ago

Problem

While running the project locally, a warning comes up that caniuse-lite is outdated. This warning suggests that the Browserslist is not up to date, which could lead to outdated browser compatibility checks during development. This could maybe cause issues with browser support, especially as new features are released.

Description

The feature would involve regularly updating the Browserslist database to keep it current with the latest browser compatibility. This can be done by running the following command: `npx update-browserslist-db@latest

` This feature can be implemented; -By adding the update command to the documentation and or Readme as a step for contributors to run periodically as many might skip during development

-by integrating it into the deployment pipeline to automatically check and update the browserslist db when necessary.

Additional context

See more - Why you should update broswerDb list regularly

Screenshot 2024-10-07 at 14 20 43

Implementation

TimidRobot commented 1 month ago

@Queen-codes This is a great write-up/issue! Thank you!

https://github.com/creativecommons/creativecommons.github.io-source/labels/%F0%9F%9A%A7%20status%3A%20blocked: This issue can be closed or updated after this project is migrated to the current Vocabulary design system.

After migration, I expect the autoprefixer package (which requires autoprefixer which requires caniuse-lite) will no longer be used.

Tharanishwaran commented 1 month ago

can i work on this issue ?

Queen-codes commented 1 month ago

Thank you for the feedback @TimidRobot

Queen-codes commented 1 month ago

can i work on this issue ?

hi. @Tharanishwaran. this issue is currently blocked and should be closed or updated after migration to the current Vocabulary design system according to @TimidRobot

Tharanishwaran commented 1 month ago

hi. @Queen-codes thankyou for the information