Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,3 @@ # deglob change log | ||
## Unreleased | ||
* engage | ||
## 1.0.1 | ||
* Minor updates to README. |
{ | ||
"name": "deglob", | ||
"description": "Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `package.json`.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Dan Flettre <fletd01@yahoo.com>", | ||
@@ -21,3 +21,6 @@ "bugs": { | ||
"glob", | ||
"unglob" | ||
"unglob", | ||
"gitignore", | ||
"ignore", | ||
"file" | ||
], | ||
@@ -24,0 +27,0 @@ "license": "ISC", |
@@ -26,3 +26,3 @@ # deglob | ||
deglob([**/*.js], function(err, files) { | ||
deglob(['**/*.js'], function(err, files) { | ||
files.forEach(function(file) { | ||
@@ -42,3 +42,3 @@ console.log('found file ' + file) | ||
deglob([**/*.js], opts function(err, files) { | ||
deglob(['**/*.js'], opts, function(err, files) { | ||
files.forEach(function(file) { | ||
@@ -67,4 +67,5 @@ console.log('found file ' + file) | ||
usePackageJson | true | Turn on/off allowing ignore patterns via `package.json` config. | ||
configKey | 'config' | This is the parent key in `package.json to look for the `ignore` attribute. | ||
configKey | 'config' | This is the parent key in `package.json` to look for the `ignore` attribute. | ||
gitIgnoreFile | '.gitignore' | Name of the `.gitignore` file look for (probably best to leave it default) | ||
ignore | [] | List of additional ignore patterns to use | ||
cwd | process.cwd() | This is the working directory to start the deglobbing | ||
@@ -71,0 +72,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12897
77