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

UHF-7006: Browserslist db automatic update #659

Merged
merged 1 commit into from
May 11, 2023

Conversation

teroelonen
Copy link
Contributor

@teroelonen teroelonen commented May 9, 2023

UHF-7006

What was done

  • Added preinstall for package.json that checks if there is updates for browserslist db

How to install

  • Make sure your instance is up and running on latest dev branch.
  • Update the HDBT theme
    • composer require drupal/hdbt:dev-UHF-7006_browserslist_db_automatic_update
  • Go under the hdbt theme and run nvm use && npm i && npm run build
    • The theme compiling should now say at some point:
> [email protected] preinstall
> npx browserslist@latest --update-db

How to test

  • There is nothing more to check here. This is intended to keep our browserslists fresh in the future.
  • Check that code follows our standards

Designers review

  • This PR does not need designers review
  • This PR has been visually reviewed by a designer (Name of the designer)

Other PRs

Copy link
Contributor

@khalima khalima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

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