@visual-check/cli 0.0.0 → 0.1.0

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.
Files changed (790) hide show
  1. package/LICENSE +21 -0
  2. package/dist/addon-build.d.ts +3 -0
  3. package/dist/addon-build.d.ts.map +1 -0
  4. package/dist/addon-build.js +4 -0
  5. package/dist/addon-build.js.map +1 -0
  6. package/dist/addon-child/addon-child.d.ts +63 -0
  7. package/dist/addon-child/addon-child.d.ts.map +1 -0
  8. package/dist/addon-child/addon-child.js +85 -0
  9. package/dist/addon-child/addon-child.js.map +1 -0
  10. package/dist/addon-child/image-files.d.ts +11 -0
  11. package/dist/addon-child/image-files.d.ts.map +1 -0
  12. package/dist/addon-child/image-files.js +138 -0
  13. package/dist/addon-child/image-files.js.map +1 -0
  14. package/dist/addon-child/protocol.d.ts +181 -0
  15. package/dist/addon-child/protocol.d.ts.map +1 -0
  16. package/dist/addon-child/protocol.js +2 -0
  17. package/dist/addon-child/protocol.js.map +1 -0
  18. package/dist/addon-child/read-request.d.ts +7 -0
  19. package/dist/addon-child/read-request.d.ts.map +1 -0
  20. package/dist/addon-child/read-request.js +25 -0
  21. package/dist/addon-child/read-request.js.map +1 -0
  22. package/dist/addon-child.d.ts +2 -0
  23. package/dist/addon-child.d.ts.map +1 -0
  24. package/dist/addon-child.js +61 -0
  25. package/dist/addon-child.js.map +1 -0
  26. package/dist/affected-stories/affected-stories.d.ts +128 -0
  27. package/dist/affected-stories/affected-stories.d.ts.map +1 -0
  28. package/dist/affected-stories/affected-stories.js +168 -0
  29. package/dist/affected-stories/affected-stories.js.map +1 -0
  30. package/dist/affected-stories/changed-file-rules.d.ts +98 -0
  31. package/dist/affected-stories/changed-file-rules.d.ts.map +1 -0
  32. package/dist/affected-stories/changed-file-rules.js +167 -0
  33. package/dist/affected-stories/changed-file-rules.js.map +1 -0
  34. package/dist/affected-stories/fallow-graph.d.ts +67 -0
  35. package/dist/affected-stories/fallow-graph.d.ts.map +1 -0
  36. package/dist/affected-stories/fallow-graph.js +180 -0
  37. package/dist/affected-stories/fallow-graph.js.map +1 -0
  38. package/dist/affected-stories/git-changes.d.ts +57 -0
  39. package/dist/affected-stories/git-changes.d.ts.map +1 -0
  40. package/dist/affected-stories/git-changes.js +203 -0
  41. package/dist/affected-stories/git-changes.js.map +1 -0
  42. package/dist/affected-stories/group-changes.d.ts +48 -0
  43. package/dist/affected-stories/group-changes.d.ts.map +1 -0
  44. package/dist/affected-stories/group-changes.js +41 -0
  45. package/dist/affected-stories/group-changes.js.map +1 -0
  46. package/dist/affected-stories/import-graph.d.ts +33 -0
  47. package/dist/affected-stories/import-graph.d.ts.map +1 -0
  48. package/dist/affected-stories/import-graph.js +99 -0
  49. package/dist/affected-stories/import-graph.js.map +1 -0
  50. package/dist/affected-stories/limited-map.d.ts +9 -0
  51. package/dist/affected-stories/limited-map.d.ts.map +1 -0
  52. package/dist/affected-stories/limited-map.js +24 -0
  53. package/dist/affected-stories/limited-map.js.map +1 -0
  54. package/dist/affected-stories/package-folder.d.ts +8 -0
  55. package/dist/affected-stories/package-folder.d.ts.map +1 -0
  56. package/dist/affected-stories/package-folder.js +45 -0
  57. package/dist/affected-stories/package-folder.js.map +1 -0
  58. package/dist/affected-stories/storybook-rules.d.ts +153 -0
  59. package/dist/affected-stories/storybook-rules.d.ts.map +1 -0
  60. package/dist/affected-stories/storybook-rules.js +161 -0
  61. package/dist/affected-stories/storybook-rules.js.map +1 -0
  62. package/dist/affected-stories/walk-back.d.ts +16 -0
  63. package/dist/affected-stories/walk-back.d.ts.map +1 -0
  64. package/dist/affected-stories/walk-back.js +46 -0
  65. package/dist/affected-stories/walk-back.js.map +1 -0
  66. package/dist/agent-skill/install-skill.d.ts +34 -0
  67. package/dist/agent-skill/install-skill.d.ts.map +1 -0
  68. package/dist/agent-skill/install-skill.js +43 -0
  69. package/dist/agent-skill/install-skill.js.map +1 -0
  70. package/dist/agent-skill/refresh-skill.d.ts +62 -0
  71. package/dist/agent-skill/refresh-skill.d.ts.map +1 -0
  72. package/dist/agent-skill/refresh-skill.js +105 -0
  73. package/dist/agent-skill/refresh-skill.js.map +1 -0
  74. package/dist/agent-skill/setup-file.d.ts +41 -0
  75. package/dist/agent-skill/setup-file.d.ts.map +1 -0
  76. package/dist/agent-skill/setup-file.js +38 -0
  77. package/dist/agent-skill/setup-file.js.map +1 -0
  78. package/dist/agent-skill/skill-files.d.ts +19 -0
  79. package/dist/agent-skill/skill-files.d.ts.map +1 -0
  80. package/dist/agent-skill/skill-files.js +29 -0
  81. package/dist/agent-skill/skill-files.js.map +1 -0
  82. package/dist/agent-skill/skill-markdown.d.ts +31 -0
  83. package/dist/agent-skill/skill-markdown.d.ts.map +1 -0
  84. package/dist/agent-skill/skill-markdown.js +54 -0
  85. package/dist/agent-skill/skill-markdown.js.map +1 -0
  86. package/dist/baselines/baseline-clash.d.ts +31 -0
  87. package/dist/baselines/baseline-clash.d.ts.map +1 -0
  88. package/dist/baselines/baseline-clash.js +23 -0
  89. package/dist/baselines/baseline-clash.js.map +1 -0
  90. package/dist/baselines/baseline-error.d.ts +39 -0
  91. package/dist/baselines/baseline-error.d.ts.map +1 -0
  92. package/dist/baselines/baseline-error.js +42 -0
  93. package/dist/baselines/baseline-error.js.map +1 -0
  94. package/dist/baselines/baseline-files.d.ts +130 -0
  95. package/dist/baselines/baseline-files.d.ts.map +1 -0
  96. package/dist/baselines/baseline-files.js +292 -0
  97. package/dist/baselines/baseline-files.js.map +1 -0
  98. package/dist/baselines/baseline-set.d.ts +42 -0
  99. package/dist/baselines/baseline-set.d.ts.map +1 -0
  100. package/dist/baselines/baseline-set.js +104 -0
  101. package/dist/baselines/baseline-set.js.map +1 -0
  102. package/dist/bin.d.ts +3 -0
  103. package/dist/bin.d.ts.map +1 -0
  104. package/dist/bin.js +57 -0
  105. package/dist/bin.js.map +1 -0
  106. package/dist/browser/browser-package.d.ts +54 -0
  107. package/dist/browser/browser-package.d.ts.map +1 -0
  108. package/dist/browser/browser-package.js +105 -0
  109. package/dist/browser/browser-package.js.map +1 -0
  110. package/dist/browser/browser-version.d.ts +67 -0
  111. package/dist/browser/browser-version.d.ts.map +1 -0
  112. package/dist/browser/browser-version.js +61 -0
  113. package/dist/browser/browser-version.js.map +1 -0
  114. package/dist/browser/chrome-for-testing-platform.d.ts +24 -0
  115. package/dist/browser/chrome-for-testing-platform.d.ts.map +1 -0
  116. package/dist/browser/chrome-for-testing-platform.js +39 -0
  117. package/dist/browser/chrome-for-testing-platform.js.map +1 -0
  118. package/dist/browser/image-marker.d.ts +46 -0
  119. package/dist/browser/image-marker.d.ts.map +1 -0
  120. package/dist/browser/image-marker.js +81 -0
  121. package/dist/browser/image-marker.js.map +1 -0
  122. package/dist/browser/read-browser-package.d.ts +58 -0
  123. package/dist/browser/read-browser-package.d.ts.map +1 -0
  124. package/dist/browser/read-browser-package.js +130 -0
  125. package/dist/browser/read-browser-package.js.map +1 -0
  126. package/dist/browser-download/browser-download-error.d.ts +19 -0
  127. package/dist/browser-download/browser-download-error.d.ts.map +1 -0
  128. package/dist/browser-download/browser-download-error.js +21 -0
  129. package/dist/browser-download/browser-download-error.js.map +1 -0
  130. package/dist/browser-download/cache-folder.d.ts +7 -0
  131. package/dist/browser-download/cache-folder.d.ts.map +1 -0
  132. package/dist/browser-download/cache-folder.js +34 -0
  133. package/dist/browser-download/cache-folder.js.map +1 -0
  134. package/dist/browser-download/download-file.d.ts +45 -0
  135. package/dist/browser-download/download-file.d.ts.map +1 -0
  136. package/dist/browser-download/download-file.js +340 -0
  137. package/dist/browser-download/download-file.js.map +1 -0
  138. package/dist/browser-download/install-headless-shell.d.ts +96 -0
  139. package/dist/browser-download/install-headless-shell.d.ts.map +1 -0
  140. package/dist/browser-download/install-headless-shell.js +491 -0
  141. package/dist/browser-download/install-headless-shell.js.map +1 -0
  142. package/dist/browser-download/proxy.d.ts +19 -0
  143. package/dist/browser-download/proxy.d.ts.map +1 -0
  144. package/dist/browser-download/proxy.js +102 -0
  145. package/dist/browser-download/proxy.js.map +1 -0
  146. package/dist/browser-download/unzip.d.ts +11 -0
  147. package/dist/browser-download/unzip.d.ts.map +1 -0
  148. package/dist/browser-download/unzip.js +96 -0
  149. package/dist/browser-download/unzip.js.map +1 -0
  150. package/dist/browser-process/start-browser-process.d.ts +30 -0
  151. package/dist/browser-process/start-browser-process.d.ts.map +1 -0
  152. package/dist/browser-process/start-browser-process.js +131 -0
  153. package/dist/browser-process/start-browser-process.js.map +1 -0
  154. package/dist/capture/capture-session.d.ts +472 -0
  155. package/dist/capture/capture-session.d.ts.map +1 -0
  156. package/dist/capture/capture-session.js +701 -0
  157. package/dist/capture/capture-session.js.map +1 -0
  158. package/dist/capture/driver/cdp/cdp-connection.d.ts +127 -0
  159. package/dist/capture/driver/cdp/cdp-connection.d.ts.map +1 -0
  160. package/dist/capture/driver/cdp/cdp-connection.js +243 -0
  161. package/dist/capture/driver/cdp/cdp-connection.js.map +1 -0
  162. package/dist/capture/driver/cdp/cdp-driver.d.ts +42 -0
  163. package/dist/capture/driver/cdp/cdp-driver.d.ts.map +1 -0
  164. package/dist/capture/driver/cdp/cdp-driver.js +270 -0
  165. package/dist/capture/driver/cdp/cdp-driver.js.map +1 -0
  166. package/dist/capture/driver/cdp/cdp-page.d.ts +10 -0
  167. package/dist/capture/driver/cdp/cdp-page.d.ts.map +1 -0
  168. package/dist/capture/driver/cdp/cdp-page.js +704 -0
  169. package/dist/capture/driver/cdp/cdp-page.js.map +1 -0
  170. package/dist/capture/driver/cdp/last-lines.d.ts +13 -0
  171. package/dist/capture/driver/cdp/last-lines.d.ts.map +1 -0
  172. package/dist/capture/driver/cdp/last-lines.js +49 -0
  173. package/dist/capture/driver/cdp/last-lines.js.map +1 -0
  174. package/dist/capture/driver/cdp/launch-arguments.d.ts +16 -0
  175. package/dist/capture/driver/cdp/launch-arguments.d.ts.map +1 -0
  176. package/dist/capture/driver/cdp/launch-arguments.js +142 -0
  177. package/dist/capture/driver/cdp/launch-arguments.js.map +1 -0
  178. package/dist/capture/driver/cdp/loaded-document.d.ts +61 -0
  179. package/dist/capture/driver/cdp/loaded-document.d.ts.map +1 -0
  180. package/dist/capture/driver/cdp/loaded-document.js +104 -0
  181. package/dist/capture/driver/cdp/loaded-document.js.map +1 -0
  182. package/dist/capture/driver/cdp/main-frame-navigation.d.ts +127 -0
  183. package/dist/capture/driver/cdp/main-frame-navigation.d.ts.map +1 -0
  184. package/dist/capture/driver/cdp/main-frame-navigation.js +214 -0
  185. package/dist/capture/driver/cdp/main-frame-navigation.js.map +1 -0
  186. package/dist/capture/driver/cdp/request-watch.d.ts +117 -0
  187. package/dist/capture/driver/cdp/request-watch.d.ts.map +1 -0
  188. package/dist/capture/driver/cdp/request-watch.js +244 -0
  189. package/dist/capture/driver/cdp/request-watch.js.map +1 -0
  190. package/dist/capture/driver/cdp/time-limit.d.ts +29 -0
  191. package/dist/capture/driver/cdp/time-limit.d.ts.map +1 -0
  192. package/dist/capture/driver/cdp/time-limit.js +51 -0
  193. package/dist/capture/driver/cdp/time-limit.js.map +1 -0
  194. package/dist/capture/driver/driver.d.ts +500 -0
  195. package/dist/capture/driver/driver.d.ts.map +1 -0
  196. package/dist/capture/driver/driver.js +283 -0
  197. package/dist/capture/driver/driver.js.map +1 -0
  198. package/dist/capture/end-state.d.ts +131 -0
  199. package/dist/capture/end-state.d.ts.map +1 -0
  200. package/dist/capture/end-state.js +818 -0
  201. package/dist/capture/end-state.js.map +1 -0
  202. package/dist/capture/page-roots.d.ts +18 -0
  203. package/dist/capture/page-roots.d.ts.map +1 -0
  204. package/dist/capture/page-roots.js +67 -0
  205. package/dist/capture/page-roots.js.map +1 -0
  206. package/dist/capture/page-script.d.ts +118 -0
  207. package/dist/capture/page-script.d.ts.map +1 -0
  208. package/dist/capture/page-script.js +399 -0
  209. package/dist/capture/page-script.js.map +1 -0
  210. package/dist/capture/prepare-capture.d.ts +228 -0
  211. package/dist/capture/prepare-capture.d.ts.map +1 -0
  212. package/dist/capture/prepare-capture.js +480 -0
  213. package/dist/capture/prepare-capture.js.map +1 -0
  214. package/dist/capture/read-options.d.ts +65 -0
  215. package/dist/capture/read-options.d.ts.map +1 -0
  216. package/dist/capture/read-options.js +211 -0
  217. package/dist/capture/read-options.js.map +1 -0
  218. package/dist/capture/remote-content.d.ts +45 -0
  219. package/dist/capture/remote-content.d.ts.map +1 -0
  220. package/dist/capture/remote-content.js +309 -0
  221. package/dist/capture/remote-content.js.map +1 -0
  222. package/dist/capture/worker-pool.d.ts +35 -0
  223. package/dist/capture/worker-pool.d.ts.map +1 -0
  224. package/dist/capture/worker-pool.js +51 -0
  225. package/dist/capture/worker-pool.js.map +1 -0
  226. package/dist/commands/abortable.d.ts +9 -0
  227. package/dist/commands/abortable.d.ts.map +1 -0
  228. package/dist/commands/abortable.js +18 -0
  229. package/dist/commands/abortable.js.map +1 -0
  230. package/dist/commands/browser-route.d.ts +86 -0
  231. package/dist/commands/browser-route.d.ts.map +1 -0
  232. package/dist/commands/browser-route.js +27 -0
  233. package/dist/commands/browser-route.js.map +1 -0
  234. package/dist/commands/capture-settings.d.ts +8 -0
  235. package/dist/commands/capture-settings.d.ts.map +1 -0
  236. package/dist/commands/capture-settings.js +17 -0
  237. package/dist/commands/capture-settings.js.map +1 -0
  238. package/dist/commands/check-story.d.ts +91 -0
  239. package/dist/commands/check-story.d.ts.map +1 -0
  240. package/dist/commands/check-story.js +52 -0
  241. package/dist/commands/check-story.js.map +1 -0
  242. package/dist/commands/check-storybooks.d.ts +71 -0
  243. package/dist/commands/check-storybooks.d.ts.map +1 -0
  244. package/dist/commands/check-storybooks.js +49 -0
  245. package/dist/commands/check-storybooks.js.map +1 -0
  246. package/dist/commands/consistency-check.d.ts +62 -0
  247. package/dist/commands/consistency-check.d.ts.map +1 -0
  248. package/dist/commands/consistency-check.js +63 -0
  249. package/dist/commands/consistency-check.js.map +1 -0
  250. package/dist/commands/consistency-output.d.ts +63 -0
  251. package/dist/commands/consistency-output.d.ts.map +1 -0
  252. package/dist/commands/consistency-output.js +63 -0
  253. package/dist/commands/consistency-output.js.map +1 -0
  254. package/dist/commands/docker-problem.d.ts +23 -0
  255. package/dist/commands/docker-problem.d.ts.map +1 -0
  256. package/dist/commands/docker-problem.js +18 -0
  257. package/dist/commands/docker-problem.js.map +1 -0
  258. package/dist/commands/launch-browser.d.ts +123 -0
  259. package/dist/commands/launch-browser.d.ts.map +1 -0
  260. package/dist/commands/launch-browser.js +113 -0
  261. package/dist/commands/launch-browser.js.map +1 -0
  262. package/dist/commands/missing-library.d.ts +6 -0
  263. package/dist/commands/missing-library.d.ts.map +1 -0
  264. package/dist/commands/missing-library.js +19 -0
  265. package/dist/commands/missing-library.js.map +1 -0
  266. package/dist/commands/network-warning.d.ts +36 -0
  267. package/dist/commands/network-warning.d.ts.map +1 -0
  268. package/dist/commands/network-warning.js +92 -0
  269. package/dist/commands/network-warning.js.map +1 -0
  270. package/dist/commands/parse-command-line.d.ts +133 -0
  271. package/dist/commands/parse-command-line.d.ts.map +1 -0
  272. package/dist/commands/parse-command-line.js +425 -0
  273. package/dist/commands/parse-command-line.js.map +1 -0
  274. package/dist/commands/place-browser.d.ts +75 -0
  275. package/dist/commands/place-browser.d.ts.map +1 -0
  276. package/dist/commands/place-browser.js +82 -0
  277. package/dist/commands/place-browser.js.map +1 -0
  278. package/dist/commands/plan-snapshots.d.ts +134 -0
  279. package/dist/commands/plan-snapshots.d.ts.map +1 -0
  280. package/dist/commands/plan-snapshots.js +278 -0
  281. package/dist/commands/plan-snapshots.js.map +1 -0
  282. package/dist/commands/platform-problem.d.ts +7 -0
  283. package/dist/commands/platform-problem.d.ts.map +1 -0
  284. package/dist/commands/platform-problem.js +12 -0
  285. package/dist/commands/platform-problem.js.map +1 -0
  286. package/dist/commands/read-image-fit.d.ts +16 -0
  287. package/dist/commands/read-image-fit.d.ts.map +1 -0
  288. package/dist/commands/read-image-fit.js +26 -0
  289. package/dist/commands/read-image-fit.js.map +1 -0
  290. package/dist/commands/remote-content-hint.d.ts +6 -0
  291. package/dist/commands/remote-content-hint.d.ts.map +1 -0
  292. package/dist/commands/remote-content-hint.js +37 -0
  293. package/dist/commands/remote-content-hint.js.map +1 -0
  294. package/dist/commands/report-entries.d.ts +94 -0
  295. package/dist/commands/report-entries.d.ts.map +1 -0
  296. package/dist/commands/report-entries.js +384 -0
  297. package/dist/commands/report-entries.js.map +1 -0
  298. package/dist/commands/run-browser.d.ts +128 -0
  299. package/dist/commands/run-browser.d.ts.map +1 -0
  300. package/dist/commands/run-browser.js +210 -0
  301. package/dist/commands/run-browser.js.map +1 -0
  302. package/dist/commands/run-cli.d.ts +125 -0
  303. package/dist/commands/run-cli.d.ts.map +1 -0
  304. package/dist/commands/run-cli.js +656 -0
  305. package/dist/commands/run-cli.js.map +1 -0
  306. package/dist/commands/run-output.d.ts +78 -0
  307. package/dist/commands/run-output.d.ts.map +1 -0
  308. package/dist/commands/run-output.js +71 -0
  309. package/dist/commands/run-output.js.map +1 -0
  310. package/dist/commands/run-report.d.ts +147 -0
  311. package/dist/commands/run-report.d.ts.map +1 -0
  312. package/dist/commands/run-report.js +137 -0
  313. package/dist/commands/run-report.js.map +1 -0
  314. package/dist/commands/run-selection.d.ts +191 -0
  315. package/dist/commands/run-selection.d.ts.map +1 -0
  316. package/dist/commands/run-selection.js +150 -0
  317. package/dist/commands/run-selection.js.map +1 -0
  318. package/dist/commands/run-snapshots.d.ts +272 -0
  319. package/dist/commands/run-snapshots.d.ts.map +1 -0
  320. package/dist/commands/run-snapshots.js +354 -0
  321. package/dist/commands/run-snapshots.js.map +1 -0
  322. package/dist/commands/same-address.d.ts +6 -0
  323. package/dist/commands/same-address.d.ts.map +1 -0
  324. package/dist/commands/same-address.js +32 -0
  325. package/dist/commands/same-address.js.map +1 -0
  326. package/dist/commands/select-stories.d.ts +40 -0
  327. package/dist/commands/select-stories.d.ts.map +1 -0
  328. package/dist/commands/select-stories.js +15 -0
  329. package/dist/commands/select-stories.js.map +1 -0
  330. package/dist/commands/shard-share.d.ts +41 -0
  331. package/dist/commands/shard-share.d.ts.map +1 -0
  332. package/dist/commands/shard-share.js +61 -0
  333. package/dist/commands/shard-share.js.map +1 -0
  334. package/dist/commands/snapshot-result.d.ts +165 -0
  335. package/dist/commands/snapshot-result.d.ts.map +1 -0
  336. package/dist/commands/snapshot-result.js +135 -0
  337. package/dist/commands/snapshot-result.js.map +1 -0
  338. package/dist/commands/stop-message.d.ts +65 -0
  339. package/dist/commands/stop-message.d.ts.map +1 -0
  340. package/dist/commands/stop-message.js +186 -0
  341. package/dist/commands/stop-message.js.map +1 -0
  342. package/dist/commands/stopped-run.d.ts +116 -0
  343. package/dist/commands/stopped-run.d.ts.map +1 -0
  344. package/dist/commands/stopped-run.js +103 -0
  345. package/dist/commands/stopped-run.js.map +1 -0
  346. package/dist/commands/story-run.d.ts +196 -0
  347. package/dist/commands/story-run.d.ts.map +1 -0
  348. package/dist/commands/story-run.js +258 -0
  349. package/dist/commands/story-run.js.map +1 -0
  350. package/dist/commands/take-snapshot.d.ts +27 -0
  351. package/dist/commands/take-snapshot.d.ts.map +1 -0
  352. package/dist/commands/take-snapshot.js +16 -0
  353. package/dist/commands/take-snapshot.js.map +1 -0
  354. package/dist/commands/test-plan.d.ts +100 -0
  355. package/dist/commands/test-plan.d.ts.map +1 -0
  356. package/dist/commands/test-plan.js +66 -0
  357. package/dist/commands/test-plan.js.map +1 -0
  358. package/dist/commands/test-snapshot.d.ts +52 -0
  359. package/dist/commands/test-snapshot.d.ts.map +1 -0
  360. package/dist/commands/test-snapshot.js +183 -0
  361. package/dist/commands/test-snapshot.js.map +1 -0
  362. package/dist/commands/update-baselines.d.ts +93 -0
  363. package/dist/commands/update-baselines.d.ts.map +1 -0
  364. package/dist/commands/update-baselines.js +120 -0
  365. package/dist/commands/update-baselines.js.map +1 -0
  366. package/dist/commands/update-snapshot.d.ts +69 -0
  367. package/dist/commands/update-snapshot.d.ts.map +1 -0
  368. package/dist/commands/update-snapshot.js +214 -0
  369. package/dist/commands/update-snapshot.js.map +1 -0
  370. package/dist/commands/update-story.d.ts +70 -0
  371. package/dist/commands/update-story.d.ts.map +1 -0
  372. package/dist/commands/update-story.js +64 -0
  373. package/dist/commands/update-story.js.map +1 -0
  374. package/dist/commands/warm-browser.d.ts +43 -0
  375. package/dist/commands/warm-browser.d.ts.map +1 -0
  376. package/dist/commands/warm-browser.js +192 -0
  377. package/dist/commands/warm-browser.js.map +1 -0
  378. package/dist/config/addon-image-folders.d.ts +13 -0
  379. package/dist/config/addon-image-folders.d.ts.map +1 -0
  380. package/dist/config/addon-image-folders.js +7 -0
  381. package/dist/config/addon-image-folders.js.map +1 -0
  382. package/dist/config/checks.d.ts +108 -0
  383. package/dist/config/checks.d.ts.map +1 -0
  384. package/dist/config/checks.js +190 -0
  385. package/dist/config/checks.js.map +1 -0
  386. package/dist/config/config-error.d.ts +23 -0
  387. package/dist/config/config-error.d.ts.map +1 -0
  388. package/dist/config/config-error.js +23 -0
  389. package/dist/config/config-error.js.map +1 -0
  390. package/dist/config/config-thread.d.ts +25 -0
  391. package/dist/config/config-thread.d.ts.map +1 -0
  392. package/dist/config/config-thread.js +73 -0
  393. package/dist/config/config-thread.js.map +1 -0
  394. package/dist/config/define-config.d.ts +192 -0
  395. package/dist/config/define-config.d.ts.map +1 -0
  396. package/dist/config/define-config.js +9 -0
  397. package/dist/config/define-config.js.map +1 -0
  398. package/dist/config/evaluate-config.d.ts +6 -0
  399. package/dist/config/evaluate-config.d.ts.map +1 -0
  400. package/dist/config/evaluate-config.js +39 -0
  401. package/dist/config/evaluate-config.js.map +1 -0
  402. package/dist/config/find-config.d.ts +35 -0
  403. package/dist/config/find-config.d.ts.map +1 -0
  404. package/dist/config/find-config.js +71 -0
  405. package/dist/config/find-config.js.map +1 -0
  406. package/dist/config/find-storybook-url-problem.d.ts +29 -0
  407. package/dist/config/find-storybook-url-problem.d.ts.map +1 -0
  408. package/dist/config/find-storybook-url-problem.js +34 -0
  409. package/dist/config/find-storybook-url-problem.js.map +1 -0
  410. package/dist/config/is-ci.d.ts +7 -0
  411. package/dist/config/is-ci.d.ts.map +1 -0
  412. package/dist/config/is-ci.js +10 -0
  413. package/dist/config/is-ci.js.map +1 -0
  414. package/dist/config/load-config.d.ts +72 -0
  415. package/dist/config/load-config.d.ts.map +1 -0
  416. package/dist/config/load-config.js +95 -0
  417. package/dist/config/load-config.js.map +1 -0
  418. package/dist/config/load-storybook-config.d.ts +71 -0
  419. package/dist/config/load-storybook-config.d.ts.map +1 -0
  420. package/dist/config/load-storybook-config.js +104 -0
  421. package/dist/config/load-storybook-config.js.map +1 -0
  422. package/dist/config/mode-rules.d.ts +42 -0
  423. package/dist/config/mode-rules.d.ts.map +1 -0
  424. package/dist/config/mode-rules.js +188 -0
  425. package/dist/config/mode-rules.js.map +1 -0
  426. package/dist/config/read-config-afresh.d.ts +13 -0
  427. package/dist/config/read-config-afresh.d.ts.map +1 -0
  428. package/dist/config/read-config-afresh.js +28 -0
  429. package/dist/config/read-config-afresh.js.map +1 -0
  430. package/dist/config/resolve-config.d.ts +162 -0
  431. package/dist/config/resolve-config.d.ts.map +1 -0
  432. package/dist/config/resolve-config.js +181 -0
  433. package/dist/config/resolve-config.js.map +1 -0
  434. package/dist/config/story-options.d.ts +69 -0
  435. package/dist/config/story-options.d.ts.map +1 -0
  436. package/dist/config/story-options.js +174 -0
  437. package/dist/config/story-options.js.map +1 -0
  438. package/dist/config/validate-config.d.ts +9 -0
  439. package/dist/config/validate-config.d.ts.map +1 -0
  440. package/dist/config/validate-config.js +185 -0
  441. package/dist/config/validate-config.js.map +1 -0
  442. package/dist/container/browser-container.d.ts +57 -0
  443. package/dist/container/browser-container.d.ts.map +1 -0
  444. package/dist/container/browser-container.js +112 -0
  445. package/dist/container/browser-container.js.map +1 -0
  446. package/dist/container/container-error.d.ts +47 -0
  447. package/dist/container/container-error.d.ts.map +1 -0
  448. package/dist/container/container-error.js +43 -0
  449. package/dist/container/container-error.js.map +1 -0
  450. package/dist/container/docker-probe.d.ts +37 -0
  451. package/dist/container/docker-probe.d.ts.map +1 -0
  452. package/dist/container/docker-probe.js +85 -0
  453. package/dist/container/docker-probe.js.map +1 -0
  454. package/dist/container/image-pull.d.ts +11 -0
  455. package/dist/container/image-pull.d.ts.map +1 -0
  456. package/dist/container/image-pull.js +40 -0
  457. package/dist/container/image-pull.js.map +1 -0
  458. package/dist/container/inside-container.d.ts +8 -0
  459. package/dist/container/inside-container.d.ts.map +1 -0
  460. package/dist/container/inside-container.js +11 -0
  461. package/dist/container/inside-container.js.map +1 -0
  462. package/dist/container/launch-through-proxy.d.ts +16 -0
  463. package/dist/container/launch-through-proxy.d.ts.map +1 -0
  464. package/dist/container/launch-through-proxy.js +51 -0
  465. package/dist/container/launch-through-proxy.js.map +1 -0
  466. package/dist/container/own-container.d.ts +12 -0
  467. package/dist/container/own-container.d.ts.map +1 -0
  468. package/dist/container/own-container.js +61 -0
  469. package/dist/container/own-container.js.map +1 -0
  470. package/dist/container/proxy-reach.d.ts +19 -0
  471. package/dist/container/proxy-reach.d.ts.map +1 -0
  472. package/dist/container/proxy-reach.js +101 -0
  473. package/dist/container/proxy-reach.js.map +1 -0
  474. package/dist/container/run-docker.d.ts +11 -0
  475. package/dist/container/run-docker.d.ts.map +1 -0
  476. package/dist/container/run-docker.js +61 -0
  477. package/dist/container/run-docker.js.map +1 -0
  478. package/dist/container/socks-proxy.d.ts +28 -0
  479. package/dist/container/socks-proxy.d.ts.map +1 -0
  480. package/dist/container/socks-proxy.js +335 -0
  481. package/dist/container/socks-proxy.js.map +1 -0
  482. package/dist/docs-site/docs-url.d.ts +7 -0
  483. package/dist/docs-site/docs-url.d.ts.map +1 -0
  484. package/dist/docs-site/docs-url.js +13 -0
  485. package/dist/docs-site/docs-url.js.map +1 -0
  486. package/dist/index.d.ts +5 -0
  487. package/dist/index.d.ts.map +1 -0
  488. package/dist/index.js +3 -0
  489. package/dist/index.js.map +1 -0
  490. package/dist/init/addon-question.d.ts +99 -0
  491. package/dist/init/addon-question.d.ts.map +1 -0
  492. package/dist/init/addon-question.js +111 -0
  493. package/dist/init/addon-question.js.map +1 -0
  494. package/dist/init/closing-message.d.ts +182 -0
  495. package/dist/init/closing-message.d.ts.map +1 -0
  496. package/dist/init/closing-message.js +189 -0
  497. package/dist/init/closing-message.js.map +1 -0
  498. package/dist/init/detect-project.d.ts +111 -0
  499. package/dist/init/detect-project.d.ts.map +1 -0
  500. package/dist/init/detect-project.js +166 -0
  501. package/dist/init/detect-project.js.map +1 -0
  502. package/dist/init/existing-config.d.ts +68 -0
  503. package/dist/init/existing-config.d.ts.map +1 -0
  504. package/dist/init/existing-config.js +149 -0
  505. package/dist/init/existing-config.js.map +1 -0
  506. package/dist/init/find-storybooks.d.ts +93 -0
  507. package/dist/init/find-storybooks.d.ts.map +1 -0
  508. package/dist/init/find-storybooks.js +165 -0
  509. package/dist/init/find-storybooks.js.map +1 -0
  510. package/dist/init/init-checks.d.ts +49 -0
  511. package/dist/init/init-checks.d.ts.map +1 -0
  512. package/dist/init/init-checks.js +151 -0
  513. package/dist/init/init-checks.js.map +1 -0
  514. package/dist/init/install.d.ts +286 -0
  515. package/dist/init/install.d.ts.map +1 -0
  516. package/dist/init/install.js +226 -0
  517. package/dist/init/install.js.map +1 -0
  518. package/dist/init/list-of.d.ts +10 -0
  519. package/dist/init/list-of.d.ts.map +1 -0
  520. package/dist/init/list-of.js +18 -0
  521. package/dist/init/list-of.js.map +1 -0
  522. package/dist/init/package-manager.d.ts +214 -0
  523. package/dist/init/package-manager.d.ts.map +1 -0
  524. package/dist/init/package-manager.js +308 -0
  525. package/dist/init/package-manager.js.map +1 -0
  526. package/dist/init/package-scripts.d.ts +72 -0
  527. package/dist/init/package-scripts.d.ts.map +1 -0
  528. package/dist/init/package-scripts.js +29 -0
  529. package/dist/init/package-scripts.js.map +1 -0
  530. package/dist/init/prompter.d.ts +143 -0
  531. package/dist/init/prompter.d.ts.map +1 -0
  532. package/dist/init/prompter.js +65 -0
  533. package/dist/init/prompter.js.map +1 -0
  534. package/dist/init/questions.d.ts +144 -0
  535. package/dist/init/questions.d.ts.map +1 -0
  536. package/dist/init/questions.js +342 -0
  537. package/dist/init/questions.js.map +1 -0
  538. package/dist/init/run-command.d.ts +27 -0
  539. package/dist/init/run-command.d.ts.map +1 -0
  540. package/dist/init/run-command.js +63 -0
  541. package/dist/init/run-command.js.map +1 -0
  542. package/dist/init/run-init.d.ts +133 -0
  543. package/dist/init/run-init.d.ts.map +1 -0
  544. package/dist/init/run-init.js +330 -0
  545. package/dist/init/run-init.js.map +1 -0
  546. package/dist/init/segment.d.ts +60 -0
  547. package/dist/init/segment.d.ts.map +1 -0
  548. package/dist/init/segment.js +54 -0
  549. package/dist/init/segment.js.map +1 -0
  550. package/dist/init/setup-files.d.ts +85 -0
  551. package/dist/init/setup-files.d.ts.map +1 -0
  552. package/dist/init/setup-files.js +191 -0
  553. package/dist/init/setup-files.js.map +1 -0
  554. package/dist/init/setup-progress.d.ts +46 -0
  555. package/dist/init/setup-progress.d.ts.map +1 -0
  556. package/dist/init/setup-progress.js +36 -0
  557. package/dist/init/setup-progress.js.map +1 -0
  558. package/dist/init/skill-setup.d.ts +55 -0
  559. package/dist/init/skill-setup.d.ts.map +1 -0
  560. package/dist/init/skill-setup.js +47 -0
  561. package/dist/init/skill-setup.js.map +1 -0
  562. package/dist/init/storybook-scripts.d.ts +47 -0
  563. package/dist/init/storybook-scripts.d.ts.map +1 -0
  564. package/dist/init/storybook-scripts.js +114 -0
  565. package/dist/init/storybook-scripts.js.map +1 -0
  566. package/dist/init/storybook-start.d.ts +145 -0
  567. package/dist/init/storybook-start.d.ts.map +1 -0
  568. package/dist/init/storybook-start.js +109 -0
  569. package/dist/init/storybook-start.js.map +1 -0
  570. package/dist/init/unlisted-dependencies.d.ts +75 -0
  571. package/dist/init/unlisted-dependencies.d.ts.map +1 -0
  572. package/dist/init/unlisted-dependencies.js +142 -0
  573. package/dist/init/unlisted-dependencies.js.map +1 -0
  574. package/dist/init/workspace-packages.d.ts +58 -0
  575. package/dist/init/workspace-packages.d.ts.map +1 -0
  576. package/dist/init/workspace-packages.js +86 -0
  577. package/dist/init/workspace-packages.js.map +1 -0
  578. package/dist/init/workspace.d.ts +109 -0
  579. package/dist/init/workspace.d.ts.map +1 -0
  580. package/dist/init/workspace.js +433 -0
  581. package/dist/init/workspace.js.map +1 -0
  582. package/dist/report/display-path.d.ts +7 -0
  583. package/dist/report/display-path.d.ts.map +1 -0
  584. package/dist/report/display-path.js +10 -0
  585. package/dist/report/display-path.js.map +1 -0
  586. package/dist/report/report-document.d.ts +682 -0
  587. package/dist/report/report-document.d.ts.map +1 -0
  588. package/dist/report/report-document.js +90 -0
  589. package/dist/report/report-document.js.map +1 -0
  590. package/dist/report/report-folder.d.ts +102 -0
  591. package/dist/report/report-folder.d.ts.map +1 -0
  592. package/dist/report/report-folder.js +160 -0
  593. package/dist/report/report-folder.js.map +1 -0
  594. package/dist/reporter/counts-line.d.ts +14 -0
  595. package/dist/reporter/counts-line.d.ts.map +1 -0
  596. package/dist/reporter/counts-line.js +18 -0
  597. package/dist/reporter/counts-line.js.map +1 -0
  598. package/dist/reporter/duration.d.ts +8 -0
  599. package/dist/reporter/duration.d.ts.map +1 -0
  600. package/dist/reporter/duration.js +18 -0
  601. package/dist/reporter/duration.js.map +1 -0
  602. package/dist/reporter/end-block.d.ts +42 -0
  603. package/dist/reporter/end-block.d.ts.map +1 -0
  604. package/dist/reporter/end-block.js +121 -0
  605. package/dist/reporter/end-block.js.map +1 -0
  606. package/dist/reporter/log-reporter.d.ts +10 -0
  607. package/dist/reporter/log-reporter.d.ts.map +1 -0
  608. package/dist/reporter/log-reporter.js +23 -0
  609. package/dist/reporter/log-reporter.js.map +1 -0
  610. package/dist/reporter/reporter-choice.d.ts +27 -0
  611. package/dist/reporter/reporter-choice.d.ts.map +1 -0
  612. package/dist/reporter/reporter-choice.js +12 -0
  613. package/dist/reporter/reporter-choice.js.map +1 -0
  614. package/dist/reporter/run-event.d.ts +90 -0
  615. package/dist/reporter/run-event.d.ts.map +1 -0
  616. package/dist/reporter/run-event.js +2 -0
  617. package/dist/reporter/run-event.js.map +1 -0
  618. package/dist/sharding/shard.d.ts +17 -0
  619. package/dist/sharding/shard.d.ts.map +1 -0
  620. package/dist/sharding/shard.js +2 -0
  621. package/dist/sharding/shard.js.map +1 -0
  622. package/dist/sharding/split-stories-files.d.ts +43 -0
  623. package/dist/sharding/split-stories-files.d.ts.map +1 -0
  624. package/dist/sharding/split-stories-files.js +70 -0
  625. package/dist/sharding/split-stories-files.js.map +1 -0
  626. package/dist/step-summary/step-summary.d.ts +45 -0
  627. package/dist/step-summary/step-summary.d.ts.map +1 -0
  628. package/dist/step-summary/step-summary.js +263 -0
  629. package/dist/step-summary/step-summary.js.map +1 -0
  630. package/dist/storybook/options-encoding.d.ts +115 -0
  631. package/dist/storybook/options-encoding.d.ts.map +1 -0
  632. package/dist/storybook/options-encoding.js +117 -0
  633. package/dist/storybook/options-encoding.js.map +1 -0
  634. package/dist/storybook/options-read.d.ts +146 -0
  635. package/dist/storybook/options-read.d.ts.map +1 -0
  636. package/dist/storybook/options-read.js +192 -0
  637. package/dist/storybook/options-read.js.map +1 -0
  638. package/dist/storybook/preview-script.d.ts +172 -0
  639. package/dist/storybook/preview-script.d.ts.map +1 -0
  640. package/dist/storybook/preview-script.js +804 -0
  641. package/dist/storybook/preview-script.js.map +1 -0
  642. package/dist/storybook/read-stories.d.ts +72 -0
  643. package/dist/storybook/read-stories.d.ts.map +1 -0
  644. package/dist/storybook/read-stories.js +317 -0
  645. package/dist/storybook/read-stories.js.map +1 -0
  646. package/dist/storybook/stories-matchers.d.ts +39 -0
  647. package/dist/storybook/stories-matchers.d.ts.map +1 -0
  648. package/dist/storybook/stories-matchers.js +149 -0
  649. package/dist/storybook/stories-matchers.js.map +1 -0
  650. package/dist/storybook/storybook-error.d.ts +24 -0
  651. package/dist/storybook/storybook-error.d.ts.map +1 -0
  652. package/dist/storybook/storybook-error.js +24 -0
  653. package/dist/storybook/storybook-error.js.map +1 -0
  654. package/dist/storybook/storybook-version.d.ts +62 -0
  655. package/dist/storybook/storybook-version.d.ts.map +1 -0
  656. package/dist/storybook/storybook-version.js +105 -0
  657. package/dist/storybook/storybook-version.js.map +1 -0
  658. package/dist/storybook/test-path.d.ts +19 -0
  659. package/dist/storybook/test-path.d.ts.map +1 -0
  660. package/dist/storybook/test-path.js +47 -0
  661. package/dist/storybook/test-path.js.map +1 -0
  662. package/dist/storybook/wait-hook.d.ts +64 -0
  663. package/dist/storybook/wait-hook.d.ts.map +1 -0
  664. package/dist/storybook/wait-hook.js +50 -0
  665. package/dist/storybook/wait-hook.js.map +1 -0
  666. package/dist/system-error/system-reason.d.ts +8 -0
  667. package/dist/system-error/system-reason.d.ts.map +1 -0
  668. package/dist/system-error/system-reason.js +15 -0
  669. package/dist/system-error/system-reason.js.map +1 -0
  670. package/dist/terminal-ui/answered-line.d.ts +21 -0
  671. package/dist/terminal-ui/answered-line.d.ts.map +1 -0
  672. package/dist/terminal-ui/answered-line.js +12 -0
  673. package/dist/terminal-ui/answered-line.js.map +1 -0
  674. package/dist/terminal-ui/brand-header.d.ts +21 -0
  675. package/dist/terminal-ui/brand-header.d.ts.map +1 -0
  676. package/dist/terminal-ui/brand-header.js +12 -0
  677. package/dist/terminal-ui/brand-header.js.map +1 -0
  678. package/dist/terminal-ui/checklist-question.d.ts +26 -0
  679. package/dist/terminal-ui/checklist-question.d.ts.map +1 -0
  680. package/dist/terminal-ui/checklist-question.js +62 -0
  681. package/dist/terminal-ui/checklist-question.js.map +1 -0
  682. package/dist/terminal-ui/choice-line.d.ts +29 -0
  683. package/dist/terminal-ui/choice-line.d.ts.map +1 -0
  684. package/dist/terminal-ui/choice-line.js +13 -0
  685. package/dist/terminal-ui/choice-line.js.map +1 -0
  686. package/dist/terminal-ui/coloured-text.d.ts +19 -0
  687. package/dist/terminal-ui/coloured-text.d.ts.map +1 -0
  688. package/dist/terminal-ui/coloured-text.js +16 -0
  689. package/dist/terminal-ui/coloured-text.js.map +1 -0
  690. package/dist/terminal-ui/confirm-question.d.ts +8 -0
  691. package/dist/terminal-ui/confirm-question.d.ts.map +1 -0
  692. package/dist/terminal-ui/confirm-question.js +44 -0
  693. package/dist/terminal-ui/confirm-question.js.map +1 -0
  694. package/dist/terminal-ui/init-screen.d.ts +23 -0
  695. package/dist/terminal-ui/init-screen.d.ts.map +1 -0
  696. package/dist/terminal-ui/init-screen.js +74 -0
  697. package/dist/terminal-ui/init-screen.js.map +1 -0
  698. package/dist/terminal-ui/init-view-state.d.ts +294 -0
  699. package/dist/terminal-ui/init-view-state.d.ts.map +1 -0
  700. package/dist/terminal-ui/init-view-state.js +148 -0
  701. package/dist/terminal-ui/init-view-state.js.map +1 -0
  702. package/dist/terminal-ui/init-view.d.ts +70 -0
  703. package/dist/terminal-ui/init-view.d.ts.map +1 -0
  704. package/dist/terminal-ui/init-view.js +128 -0
  705. package/dist/terminal-ui/init-view.js.map +1 -0
  706. package/dist/terminal-ui/live-screen.d.ts +22 -0
  707. package/dist/terminal-ui/live-screen.d.ts.map +1 -0
  708. package/dist/terminal-ui/live-screen.js +41 -0
  709. package/dist/terminal-ui/live-screen.js.map +1 -0
  710. package/dist/terminal-ui/live-view-state.d.ts +64 -0
  711. package/dist/terminal-ui/live-view-state.d.ts.map +1 -0
  712. package/dist/terminal-ui/live-view-state.js +54 -0
  713. package/dist/terminal-ui/live-view-state.js.map +1 -0
  714. package/dist/terminal-ui/live-view.d.ts +37 -0
  715. package/dist/terminal-ui/live-view.d.ts.map +1 -0
  716. package/dist/terminal-ui/live-view.js +67 -0
  717. package/dist/terminal-ui/live-view.js.map +1 -0
  718. package/dist/terminal-ui/message-line.d.ts +31 -0
  719. package/dist/terminal-ui/message-line.d.ts.map +1 -0
  720. package/dist/terminal-ui/message-line.js +79 -0
  721. package/dist/terminal-ui/message-line.js.map +1 -0
  722. package/dist/terminal-ui/output-tail.d.ts +29 -0
  723. package/dist/terminal-ui/output-tail.d.ts.map +1 -0
  724. package/dist/terminal-ui/output-tail.js +52 -0
  725. package/dist/terminal-ui/output-tail.js.map +1 -0
  726. package/dist/terminal-ui/progress-bar.d.ts +47 -0
  727. package/dist/terminal-ui/progress-bar.d.ts.map +1 -0
  728. package/dist/terminal-ui/progress-bar.js +23 -0
  729. package/dist/terminal-ui/progress-bar.js.map +1 -0
  730. package/dist/terminal-ui/question-header.d.ts +23 -0
  731. package/dist/terminal-ui/question-header.d.ts.map +1 -0
  732. package/dist/terminal-ui/question-header.js +24 -0
  733. package/dist/terminal-ui/question-header.js.map +1 -0
  734. package/dist/terminal-ui/question.d.ts +85 -0
  735. package/dist/terminal-ui/question.d.ts.map +1 -0
  736. package/dist/terminal-ui/question.js +77 -0
  737. package/dist/terminal-ui/question.js.map +1 -0
  738. package/dist/terminal-ui/select-question.d.ts +19 -0
  739. package/dist/terminal-ui/select-question.d.ts.map +1 -0
  740. package/dist/terminal-ui/select-question.js +24 -0
  741. package/dist/terminal-ui/select-question.js.map +1 -0
  742. package/dist/terminal-ui/spinner.d.ts +26 -0
  743. package/dist/terminal-ui/spinner.d.ts.map +1 -0
  744. package/dist/terminal-ui/spinner.js +39 -0
  745. package/dist/terminal-ui/spinner.js.map +1 -0
  746. package/dist/terminal-ui/step-list.d.ts +36 -0
  747. package/dist/terminal-ui/step-list.d.ts.map +1 -0
  748. package/dist/terminal-ui/step-list.js +122 -0
  749. package/dist/terminal-ui/step-list.js.map +1 -0
  750. package/dist/terminal-ui/summary.d.ts +20 -0
  751. package/dist/terminal-ui/summary.d.ts.map +1 -0
  752. package/dist/terminal-ui/summary.js +96 -0
  753. package/dist/terminal-ui/summary.js.map +1 -0
  754. package/dist/terminal-ui/text-input.d.ts +65 -0
  755. package/dist/terminal-ui/text-input.d.ts.map +1 -0
  756. package/dist/terminal-ui/text-input.js +72 -0
  757. package/dist/terminal-ui/text-input.js.map +1 -0
  758. package/dist/terminal-ui/text-question.d.ts +18 -0
  759. package/dist/terminal-ui/text-question.d.ts.map +1 -0
  760. package/dist/terminal-ui/text-question.js +60 -0
  761. package/dist/terminal-ui/text-question.js.map +1 -0
  762. package/dist/terminal-ui/theme.d.ts +106 -0
  763. package/dist/terminal-ui/theme.d.ts.map +1 -0
  764. package/dist/terminal-ui/theme.js +97 -0
  765. package/dist/terminal-ui/theme.js.map +1 -0
  766. package/dist/terminal-ui/wrapped-lines.d.ts +15 -0
  767. package/dist/terminal-ui/wrapped-lines.d.ts.map +1 -0
  768. package/dist/terminal-ui/wrapped-lines.js +105 -0
  769. package/dist/terminal-ui/wrapped-lines.js.map +1 -0
  770. package/dist/terminal-ui/wrapped-segments.d.ts +27 -0
  771. package/dist/terminal-ui/wrapped-segments.d.ts.map +1 -0
  772. package/dist/terminal-ui/wrapped-segments.js +37 -0
  773. package/dist/terminal-ui/wrapped-segments.js.map +1 -0
  774. package/dist/terminal-ui/wrapped-text.d.ts +21 -0
  775. package/dist/terminal-ui/wrapped-text.d.ts.map +1 -0
  776. package/dist/terminal-ui/wrapped-text.js +11 -0
  777. package/dist/terminal-ui/wrapped-text.js.map +1 -0
  778. package/dist/visual-diff/diff-thread.d.ts +27 -0
  779. package/dist/visual-diff/diff-thread.d.ts.map +1 -0
  780. package/dist/visual-diff/diff-thread.js +233 -0
  781. package/dist/visual-diff/diff-thread.js.map +1 -0
  782. package/dist/visual-diff/visual-diff.d.ts +259 -0
  783. package/dist/visual-diff/visual-diff.d.ts.map +1 -0
  784. package/dist/visual-diff/visual-diff.js +317 -0
  785. package/dist/visual-diff/visual-diff.js.map +1 -0
  786. package/fallow-graph.json +1 -0
  787. package/package.json +61 -4
  788. package/skill/SKILL.md +92 -0
  789. package/skill/scripts/run.mjs +1532 -0
  790. package/README.md +0 -3
