@argos-ci/core 1.5.4 → 1.5.5-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -517,12 +517,14 @@ async function readConfig(options = {}) {
|
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
const discoverScreenshots = async (patterns, { root = process.cwd(), ignore } = {})=>{
|
|
520
|
+
debug(`Discovering screenshots with patterns: ${Array.isArray(patterns) ? patterns.join(", ") : patterns} in ${root}`);
|
|
520
521
|
const matches = await glob(patterns, {
|
|
521
522
|
onlyFiles: true,
|
|
522
523
|
ignore,
|
|
523
524
|
cwd: root
|
|
524
525
|
});
|
|
525
526
|
return matches.map((match)=>{
|
|
527
|
+
debug(`Found screenshot: ${match}`);
|
|
526
528
|
const path = resolve(root, match);
|
|
527
529
|
return {
|
|
528
530
|
name: match,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/core",
|
|
3
3
|
"description": "Visual testing solution to avoid visual regression. The core component of Argos SDK that handles build creation.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.5-alpha.3+f0cee6a",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/convict": "^6.1.4",
|
|
53
|
-
"@types/debug": "^4.1.
|
|
53
|
+
"@types/debug": "^4.1.12",
|
|
54
54
|
"@types/tmp": "^0.2.3",
|
|
55
55
|
"msw": "^1.3.0"
|
|
56
56
|
},
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"build": "rollup -c",
|
|
60
60
|
"e2e": "node ./e2e/upload.cjs && node ./e2e/upload.mjs"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "f0cee6a09987b4af96e8d6705f958a40ebe2b866"
|
|
63
63
|
}
|