diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-10-24 12:16:54 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-10-24 12:16:54 +0400 |
commit | 76933f169f17b5273b32e924a7b392d5729931a7 (patch) | |
tree | 47424bdda47b837b37b1a7fb02dce415e524a43f /node_modules/fstream-npm | |
parent | a1148702f53f82d49606b2e4dac7581261fff442 (diff) |
fstream-npm@1.0.1
Always include LICENSE[.*], LICENCE[.*], CHANGES[.*], CHANGELOG[.*], and
HISTORY[.*].
Diffstat (limited to 'node_modules/fstream-npm')
-rw-r--r-- | node_modules/fstream-npm/fstream-npm.js | 6 | ||||
-rw-r--r-- | node_modules/fstream-npm/node_modules/fstream-ignore/package.json | 22 | ||||
-rw-r--r-- | node_modules/fstream-npm/package.json | 30 |
3 files changed, 48 insertions, 10 deletions
diff --git a/node_modules/fstream-npm/fstream-npm.js b/node_modules/fstream-npm/fstream-npm.js index ca05880a6..863f58845 100644 --- a/node_modules/fstream-npm/fstream-npm.js +++ b/node_modules/fstream-npm/fstream-npm.js @@ -93,6 +93,12 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) { // readme files should never be ignored. if (entry.match(/^readme(\.[^\.]*)$/i)) return true + // license files should never be ignored. + if (entry.match(/^(license|licence)(\.[^\.]*)?$/i)) return true + + // changelogs should never be ignored. + if (entry.match(/^(changes|changelog|history)(\.[^\.]*)?$/i)) return true + // special rules. see below. if (entry === "node_modules" && this.packageRoot) return true 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 558d3dc90..29e508673 100644 --- a/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +++ b/node_modules/fstream-npm/node_modules/fstream-ignore/package.json @@ -26,8 +26,6 @@ "mkdirp": "" }, "license": "ISC", - "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", "gitHead": "290f2b621fa4f8fe3eec97307d22527fa2065375", "bugs": { "url": "https://github.com/isaacs/fstream-ignore/issues" @@ -35,5 +33,23 @@ "homepage": "https://github.com/isaacs/fstream-ignore", "_id": "fstream-ignore@1.0.1", "_shasum": "153df36c4fa2cb006fb915dc71ac9d75f6a17c82", - "_from": "fstream-ignore@^1.0.0" + "_from": "fstream-ignore@>=1.0.0 <2.0.0", + "_npmVersion": "1.4.22", + "_npmUser": { + "name": "isaacs", + "email": "i@izs.me" + }, + "maintainers": [ + { + "name": "isaacs", + "email": "i@izs.me" + } + ], + "dist": { + "shasum": "153df36c4fa2cb006fb915dc71ac9d75f6a17c82", + "tarball": "http://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.1.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.1.tgz", + "readme": "ERROR: No README data found!" } diff --git a/node_modules/fstream-npm/package.json b/node_modules/fstream-npm/package.json index 31a5af5d3..e7de77086 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": "1.0.0", + "version": "1.0.1", "repository": { "type": "git", "url": "git://github.com/isaacs/fstream-npm.git" @@ -17,15 +17,31 @@ "inherits": "2" }, "license": "ISC", - "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", - "readmeFilename": "README.md", - "gitHead": "807e0a8653ab793dc2e1b3b798e6256d09f972e7", + "gitHead": "4a95e1903f93dc122320349bb55e367ddd08ad6b", "bugs": { "url": "https://github.com/isaacs/fstream-npm/issues" }, "homepage": "https://github.com/isaacs/fstream-npm", - "_id": "fstream-npm@1.0.0", + "_id": "fstream-npm@1.0.1", "scripts": {}, - "_shasum": "0262c95c771d393e7cf59fcfeabce621703f3d27", - "_from": "fstream-npm@latest" + "_shasum": "1e35c77f0fa24f5d6367e6d447ae7d6ddb482db2", + "_from": "fstream-npm@>=1.0.1 <1.1.0", + "_npmVersion": "2.1.3", + "_nodeVersion": "0.10.31", + "_npmUser": { + "name": "isaacs", + "email": "i@izs.me" + }, + "maintainers": [ + { + "name": "isaacs", + "email": "i@izs.me" + } + ], + "dist": { + "shasum": "1e35c77f0fa24f5d6367e6d447ae7d6ddb482db2", + "tarball": "http://registry.npmjs.org/fstream-npm/-/fstream-npm-1.0.1.tgz" + }, + "directories": {}, + "_resolved": "https://registry.npmjs.org/fstream-npm/-/fstream-npm-1.0.1.tgz" } |