Skip to content

Deprecate the shjs binary #1225

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

Merged
merged 1 commit into from
May 9, 2025
Merged

Deprecate the shjs binary #1225

merged 1 commit into from
May 9, 2025

Conversation

nfischer
Copy link
Member

@nfischer nfischer commented May 9, 2025

This removes the shjs binary. This feature was not widely used and it was buggy. The recommended workaround is to invoke scripts directly with 'node' (you may also need to set your NODE_PATH environmental variable).

Dropping this script lets us trim down the dependency tree.

For those who still need the original script, the source code has moved to https://github.com/shelljs/shjs.

This removes the shjs binary. This feature was not widely used and it
was buggy. The recommended workaround is to invoke scripts directly with
'node' (you may also need to set your NODE_PATH environmental variable).

Dropping this script lets us trim down the dependency tree.

For those who still need the original script, the source code has moved
to https://github.com/shelljs/shjs.
@nfischer nfischer added the breaking Breaking change label May 9, 2025
Copy link

codecov bot commented May 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.47%. Comparing base (3b03c85) to head (ebb2f64).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1225   +/-   ##
=======================================
  Coverage   97.47%   97.47%           
=======================================
  Files          35       35           
  Lines        1467     1467           
=======================================
  Hits         1430     1430           
  Misses         37       37           

☔ 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 9a06336 into main May 9, 2025
20 checks passed
@nfischer nfischer deleted the deprecate-shjs branch May 9, 2025 07:55
@nfischer nfischer added this to the v0.10.0 milestone May 9, 2025
@nfischer
Copy link
Member Author

nfischer commented May 9, 2025

Released in shelljs v0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant