aem-clientlib-generator
Advanced tools
Comparing version 1.4.4 to 1.5.0
@@ -297,2 +297,5 @@ /* | ||
} | ||
if (asset.ignore) { | ||
globOptions.ignore = asset.ignore; | ||
} | ||
@@ -299,0 +302,0 @@ asset.files.forEach(function (file) { |
{ | ||
"name": "aem-clientlib-generator", | ||
"version": "1.4.4", | ||
"version": "1.5.0", | ||
"description": "Creates configuration files for AEM ClientLibs and synchronizes assets.", | ||
@@ -48,9 +48,9 @@ "author": { | ||
"fs-extra": "8.1.0", | ||
"glob": "7.1.4", | ||
"glob": "7.1.5", | ||
"lodash": "4.17.15", | ||
"yargs": "13.3.0" | ||
"yargs": "14.2.0" | ||
}, | ||
"devDependencies": { | ||
"klaw": "3.0.0", | ||
"mocha": "6.2.0" | ||
"mocha": "6.2.2" | ||
}, | ||
@@ -57,0 +57,0 @@ "license": "Apache-2.0", |
@@ -161,2 +161,3 @@ # aem-clientlib-generator | ||
* `flatten` {Boolean} - using file's basename instead of folder hierarchy; default true; only available with glob pattern | ||
* `ignore` `{String|Array<String>}` - glob pattern or array of glob patterns for matches to exclude | ||
@@ -163,0 +164,0 @@ For an glob example see example section below. |
@@ -241,4 +241,15 @@ /* | ||
} | ||
}, | ||
{ | ||
name: "test.base.apps.ignoreOption", | ||
assets: { | ||
js: { | ||
cwd: "src/frontend/js", | ||
flatten: false, | ||
files: ["**/*"], | ||
ignore: ["**/*.min.js", "**/*.min.js.map"] | ||
} | ||
} | ||
} | ||
] | ||
}; |
@@ -67,4 +67,4 @@ /* | ||
if (!fs.lstatSync(expectedFile).isDirectory()) { | ||
var result = fs.readFileSync(resultFile, "utf-8"); | ||
var expected = fs.readFileSync(expectedFile, "utf-8"); | ||
var result = fs.readFileSync(resultFile, "utf-8").replace(/\r\n/g, "\n"); | ||
var expected = fs.readFileSync(expectedFile, "utf-8").replace(/\r\n/g, "\n"); | ||
@@ -71,0 +71,0 @@ assert.equal(result, expected, "content of " + subFilePath + " is not expected"); |
62062
133
981
331
+ Addedglob@7.1.5(transitive)
+ Addedyargs@14.2.0(transitive)
+ Addedyargs-parser@15.0.3(transitive)
- Removedglob@7.1.4(transitive)
- Removedyargs@13.3.0(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedglob@7.1.5
Updatedyargs@14.2.0