Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

May 2024 dependency updates. #45

Merged
merged 3 commits into from
May 24, 2024
Merged

May 2024 dependency updates. #45

merged 3 commits into from
May 24, 2024

Conversation

erinesullivan
Copy link
Collaborator

@erinesullivan erinesullivan commented May 1, 2024

Overview

These dependencies have been replaced by esbuild as it does everything below:

  • cssnano
  • postcss
  • postcss-import

scripts

scripts has been updated. These new scripts have been added:

  • npm run build:type
    • npm run build:type --type=js will build the new js/#.js file into the public/bundles/#.js.
  • npm run build:watch
    • npm run build:watch --type=css will watch changes on the css/get-this.css file, and build it in public/bundles/get-this.css.

dependabot

Set up dependabot to do monthly checks, with the exception of npm, which is weekly as there is now only one dependency to check.

Testing

  • Install the updated packages (docker-compose run --rm web npm install).
  • Make a CSS change, and build the styles (docker-compose run --rm web npm run build).
  • Start the site to see if your change was made, and everything still works (docker-compose up).
  • Make sure the PR is consistent in these browsers:
    • Chrome
    • Firefox
    • Safari
    • Edge

@erinesullivan erinesullivan added the dependencies Changes to packages or gems. label May 1, 2024
@erinesullivan erinesullivan self-assigned this May 1, 2024
@erinesullivan erinesullivan requested a review from niquerio May 1, 2024 19:41
@erinesullivan erinesullivan merged commit f23b3cb into main May 24, 2024
2 checks passed
@erinesullivan erinesullivan deleted the 2024-05-01-updates branch May 24, 2024 20:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Changes to packages or gems.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant