@decocms/parity 0.35.3 → 0.35.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 +5 -0
- package/package.json +3 -2
package/dist/cli.js
CHANGED
|
@@ -75777,6 +75777,10 @@ See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));
|
|
|
75777
75777
|
});
|
|
75778
75778
|
|
|
75779
75779
|
// src/cli.ts
|
|
75780
|
+
import {
|
|
75781
|
+
DESCRIPTION as CATALOG_DESCRIPTION,
|
|
75782
|
+
registerCommands as registerCatalogCommands
|
|
75783
|
+
} from "@decocms/catalog";
|
|
75780
75784
|
import { DESCRIPTION, registerCommands } from "@decocms/vtex-cms";
|
|
75781
75785
|
import chalk47 from "chalk";
|
|
75782
75786
|
import { Command, InvalidArgumentError as InvalidArgumentError2 } from "commander";
|
|
@@ -121790,6 +121794,7 @@ program.command("studio").description("Work the deco Studio task board: list tas
|
|
|
121790
121794
|
process.exit(await studioCommentCommand({ task, body, yes: Boolean(opts.yes) }));
|
|
121791
121795
|
}));
|
|
121792
121796
|
registerCommands(program.command("cms").description(`${DESCRIPTION} Same as the standalone \`vtex-cms\` bin.`));
|
|
121797
|
+
registerCatalogCommands(program.command("catalog").description(`${CATALOG_DESCRIPTION} Same as the standalone \`catalog\` bin.`));
|
|
121793
121798
|
program.command("serve").argument("<runId>", "Run ID to serve").description("Spawns a local HTTP server that serves the report and proxies external iframes (strips X-Frame-Options/CSP), making the Side-by-side tab functional for any site.").option("--output <dir>", "Output directory where runs live", "./parity-output").option("--port <n>", "Fixed port (default: auto-pick free port)", (v) => Number(v)).option("--no-open", "Don't open the browser automatically").action(async (runId, opts) => {
|
|
121794
121799
|
process.exit(await serveCommand(runId, opts));
|
|
121795
121800
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/parity",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.5",
|
|
4
4
|
"description": "E2E parity validator for site migrations. Compares prod vs cand and reports UI, functional, SEO, visual, and Web Vitals deltas with an LLM-ranked HTML report.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
45
|
"dev": "bun run --hot src/cli.ts",
|
|
46
|
-
"build": "bun build src/cli.ts --target=node --outfile=dist/cli.js --external @anthropic-ai/claude-agent-sdk --external @anthropic-ai/sdk --external @decocms/vtex-cms --external chalk --external commander --external diff --external open --external ora --external pixelmatch --external playwright --external pngjs --external prettier --external zod && bun run scripts/postbuild.ts",
|
|
46
|
+
"build": "bun build src/cli.ts --target=node --outfile=dist/cli.js --external @anthropic-ai/claude-agent-sdk --external @anthropic-ai/sdk --external @decocms/catalog --external @decocms/vtex-cms --external chalk --external commander --external diff --external open --external ora --external pixelmatch --external playwright --external pngjs --external prettier --external zod && bun run scripts/postbuild.ts",
|
|
47
47
|
"check": "tsc --noEmit",
|
|
48
48
|
"test": "vitest run",
|
|
49
49
|
"test:watch": "vitest",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"@anthropic-ai/claude-agent-sdk": "^0.3.179",
|
|
66
66
|
"@anthropic-ai/sdk": "^0.100.1",
|
|
67
67
|
"@axe-core/playwright": "^4.14.0",
|
|
68
|
+
"@decocms/catalog": "^0.1.1",
|
|
68
69
|
"@decocms/vtex-cms": "^0.1.4",
|
|
69
70
|
"chalk": "^5.3.0",
|
|
70
71
|
"commander": "^12.1.0",
|