react-doctor 0.9.12-dev.28a1a9f → 0.9.12-dev.3eda608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/active-run-trace-dlIZeEvb.js +18 -0
- package/dist/active-scan-abort-registry-DwG6tSPy.js +28 -0
- package/dist/{build-section-divider-CdnczCsb.js → build-section-divider-I2zZDzJ9.js} +8 -22
- package/dist/{ci-CvrWkFyG.js → ci-DAWNYwqh.js} +12 -11
- package/dist/cli.js +76 -24
- package/dist/{design-C6QoD6j5.js → design-CT-fWB1q.js} +4 -4
- package/dist/{devtools-D8NTVj81.js → devtools-BiC-AP3B.js} +3 -3
- package/dist/{exit-gracefully-dQBRJxyW.js → exit-gracefully-BFTG5jEM.js} +15 -9
- package/dist/get-east-asian-width-Cglw13G7.js +444 -0
- package/dist/{report-error-DspMW6A2.js → handle-error-wVABvSAi.js} +6 -61
- package/dist/index.d.ts +32 -0
- package/dist/index.js +76 -2
- package/dist/{inspect-CEYHtLuK.js → inspect-BimAQ5xM.js} +16 -15
- package/dist/{install-BPQG8X-S.js → install-Oi0h_G7g.js} +9 -8
- package/dist/{install-doctor-script-BZJlaCgz.js → install-doctor-script-02_POH23.js} +6 -441
- package/dist/{install-github-workflow-DQIDvKig.js → install-github-workflow-CDDxuboB.js} +6 -6
- package/dist/{install-react-doctor-C3iiSm4r.js → install-react-doctor-CTsuBvs7.js} +8 -8
- package/dist/{run-scan-app-lYmDIiT4.js → jsx-runtime-KCzhtnA2.js} +280 -2774
- package/dist/{print-branded-header-B594Zejh.js → print-branded-header-Btnndqn7.js} +4 -4
- package/dist/prompt-runtime-scan-url-CkdYtR0M.js +240 -0
- package/dist/{read-object-file-CIVH-Cg-.js → read-object-file-DhRQQnN-.js} +4 -4
- package/dist/{record-metric-CFPfyOEW.js → record-metric-Bca1TzEP.js} +95 -8
- package/dist/report-error-89sVIL94.js +64 -0
- package/dist/{report-workflow-result-GxDOhexG.js → report-workflow-result-CA8lTeDk.js} +5 -5
- package/dist/{resolve-scope-CNV3HRNo.js → resolve-scope-poO8hFkD.js} +6 -6
- package/dist/{rules-C1Nt63By.js → rules-B16IRDyg.js} +6 -6
- package/dist/run-scan-app-NI3PasUA.js +2508 -0
- package/dist/runtime-scan/browser-probe.iife.js +855 -0
- package/dist/runtime-scan-B9Nytu3v.js +770 -0
- package/dist/sanitize-runtime-url-pzQIwyc8.js +76 -0
- package/dist/{scan-D-Y1Qifl.js → scan-DoM4T1ov.js} +10 -22
- package/dist/{should-fail-scan-gate-XdfNPXf9.js → should-fail-scan-gate-CFyk-8U3.js} +12 -111
- package/dist/{should-skip-prompts-DXyhnzjP.js → should-skip-prompts--6z1nvz1.js} +4 -4
- package/dist/should-use-tui-6f8qLHfp.js +25 -0
- package/dist/skills/improve-threejs/SKILL.md +102 -0
- package/dist/skills/performance/SKILL.md +113 -0
- package/dist/skills/react-doctor/SKILL.md +6 -0
- package/dist/{unref-stdin-CwYEtpri.js → telemetry-runtime-AGGMneW6.js} +5 -23
- package/dist/unref-stdin-BKT_s38a.js +12 -0
- package/dist/{version-tT7fsrFN.js → version-Nk1e-_N3.js} +4 -4
- package/dist/{why-4B0HPeQG.js → why-BujUNbke.js} +4 -4
- package/dist/with-run-span-Yaips-em.js +110 -0
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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]="
|
|
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]="902a1dfa-f8be-5f5c-af29-afd3c82dd860")}catch(e){}}();
|
|
3
3
|
import { i as __toESM$1, r as __require, t as __commonJSMin$1 } from "./chunk-ChKA3wi6.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import * as path$1$1 from "node:path";
|
|
@@ -65664,6 +65664,18 @@ const detectPreES2023Target = (directory) => {
|
|
|
65664
65664
|
}
|
|
65665
65665
|
return false;
|
|
65666
65666
|
};
|
|
65667
|
+
const SHADCN_CONFIG_FILE_NAME = "components.json";
|
|
65668
|
+
const detectShadcnUi = (directory) => {
|
|
65669
|
+
if (isFile(path$1$1.join(directory, SHADCN_CONFIG_FILE_NAME))) return true;
|
|
65670
|
+
if (isProjectBoundary(directory)) return false;
|
|
65671
|
+
let ancestorDirectory = path$1$1.dirname(directory);
|
|
65672
|
+
while (ancestorDirectory !== path$1$1.dirname(ancestorDirectory)) {
|
|
65673
|
+
if (isFile(path$1$1.join(ancestorDirectory, SHADCN_CONFIG_FILE_NAME))) return true;
|
|
65674
|
+
if (isProjectBoundary(ancestorDirectory)) return false;
|
|
65675
|
+
ancestorDirectory = path$1$1.dirname(ancestorDirectory);
|
|
65676
|
+
}
|
|
65677
|
+
return false;
|
|
65678
|
+
};
|
|
65667
65679
|
const FRAMEWORK_PACKAGES = {
|
|
65668
65680
|
next: "nextjs",
|
|
65669
65681
|
"@tanstack/react-start": "tanstack-start",
|
|
@@ -66429,6 +66441,29 @@ const getTanStackQueryVersion = (packageJson) => {
|
|
|
66429
66441
|
packageNames: TANSTACK_REACT_QUERY_PACKAGES
|
|
66430
66442
|
});
|
|
66431
66443
|
};
|
|
66444
|
+
const hasAnyDependency = (packageJson, packageNames) => {
|
|
66445
|
+
const allDependencies = {
|
|
66446
|
+
...packageJson.peerDependencies,
|
|
66447
|
+
...packageJson.dependencies,
|
|
66448
|
+
...packageJson.devDependencies,
|
|
66449
|
+
...packageJson.optionalDependencies
|
|
66450
|
+
};
|
|
66451
|
+
return packageNames.some((packageName) => allDependencies[packageName] !== void 0);
|
|
66452
|
+
};
|
|
66453
|
+
const BASE_UI_PACKAGES = ["@base-ui-components/react", "@base-ui/react"];
|
|
66454
|
+
const hasBaseUiDependency = (packageJson) => hasAnyDependency(packageJson, BASE_UI_PACKAGES);
|
|
66455
|
+
const RADIX_UNIFIED_PACKAGE = "radix-ui";
|
|
66456
|
+
const RADIX_PRIMITIVE_PACKAGE_PREFIX = "@radix-ui/react-";
|
|
66457
|
+
const RADIX_NON_PRIMITIVE_PACKAGES = new Set(["@radix-ui/react-icons"]);
|
|
66458
|
+
const hasRadixUiDependency = (packageJson) => {
|
|
66459
|
+
const allDependencies = {
|
|
66460
|
+
...packageJson.peerDependencies,
|
|
66461
|
+
...packageJson.dependencies,
|
|
66462
|
+
...packageJson.devDependencies,
|
|
66463
|
+
...packageJson.optionalDependencies
|
|
66464
|
+
};
|
|
66465
|
+
return Object.keys(allDependencies).some((packageName) => packageName === RADIX_UNIFIED_PACKAGE || packageName.startsWith(RADIX_PRIMITIVE_PACKAGE_PREFIX) && !RADIX_NON_PRIMITIVE_PACKAGES.has(packageName));
|
|
66466
|
+
};
|
|
66432
66467
|
const STYLED_COMPONENTS_PACKAGES = ["styled-components"];
|
|
66433
66468
|
const getStyledComponentsVersion = (packageJson) => {
|
|
66434
66469
|
return getPreferredDependencyVersion({
|
|
@@ -66459,6 +66494,10 @@ const hasI18nDependency = (packageJson) => {
|
|
|
66459
66494
|
};
|
|
66460
66495
|
return I18N_PACKAGES.some((packageName) => allDependencies[packageName] !== void 0);
|
|
66461
66496
|
};
|
|
66497
|
+
const REACT_ARIA_COMPONENT_PACKAGES = ["react-aria-components"];
|
|
66498
|
+
const TANSTACK_TABLE_PACKAGES = ["@tanstack/react-table"];
|
|
66499
|
+
const TANSTACK_VIRTUAL_PACKAGES = ["@tanstack/react-virtual"];
|
|
66500
|
+
const TANSTACK_FORM_PACKAGES = ["@tanstack/react-form"];
|
|
66462
66501
|
const REANIMATED_DEPENDENCY_NAME = "react-native-reanimated";
|
|
66463
66502
|
const MOBX_REACT_PACKAGE_NAME = "mobx-react";
|
|
66464
66503
|
const MOBX_REACT_LITE_PACKAGE_NAME = "mobx-react-lite";
|
|
@@ -66649,6 +66688,13 @@ const evaluateManifestFacts = (facts, packageJson, directory, rootDirectory, roo
|
|
|
66649
66688
|
});
|
|
66650
66689
|
if (styledComponentsVersion && shouldReplaceStyledComponentsVersion(facts.styledComponentsVersion, styledComponentsVersion)) facts.styledComponentsVersion = styledComponentsVersion;
|
|
66651
66690
|
facts.hasI18nLibrary = facts.hasI18nLibrary || hasI18nDependency(packageJson);
|
|
66691
|
+
facts.hasShadcnUi = facts.hasShadcnUi || detectShadcnUi(directory);
|
|
66692
|
+
facts.hasRadixUi = facts.hasRadixUi || hasRadixUiDependency(packageJson);
|
|
66693
|
+
facts.hasBaseUi = facts.hasBaseUi || hasBaseUiDependency(packageJson);
|
|
66694
|
+
facts.hasReactAriaComponents = facts.hasReactAriaComponents || hasAnyDependency(packageJson, REACT_ARIA_COMPONENT_PACKAGES);
|
|
66695
|
+
facts.hasTanstackTable = facts.hasTanstackTable || hasAnyDependency(packageJson, TANSTACK_TABLE_PACKAGES);
|
|
66696
|
+
facts.hasTanstackVirtual = facts.hasTanstackVirtual || hasAnyDependency(packageJson, TANSTACK_VIRTUAL_PACKAGES);
|
|
66697
|
+
facts.hasTanstackForm = facts.hasTanstackForm || hasAnyDependency(packageJson, TANSTACK_FORM_PACKAGES);
|
|
66652
66698
|
for (const packageName of REACT_THREE_FIBER_DEPENDENCY_NAMES) {
|
|
66653
66699
|
const version = resolveCatalogBackedDependencyVersion({
|
|
66654
66700
|
rootDirectory,
|
|
@@ -66751,6 +66797,13 @@ const collectWorkspaceFacts = (rootDirectory, rootPackageJson, { collectReactGro
|
|
|
66751
66797
|
tanstackQueryVersion: null,
|
|
66752
66798
|
styledComponentsVersion: null,
|
|
66753
66799
|
hasI18nLibrary: false,
|
|
66800
|
+
hasShadcnUi: false,
|
|
66801
|
+
hasRadixUi: false,
|
|
66802
|
+
hasBaseUi: false,
|
|
66803
|
+
hasReactAriaComponents: false,
|
|
66804
|
+
hasTanstackTable: false,
|
|
66805
|
+
hasTanstackVirtual: false,
|
|
66806
|
+
hasTanstackForm: false,
|
|
66754
66807
|
hasReactNativeAwarePackage: false,
|
|
66755
66808
|
hasReanimatedAwarePackage: false,
|
|
66756
66809
|
hasSsrDependency: false,
|
|
@@ -67102,6 +67155,12 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
|
|
|
67102
67155
|
remotionVersion: null,
|
|
67103
67156
|
remotionMajorVersion: null,
|
|
67104
67157
|
hasI18nLibrary: false,
|
|
67158
|
+
hasRadixUi: false,
|
|
67159
|
+
hasBaseUi: false,
|
|
67160
|
+
hasReactAriaComponents: false,
|
|
67161
|
+
hasTanstackTable: false,
|
|
67162
|
+
hasTanstackVirtual: false,
|
|
67163
|
+
hasTanstackForm: false,
|
|
67105
67164
|
tanstackQueryVersion: null,
|
|
67106
67165
|
styledComponentsVersion: null,
|
|
67107
67166
|
hasThree: false,
|
|
@@ -67123,6 +67182,7 @@ const discoverProjectWithoutPackageJson = (directory, options) => {
|
|
|
67123
67182
|
shopifyFlashListMajorVersion: null,
|
|
67124
67183
|
hasReanimated: false,
|
|
67125
67184
|
reanimatedVersion: null,
|
|
67185
|
+
hasShadcnUi: detectShadcnUi(directory),
|
|
67126
67186
|
isPreES2023Target: hasOwnTsConfig && detectPreES2023Target(directory),
|
|
67127
67187
|
isStaticExport: false,
|
|
67128
67188
|
sourceFileCount
|
|
@@ -67285,6 +67345,12 @@ const discoverProject = (directory, options = {}) => {
|
|
|
67285
67345
|
hasReactCompilerLintPlugin: detectReactCompilerLintPlugin(directory, packageJson),
|
|
67286
67346
|
hasTanStackQuery: tanstackQueryVersion !== null,
|
|
67287
67347
|
hasI18nLibrary: workspaceFacts.hasI18nLibrary,
|
|
67348
|
+
hasRadixUi: workspaceFacts.hasRadixUi,
|
|
67349
|
+
hasBaseUi: workspaceFacts.hasBaseUi,
|
|
67350
|
+
hasReactAriaComponents: workspaceFacts.hasReactAriaComponents,
|
|
67351
|
+
hasTanstackTable: workspaceFacts.hasTanstackTable,
|
|
67352
|
+
hasTanstackVirtual: workspaceFacts.hasTanstackVirtual,
|
|
67353
|
+
hasTanstackForm: workspaceFacts.hasTanstackForm,
|
|
67288
67354
|
tanstackQueryVersion,
|
|
67289
67355
|
styledComponentsVersion: workspaceFacts.styledComponentsVersion,
|
|
67290
67356
|
valtioVersion,
|
|
@@ -67311,6 +67377,7 @@ const discoverProject = (directory, options = {}) => {
|
|
|
67311
67377
|
shopifyFlashListMajorVersion: shopifyFlashListVersion === null ? null : getLowestDependencyMajor(shopifyFlashListVersion),
|
|
67312
67378
|
hasReanimated,
|
|
67313
67379
|
reanimatedVersion,
|
|
67380
|
+
hasShadcnUi: workspaceFacts.hasShadcnUi,
|
|
67314
67381
|
isPreES2023Target,
|
|
67315
67382
|
isStaticExport: framework === "nextjs" && detectNextjsStaticExport(workspaceFacts.next.sourceDirectory ?? directory),
|
|
67316
67383
|
sourceFileCount
|
|
@@ -71059,6 +71126,13 @@ const buildCapabilities = (project) => {
|
|
|
71059
71126
|
minor: 0
|
|
71060
71127
|
})) capabilities.add("tailwind:4");
|
|
71061
71128
|
}
|
|
71129
|
+
if (project.hasShadcnUi === true) capabilities.add("shadcn");
|
|
71130
|
+
if (project.hasRadixUi === true) capabilities.add("radix-ui");
|
|
71131
|
+
if (project.hasBaseUi === true) capabilities.add("base-ui");
|
|
71132
|
+
if (project.hasReactAriaComponents === true) capabilities.add("react-aria");
|
|
71133
|
+
if (project.hasTanstackTable === true) capabilities.add("tanstack-table");
|
|
71134
|
+
if (project.hasTanstackVirtual === true) capabilities.add("tanstack-virtual");
|
|
71135
|
+
if (project.hasTanstackForm === true) capabilities.add("tanstack-form");
|
|
71062
71136
|
if (project.zodVersion !== null) capabilities.add("zod");
|
|
71063
71137
|
if (project.zodMajorVersion !== null && project.zodMajorVersion >= 4) capabilities.add("zod:4");
|
|
71064
71138
|
if (project.mobxVersion !== void 0 && project.mobxVersion !== null || project.hasMobxReact === true || project.hasMobxReactLite === true || project.hasMobxStateTree === true || project.hasMobxReactObserver === true) capabilities.add("mobx");
|
|
@@ -77882,4 +77956,4 @@ const toJsonReport = (result, options) => buildJsonReport({
|
|
|
77882
77956
|
export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
77883
77957
|
|
|
77884
77958
|
//# sourceMappingURL=index.js.map
|
|
77885
|
-
//# debugId=
|
|
77959
|
+
//# debugId=902a1dfa-f8be-5f5c-af29-afd3c82dd860
|
|
@@ -1,17 +1,18 @@
|
|
|
1
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]="
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import { a as
|
|
13
|
-
import { a as
|
|
14
|
-
import { t as
|
|
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]="4c8c947d-a41b-52b9-8281-2b91ee76fe54")}catch(e){}}();
|
|
3
|
+
import { An as gen, At as discoverSupportedSubprojects, Bt as getDiffInfo, Cr as messageFromUnknown, F as STAGED_FILES_TEMP_DIR_PREFIX, Fn as provide$1, Gn as provide, H as isDebugFlagEnabled, I as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, Jt as isPathInsideDirectory, K as isCiOrCodingAgentEnvironment, Kt as highlighter, Lt as getBaselineDiffPlan, Pt as findLegacyConfig, Rn as runPromise, Rt as getChangedLineRanges, Sr as isPlainObject, T as METRIC, Wt as hasSupportedFrameworkOrLibrary, X as Git, _ as VERSION, _r as STAGED_FILES_PROJECT_CONFIG_FILENAMES, br as isErrnoException, er as CANONICAL_GITHUB_URL, f as setJsonReportDirectory, fn as resolveScanTarget, g as writeJsonReport, h as writeJsonErrorReport, ht as buildJsonReport, in as mapWithConcurrency, kt as detectAiTrainingEnvironment, n as recordDistribution, nn as listWorkspacePackages, p as setJsonReportMode, q as isCodingAgentEnvironment, sn as remainingDeadlineBudgetMs, t as recordCount, u as enableJsonMode, ut as StagedFiles, yn as toRelativePath, z as CliInputError } from "./record-metric-Bca1TzEP.js";
|
|
4
|
+
import { n as shutdownTelemetry, r as isExpectedUserError } from "./telemetry-runtime-AGGMneW6.js";
|
|
5
|
+
import { r as flushSentry } from "./build-section-divider-I2zZDzJ9.js";
|
|
6
|
+
import { n as handleUserError, t as handleError } from "./handle-error-wVABvSAi.js";
|
|
7
|
+
import { t as reportErrorToSentry } from "./report-error-89sVIL94.js";
|
|
8
|
+
import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-02_POH23.js";
|
|
9
|
+
import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-CDDxuboB.js";
|
|
10
|
+
import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-poO8hFkD.js";
|
|
11
|
+
import { t as shouldSkipPrompts } from "./should-skip-prompts--6z1nvz1.js";
|
|
12
|
+
import { A as resolveMergeBaseRef, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, I as printDiagnosticsDump, O as createInvocationInspect, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, V as buildEmptyReportMessage, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, i as validateModeFlags, j as printHeadlessReport, k as inspect, l as buildCodeFrame, m as resolveProjectRelativeDirectory, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as filterDiagnosticsByCategories } from "./should-fail-scan-gate-CFyk-8U3.js";
|
|
13
|
+
import { a as recordGate, i as readPreference, o as runMigrations, p as SETUP_HINT_EVENT, r as isGatePending, s as writePreference, u as HANDOFF_TARGET_PREFERENCE_ID } from "./report-workflow-result-CA8lTeDk.js";
|
|
14
|
+
import { a as askUpgradeActionVersion, c as recordCiPromptDecision, i as installReactDoctorAgentHooks, l as hasHandledActionUpgrade, o as askAddToGitHubActions, r as findAgentsWithOutdatedReactDoctorHooks, s as hasHandledCiPrompt, t as getSkillSourceDirectory, u as recordActionUpgradeDecision } from "./install-react-doctor-CTsuBvs7.js";
|
|
15
|
+
import { t as readObjectFile } from "./read-object-file-DhRQQnN-.js";
|
|
15
16
|
import * as path$1 from "node:path";
|
|
16
17
|
import * as fs$1 from "node:fs";
|
|
17
18
|
import { tmpdir } from "node:os";
|
|
@@ -1440,5 +1441,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect") =>
|
|
|
1440
1441
|
//#endregion
|
|
1441
1442
|
export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
|
|
1442
1443
|
|
|
1443
|
-
//# sourceMappingURL=inspect-
|
|
1444
|
-
//# debugId=
|
|
1444
|
+
//# sourceMappingURL=inspect-BimAQ5xM.js.map
|
|
1445
|
+
//# debugId=4c8c947d-a41b-52b9-8281-2b91ee76fe54
|
|
@@ -1,10 +1,11 @@
|
|
|
1
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]="
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
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]="74de7320-74f9-5344-a57d-489b673f1e5b")}catch(e){}}();
|
|
3
|
+
import { T as METRIC, t as recordCount, zn as runSync } from "./record-metric-Bca1TzEP.js";
|
|
4
|
+
import { r as isExpectedUserError } from "./telemetry-runtime-AGGMneW6.js";
|
|
5
|
+
import { n as handleUserError, t as handleError } from "./handle-error-wVABvSAi.js";
|
|
6
|
+
import { t as reportErrorToSentry } from "./report-error-89sVIL94.js";
|
|
7
|
+
import { t as printBrandedHeader } from "./print-branded-header-Btnndqn7.js";
|
|
8
|
+
import { n as runInstallReactDoctor } from "./install-react-doctor-CTsuBvs7.js";
|
|
8
9
|
//#region src/cli/commands/install.ts
|
|
9
10
|
const installAction = async (options, command) => {
|
|
10
11
|
recordCount(METRIC.cliInvoked, 1, { command: "install" });
|
|
@@ -28,5 +29,5 @@ const installAction = async (options, command) => {
|
|
|
28
29
|
//#endregion
|
|
29
30
|
export { installAction };
|
|
30
31
|
|
|
31
|
-
//# sourceMappingURL=install-
|
|
32
|
-
//# debugId=
|
|
32
|
+
//# sourceMappingURL=install-Oi0h_G7g.js.map
|
|
33
|
+
//# debugId=74de7320-74f9-5344-a57d-489b673f1e5b
|