@visual-check/cli 0.2.1 → 0.2.3

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 (95) hide show
  1. package/dist/affected-stories/affected-stories.d.ts +3 -0
  2. package/dist/affected-stories/affected-stories.d.ts.map +1 -1
  3. package/dist/affected-stories/affected-stories.js +15 -1
  4. package/dist/affected-stories/affected-stories.js.map +1 -1
  5. package/dist/affected-stories/angular-builder.d.ts +33 -0
  6. package/dist/affected-stories/angular-builder.d.ts.map +1 -0
  7. package/dist/affected-stories/angular-builder.js +168 -0
  8. package/dist/affected-stories/angular-builder.js.map +1 -0
  9. package/dist/affected-stories/storybook-rules.d.ts +10 -2
  10. package/dist/affected-stories/storybook-rules.d.ts.map +1 -1
  11. package/dist/affected-stories/storybook-rules.js +18 -2
  12. package/dist/affected-stories/storybook-rules.js.map +1 -1
  13. package/dist/capture/capture-session.d.ts +26 -2
  14. package/dist/capture/capture-session.d.ts.map +1 -1
  15. package/dist/capture/capture-session.js +22 -5
  16. package/dist/capture/capture-session.js.map +1 -1
  17. package/dist/capture/clock-and-random.d.ts +39 -0
  18. package/dist/capture/clock-and-random.d.ts.map +1 -0
  19. package/dist/capture/clock-and-random.js +74 -0
  20. package/dist/capture/clock-and-random.js.map +1 -0
  21. package/dist/capture/driver/cdp/cdp-page.d.ts +5 -0
  22. package/dist/capture/driver/cdp/cdp-page.d.ts.map +1 -1
  23. package/dist/capture/driver/cdp/cdp-page.js +107 -17
  24. package/dist/capture/driver/cdp/cdp-page.js.map +1 -1
  25. package/dist/commands/capture-settings.d.ts +1 -1
  26. package/dist/commands/capture-settings.d.ts.map +1 -1
  27. package/dist/commands/capture-settings.js +2 -0
  28. package/dist/commands/capture-settings.js.map +1 -1
  29. package/dist/commands/network-warning.d.ts.map +1 -1
  30. package/dist/commands/network-warning.js +2 -1
  31. package/dist/commands/network-warning.js.map +1 -1
  32. package/dist/commands/run-cli.d.ts +3 -3
  33. package/dist/commands/run-cli.d.ts.map +1 -1
  34. package/dist/commands/run-cli.js +2 -2
  35. package/dist/commands/run-cli.js.map +1 -1
  36. package/dist/commands/snapshot-result.d.ts +3 -3
  37. package/dist/commands/snapshot-result.d.ts.map +1 -1
  38. package/dist/commands/snapshot-result.js +6 -4
  39. package/dist/commands/snapshot-result.js.map +1 -1
  40. package/dist/config/checks.d.ts +11 -0
  41. package/dist/config/checks.d.ts.map +1 -1
  42. package/dist/config/checks.js +24 -0
  43. package/dist/config/checks.js.map +1 -1
  44. package/dist/config/define-config.d.ts +12 -0
  45. package/dist/config/define-config.d.ts.map +1 -1
  46. package/dist/config/define-config.js.map +1 -1
  47. package/dist/config/resolve-config.d.ts +8 -0
  48. package/dist/config/resolve-config.d.ts.map +1 -1
  49. package/dist/config/resolve-config.js +16 -3
  50. package/dist/config/resolve-config.js.map +1 -1
  51. package/dist/config/story-options.d.ts +10 -0
  52. package/dist/config/story-options.d.ts.map +1 -1
  53. package/dist/config/story-options.js +3 -1
  54. package/dist/config/story-options.js.map +1 -1
  55. package/dist/config/validate-config.d.ts.map +1 -1
  56. package/dist/config/validate-config.js +3 -1
  57. package/dist/config/validate-config.js.map +1 -1
  58. package/dist/init/addon-question.d.ts +0 -4
  59. package/dist/init/addon-question.d.ts.map +1 -1
  60. package/dist/init/addon-question.js +1 -2
  61. package/dist/init/addon-question.js.map +1 -1
  62. package/dist/init/existing-config.d.ts.map +1 -1
  63. package/dist/init/existing-config.js +7 -6
  64. package/dist/init/existing-config.js.map +1 -1
  65. package/dist/init/install.d.ts +5 -3
  66. package/dist/init/install.d.ts.map +1 -1
  67. package/dist/init/install.js +8 -6
  68. package/dist/init/install.js.map +1 -1
  69. package/dist/init/questions.d.ts +5 -1
  70. package/dist/init/questions.d.ts.map +1 -1
  71. package/dist/init/questions.js +2 -2
  72. package/dist/init/questions.js.map +1 -1
  73. package/dist/init/run-init.d.ts +5 -5
  74. package/dist/init/run-init.d.ts.map +1 -1
  75. package/dist/init/run-init.js +20 -18
  76. package/dist/init/run-init.js.map +1 -1
  77. package/dist/init/setup-files.d.ts +14 -4
  78. package/dist/init/setup-files.d.ts.map +1 -1
  79. package/dist/init/setup-files.js +19 -7
  80. package/dist/init/setup-files.js.map +1 -1
  81. package/dist/init/storybook-start.d.ts +19 -0
  82. package/dist/init/storybook-start.d.ts.map +1 -1
  83. package/dist/init/storybook-start.js +9 -2
  84. package/dist/init/storybook-start.js.map +1 -1
  85. package/dist/init/unfollowed-imports.d.ts +91 -0
  86. package/dist/init/unfollowed-imports.d.ts.map +1 -0
  87. package/dist/init/unfollowed-imports.js +223 -0
  88. package/dist/init/unfollowed-imports.js.map +1 -0
  89. package/dist/report/report-document.d.ts +3 -3
  90. package/package.json +3 -3
  91. package/skill/SKILL.md +1 -1
  92. package/dist/init/unlisted-dependencies.d.ts +0 -75
  93. package/dist/init/unlisted-dependencies.d.ts.map +0 -1
  94. package/dist/init/unlisted-dependencies.js +0 -142
  95. package/dist/init/unlisted-dependencies.js.map +0 -1
@@ -1,75 +0,0 @@
1
- /**
2
- * A package that code imports and `package.json` doesn't list.
3
- */
4
- export interface UnlistedDependency {
5
- /**
6
- * The package's name.
7
- */
8
- name: string;
9
- /**
10
- * The files that import it, relative to the project root.
11
- */
12
- paths: string[];
13
- }
14
- /**
15
- * Finds the unlisted dependencies of the project at `root`. It throws when Fallow can't run.
16
- *
17
- * @public
18
- */
19
- export type FindUnlistedDependencies = (root: string) => Promise<UnlistedDependency[]>;
20
- /**
21
- * Reads the unlisted dependencies from the document `fallow dead-code --format json` prints.
22
- *
23
- * @throws {Error} When the document has no `unlisted_dependencies` array, or an entry is malformed.
24
- */
25
- export declare function unlistedDependenciesOf(document: unknown): UnlistedDependency[];
26
- /**
27
- * What `execFile` rejects with when the process exits with a code, is killed or can't start.
28
- */
29
- interface ExecFailure {
30
- /**
31
- * What the process wrote to stdout.
32
- */
33
- stdout?: string;
34
- /**
35
- * What the process wrote to stderr.
36
- */
37
- stderr?: string;
38
- /**
39
- * The exit code, or a code such as `ENOENT` when the process didn't start.
40
- */
41
- code?: number | string;
42
- /**
43
- * Whether the timeout killed the process.
44
- */
45
- killed?: boolean;
46
- /**
47
- * The failure's message.
48
- */
49
- message?: string;
50
- }
51
- /**
52
- * Words why a failed run failed: the timeout, Fallow's first line of stderr, or its exit code.
53
- */
54
- export declare function fallowFailureOf({ stderr, code, killed, message }: ExecFailure): string;
55
- /**
56
- * Asks Fallow for the packages the project's code imports that `package.json` doesn't list. It runs with `--no-cache`,
57
- * so Fallow writes no `.fallow/` folder into the project.
58
- *
59
- * @throws {Error} With Fallow's own error message when it prints one as JSON, else with its first line of stderr, its
60
- * exit code or the timeout when its output isn't JSON.
61
- *
62
- * @public
63
- */
64
- export declare const findUnlistedDependencies: FindUnlistedDependencies;
65
- /**
66
- * Words the warning for unlisted dependencies, or gives `undefined` when there are none. It names at most three
67
- * packages, and counts the rest.
68
- */
69
- export declare function unlistedDependenciesWarningOf(unlisted: readonly UnlistedDependency[]): string | undefined;
70
- /**
71
- * Words the warning for a Fallow that couldn't run.
72
- */
73
- export declare function fallowFailureWarningOf(error: unknown): string;
74
- export {};
75
- //# sourceMappingURL=unlisted-dependencies.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unlisted-dependencies.d.ts","sourceRoot":"","sources":["../../src/init/unlisted-dependencies.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAA;CAChB;AAED;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,kBAAkB,EAAE,CAAC,CAAA;AAmCtF;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,kBAAkB,EAAE,CAM9E;AAED;;GAEG;AACH,UAAU,WAAW;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAgBD;;GAEG;AACH,wBAAgB,eAAe,CAAC,EAAE,MAAW,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,WAAW,GAAG,MAAM,CAQ3F;AAuCD;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,EAAE,wBAStC,CAAA;AAmBD;;;GAGG;AACH,wBAAgB,6BAA6B,CAAC,QAAQ,EAAE,SAAS,kBAAkB,EAAE,GAAG,MAAM,GAAG,SAAS,CAoBzG;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAI7D"}
@@ -1,142 +0,0 @@
1
- import { execFile } from 'node:child_process';
2
- import { createRequire } from 'node:module';
3
- import { promisify } from 'node:util';
4
- import { listOf } from './list-of.js';
5
- import { isJsonObject } from './package-manager.js';
6
- /**
7
- * `execFile` that returns a promise.
8
- */
9
- const execFileAsync = promisify(execFile);
10
- /**
11
- * The most output Fallow may write, in bytes.
12
- */
13
- const maxOutputBytes = 256 * 1024 * 1024;
14
- /**
15
- * The longest Fallow may run, in milliseconds.
16
- */
17
- const timeoutMs = 120_000;
18
- /**
19
- * Reads one entry of Fallow's `unlisted_dependencies` array. An entry that isn't a package name with at least one
20
- * importing file throws.
21
- */
22
- function unlistedDependencyOf(entry) {
23
- if (!isJsonObject(entry) || typeof entry.package_name !== 'string' || !Array.isArray(entry.imported_from)) {
24
- throw new Error("Fallow's output holds an unlisted dependency in a shape visual-check can't read.");
25
- }
26
- const paths = entry.imported_from.map((site) => (isJsonObject(site) ? site.path : undefined));
27
- if (paths.length === 0 || !paths.every((path) => typeof path === 'string')) {
28
- throw new Error("Fallow's output holds an unlisted dependency without the files that import it.");
29
- }
30
- return { name: entry.package_name, paths };
31
- }
32
- /**
33
- * Reads the unlisted dependencies from the document `fallow dead-code --format json` prints.
34
- *
35
- * @throws {Error} When the document has no `unlisted_dependencies` array, or an entry is malformed.
36
- */
37
- export function unlistedDependenciesOf(document) {
38
- if (!isJsonObject(document) || !Array.isArray(document.unlisted_dependencies)) {
39
- throw new Error("Fallow's output has no unlisted_dependencies list.");
40
- }
41
- return document.unlisted_dependencies.map(unlistedDependencyOf);
42
- }
43
- /**
44
- * Words why a failed run failed: the timeout, Fallow's first line of stderr, or its exit code.
45
- */
46
- export function fallowFailureOf({ stderr = '', code, killed, message }) {
47
- if (killed === true) {
48
- return `Fallow didn't finish within ${timeoutMs / 1000} s.`;
49
- }
50
- const firstLine = stderr.split('\n').find((line) => line.trim() !== '');
51
- return firstLine?.trim() ?? (typeof code === 'number' ? `exit code ${code}` : (message ?? 'it failed'));
52
- }
53
- /**
54
- * Runs Fallow's dead code check for unlisted dependencies. Fallow exits 1 when it finds anything, so a failing exit
55
- * still gives its output.
56
- */
57
- async function runFallow(root) {
58
- const bin = createRequire(import.meta.url).resolve('fallow/bin/fallow');
59
- const args = [bin, 'dead-code', '--unlisted-deps', '--format', 'json', '--no-cache', '--root', root];
60
- try {
61
- const { stdout } = await execFileAsync(process.execPath, args, {
62
- cwd: root,
63
- maxBuffer: maxOutputBytes,
64
- timeout: timeoutMs,
65
- windowsHide: true,
66
- });
67
- return { stdout, failure: undefined };
68
- }
69
- catch (error) {
70
- const failure = error;
71
- return { stdout: failure.stdout ?? '', failure: fallowFailureOf(failure) };
72
- }
73
- }
74
- /**
75
- * Parses what Fallow wrote to stdout.
76
- *
77
- * @throws {Error} With `failure` when the text isn't JSON, or with a generic message when Fallow gave no failure.
78
- */
79
- function documentOf(stdout, failure) {
80
- try {
81
- return JSON.parse(stdout);
82
- }
83
- catch {
84
- throw new Error(failure ?? "Fallow's output isn't JSON.");
85
- }
86
- }
87
- /**
88
- * Asks Fallow for the packages the project's code imports that `package.json` doesn't list. It runs with `--no-cache`,
89
- * so Fallow writes no `.fallow/` folder into the project.
90
- *
91
- * @throws {Error} With Fallow's own error message when it prints one as JSON, else with its first line of stderr, its
92
- * exit code or the timeout when its output isn't JSON.
93
- *
94
- * @public
95
- */
96
- export const findUnlistedDependencies = async (root) => {
97
- const { stdout, failure } = await runFallow(root);
98
- const document = documentOf(stdout, failure);
99
- if (isJsonObject(document) && document.error === true && typeof document.message === 'string') {
100
- throw new Error(document.message);
101
- }
102
- return unlistedDependenciesOf(document);
103
- };
104
- /**
105
- * How many unlisted packages the warning names before it counts the rest.
106
- */
107
- const namedPackageCount = 3;
108
- /**
109
- * Names the packages for the warning: up to three in full, `a, b and c`, and past three the first three and how many
110
- * more, `a, b, c and 2 more`.
111
- */
112
- function packageNamesOf(names) {
113
- if (names.length <= namedPackageCount) {
114
- return listOf(names);
115
- }
116
- return `${names.slice(0, namedPackageCount).join(', ')} and ${names.length - namedPackageCount} more`;
117
- }
118
- /**
119
- * Words the warning for unlisted dependencies, or gives `undefined` when there are none. It names at most three
120
- * packages, and counts the rest.
121
- */
122
- export function unlistedDependenciesWarningOf(unlisted) {
123
- if (unlisted.length === 0) {
124
- return undefined;
125
- }
126
- const [first] = unlisted;
127
- if (unlisted.length === 1 && first !== undefined) {
128
- return (`Warning: package.json doesn't list ${first.name}, imported in ${first.paths[0]}. ` +
129
- "visual-check can't tell which stories it affects.");
130
- }
131
- const names = packageNamesOf(unlisted.map(({ name }) => name));
132
- return (`Warning: package.json doesn't list ${names}, which your code imports. ` +
133
- "visual-check can't tell which stories they affect.");
134
- }
135
- /**
136
- * Words the warning for a Fallow that couldn't run.
137
- */
138
- export function fallowFailureWarningOf(error) {
139
- const message = error instanceof Error ? error.message : String(error);
140
- return `Warning: Fallow couldn't check the imports: ${message}`;
141
- }
142
- //# sourceMappingURL=unlisted-dependencies.js.map
@@ -1 +0,0 @@
1
-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