Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-10-23 22:29:26 +0400
committerisaacs <i@izs.me>2012-10-23 22:29:26 +0400
commit307b098f048020193fe907037b5589c4fe0387d2 (patch)
tree3f0beabc68d2b8388e050717b6c58d0b10e6a02f /node_modules/fstream-npm
parentbfcd368e50b6aa00f30fec9987d44080a5467174 (diff)
fstream-npm@0.1.3
Diffstat (limited to 'node_modules/fstream-npm')
-rw-r--r--node_modules/fstream-npm/fstream-npm.js6
-rw-r--r--node_modules/fstream-npm/node_modules/fstream-ignore/package.json1
-rw-r--r--node_modules/fstream-npm/package.json7
3 files changed, 8 insertions, 6 deletions
diff --git a/node_modules/fstream-npm/fstream-npm.js b/node_modules/fstream-npm/fstream-npm.js
index a1929a43b..26e80c106 100644
--- a/node_modules/fstream-npm/fstream-npm.js
+++ b/node_modules/fstream-npm/fstream-npm.js
@@ -16,9 +16,9 @@ function Packer (props) {
props = { path: props }
}
- props.ignoreFiles = [ ".npmignore",
- ".gitignore",
- "package.json" ]
+ props.ignoreFiles = props.ignoreFiles || [ ".npmignore",
+ ".gitignore",
+ "package.json" ]
Ignore.call(this, props)
diff --git a/node_modules/fstream-npm/node_modules/fstream-ignore/package.json b/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
index 773e797d6..f1f95c43b 100644
--- a/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
+++ b/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
@@ -26,6 +26,7 @@
"mkdirp": ""
},
"readme": "# fstream-ignore\n\nA fstream DirReader that filters out files that match globs in `.ignore`\nfiles throughout the tree, like how git ignores files based on a\n`.gitignore` file.\n\nHere's an example:\n\n```javascript\nvar Ignore = require(\"fstream-ignore\")\nIgnore({ path: __dirname\n , ignoreFiles: [\".ignore\", \".gitignore\"]\n })\n .on(\"child\", function (c) {\n console.error(c.path.substr(c.root.path.length + 1))\n })\n .pipe(tar.Pack())\n .pipe(fs.createWriteStream(\"foo.tar\"))\n```\n\nThis will tar up the files in __dirname into `foo.tar`, ignoring\nanything matched by the globs in any .iginore or .gitignore file.\n",
+ "readmeFilename": "README.md",
"_id": "fstream-ignore@0.0.5",
"_from": "fstream-ignore@~0.0.5"
}
diff --git a/node_modules/fstream-npm/package.json b/node_modules/fstream-npm/package.json
index 993175c0d..528197adb 100644
--- a/node_modules/fstream-npm/package.json
+++ b/node_modules/fstream-npm/package.json
@@ -6,7 +6,7 @@
},
"name": "fstream-npm",
"description": "fstream class for creating npm packages",
- "version": "0.1.2",
+ "version": "0.1.3",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/fstream-npm.git"
@@ -18,6 +18,7 @@
},
"license": "BSD",
"readme": "# fstream-npm\n\nThis is an fstream DirReader class that will read a directory and filter\nthings according to the semantics of what goes in an npm package.\n\nFor example:\n\n```javascript\n// This will print out all the files that would be included\n// by 'npm publish' or 'npm install' of this directory.\n\nvar FN = require(\"fstream-npm\")\nFN({ path: \"./\" })\n .on(\"child\", function (e) {\n console.error(e.path.substr(e.root.path.length + 1))\n })\n```\n\n",
- "_id": "fstream-npm@0.1.2",
- "_from": "fstream-npm@0.1"
+ "readmeFilename": "README.md",
+ "_id": "fstream-npm@0.1.3",
+ "_from": "fstream-npm@latest"
}