react-doctor 0.9.7-dev.13138a4 → 0.9.7

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.
@@ -1,14 +0,0 @@
1
-
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="063c93c0-616b-592b-9c8a-0c109a46ab85")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-DBJtHure.js";
4
- //#region src/cli/commands/design.ts
5
- const designAction = async (directory, flags) => inspectAction(directory, {
6
- ...flags,
7
- design: true,
8
- lint: flags.lint ?? true
9
- }, "design");
10
- //#endregion
11
- export { designAction };
12
-
13
- //# sourceMappingURL=design-SGX69YQq.js.map
14
- //# debugId=063c93c0-616b-592b-9c8a-0c109a46ab85
@@ -1,47 +0,0 @@
1
-
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f647e4a3-1ab2-5bf4-a24b-ce81a61d2ade")}catch(e){}}();
3
- import { f as writeJsonErrorReport, l as isJsonModeActive } from "./record-metric-CtlQma6P.js";
4
- import { i as flushSentry, n as buildFooterLinkLines, r as activeScanAbortRegistry, t as buildSectionDivider } from "./build-section-divider-QykRnrlR.js";
5
- //#region src/cli/utils/active-tui-renderer.ts
6
- let activeTuiRenderer = null;
7
- const registerActiveTuiRenderer = (renderer) => {
8
- activeTuiRenderer = renderer;
9
- return () => {
10
- if (activeTuiRenderer === renderer) activeTuiRenderer = null;
11
- };
12
- };
13
- const preserveActiveTuiRendererOutput = () => {
14
- const renderer = activeTuiRenderer;
15
- activeTuiRenderer = null;
16
- renderer?.preserveOutput();
17
- };
18
- //#endregion
19
- //#region src/cli/utils/exit-gracefully.ts
20
- let didStartExiting = false;
21
- const exitGracefully = () => {
22
- if (didStartExiting) return process.exit(130);
23
- didStartExiting = true;
24
- try {
25
- activeScanAbortRegistry.abortAll();
26
- } catch {}
27
- try {
28
- preserveActiveTuiRendererOutput();
29
- } catch {}
30
- try {
31
- if (isJsonModeActive()) writeJsonErrorReport(/* @__PURE__ */ new Error("Scan cancelled by user (SIGINT/SIGTERM)"));
32
- else console.log([
33
- "",
34
- "Cancelled.",
35
- "",
36
- buildSectionDivider(),
37
- "",
38
- ...buildFooterLinkLines({ shareUrl: null })
39
- ].join("\n"));
40
- } catch {}
41
- flushSentry().finally(() => process.exit(130));
42
- };
43
- //#endregion
44
- export { registerActiveTuiRenderer as n, exitGracefully as t };
45
-
46
- //# sourceMappingURL=exit-gracefully-CddufLS0.js.map
47
- //# debugId=f647e4a3-1ab2-5bf4-a24b-ce81a61d2ade