broccoli-funnel
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -0,1 +1,18 @@ | ||
## v3.0.3 (2020-05-09) | ||
#### :bug: Bug Fix | ||
* [#128](https://github.com/broccolijs/broccoli-funnel/pull/128) Support `srcDir` with leading slash ([@Gaurav0](https://github.com/Gaurav0)) | ||
* [#123](https://github.com/broccolijs/broccoli-funnel/pull/123) Ensure `lookupDestinationPath` will handle relative path ([@SparshithNR](https://github.com/SparshithNR)) | ||
#### :house: Internal | ||
* [#131](https://github.com/broccolijs/broccoli-funnel/pull/131) Add release automation. ([@rwjblue](https://github.com/rwjblue)) | ||
* [#130](https://github.com/broccolijs/broccoli-funnel/pull/130) Fix test to actually check generated files with destDir ([@mmun](https://github.com/mmun)) | ||
#### Committers: 4 | ||
- Gaurav Munjal ([@Gaurav0](https://github.com/Gaurav0)) | ||
- Martin Muñoz ([@mmun](https://github.com/mmun)) | ||
- Robert Jackson ([@rwjblue](https://github.com/rwjblue)) | ||
- SparshithNRai ([@SparshithNR](https://github.com/SparshithNR)) | ||
# master | ||
@@ -2,0 +19,0 @@ |
@@ -190,2 +190,3 @@ 'use strict'; | ||
if (this.srcDir) { | ||
this.srcDir = ensureRelative(this.srcDir); | ||
inputPath = path.join(inputPath, this.srcDir); | ||
@@ -256,3 +257,3 @@ } | ||
// And then symlinkOrCopy over top of it: | ||
this._copy(inputPath, this.destPath, this.destDir); | ||
this._copy(inputPath, this.destPath, './'); | ||
} else if (!inputPathExists && this.allowEmpty) { | ||
@@ -489,5 +490,3 @@ // Can't symlink nothing, so make an empty folder at `destPath`: | ||
_copy(sourcePath, destPath, relativePath) { | ||
if (this.getDestinationPath) { | ||
relativePath = this.lookupDestinationPath(relativePath); | ||
} | ||
relativePath = this.lookupDestinationPath(relativePath); | ||
let destDir = path.dirname(relativePath); | ||
@@ -494,0 +493,0 @@ |
{ | ||
"name": "broccoli-funnel", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Broccoli plugin that allows you to filter files selected from an input node down based on regular expressions.", | ||
"main": "index.js", | ||
"author": "Robert Jackson", | ||
"license": "MIT", | ||
"keywords": [ | ||
"broccoli-plugin", | ||
"javascript" | ||
], | ||
"repository": { | ||
@@ -12,8 +13,8 @@ "type": "git", | ||
}, | ||
"license": "MIT", | ||
"author": "Robert Jackson", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"engines": { | ||
"node": "10.* || >= 12.*" | ||
}, | ||
"scripts": { | ||
@@ -24,6 +25,2 @@ "test": "mocha tests/", | ||
}, | ||
"keywords": [ | ||
"broccoli-plugin", | ||
"javascript" | ||
], | ||
"dependencies": { | ||
@@ -48,4 +45,27 @@ "array-equal": "^1.0.0", | ||
"mocha-eslint": "^6.0.0", | ||
"release-it": "^13.5.7", | ||
"release-it-lerna-changelog": "^2.3.0", | ||
"rimraf": "^3.0.0" | ||
}, | ||
"engines": { | ||
"node": "10.* || >= 12.*" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"release-it": { | ||
"plugins": { | ||
"release-it-lerna-changelog": { | ||
"infile": "CHANGELOG.md", | ||
"launchEditor": true | ||
} | ||
}, | ||
"git": { | ||
"tagName": "v${version}" | ||
}, | ||
"github": { | ||
"release": true, | ||
"tokenRef": "GITHUB_AUTH" | ||
} | ||
} | ||
} |
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
29623
9
423