509 Commits

Author SHA1 Message Date
Nate Fischer
6739aed69e refactor(string): modify string protoype, but only for shelljs/global
`require('shelljs/global')` extends String.prototype to have the `.to()` and
`.toEnd()` methods again. This also adds tests for the global require.
2016-03-18 17:05:14 -07:00
Ari Porad
f006fcd8b1 Merge pull request #394 from shelljs/feat-error-codes
feat: adding error codes to ShellJS
2016-03-16 19:29:47 -07:00
Nate Fischer
27a760299c refactor: more commands return ShellStrings, tests for code 2016-03-15 19:48:13 -07:00
Nate Fischer
5bcbc619e4 feat: adding error codes to ShellJS 2016-03-15 19:21:08 -07:00
Ari Porad
152edb94ab Merge pull request #393 from shelljs/package-json
chore(package): add shelljs as a keyword in package.json
2016-03-14 15:55:24 -07:00
Nate Fischer
c4822ad20e Add shelljs and bash as keywords in package.json 2016-03-13 15:55:05 -07:00
Nate Fischer
588d84da02 Merge pull request #384 from shelljs/feat-use-rechoir
feature: use rechoir
2016-03-11 12:38:33 -08:00
Nate Fischer
db20acebfb Switch to process.execPath over 'node' 2016-03-10 17:06:32 -08:00
Timothy Gu
cebcb6c79b Applying patch provided by @TimothyGu 2016-03-10 16:52:27 -08:00
Kenneth Powers
852abff910 Use rechoir and interpret for scripts. 2016-03-10 16:52:27 -08:00
Ari Porad
5f4d3901f2 Merge pull request #380 from shelljs/fix-cp-r-option
refactor(cp): clean up code and fix #376
2016-03-06 07:48:57 -08:00
Nate Fischer
4b951ce4c6 refactor(cp): clean up code and fix #376
Fixes issue in #376. Simplifies the code, and slight perf win.
2016-03-05 17:54:17 -08:00
Ari Porad
cbbdb79211 Merge pull request #369 from shelljs/simplify-ls
refactor(ls): greatly simplify ls implimentation
2016-03-05 17:02:56 -08:00
Nate Fischer
003a800dda Perf improvement for ls, and fix for Windows 2016-03-05 15:57:40 -08:00
Ari Porad
b76a5691c9 refactor(ls): greatly simplify ls implimentation 2016-03-05 15:57:40 -08:00
Ari Porad
3e441e4923 Merge pull request #383 from shelljs/cd-use-env-var
refactor(cd): use process.env.OLDPWD to store previous dir
2016-03-04 21:43:24 -08:00
Nate Fischer
0861056a4b refactor(cd): use process.env.OLDPWD to store previous dir 2016-03-04 18:32:53 -08:00
Nate Fischer
da6d06830d Merge pull request #381 from shelljs/appveyor-node-4
chore(appveyor): add in node 4 for appveyor
2016-03-01 18:29:42 -08:00
Nate Fischer
9001123aac chore(appveyor): add in node 4 for appveyor 2016-03-01 15:33:08 -08:00
Ari Porad
c661c83ef0 Merge pull request #367 from shelljs/perf/cd
perf(cd): only run `stat` once
2016-02-29 17:18:35 -08:00
Nate Fischer
f903665f96 Merge pull request #378 from shelljs/fix-cp-r-option
Add unit tests to prevent regression (see #376)
2016-02-29 17:14:02 -08:00
Nate Fischer
17a23bd4bb Add unit tests to prevent regression (see #376) 2016-02-29 03:05:33 -08:00
Nate Fischer
48a3aade2e Improved cd performance and fix error messages 2016-02-28 23:04:28 -08:00
Nate Fischer
46d9c3f1bb Merge pull request #375 from dthree/patch-1
Add Cash cross-reference
2016-02-28 20:54:13 -08:00
Nate Fischer
f2347f314e Updated release instructions 2016-02-26 22:23:13 -08:00
dc
c8f942f299 Add Cash reference
As per:

https://github.com/dthree/cash/pull/24#

:)
2016-02-25 20:14:01 -08:00
Nate Fischer
04b0472201 Merge pull request #368 from shelljs/drop-v0.10-support
chore: drop node v0.10 support
2016-02-24 12:23:32 -08:00
Ari Porad
e5b9fe7ba7 chore(travis): don't require v0.10 to pass
Also document that we don't support v0.10, and build on iojs. (And don't
send travis emails).
2016-02-24 10:46:03 -08:00
Ari Porad
77b41d839e Merge pull request #370 from shelljs/feat-pipes
feat(pipe): add support for pipes between commands
2016-02-21 13:23:27 -08:00
Nate Fischer
98fc7f48ef feat(pipe): add support for pipes between commands 2016-02-20 22:26:31 -08:00
Ari Porad
1c2ef49f8e perf(cd): only run stat once 2016-02-20 15:41:53 -08:00
Ari Porad
d0b7d0943f Merge pull request #360 from shelljs/refactor-shellstring
refactor(ShellString): refactor shellstring
2016-02-20 14:51:19 -08:00
Nate Fischer
2978855a53 Add ShellString-like methods for ls()'s result 2016-02-19 20:43:39 -08:00
Nate Fischer
14d518c3c4 Merge pull request #365 from shelljs/properly-escape-tempdir
fix(exec): properly handles paths with spaces and quotes
2016-02-19 15:02:51 -08:00
Nate Fischer
6ebc2d3db7 refactor(shellstring): return consistent objects
- fix(string): no longer overrides string prototype
 - exec() now returns a ShellString object
2016-02-19 14:54:30 -08:00
Ari Porad
56eb0c556e Merge pull request #364 from shelljs/test-ln-s-dir
test(ln): add tests for linking to cwd
2016-02-19 15:11:12 -07:00
Ari Porad
e3a34a7c3e Merge pull request #362 from shelljs/fix-verbose-logging
fix(verbose): verbose-style logging is consistent
2016-02-19 15:10:09 -07:00
Nate Fischer
ed4c09fb77 test(ln): add tests for linking to '.' directory 2016-02-19 12:57:33 -08:00
Nate Fischer
951376b300 fix(exec): properly handles paths with spaces and quotes 2016-02-18 18:22:38 -08:00
Nate Fischer
0166658597 fix(verbose): verbose-style logging is consistent 2016-02-16 21:11:31 -08:00
Nate Fischer
0da963b51f Merge pull request #357 from jcoreio/master
config.fatal now throws an exception
2016-02-16 14:44:29 -08:00
Ari Porad
bceac928c4 Merge pull request #346 from shelljs/touch-multiple-files
feat(touch): supports multiple files
2016-02-16 12:27:06 -07:00
Ari Porad
63e4acc779 Merge pull request #359 from shelljs/feat-use-glob
feat(glob): use glob module for globbing
2016-02-16 11:50:15 -07:00
Ari Porad
cf9cd2b026 Merge pull request #358 from shelljs/feat-set-f-option
feat(set): add -f option to disable globbing
2016-02-16 11:27:13 -07:00
Nate Fischer
19721fc28e feat(touch): supports multiple files 2016-02-16 09:59:25 -08:00
Nate Fischer
456243a560 Merge pull request #361 from shelljs/npm-ignore
Ignore gitattributes from npm package
2016-02-16 09:56:23 -08:00
Nate Fischer
5c253da39e Ignore gitattributes from npm package 2016-02-16 09:55:13 -08:00
Nate Fischer
078cf123f6 Merge pull request #355 from TimothyGu/windows
Consistently use LF line endings
2016-02-16 09:53:35 -08:00
Nate Fischer
e2f980e29d feat(set): add -f option to disable shell globbing 2016-02-16 09:48:24 -08:00
Jason McLaurin
6bf7d77ecf change config.fatal to throw an exception instead of terminating the node.js process 2016-02-16 11:19:25 -06:00