Skip to content

Commit 9a06336

Browse files
committed
Deprecate the shjs binary
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.
1 parent 3b03c85 commit 9a06336

File tree

9 files changed

+11
-156
lines changed

9 files changed

+11
-156
lines changed

bin/shjs

Lines changed: 0 additions & 48 deletions
This file was deleted.

package-lock.json

Lines changed: 10 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"make.js",
4040
"plugin.js",
4141
"shell.js",
42-
"bin",
4342
"src"
4443
],
4544
"scripts": {
@@ -55,14 +54,9 @@
5554
"release:minor": "shelljs-release minor",
5655
"release:patch": "shelljs-release patch"
5756
},
58-
"bin": {
59-
"shjs": "./bin/shjs"
60-
},
6157
"dependencies": {
6258
"execa": "^5.1.1",
63-
"fast-glob": "^3.3.2",
64-
"interpret": "^1.0.0",
65-
"rechoir": "^0.6.2"
59+
"fast-glob": "^3.3.2"
6660
},
6761
"ava": {
6862
"serial": true,

test/resources/shjs/a-file.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/resources/shjs/coffeescript.coffee

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/resources/shjs/exit-0.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/resources/shjs/exit-codes.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/resources/shjs/stdout-stderr.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/shjs.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)