@@ -0,0 +1,191 @@
1
+ import { type ReadStoriesMatchers, type TracedChanges } from '../affected-stories/affected-stories.js';
2
+ import type { FindReachedFiles } from '../affected-stories/fallow-graph.js';
3
+ import { type ResolvedConfig, type ResolvedStorybook } from '../config/resolve-config.js';
4
+ import type { ReportSelection } from '../report/report-document.js';
5
+ import type { Story } from '../storybook/read-stories.js';
6
+ import type { Selection } from './parse-command-line.js';
7
+ import type { StorybookSelection } from './run-snapshots.js';
8
+ /**
9
+ * What a run is, as far as the selection it takes with no selection flag goes.
10
+ */
11
+ interface SelectionRun {
12
+ /**
13
+ * Whether the `CI` environment variable says the run is in CI.
14
+ */
15
+ ci: boolean;
16
+ /**
17
+ * Whether the run is a shard of `test --shard`.
18
+ */
19
+ sharded: boolean;
20
+ /**
21
+ * Whether the run is `test --consistency`.
22
+ */
23
+ consistencyOnly: boolean;
24
+ }
25
+ /**
26
+ * Gives the selection a run takes. A selection flag decides it. With none, `test --consistency`, a run in CI and a
27
+ * shard cover every story, and any other run covers the affected stories. `test --consistency` captures nothing, so it
28
+ * works nothing out.
29
+ */
30
+ export declare function effectiveSelectionOf(selection: Selection, run: SelectionRun): Selection;
31
+ /**
32
+ * A Storybook in the run, with every story its `index.json` lists, before any story is selected.
33
+ */
34
+ interface IndexedStorybook {
35
+ /**
36
+ * The Storybook.
37
+ */
38
+ storybook: ResolvedStorybook;
39
+ /**
40
+ * The version of the `storybook` package installed for it, or `undefined` when it can't be read.
41
+ */
42
+ version: string | undefined;
43
+ /**
44
+ * Every story its `index.json` lists, whatever the selection.
45
+ */
46
+ stories: Story[];
47
+ }
48
+ /**
49
+ * What `workOutRequiredStorybooks` reads.
50
+ */
51
+ interface RequiredStorybooksInput {
52
+ /**
53
+ * The selection the run takes, with `default` already turned into `affected` or `all`.
54
+ */
55
+ selection: Selection;
56
+ /**
57
+ * Whether the `CI` environment variable says the run is in CI.
58
+ */
59
+ ci: boolean;
60
+ /**
61
+ * The ref `--base` names, or `undefined` when the flag isn't given.
62
+ */
63
+ baseRef: string | undefined;
64
+ /**
65
+ * The environment, for `GITHUB_BASE_REF`.
66
+ */
67
+ environment: Record<string, string | undefined>;
68
+ /**
69
+ * The folder the CLI runs in.
70
+ */
71
+ cwd: string;
72
+ /**
73
+ * Each Storybook in the run, in config order.
74
+ */
75
+ storybooks: readonly ResolvedStorybook[];
76
+ /**
77
+ * The baselines folder of every Storybook in the config, those the run leaves out included, absolute paths.
78
+ */
79
+ baselinesFolders: readonly string[];
80
+ /**
81
+ * visual-check's config file, an absolute path.
82
+ */
83
+ configPath: string;
84
+ /**
85
+ * The globs, relative to the config file's folder, whose matches select every story or nothing.
86
+ */
87
+ affected: ResolvedConfig['affected'];
88
+ /**
89
+ * Finds the files the changed files reach.
90
+ */
91
+ findReachedFiles: FindReachedFiles;
92
+ /**
93
+ * Reads a Storybook's stories globs.
94
+ */
95
+ readStoriesMatchers: ReadStoriesMatchers;
96
+ }
97
+ /**
98
+ * The Storybooks a run requires, worked out before any of them is reached.
99
+ *
100
+ * @public
101
+ */
102
+ export interface RequiredStorybooks {
103
+ /**
104
+ * The Storybooks the run reaches, checks and covers, in config order.
105
+ */
106
+ required: ResolvedStorybook[];
107
+ /**
108
+ * The Storybooks in the run that it leaves out, since no changed file reaches them, in config order.
109
+ */
110
+ leftOut: ResolvedStorybook[];
111
+ /**
112
+ * The changes traced since the base, set exactly when the selection is `affected`.
113
+ */
114
+ traced: TracedChanges | undefined;
115
+ }
116
+ /**
117
+ * What `workOutRunSelection` reads.
118
+ */
119
+ interface RunSelectionInput {
120
+ /**
121
+ * The selection the run takes, with `default` already turned into `affected` or `all`.
122
+ */
123
+ selection: Selection;
124
+ /**
125
+ * Each required Storybook, in config order, with every story its `index.json` lists.
126
+ */
127
+ storybooks: readonly IndexedStorybook[];
128
+ /**
129
+ * The changes traced since the base, and the Storybooks the run leaves out.
130
+ */
131
+ required: Pick<RequiredStorybooks, 'traced' | 'leftOut'>;
132
+ }
133
+ /**
134
+ * The stories a run takes, with what it says about how it picked them.
135
+ */
136
+ export interface RunSelection {
137
+ /**
138
+ * Each Storybook in the run, in config order, with its selected stories and every story it has.
139
+ */
140
+ selections: StorybookSelection[];
141
+ /**
142
+ * How the run picked its stories, for the report.
143
+ */
144
+ report: ReportSelection;
145
+ /**
146
+ * The warning that the affected stories couldn't be worked out, so every story is covered, with its newline, or
147
+ * nothing.
148
+ */
149
+ warning: string;
150
+ /**
151
+ * The notes printed after the header: that no story is affected, with a hint at `--all`, then the Storybooks the
152
+ * run leaves out, or none.
153
+ */
154
+ notes: string[];
155
+ }
156
+ /**
157
+ * Gives the note of an affected run that selected no story in any Storybook, and didn't fall back: that no file
158
+ * changed since the base, or that no changed file affects a story, each with a hint at `--all`. Gives none for a run
159
+ * that selected a story or fell back.
160
+ */
161
+ export declare function emptySelectionNotesOf(traced: Pick<TracedChanges, 'base' | 'changedFiles' | 'fallback'>, selections: readonly StorybookSelection[]): string[];
162
+ /**
163
+ * Gives the warning of a run that couldn't work out its affected stories, with its newline, or nothing when it could.
164
+ */
165
+ export declare function fallbackWarningOf(fallback: string | null): string;
166
+ /**
167
+ * Gives the note that names the Storybooks a run leaves out, since no changed file reaches them, or none.
168
+ */
169
+ export declare function leftOutNotesOf(leftOut: readonly {
170
+ name: string;
171
+ }[]): string[];
172
+ /**
173
+ * Works out the Storybooks a run requires, before any of them is reached. A run that doesn't cover the affected
174
+ * stories, or does in CI, requires every Storybook in it. A local affected run traces the changed files since the
175
+ * base once, then requires only the Storybooks `requiredStorybooksIn` says, reading their stories globs with
176
+ * `readStoriesMatchers`, and leaves the others out. An affected run, in CI or not, gives the traced changes.
177
+ *
178
+ * @throws {InvalidBaseError} When `--base` names no commit in the repository.
179
+ */
180
+ export declare function workOutRequiredStorybooks(input: RequiredStorybooksInput): Promise<RequiredStorybooks>;
181
+ /**
182
+ * Works out the stories a run takes in each required Storybook. `all` keeps every story and `filter` the stories whose
183
+ * ID it matches. `affected` reads the traced changes with the config file's `affected` globs, and keeps the affected
184
+ * stories: the stories of the affected stories files and the stories of the changed baselines, or every story of a
185
+ * Storybook a change reaches as a whole; when that can't be worked out, it keeps every story, with a warning that
186
+ * says why. An affected run that keeps no story at all gets a note that hints at `--all`, and one that leaves
187
+ * Storybooks out a note that names them.
188
+ */
189
+ export declare function workOutRunSelection(input: RunSelectionInput): Promise<RunSelection>;
190
+ export {};
191
+ //# sourceMappingURL=run-selection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-selection.d.ts","sourceRoot":"","sources":["../../src/commands/run-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,mBAAmB,EAExB,KAAK,aAAa,EAEnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AAE3E,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AACpG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAG5D;;GAEG;AACH,UAAU,YAAY;IACpB;;OAEG;IACH,EAAE,EAAE,OAAO,CAAA;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAA;CACzB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,YAAY,GAAG,SAAS,CAMvF;AAED;;GAEG;AACH,UAAU,gBAAgB;IACxB;;OAEG;IACH,SAAS,EAAE,iBAAiB,CAAA;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B;;OAEG;IACH,OAAO,EAAE,KAAK,EAAE,CAAA;CACjB;AAED;;GAEG;AACH,UAAU,uBAAuB;IAC/B;;OAEG;IACH,SAAS,EAAE,SAAS,CAAA;IACpB;;OAEG;IACH,EAAE,EAAE,OAAO,CAAA;IACX;;OAEG;IACH,OAAO,EAAE,MAAM,GAAG,SAA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AAU,EAAE,SAAS,kBAAkB,EAAE,GACxC,MAAM,EAAE,CAoBV;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAMjE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,MAAM,EAAE,CAY7E;AAED;;;;;;;GAOG;AACH,wBAAsB,yBAAyB,CAAC,KAAK,EAAE,uBAAuB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CA6B3G;AAED;;;;;;;GAOG;AACH,wBAAsB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,YAAY,CAAC,CAyCzF"}
@@ -0,0 +1,150 @@
1
+ import { affectedStorybooksIn, requiredStorybooksIn, traceChanges, } from '../affected-stories/affected-stories.js';
2
+ import { listNames } from '../config/resolve-config.js';
3
+ import { reportSelectionOf } from './run-report.js';
4
+ import { selectStories } from './select-stories.js';
5
+ /**
6
+ * Gives the selection a run takes. A selection flag decides it. With none, `test --consistency`, a run in CI and a
7
+ * shard cover every story, and any other run covers the affected stories. `test --consistency` captures nothing, so it
8
+ * works nothing out.
9
+ */
10
+ export function effectiveSelectionOf(selection, run) {
11
+ if (selection.kind !== 'default') {
12
+ return selection;
13
+ }
14
+ return run.consistencyOnly || run.ci || run.sharded ? { kind: 'all' } : { kind: 'affected' };
15
+ }
16
+ /**
17
+ * The hint every note about an empty affected selection ends with.
18
+ */
19
+ const allHint = 'Run with --all to cover every story.';
20
+ /**
21
+ * Gives the choice of a Storybook's stories that its affected stories make: every story, or those of its affected
22
+ * stories files plus its affected stories by ID.
23
+ */
24
+ function choiceOf(affected) {
25
+ // affectedStorybooksIn gives one entry per Storybook, so `undefined` never comes.
26
+ if (affected === undefined || affected.all) {
27
+ return { kind: 'all' };
28
+ }
29
+ return { kind: 'affected', storiesFiles: affected.storiesFiles, storyIds: affected.storyIds };
30
+ }
31
+ /**
32
+ * Gives the note of an affected run that selected no story in any Storybook, and didn't fall back: that no file
33
+ * changed since the base, or that no changed file affects a story, each with a hint at `--all`. Gives none for a run
34
+ * that selected a story or fell back.
35
+ */
36
+ export function emptySelectionNotesOf(traced, selections) {
37
+ const { base, changedFiles, fallback } = traced;
38
+ if (fallback !== null || base === null || changedFiles === null) {
39
+ return [];
40
+ }
41
+ if (selections.some(({ stories }) => stories.length > 0)) {
42
+ return [];
43
+ }
44
+ if (changedFiles === 0) {
45
+ return [`No files changed since ${base.slice(0, 7)}, so no story is affected. ${allHint}`];
46
+ }
47
+ if (changedFiles === 1) {
48
+ return [`The changed file affects no story. ${allHint}`];
49
+ }
50
+ return [`None of the ${changedFiles} changed files affects a story. ${allHint}`];
51
+ }
52
+ /**
53
+ * Gives the warning of a run that couldn't work out its affected stories, with its newline, or nothing when it could.
54
+ */
55
+ export function fallbackWarningOf(fallback) {
56
+ if (fallback === null) {
57
+ return '';
58
+ }
59
+ return `Warning: visual-check can't work out the affected stories, so it covers every story: ${fallback}.\n`;
60
+ }
61
+ /**
62
+ * Gives the note that names the Storybooks a run leaves out, since no changed file reaches them, or none.
63
+ */
64
+ export function leftOutNotesOf(leftOut) {
65
+ const names = leftOut.map(({ name }) => name);
66
+ if (names.length === 0) {
67
+ return [];
68
+ }
69
+ if (names.length === 1) {
70
+ return [`Storybook ${listNames(names)} is left out, since no changed file reaches it.`];
71
+ }
72
+ return [`Storybooks ${listNames(names)} are left out, since no changed file reaches them.`];
73
+ }
74
+ /**
75
+ * Works out the Storybooks a run requires, before any of them is reached. A run that doesn't cover the affected
76
+ * stories, or does in CI, requires every Storybook in it. A local affected run traces the changed files since the
77
+ * base once, then requires only the Storybooks `requiredStorybooksIn` says, reading their stories globs with
78
+ * `readStoriesMatchers`, and leaves the others out. An affected run, in CI or not, gives the traced changes.
79
+ *
80
+ * @throws {InvalidBaseError} When `--base` names no commit in the repository.
81
+ */
82
+ export async function workOutRequiredStorybooks(input) {
83
+ const { storybooks } = input;
84
+ if (input.selection.kind !== 'affected') {
85
+ return { required: [...storybooks], leftOut: [], traced: undefined };
86
+ }
87
+ const traced = await traceChanges({
88
+ baseRef: input.baseRef,
89
+ environment: input.environment,
90
+ cwd: input.cwd,
91
+ storybooks,
92
+ baselinesFolders: input.baselinesFolders,
93
+ configPath: input.configPath,
94
+ affected: input.affected,
95
+ findReachedFiles: input.findReachedFiles,
96
+ });
97
+ if (input.ci) {
98
+ return { required: [...storybooks], leftOut: [], traced };
99
+ }
100
+ const flags = await requiredStorybooksIn(traced, storybooks, input.readStoriesMatchers);
101
+ return {
102
+ required: storybooks.filter((_storybook, index) => flags[index]),
103
+ leftOut: storybooks.filter((_storybook, index) => !flags[index]),
104
+ traced,
105
+ };
106
+ }
107
+ /**
108
+ * Works out the stories a run takes in each required Storybook. `all` keeps every story and `filter` the stories whose
109
+ * ID it matches. `affected` reads the traced changes with the config file's `affected` globs, and keeps the affected
110
+ * stories: the stories of the affected stories files and the stories of the changed baselines, or every story of a
111
+ * Storybook a change reaches as a whole; when that can't be worked out, it keeps every story, with a warning that
112
+ * says why. An affected run that keeps no story at all gets a note that hints at `--all`, and one that leaves
113
+ * Storybooks out a note that names them.
114
+ */
115
+ export async function workOutRunSelection(input) {
116
+ const { selection, storybooks } = input;
117
+ const { traced, leftOut } = input.required;
118
+ if (traced === undefined) {
119
+ const choice = selection.kind === 'filter' ? selection : { kind: 'all' };
120
+ return {
121
+ selections: storybooks.map((storybook) => ({
122
+ ...storybook,
123
+ stories: selectStories(storybook.stories, choice),
124
+ allStories: storybook.stories,
125
+ })),
126
+ report: reportSelectionOf(selection),
127
+ warning: '',
128
+ notes: [],
129
+ };
130
+ }
131
+ const affected = await affectedStorybooksIn(traced, storybooks.map(({ storybook, stories }) => ({
132
+ dir: storybook.dir,
133
+ configDir: storybook.configDir,
134
+ storiesFiles: [...new Set(stories.map((story) => story.importPath))],
135
+ baselines: storybook.baselines,
136
+ storyIds: stories.map((story) => story.id),
137
+ })));
138
+ const selections = storybooks.map((storybook, index) => ({
139
+ ...storybook,
140
+ stories: selectStories(storybook.stories, choiceOf(affected[index])),
141
+ allStories: storybook.stories,
142
+ }));
143
+ return {
144
+ selections,
145
+ report: { by: 'affected', base: traced.base, changedFiles: traced.changedFiles, fallback: traced.fallback },
146
+ warning: fallbackWarningOf(traced.fallback),
147
+ notes: [...emptySelectionNotesOf(traced, selections), ...leftOutNotesOf(leftOut)],
148
+ };
149
+ }
150
+ //# sourceMappingURL=run-selection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-selection.js","sourceRoot":"","sources":["../../src/commands/run-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EAEpB,oBAAoB,EAEpB,YAAY,GACb,MAAM,yCAAyC,CAAA;AAGhD,OAAO,EAAE,SAAS,EAA+C,MAAM,6BAA6B,CAAA;AAIpG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAoB,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAoBrE;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,SAAoB,EAAE,GAAiB;IAC1E,IAAI,SAAS,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QACjC,OAAO,SAAS,CAAA;IAClB,CAAC;IAED,OAAO,GAAG,CAAC,eAAe,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAA;AAC9F,CAAC;AAoID;;GAEG;AACH,MAAM,OAAO,GAAG,sCAAsC,CAAA;AAEtD;;;GAGG;AACH,SAAS,QAAQ,CAAC,QAAuC;IACvD,kFAAkF;IAClF,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,CAAC,GAAG,EAAE,CAAC;QAC3C,OAAO,EAAE,IAAI,EAAE,KAAK,E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C9B,YAAY,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;QACpE,SAAS,EAAE,SAAS,CAAC,SAAS;QAC9B,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;KAC3C,CAAC,CAAC,CACJ,CAAA;IACD,MAAM,UAAU,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QACvD,GAAG,SAAS;QACZ,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;QACpE,UAAU,EAAE,SAAS,CAAC,OAAO;KAC9B,CAAC,CAAC,CAAA;IAEH,OAAO;QACL,UAAU;QACV,MAAM,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE;QAC3G,OAAO,EAAE,iBAAiB,CAAC,MAAM,CAAC,QAAQ,CAAC;QAC3C,KAAK,EAAE,CAAC,GAAG,qBAAqB,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;KAClF,CAAA;AACH,CAAC"}
@@ -0,0 +1,272 @@
1
+ import type { BrowserPackage } from '../browser/read-browser-package.js';
2
+ import type { ResolvedConfig, ResolvedStorybook } from '../config/resolve-config.js';
3
+ import type { RunEvent } from '../reporter/run-event.js';
4
+ import type { Shard } from '../sharding/shard.js';
5
+ import type { Story } from '../storybook/read-stories.js';
6
+ import type { BrowserPlace } from './browser-route.js';
7
+ import type { LaunchBrowser } from './launch-browser.js';
8
+ import type { RunFindings } from './run-report.js';
9
+ /**
10
+ * The stories a run covers in one Storybook, in the order they are taken and printed.
11
+ */
12
+ export interface StorybookSelection {
13
+ /**
14
+ * The Storybook.
15
+ */
16
+ storybook: ResolvedStorybook;
17
+ /**
18
+ * The version of the `storybook` package installed for it, or `undefined` when it can't be read.
19
+ */
20
+ version: string | undefined;
21
+ /**
22
+ * Its selected stories.
23
+ */
24
+ stories: Story[];
25
+ /**
26
+ * Every story its `index.json` lists, whose options the run reads and checks whatever the selection.
27
+ */
28
+ allStories: Story[];
29
+ }
30
+ /**
31
+ * What a `test` or `update` run needs once its checks have passed.
32
+ */
33
+ interface SnapshotRun {
34
+ /**
35
+ * The command that runs.
36
+ */
37
+ command: 'test' | 'update';
38
+ /**
39
+ * The CLI's version, for the header.
40
+ */
41
+ version: string;
42
+ /**
43
+ * Whether the run is in CI, where `test` stops before capturing when the consistency check finds anything.
44
+ */
45
+ ci: boolean;
46
+ /**
47
+ * Whether the run is `test --consistency`: it runs the consistency check and captures nothing. Always `false` for
48
+ * `update`.
49
+ */
50
+ consistencyOnly: boolean;
51
+ /**
52
+ * The shard `test --shard` runs, which takes only its share of the stories files and runs no consistency check, or
53
+ * `undefined` for a run that isn't sharded. Always `undefined` for `update` and `test --consistency`.
54
+ */
55
+ shard: Shard | undefined;
56
+ /**
57
+ * The resolved config.
58
+ */
59
+ config: ResolvedConfig;
60
+ /**
61
+ * How many workers capture at once: `--workers` or the config's `workers`, with `'auto'` already resolved.
62
+ */
63
+ workers: number;
64
+ /**
65
+ * Where the browser runs.
66
+ */
67
+ place: BrowserPlace;
68
+ /**
69
+ * The installed browser package.
70
+ */
71
+ browserPackage: BrowserPackage;
72
+ /**
73
+ * The Storybooks in config order, each with its selected stories and every story it has.
74
+ */
75
+ selections: StorybookSelection[];
76
+ /**
77
+ * The notes about the selection, printed after the header: that no story is affected, with a hint at `--all`, or
78
+ * none.
79
+ */
80
+ selectionNotes: string[];
81
+ /**
82
+ * The folder the CLI runs in. Printed paths are relative to it.
83
+ */
84
+ cwd: string;
85
+ /**
86
+ * The OS the CLI runs on, which decides whether `update` warns about baseline paths too long for Windows.
87
+ */
88
+ os: NodeJS.Platform;
89
+ /**
90
+ * Whether visual-check runs inside a container, which decides what a Docker problem suggests.
91
+ */
92
+ insideContainer: boolean;
93
+ /**
94
+ * The environment, for where the headless shell is downloaded to on the host, and through which mirror and proxy.
95
+ */
96
+ environment: Record<string, string | undefined>;
97
+ /**
98
+ * How long after the capture session asks whether to capture a snapshot's page again, right after the first capture
99
+ * and the reading of its hosts, `update` captures the page again, to check it isn't still changing, in ms. `test`
100
+ * never captures a page again.
101
+ */
102
+ recaptureDelayMs: number;
103
+ /**
104
+ * Launches the browser, at the first options read, and again at the first read or story that needs it after the
105
+ * browser exits.
106
+ */
107
+ launchBrowser: LaunchBrowser;
108
+ /**
109
+ * Writes the progress of the browser's launch, such as an image pull or a download, as it happens.
110
+ */
111
+ progress: (text: string) => void;
112
+ /**
113
+ * Takes the run's progress stream as it happens: the planned snapshots with the header and the notes, then
114
+ * each snapshot's start and its line once it finishes.
115
+ */
116
+ events: (event: RunEvent) => void;
117
+ }
118
+ /**
119
+ * What a run that finished, or stopped after its consistency check, printed, how it exits and what it found.
120
+ */
121
+ interface SnapshotRunEnd {
122
+ /**
123
+ * The exit code: 0 or 1.
124
+ */
125
+ exitCode: number;
126
+ /**
127
+ * What the run prints at its end, after the header, a shard's notes and the snapshot lines it emitted as they
128
+ * happened: for `update` its counts, the path of each baseline written and each orphan deleted and its flaky
129
+ * snapshots, and nothing for `test`, whose end block is built from its report. For a CI `test` whose consistency
130
+ * check found anything, the consistency output, then a line that says why it captured nothing. For
131
+ * `test --consistency`, the consistency output alone.
132
+ */
133
+ stdout: string;
134
+ /**
135
+ * When the first browser exited mid-run, that it exited, whether visual-check relaunches it once, and its last output.
136
+ * Then a warning for each Storybook that seems to ignore the test path, then for `update` the hosts its stories
137
+ * reach. A CI `test` that stopped before capturing gives only the notice of the exit. Nothing for a run that went on
138
+ * with no exit and no warning.
139
+ */
140
+ stderr: string;
141
+ /**
142
+ * What the run found, for the report: the snapshots it took and their results, each Storybook's orphans, and for
143
+ * `update` the baselines it deleted and its warnings, or for a `test` that stopped after its consistency check what
144
+ * the check found.
145
+ */
146
+ findings: RunFindings;
147
+ /**
148
+ * Whether the run stopped after its consistency check without capturing: `test --consistency`, or a CI `test` whose
149
+ * check found anything. Its stdout is the consistency output, and it gets no end block.
150
+ */
151
+ checkedOnly: boolean;
152
+ }
153
+ /**
154
+ * What a run that stopped with exit 2 printed on stderr, and what stopped it. Its stdout is the header and the lines
155
+ * of the snapshots that finished before the stop, already emitted.
156
+ */
157
+ interface SnapshotRunStop {
158
+ /**
159
+ * The exit code: 2.
160
+ */
161
+ exitCode: 2;
162
+ /**
163
+ * When the first browser exited mid-run, that it exited, whether visual-check relaunches it once, and its last
164
+ * output, then what stopped the run: a problem visual-check knows, or the stack trace of an error that is a bug.
165
+ */
166
+ stderr: string;
167
+ /**
168
+ * What stopped the run, for the report: the problem, as stderr ends with it, or the error's message.
169
+ */
170
+ stopMessage: string;
171
+ /**
172
+ * Whether the report folder is what failed, such as a snapshot's images that couldn't be written, so no report can be
173
+ * written there.
174
+ */
175
+ reportFailed: boolean;
176
+ }
177
+ /**
178
+ * What a run printed and how it exits: a run that finished, or stopped after its consistency check, or one that
179
+ * stopped with exit 2.
180
+ */
181
+ export type SnapshotRunResult = SnapshotRunEnd | SnapshotRunStop;
182
+ /**
183
+ * Reads every Storybook's per-story options before any capture, then takes the snapshots of every selected story that
184
+ * isn't disabled with a pool of `workers` that share one browser: its default capture, then one snapshot per mode it
185
+ * lists, each at its own viewport and with its mode's globals in the story's URL. Through `events` it emits the
186
+ * planned snapshots with the header, which counts them, and the selection's notes, then each snapshot's start as a
187
+ * worker picks it up and its line once it finishes, so the lines come in the order the captures finish. A mode's line
188
+ * names the mode after the story ID. The snapshots are planned in config order, then `index.json` order, then each
189
+ * story's default capture and its modes in order.
190
+ * Each snapshot has its own baseline, `<story-id>.png` for the default capture and `<story-id>.<mode>.png` for a mode,
191
+ * a key over 240 bytes shortened to its first 223 bytes, `-` and 16 hex characters of its SHA-256. `test` compares each
192
+ * snapshot with its baseline by the story's tolerance, at the viewport's device scale factor, and never captures a
193
+ * missing baseline. It writes the baseline, snapshot and visual diff of each snapshot whose first capture differs to
194
+ * the report folder, `.visual-check/report` beside the config file, which `runCli` has cleared. A snapshot that differs
195
+ * is captured again, up to the config's `retries` more times; one that passes on a retry passes, flaky, and its line
196
+ * ends with `· flaky`. One that still differs by pixels on its first capture and its last retry, with every differing
197
+ * pixel of the last retry inside its remote content, give or take the device scale factor rounded up, gets a hint that
198
+ * names those hosts, which the report lists. The hint never changes the exit code. A flaky snapshot never fails the
199
+ * run. `test`'s end block, with its failures, flaky snapshots and counts, is built by `runCli` from its report.
200
+ *
201
+ * Every `test` but a shard's runs the consistency check once the snapshots are planned, and `test --consistency` runs
202
+ * only that check: `test-plan.ts` has the rules.
203
+ *
204
+ * A shard of `test --shard k/n` takes only its share of the stories files. Before anything is read or launched, it
205
+ * lists each Storybook's baselines folder; one that can't be listed stops the run with exit 2, printing nothing on
206
+ * stdout. It then splits the stories files that hold a selected story across the shards. Each Storybook is then
207
+ * narrowed to the shard's files, its selected stories and the stories its options read covers alike, so a Storybook
208
+ * with no file in the shard isn't read. A shard runs no consistency check. Its header names the shard and how many
209
+ * stories files it was dealt, and is followed by a note that missing baselines and orphans are left to
210
+ * `test --consistency`, then, when it takes no snapshot, a note that it has nothing to capture; such a shard exits 0. A
211
+ * shard dealt no stories file launches no browser.
212
+ *
213
+ * `update` also takes every snapshot outside the selection whose baseline is missing, so it writes every missing
214
+ * baseline of the Storybooks in the run. A story outside the selection whose stories file didn't load is taken, and
215
+ * broken, when its default baseline is missing, and left out when it's there. Before any capture, it lists each
216
+ * Storybook's baselines folder, where only `.png` files count, and decodes each of them; the first one that can't be
217
+ * listed or decoded, in config order then file name order, stops the run with exit 2, printing nothing on stdout. It
218
+ * compares each snapshot's first capture with its baseline as `test` does. A baseline within tolerance stays untouched,
219
+ * even when its bytes differ, after one load and one capture. A baseline that is missing or differs beyond tolerance or
220
+ * in size is written only once the story renders the same way twice, each check by the story's own tolerance, a size
221
+ * difference counting as a difference. First, the same page is captured again `recaptureDelayMs` after the capture
222
+ * session asks for it, right after the first capture and the reading of its hosts, so at least that long after the
223
+ * first capture, which isn't delayed; when the two differ, the story is broken, `changed-after-capture`, and its line
224
+ * points to the wait hook. Then the story is loaded a second time. A second load within tolerance of a baseline the
225
+ * first differed from leaves that baseline untouched, kept and flaky. A second load that agrees with the first is
226
+ * written. Otherwise a third load decides: the later of two loads that agree is written, flaky, and when no two agree,
227
+ * the story is broken, `unstable`. So `update` makes at most 3 loads of a snapshot, not counting the capture session's
228
+ * own retries of a story that navigates away, whatever `retries` says, and a broken story writes nothing. A flaky
229
+ * snapshot's line ends with `· flaky`. Once every snapshot is taken, it deletes the orphans: the baselines that no
230
+ * planned snapshot calls for, selected or not, apart from any that could belong to a story whose stories file didn't
231
+ * load. An orphan the file system takes for an expected baseline is that baseline, so it stays. Its counts are of
232
+ * written, deleted and kept baselines and broken snapshots, followed by the path of each baseline written and each
233
+ * orphan deleted, then its flaky snapshots by name under a heading of their own, when there are any. A flaky snapshot
234
+ * never fails `update`. `update` never touches the report folder.
235
+ *
236
+ * Each Storybook with stories gets one options read, in config order, on a page of its own, covering every story its
237
+ * `index.json` lists whatever the selection. So the browser is launched at the first read, even when no story then
238
+ * needs a capture, and a run launches nothing only when no Storybook has stories. A read problem, at the first
239
+ * Storybook that has one, or invalid options in any Storybook stop the run with exit 2 before any capture, printing
240
+ * nothing on stdout. Invalid options include a mode that breaks the mode rules, such as a bad name, a global the
241
+ * Storybook doesn't declare or one the story pins. A disabled story is left out: it isn't captured, printed or counted.
242
+ * Each story of a stories file that failed to load, or didn't load within readyTimeout, is one broken snapshot,
243
+ * `load-failed`, with no mode, no capture and no baseline read.
244
+ *
245
+ * Planning also stops the run with exit 2, before anything is captured, on two snapshots of one Storybook whose
246
+ * baselines would be one file, selected or not, and on a shard only among its own stories files. Outside a shard,
247
+ * that's before any baselines folder is listed. Stderr names the first such pair in each Storybook, in config order.
248
+ *
249
+ * When the browser exits, every story in flight is broken, `browser-exited`, the browser is relaunched once at the next
250
+ * read or story that needs it, and the run goes on; stderr then says so, with the browser's last output, whatever the
251
+ * run exits with. A baseline that can't be read, decoded or written, a report folder that can't be written to, a failed
252
+ * launch or relaunch, a version mismatch or the relaunched browser's exit stops the run with exit 2, keeping the lines
253
+ * of the snapshots that finished and deleting no orphan. So does a failed download, and an orphan that can't be
254
+ * deleted. A browser that can't start its graphics process before the first capture says the machine can't run the
255
+ * platform. The workers' sessions and the browsers are always closed.
256
+ *
257
+ * A run that finishes ends stderr with a warning for each Storybook, in config order, whose captured snapshots'
258
+ * `completing` render steps took a median of 50 ms or more: it seems to ignore the test path. For `update` on Windows,
259
+ * stderr ends with one more warning when a baseline it wrote has a path longer than 260 characters: it names each such
260
+ * path and the git setting `core.longpaths`. A finished `update` ends stderr with one more block: a line for each host
261
+ * its stories sent real network requests to, then a line for each host whose remote content they show, each kind
262
+ * sorted by host name, with the count and the first three IDs of the stories that reach it. A story whose snapshot was
263
+ * written or kept counts once however many modes it has, and a broken one counts for nothing. The config's
264
+ * `silenceHosts` leaves both kinds of host out. Only `update` watches requests: `test` never does and prints no such
265
+ * block. The warnings never change the exit code.
266
+ *
267
+ * Any other error, an error that is a bug, stops the run with exit 2 too, after closing the sessions and the browsers,
268
+ * with its stack trace on stderr after the lines emitted so far.
269
+ */
270
+ export declare function runSnapshots(run: SnapshotRun): Promise<SnapshotRunResult>;
271
+ export {};
272
+ //# sourceMappingURL=run-snapshots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-snapshots.d.ts","sourceRoot":"","sources":["../../src/commands/run-snapshots.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAExE,OAAO,KAAK,EAA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