Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Upgrade to support NPMv9 #905

Merged
merged 6 commits into from
Aug 21, 2023
Merged

Upgrade to support NPMv9 #905

merged 6 commits into from
Aug 21, 2023

Conversation

sdadn
Copy link
Contributor

@sdadn sdadn commented Aug 21, 2023

Summary

This PR upgrades the repo set up to support NPMv9 so to help upgrade the infrastructure and be up to date with our tech stack.

Since Node 14 ships with NPMv6, the cicd was updated to utilize NPMv9.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

This was tested by successfully running npm install and building the project with both NPM versions (6 & 9).

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details


Thank you for contributing to Terra.
@cerner/terra

@sdadn sdadn self-assigned this Aug 21, 2023
@@ -1 +1,2 @@
package-lock=false
legacy-peer-deps=true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NPMv7+ automatically installs peer dependencies. However, Terra currently has in peer dependency versions which can cause install failures. This flag when set will utilize the legacy behavior of not installing peer dependencies in v6. This will be removed in a future PR when the conflicts are resolved.

Comment on lines 15 to 16
run: node -v
run: npm -v
Copy link
Contributor

Choose a reason for hiding this comment

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

@sdadn Try this

Suggested change
run: node -v
run: npm -v
run: |
node -v
npm -v

@github-actions github-actions bot temporarily deployed to preview-pr-905 August 21, 2023 19:25 Destroyed
@sdadn sdadn merged commit 53754fd into main Aug 21, 2023
21 checks passed
@sdadn sdadn deleted the npm_upgrade branch August 21, 2023 19:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants