[Pkg-javascript-commits] [node-module-deps] 46/444: remove the docs for command transforms

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-module-deps.

commit 393881d444ccd756a9c067e5dbe39c65766c86c7
Author: James Halliday <mail at substack.net>
Date:   Wed Feb 27 17:02:58 2013 -0800

    remove the docs for command transforms
---
 readme.markdown | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/readme.markdown b/readme.markdown
index 78c0e80..2c863b2 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -97,17 +97,6 @@ You don't necessarily need to use the
 readable/writable filter stream for transforming file contents, but this is an
 easy way to do it.
 
-If the transform string has whitespace or failed to `require.resolve()`, it is
-treated as a shell command to run. For instance: `"sed s/AAA/BBB/"` is a valid
-transform string command. To compile coffee-script on the fly you can use the
-transform command string `"coffee -sc"` to compile from stdin and write to
-stdout.
-
-Commands should take stdin and write to stdout to perform their transformations.
-If an error occurs, commands should return a non-0 exit code and write to
-stderr. The file being written to the command over stdin is set as the
-`$FILENAME` environment variable.
-
 When you call `mdeps()` with an `opts.transform`, the transformations you
 specify will not be run for any files in node_modules/. This is because modules
 you include should be self-contained and not need to worry about guarding

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git



More information about the Pkg-javascript-commits mailing list