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

USWDS-Compile - Dependencies: Use Node LTS 20 #78

Merged
merged 3 commits into from
Nov 15, 2023

Conversation

mejiaj
Copy link
Contributor

@mejiaj mejiaj commented Nov 13, 2023

Use latest Node LTS 20 and update dependencies. Using latest LTS version of node and updated version of USWDS and SASS. Closes #71.

Dependencies

Dependency Old New
@uswds/uswds 3.5.0 3.7.0
autoprefixer 10.4.14 10.4.16
sass-embedded 1.63.6 1.69.5

How to test

  1. Go to USWDS-Sandbox repo.
  2. Copy test-uswds-compile-78-node-update branch.
  3. Runnpm install.
  4. Run tasks (there should be no regressions):
    • npm run uswds:copyAssets
    • npm run watch

@mejiaj mejiaj marked this pull request as ready for review November 13, 2023 17:38
@@ -0,0 +1 @@
nodejs 20.9.0
Copy link
Member

Choose a reason for hiding this comment

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

Added a .tool-versions file for folks who use other version managers like asdf

Copy link
Member

@thisisdano thisisdano left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@amyleadem amyleadem left a comment

Choose a reason for hiding this comment

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

Looks good to me. Here is what I tested:

  • Successfully ran the uswds-sandbox tests described in the PR description:
    • Ran npm install, npm run uswds:copyAssets, npm run watch without error
    • Confirmed that styles render as expected
  • Checked that references to previous node versions in docs have been updated to v20
  • Confirmed README formatting hasn’t changed

Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

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

Looks good to me!

  • Installation and tasks run without errorr
  • Testing on sandbox shows no regressions
  • Read me page looks good

@mejiaj mejiaj merged commit 2389859 into develop Nov 15, 2023
1 check passed
@mejiaj mejiaj deleted the jm-feature-use-node-20-lts branch November 15, 2023 18:12
@thisisdano thisisdano mentioned this pull request Nov 27, 2023
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.

USWDS-Compile - Feature: Update USWDS version & other deps
4 participants