mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-13 06:36:26 +03:00
15 lines
4.5 KiB
JSON
15 lines
4.5 KiB
JSON
{
|
|
"stdout": "{\"applied\":[{\"id\":\"e1\",\"ref\":\"main>h1\",\"originalText\":\"Oracle Fixture\",\"newText\":\"Oracle Fixture, renamed\"}],\"failed\":[{\"id\":\"e2\",\"reason\":\"ambiguous duplicate copy\",\"candidates\":[{\"kind\":\"text\",\"file\":\"index.html\",\"line\":14,\"needle\":\"Minimal static page for oracle live-mode goldens.\",\"excerpt\":\"<p class=\\\"hero-hook\\\">Minimal static page for oracle live-mode goldens.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":4,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">First card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":8,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Second card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":12,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Third card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"public/docs/guide.html\",\"line\":10,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"doc-lead\\\">A second page covered by the config glob.</p>\"},{\"kind\":\"text\",\"file\":\"index.html\",\"line\":21,\"needle\":\"Nested content.\",\"excerpt\":\"<p>Nested content.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":4,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">First card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":8,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Second card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"src/cards.html\",\"line\":12,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"card-body\\\">Third card body copy.</p>\"},{\"kind\":\"tag\",\"file\":\"public/docs/guide.html\",\"line\":10,\"needle\":\"<p\",\"excerpt\":\"<p class=\\\"doc-lead\\\">A second page covered by the config glob.</p>\"}]}],\"files\":[\"index.html\"],\"cleared\":1,\"count\":3,\"pageUrl\":\"/\",\"warnings\":[],\"notes\":[],\"totalCount\":3,\"perPage\":{\"/\":2,\"/docs/guide\":1}}\n",
|
|
"stderr": "",
|
|
"exit": 0,
|
|
"signal": null,
|
|
"files": {
|
|
".impeccable/live/config.json": "{\n \"files\": [\"index.html\", \"public/**/*.html\"],\n \"insertBefore\": \"</body>\",\n \"commentSyntax\": \"html\"\n}\n",
|
|
".impeccable/live/pending-manual-edits.json": "{\n \"version\": 1,\n \"entries\": [\n {\n \"id\": \"e2\",\n \"pageUrl\": \"/\",\n \"element\": {\n \"tagName\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ]\n },\n \"ops\": [\n {\n \"ref\": \"main>p\",\n \"tag\": \"p\",\n \"originalText\": \"Minimal static page for oracle live-mode goldens.\",\n \"newText\": \"A tighter hook.\"\n },\n {\n \"ref\": \"aside>p\",\n \"tag\": \"p\",\n \"originalText\": \"Nested content.\",\n \"newText\": \"Nested copy.\"\n }\n ],\n \"stagedAt\": \"<ISO>\"\n },\n {\n \"id\": \"e3\",\n \"pageUrl\": \"/docs/guide\",\n \"element\": {\n \"tagName\": \"h1\",\n \"classes\": [\n \"hero-title\"\n ]\n },\n \"ops\": [\n {\n \"ref\": \"article>p\",\n \"tag\": \"p\",\n \"originalText\": \"A second page covered by the config glob.\",\n \"newText\": \"Second page lead.\"\n }\n ],\n \"stagedAt\": \"<ISO>\"\n }\n ]\n}",
|
|
"index.html": "<html><body><h1 id=\"hero\" class=\"hero-title\">Oracle Fixture, renamed</h1><p class=\"hero-hook\">Minimal static page for oracle live-mode goldens.</p><aside><p>Nested content.</p></aside></body></html>\n",
|
|
"public/docs/guide.html": "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <title>Guide</title>\n </head>\n <body>\n <article class=\"doc\">\n <h1 class=\"doc-title\">Guide</h1>\n <p class=\"doc-lead\">A second page covered by the config glob.</p>\n </article>\n </body>\n</html>\n",
|
|
"public/no-body.html": "<!DOCTYPE html>\n<html lang=\"en\">\n <head><title>No body tag</title></head>\n <p class=\"orphan\">This file has no closing body tag.</p>\n</html>\n",
|
|
"src/cards.html": "<section class=\"cards\">\n <div class=\"card\">\n <h3 class=\"card-title\">Alpha card</h3>\n <p class=\"card-body\">First card body copy.</p>\n </div>\n <div class=\"card\">\n <h3 class=\"card-title\">Beta card</h3>\n <p class=\"card-body\">Second card body copy.</p>\n </div>\n <div class=\"card\">\n <h3 class=\"card-title\">Gamma card</h3>\n <p class=\"card-body\">Third card body copy.</p>\n </div>\n</section>\n"
|
|
}
|
|
}
|