afterbefore 0.1.4 → 0.1.5
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/cli.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -6
package/dist/cli.js
CHANGED
|
@@ -1851,7 +1851,7 @@ async function runPipeline(options) {
|
|
|
1851
1851
|
const outputDir = resolve4(cwd, output, sessionName);
|
|
1852
1852
|
const startTime = Date.now();
|
|
1853
1853
|
try {
|
|
1854
|
-
const version = true ? "0.1.
|
|
1854
|
+
const version = true ? "0.1.5" : "dev";
|
|
1855
1855
|
console.log(`
|
|
1856
1856
|
afterbefore v${version} \xB7 Comparing against ${base}
|
|
1857
1857
|
`);
|
|
@@ -1997,7 +1997,7 @@ afterbefore v${version} \xB7 Comparing against ${base}
|
|
|
1997
1997
|
var program = new Command();
|
|
1998
1998
|
program.name("afterbefore").description(
|
|
1999
1999
|
"Automatic before/after screenshot capture for PRs. Git diff is the config."
|
|
2000
|
-
).version("0.1.
|
|
2000
|
+
).version("0.1.5").option("--base <ref>", "Base branch or ref to compare against", "main").option("--output <dir>", "Output directory for screenshots", ".afterbefore").option("--post", "Post results as a PR comment via gh CLI", false).option(
|
|
2001
2001
|
"--threshold <percent>",
|
|
2002
2002
|
"Diff threshold percentage (changes below this are ignored)",
|
|
2003
2003
|
"0.1"
|
package/dist/index.js
CHANGED
|
@@ -1838,7 +1838,7 @@ async function runPipeline(options) {
|
|
|
1838
1838
|
const outputDir = resolve4(cwd, output, sessionName);
|
|
1839
1839
|
const startTime = Date.now();
|
|
1840
1840
|
try {
|
|
1841
|
-
const version = true ? "0.1.
|
|
1841
|
+
const version = true ? "0.1.5" : "dev";
|
|
1842
1842
|
console.log(`
|
|
1843
1843
|
afterbefore v${version} \xB7 Comparing against ${base}
|
|
1844
1844
|
`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "afterbefore",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Automatic before/after screenshot capture for PRs. Git diff is the config.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,10 +26,6 @@
|
|
|
26
26
|
"lint": "tsc --noEmit",
|
|
27
27
|
"prepare": "tsup"
|
|
28
28
|
},
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "git+https://github.com/kairevicius/afterbefore.git"
|
|
32
|
-
},
|
|
33
29
|
"keywords": [
|
|
34
30
|
"screenshot",
|
|
35
31
|
"after-before",
|
|
@@ -42,7 +38,6 @@
|
|
|
42
38
|
"bugs": {
|
|
43
39
|
"url": "https://github.com/kairevicius/afterbefore/issues"
|
|
44
40
|
},
|
|
45
|
-
"homepage": "https://github.com/kairevicius/afterbefore#readme",
|
|
46
41
|
"engines": {
|
|
47
42
|
"node": ">=18"
|
|
48
43
|
},
|