Skip to content
Browse files

fstream-npm@0.1.3

  • Loading branch information...
1 parent bfcd368 commit 307b098f048020193fe907037b5589c4fe0387d2 @isaacs isaacs committed
View
6 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)
View
1 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"
}
View
7 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"
}

0 comments on commit 307b098

Please sign in to comment.
Something went wrong with that request. Please try again.