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

chore: update shelljs and drop old node support #228

Merged
merged 1 commit into from
Mar 9, 2025

Conversation

nfischer
Copy link
Member

@nfischer nfischer commented Mar 9, 2025

This updates the ShellJS peer dependency to the latest release. This also drops support for all node versions prior to v18 to match ShellJS's version range.

This includes some changes due to the latest shelljs version:

Test: npm test

This updates the ShellJS peer dependency to the latest release. This
also drops support for all node versions prior to v18 to match ShellJS's
version range.

This includes some changes due to the latest shelljs version:

* `shx sed -i` will now run silently. This is compatible with unix
  behavior. See shelljs/shelljs#959
* `shx --version` no longer prints the ShellJS version. This is a
  consequence of the switch to an explicit "exports" list in shelljs
  (see shelljs/shelljs#1195 and shelljs/shelljs#1135).

Test: npm test
@nfischer nfischer force-pushed the chore-update-shelljs branch from dfbc822 to 76a55a6 Compare March 9, 2025 01:45
Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (c787042) to head (76a55a6).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #228   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          114       113    -1     
=========================================
- Hits           114       113    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nfischer nfischer merged commit b70e666 into main Mar 9, 2025
32 checks passed
@nfischer nfischer deleted the chore-update-shelljs branch March 9, 2025 02:04
nfischer added a commit that referenced this pull request Mar 17, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
This is a small fix for the `--version` flag. This adds back ShellJS
version number, which was re-exposed in PR shelljs/shelljs#1200. This
reverts one of the workarounds added in PR #228.

This also commits package-lock.json to the repo.
nfischer added a commit that referenced this pull request Mar 17, 2025
This is a small fix for the `--version` flag. This adds back ShellJS
version number, which was re-exposed in PR shelljs/shelljs#1200. This
reverts one of the workarounds added in PR #228.

This also commits package-lock.json to the repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant