@storywright/cli 1.9.0 → 1.9.1
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.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/playwright/reporter.d.ts +3 -2
- package/dist/playwright/stabilize.d.ts +2 -1
- package/package.json +5 -5
package/dist/cli.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
export {
|
|
2
|
+
export { };
|
package/dist/cli.js
CHANGED
|
@@ -613,7 +613,7 @@ var uploadCommand = defineCommand7({
|
|
|
613
613
|
var main = defineCommand8({
|
|
614
614
|
meta: {
|
|
615
615
|
name: "storywright",
|
|
616
|
-
version: "1.9.
|
|
616
|
+
version: "1.9.1",
|
|
617
617
|
description: "Zero-config visual regression testing powered by Storybook + Playwright"
|
|
618
618
|
},
|
|
619
619
|
subCommands: {
|
package/dist/index.d.ts
CHANGED
|
@@ -190,4 +190,5 @@ interface ReportData {
|
|
|
190
190
|
results: TestResult[];
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { TestResult, TestSummary, createStorywright, defineConfig, detectCIContext, loadConfig, resolveReportUrl, runNotifiers };
|
|
194
|
+
export type { CIContext, CIContextOverrides, DeepPartial, DownloadOptions, NotificationContext, Notifier, NotifyResult, PlaywrightBrowserName, ReportData, ReportUrlContext, StorageAdapter, StorywrightConfig, UploadOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Reporter, FullConfig, Suite, TestCase, TestResult, FullResult } from '@playwright/test/reporter';
|
|
2
|
-
import {
|
|
2
|
+
import { TestEntry, TestSummary } from '../index.js';
|
|
3
3
|
|
|
4
4
|
interface StorywrightReporterOptions {
|
|
5
5
|
outputDir?: string;
|
|
@@ -25,4 +25,5 @@ interface RawTestResult {
|
|
|
25
25
|
declare function buildEntry(result: RawTestResult, assetsDir: string, copier?: (src: string, dest: string) => void): TestEntry;
|
|
26
26
|
declare function generateHtmlReport(summary: TestSummary): string;
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { buildEntry, StorywrightReporter as default, generateHtmlReport };
|
|
29
|
+
export type { RawTestResult };
|
|
@@ -16,4 +16,5 @@ declare function initPage(page: Page, options: StabilizeOptions): Promise<void>;
|
|
|
16
16
|
*/
|
|
17
17
|
declare function stabilizePage(page: Page, options: StabilizeOptions): Promise<void>;
|
|
18
18
|
|
|
19
|
-
export {
|
|
19
|
+
export { initPage, stabilizePage };
|
|
20
|
+
export type { StabilizeOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storywright/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Zero-config visual regression testing powered by Storybook + Playwright",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"playwright",
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
+
"@storywright/report": "1.9.1",
|
|
45
46
|
"citty": "^0.2.2",
|
|
46
47
|
"consola": "^3.4.2",
|
|
47
48
|
"picomatch": "^4.0.7",
|
|
48
49
|
"simple-git": "^4.0.2",
|
|
49
50
|
"sirv": "^3.0.2",
|
|
50
|
-
"unconfig": "^7.5.0"
|
|
51
|
-
"@storywright/report": "1.9.0"
|
|
51
|
+
"unconfig": "^7.5.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@playwright/test": "^1.64.
|
|
54
|
+
"@playwright/test": "^1.64.1",
|
|
55
55
|
"@types/node": "^26.6.5",
|
|
56
56
|
"@types/picomatch": "^4.0.3",
|
|
57
|
-
"tsup": "^
|
|
57
|
+
"tsup": "^9.0.0",
|
|
58
58
|
"typescript": "^6.0.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|