react-doctor 0.9.17 → 0.9.18-dev.3fd747e
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 +16 -72
- package/dist/{build-section-divider-BpE5NDDX.js → build-section-divider-DteFOgr8.js} +5 -5
- package/dist/{ci-DNtt9X6S.js → ci-CEeHwGbr.js} +24 -14
- package/dist/cli.js +41 -32
- package/dist/{constants-DHn5rUeg.js → constants-ClqojoT2.js} +8 -5
- package/dist/constants-DNh19qg9.js +2 -2
- package/dist/{design-u2afuNir.js → design-DIL8W3e2.js} +4 -4
- package/dist/duplicate-jsx-worker.js +3 -3
- package/dist/{exit-gracefully-DlI5QxjC.js → exit-gracefully-WjxQroMc.js} +6 -6
- package/dist/{handle-error-ChH7NTTt.js → handle-error-_WIbeU-P.js} +6 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +334 -58
- package/dist/{inspect-BEMrqB0D.js → inspect-BdRj2K0Y.js} +31 -23
- package/dist/{install-rmw4kZuQ.js → install-CKIoGbKq.js} +10 -10
- package/dist/{install-doctor-script-D5XbyGON.js → install-doctor-script-CEebcCry.js} +10 -6
- package/dist/{install-github-workflow-bsR3MAJ4.js → install-github-workflow-CVwxLEoV.js} +22 -8
- package/dist/{install-react-doctor-CEZd9boZ.js → install-react-doctor-DML_KUwD.js} +9 -9
- package/dist/{is-cache-globally-disabled-DDlh_f1u.js → is-cache-globally-disabled-DnyI809X.js} +4 -4
- package/dist/{jsx-runtime-RhgTgCyJ.js → jsx-runtime-B5RFIrms.js} +6 -6
- package/dist/{print-branded-header-DUpSxfB1.js → print-branded-header-L8kiO6YJ.js} +4 -4
- package/dist/{prompt-runtime-scan-url-ClnyA-kD.js → prompt-runtime-scan-url-DZ5UhiiZ.js} +5 -5
- package/dist/{read-object-file-BmbbCthv.js → read-object-file-CsD5EhTC.js} +4 -4
- package/dist/{record-metric-BNXhF2A-.js → record-metric-D3jJa6fT.js} +440 -84
- package/dist/{report-error-BaQdqDfo.js → report-error-CPf4AzIS.js} +6 -6
- package/dist/{report-workflow-result-keduRDKN.js → report-workflow-result-xPBYzRmI.js} +8 -7
- package/dist/{should-fail-scan-gate-DobEL_kS.js → resolve-scan-exit-code-BFPL1YAM.js} +38 -41
- package/dist/{resolve-scope-_R9av4PA.js → resolve-scope-l9Y56cqd.js} +10 -9
- package/dist/{rules-mbLozamL.js → rules-CG7N96dT.js} +7 -7
- package/dist/{run-scan-app-yG6ELpUl.js → run-scan-app-BHQYqxvu.js} +33 -23
- package/dist/{runtime-scan-DNhYo683.js → runtime-scan-DHOoet2z.js} +10 -10
- package/dist/{sanitize-runtime-url-DM_qbPGY.js → sanitize-runtime-url-DZ8mfOqG.js} +4 -4
- package/dist/{scan-CAAixMS9.js → scan-ByNGko5_.js} +14 -13
- package/dist/{should-skip-prompts-CGTEgq2F.js → should-skip-prompts-C7QWSlkj.js} +4 -4
- package/dist/{should-use-tui-DG2l-Td3.js → should-use-tui-9-X-WTbV.js} +4 -4
- package/dist/skills/react-doctor/SKILL.md +19 -8
- package/dist/skills/react-doctor/references/explain.md +5 -0
- package/dist/{start-scan-preamble-BPz3nzCQ.js → start-scan-preamble-DgEn5GlY.js} +5 -5
- package/dist/start-scan-preamble.js +3 -3
- package/dist/{telemetry-runtime-CUn1--rM.js → telemetry-runtime-CEaDU-Xr.js} +7 -7
- package/dist/{version-CbFBCUY9.js → version-BsnHuJeP.js} +5 -5
- package/dist/{why-BIX2FUbP.js → why-BFy88vRS.js} +4 -4
- package/dist/{with-run-span-BsS7dU6e.js → with-run-span-o7hsCZyT.js} +6 -6
- package/package.json +4 -4
|
@@ -1,19 +1,19 @@
|
|
|
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 { N as discardPrefetchedGitCommands, T as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, lt as CANONICAL_GITHUB_URL, u as METRIC, w as STAGED_FILES_TEMP_DIR_PREFIX, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES } from "./constants-
|
|
4
|
-
import { At as
|
|
5
|
-
import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-
|
|
6
|
-
import { n as handleUserError, t as handleError } from "./handle-error-
|
|
7
|
-
import { t as reportErrorToSentry } from "./report-error-
|
|
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]="243a0c93-ecde-5087-a411-57fdf8ea0907")}catch(e){}}();
|
|
3
|
+
import { N as discardPrefetchedGitCommands, T as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, lt as CANONICAL_GITHUB_URL, u as METRIC, w as STAGED_FILES_TEMP_DIR_PREFIX, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES } from "./constants-ClqojoT2.js";
|
|
4
|
+
import { At as hasSupportedFrameworkOrLibrary, Bn as messageFromUnknown, Ct as getChangedLineRanges, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Gn as isPlainObject, K as StagedFiles, Mt as highlighter, S as isDebugFlagEnabled, St as getBaselineDiffPlan, Tt as getDiffInfo, Un as isErrnoException, Ut as mapWithConcurrency, Vt as listWorkspacePackages, Xt as resolveScanTarget, Z as buildJsonReport, _ as VERSION, f as setJsonReportDirectory, ft as detectAiTrainingEnvironment, g as writeJsonReport, gn as gen, h as writeJsonErrorReport, j as Git, jn as provide, mn as decodeUnknownSync, n as recordDistribution, p as setJsonReportMode, pn as JsonReport, pt as discoverSupportedSubprojects, qt as remainingDeadlineBudgetMs, rn as toRelativePath, t as recordCount, u as enableJsonMode, vt as findLegacyConfig, wn as runPromise, xn as provide$1, y as CliInputError } from "./record-metric-D3jJa6fT.js";
|
|
5
|
+
import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-CEaDU-Xr.js";
|
|
6
|
+
import { n as handleUserError, t as handleError } from "./handle-error-_WIbeU-P.js";
|
|
7
|
+
import { t as reportErrorToSentry } from "./report-error-CPf4AzIS.js";
|
|
8
8
|
import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
|
|
9
|
-
import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-
|
|
10
|
-
import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-
|
|
11
|
-
import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-
|
|
12
|
-
import { t as shouldSkipPrompts } from "./should-skip-prompts-
|
|
13
|
-
import { A as createInvocationInspect, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, M as resolveMergeBaseRef, N as printHeadlessReport, O as collectProjectSourceFiles, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, W as resolveInvocationOxlintConcurrency, _ as retryMissingProjectScores, a as validateModeFlags, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, g as resolveProjectRelativeDirectory, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, j as inspect, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, s as projectManifestChanged, t as
|
|
14
|
-
import { a as recordGate, g as loadAgentInstall, 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-
|
|
15
|
-
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-
|
|
16
|
-
import { t as readObjectFile } from "./read-object-file-
|
|
9
|
+
import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-CEebcCry.js";
|
|
10
|
+
import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-CVwxLEoV.js";
|
|
11
|
+
import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-l9Y56cqd.js";
|
|
12
|
+
import { t as shouldSkipPrompts } from "./should-skip-prompts-C7QWSlkj.js";
|
|
13
|
+
import { A as createInvocationInspect, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, M as resolveMergeBaseRef, N as printHeadlessReport, O as collectProjectSourceFiles, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, W as resolveInvocationOxlintConcurrency, _ as retryMissingProjectScores, a as validateModeFlags, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, g as resolveProjectRelativeDirectory, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, j as inspect, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, s as projectManifestChanged, t as resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-BFPL1YAM.js";
|
|
14
|
+
import { a as recordGate, g as loadAgentInstall, 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-xPBYzRmI.js";
|
|
15
|
+
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-DML_KUwD.js";
|
|
16
|
+
import { t as readObjectFile } from "./read-object-file-CsD5EhTC.js";
|
|
17
17
|
import * as fs$1 from "node:fs";
|
|
18
18
|
import fs from "node:fs";
|
|
19
19
|
import * as path$1 from "node:path";
|
|
@@ -768,11 +768,14 @@ const finalizeCliScans = (input) => {
|
|
|
768
768
|
baseline: outcome.baseline,
|
|
769
769
|
baselineDegraded: outcome.baselineDegraded
|
|
770
770
|
}));
|
|
771
|
-
|
|
771
|
+
const exitCode = resolveScanExitCode({
|
|
772
772
|
scans: input.completedScans,
|
|
773
773
|
blockingLevel: resolveBlockingLevel(input.flags, input.userConfig),
|
|
774
|
-
diagnosticsAreGateExempt: input.isScoreOnly || outcome.baselineDegraded
|
|
775
|
-
|
|
774
|
+
diagnosticsAreGateExempt: input.isScoreOnly || outcome.baselineDegraded,
|
|
775
|
+
warningExitCode: input.flags.warningExitCode
|
|
776
|
+
});
|
|
777
|
+
if (input.flags.warningExitCode !== void 0) recordCount(METRIC.scanWarningExitCodeConfigured);
|
|
778
|
+
if (exitCode !== 0) process.exitCode = exitCode;
|
|
776
779
|
};
|
|
777
780
|
//#endregion
|
|
778
781
|
//#region src/cli/utils/get-staged-files.ts
|
|
@@ -952,6 +955,7 @@ const scanStagedProject = async ({ input, projectRun, snapshotDirectory, stagedL
|
|
|
952
955
|
includePaths: [...includePaths],
|
|
953
956
|
configOverride: projectScan.projectConfig,
|
|
954
957
|
configSourceDirectory: projectScan.projectConfigSourceDirectory ?? void 0,
|
|
958
|
+
contextual: resolveScope(input.flags, input.scanTarget.userConfig).scope === "contextual",
|
|
955
959
|
changedLineRanges: stagedLineRanges === null ? void 0 : resolveProjectChangedLineRanges(rootDirectory, projectScan.scanDirectory, stagedLineRanges),
|
|
956
960
|
suppressRendering: isMultiProject,
|
|
957
961
|
concurrentScan: isMultiProject
|
|
@@ -1083,10 +1087,12 @@ const runStagedInspect = async (input) => {
|
|
|
1083
1087
|
if (unselectedStagedFileCount > 0) cliLogger.dim(`${unselectedStagedFileCount} more staged file${unselectedStagedFileCount === 1 ? "" : "s"} outside the selected projects.`);
|
|
1084
1088
|
cliLogger.break();
|
|
1085
1089
|
}
|
|
1086
|
-
const
|
|
1090
|
+
const stagedScope = resolveScope(flags, scanTarget.userConfig).scope;
|
|
1091
|
+
const stagedWantsLines = stagedScope === "lines" || stagedScope === "contextual";
|
|
1087
1092
|
const stagedLineRanges = stagedWantsLines ? await getChangedLineRanges({
|
|
1088
1093
|
directory: resolvedDirectory,
|
|
1089
1094
|
cached: true,
|
|
1095
|
+
includeDeletions: stagedScope === "contextual",
|
|
1090
1096
|
files: selectedStagedFiles
|
|
1091
1097
|
}) : null;
|
|
1092
1098
|
if (stagedWantsLines && stagedLineRanges === null && !input.isQuiet) {
|
|
@@ -1168,7 +1174,8 @@ const buildProjectInspectOptions = ({ context, projectScan, projectScanPlan, own
|
|
|
1168
1174
|
baseFiles: projectScanPlan.projectBaselineBaseFiles,
|
|
1169
1175
|
headFiles: projectScanPlan.projectBaselineHeadFiles
|
|
1170
1176
|
} : void 0,
|
|
1171
|
-
|
|
1177
|
+
contextual: context.scope === "contextual",
|
|
1178
|
+
changedLineRanges: (context.scope === "lines" || context.scope === "contextual") && context.changedLineRanges !== null ? resolveProjectChangedLineRanges(context.resolvedDirectory, scanDirectory, context.changedLineRanges) : void 0,
|
|
1172
1179
|
supplyChainManifestChanged: projectScanPlan.supplyChainManifestChanged
|
|
1173
1180
|
};
|
|
1174
1181
|
};
|
|
@@ -1366,15 +1373,16 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
|
|
|
1366
1373
|
const comparisonPlanRef = baselineRef ?? (savedBaseline?.schemaVersion === 3 ? savedBaseline.sourceRevision : void 0);
|
|
1367
1374
|
const baselineDiffPlan = comparisonPlanRef ? await getBaselineDiffPlan(resolvedDirectory, comparisonPlanRef) : null;
|
|
1368
1375
|
const linesBaseRef = diffInfo?.isCurrentChanges ? "HEAD" : comparisonBaseRef;
|
|
1369
|
-
const changedLineRanges = scope === "lines" && diffInfo !== null && (diffInfo.isCurrentChanges || linesBaseRef !== null) && diffInfo !== null ? await getChangedLineRanges({
|
|
1376
|
+
const changedLineRanges = (scope === "lines" || scope === "contextual") && diffInfo !== null && (diffInfo.isCurrentChanges || linesBaseRef !== null) && diffInfo !== null ? await getChangedLineRanges({
|
|
1370
1377
|
directory: resolvedDirectory,
|
|
1371
1378
|
baseRef: linesBaseRef ?? void 0,
|
|
1379
|
+
includeDeletions: scope === "contextual",
|
|
1372
1380
|
files: [...diffInfo.changedFiles],
|
|
1373
1381
|
includeUntracked
|
|
1374
1382
|
}) : null;
|
|
1375
1383
|
scanStartupSpinner?.stop();
|
|
1376
1384
|
scanStartupSpinner = null;
|
|
1377
|
-
if (scope === "lines" && changedLineRanges === null && !isQuiet) {
|
|
1385
|
+
if ((scope === "lines" || scope === "contextual") && changedLineRanges === null && !isQuiet) {
|
|
1378
1386
|
cliLogger.warn("Could not determine changed lines (no base ref or git diff failed); reporting all issues in changed files.");
|
|
1379
1387
|
cliLogger.break();
|
|
1380
1388
|
}
|
|
@@ -1520,5 +1528,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
|
|
|
1520
1528
|
//#endregion
|
|
1521
1529
|
export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
|
|
1522
1530
|
|
|
1523
|
-
//# sourceMappingURL=inspect-
|
|
1524
|
-
//# debugId=
|
|
1531
|
+
//# sourceMappingURL=inspect-BdRj2K0Y.js.map
|
|
1532
|
+
//# debugId=243a0c93-ecde-5087-a411-57fdf8ea0907
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { u as METRIC } from "./constants-
|
|
4
|
-
import {
|
|
5
|
-
import { o as isExpectedUserError } from "./telemetry-runtime-
|
|
6
|
-
import { n as handleUserError, t as handleError } from "./handle-error-
|
|
7
|
-
import { t as reportErrorToSentry } from "./report-error-
|
|
8
|
-
import { t as printBrandedHeader } from "./print-branded-header-
|
|
9
|
-
import { n as runInstallReactDoctor } from "./install-react-doctor-
|
|
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]="b238dd24-5222-59ce-8625-632c3468a809")}catch(e){}}();
|
|
3
|
+
import { u as METRIC } from "./constants-ClqojoT2.js";
|
|
4
|
+
import { Tn as runSync, t as recordCount } from "./record-metric-D3jJa6fT.js";
|
|
5
|
+
import { o as isExpectedUserError } from "./telemetry-runtime-CEaDU-Xr.js";
|
|
6
|
+
import { n as handleUserError, t as handleError } from "./handle-error-_WIbeU-P.js";
|
|
7
|
+
import { t as reportErrorToSentry } from "./report-error-CPf4AzIS.js";
|
|
8
|
+
import { t as printBrandedHeader } from "./print-branded-header-L8kiO6YJ.js";
|
|
9
|
+
import { n as runInstallReactDoctor } from "./install-react-doctor-DML_KUwD.js";
|
|
10
10
|
//#region src/cli/commands/install.ts
|
|
11
11
|
const installAction = async (options, command) => {
|
|
12
12
|
recordCount(METRIC.cliInvoked, 1, { command: "install" });
|
|
@@ -30,5 +30,5 @@ const installAction = async (options, command) => {
|
|
|
30
30
|
//#endregion
|
|
31
31
|
export { installAction };
|
|
32
32
|
|
|
33
|
-
//# sourceMappingURL=install-
|
|
34
|
-
//# debugId=
|
|
33
|
+
//# sourceMappingURL=install-CKIoGbKq.js.map
|
|
34
|
+
//# debugId=b238dd24-5222-59ce-8625-632c3468a809
|
|
@@ -1,7 +1,7 @@
|
|
|
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 { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-
|
|
4
|
-
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]="c29afc6e-5d8d-543c-bebc-e284d1b21dba")}catch(e){}}();
|
|
3
|
+
import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-ClqojoT2.js";
|
|
4
|
+
import { Mt as highlighter, Tn as runSync, b as isNonInteractiveEnvironment, cn as error$1, dn as warn, ln as info$1, un as log } from "./record-metric-D3jJa6fT.js";
|
|
5
5
|
import { a as chalk, i as stripAnsi, t as eastAsianWidth } from "./get-east-asian-width-DRPy7dqz.js";
|
|
6
6
|
import * as fs$1 from "node:fs";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
@@ -78,7 +78,11 @@ const runGitRaw = (projectRoot, args) => {
|
|
|
78
78
|
"pipe",
|
|
79
79
|
"ignore"
|
|
80
80
|
],
|
|
81
|
-
maxBuffer: RUN_GIT_MAX_BUFFER_BYTES
|
|
81
|
+
maxBuffer: RUN_GIT_MAX_BUFFER_BYTES,
|
|
82
|
+
env: {
|
|
83
|
+
...process.env,
|
|
84
|
+
GIT_DIR: void 0
|
|
85
|
+
}
|
|
82
86
|
});
|
|
83
87
|
} catch {
|
|
84
88
|
return null;
|
|
@@ -2814,5 +2818,5 @@ const installReactDoctorScriptStep = (projectRoot) => {
|
|
|
2814
2818
|
//#endregion
|
|
2815
2819
|
export { runGitAsync as A, isRecord as C, readPackageJson as D, packageHasRecordKey as E, writeJsonFile as M, cliLogger as N, resolveGitPath as O, getPackageJsonPath as S, packageHasNestedRecordKey as T, REACT_DOCTOR_COMMAND as _, installReactDoctorScriptStep as a, VITE_PLUS_HOOKS_PATH as b, spinner as c, HUSKY_HOOKS_PATH as d, LEFTHOOK_CONFIG_FILES as f, PRE_COMMIT_CONFIG_FILE as g, OVERCOMMIT_CONFIG_FILE as h, hasDoctorScript as i, runGitRaw as j, runGit as k, HOOK_FILE_NAME as l, NON_BLOCKING_REACT_DOCTOR_COMMAND as m, findNearestPackageDirectory as n, isSpinnerSilent as o, LEGACY_HOOK_RUNNER_RELATIVE_PATH as p, hasDoctorDependency as r, setSpinnerSilent as s, DOCTOR_PACKAGE_NAME as t, HOOK_RELATIVE_PATH as u, SIMPLE_GIT_HOOKS_CONFIG_FILE as v, packageHasDependency as w, ensureTrailingNewline as x, SIMPLE_GIT_HOOKS_PACKAGE_JSON_KEY as y };
|
|
2816
2820
|
|
|
2817
|
-
//# sourceMappingURL=install-doctor-script-
|
|
2818
|
-
//# debugId=
|
|
2821
|
+
//# sourceMappingURL=install-doctor-script-CEebcCry.js.map
|
|
2822
|
+
//# debugId=c29afc6e-5d8d-543c-bebc-e284d1b21dba
|
|
@@ -1,8 +1,9 @@
|
|
|
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 { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-
|
|
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]="64511c24-5a49-5e26-9d74-48751a081fe8")}catch(e){}}();
|
|
3
|
+
import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-ClqojoT2.js";
|
|
4
|
+
import { _t as findGitRepositoryRoot } from "./record-metric-D3jJa6fT.js";
|
|
4
5
|
import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
|
|
5
|
-
import { N as cliLogger } from "./install-doctor-script-
|
|
6
|
+
import { N as cliLogger } from "./install-doctor-script-CEebcCry.js";
|
|
6
7
|
import { createRequire } from "node:module";
|
|
7
8
|
import * as fs$1 from "node:fs";
|
|
8
9
|
import * as path$1 from "node:path";
|
|
@@ -191,13 +192,19 @@ jobs:
|
|
|
191
192
|
# blocking: error # Gate level: "none" (advisory, the default) | "warning" | "error"
|
|
192
193
|
# scope: full # On PRs, scan the whole project instead of just changed files
|
|
193
194
|
# comment: false # Disable the sticky PR summary comment
|
|
195
|
+
# comment-on-clean: false # Skip new comments for clean scans
|
|
194
196
|
# review-comments: false # Disable inline review comments on changed lines
|
|
195
197
|
# commit-status: false # Disable the commit status (score + counts, links to the run)
|
|
196
198
|
# version: "0.4.0" # Pin to a specific react-doctor version instead of "latest"
|
|
197
199
|
# directory: apps/web # Scan a sub-directory (default: ".")
|
|
198
200
|
# project: "web,admin" # In a monorepo, scan specific workspace project(s)
|
|
199
201
|
`;
|
|
200
|
-
const
|
|
202
|
+
const getGitRootWorkflowPath = (gitRoot) => path$1.join(gitRoot, ".github", "workflows", "react-doctor.yml");
|
|
203
|
+
const getReactDoctorWorkflowPath = (projectRoot) => {
|
|
204
|
+
const gitRoot = findGitRepositoryRoot(projectRoot);
|
|
205
|
+
if (gitRoot === null) return path$1.join(projectRoot, ".github", "workflows", "react-doctor.yml");
|
|
206
|
+
return getGitRootWorkflowPath(gitRoot);
|
|
207
|
+
};
|
|
201
208
|
const isReactDoctorWorkflowInstalled = (projectRoot) => fs$1.existsSync(getReactDoctorWorkflowPath(projectRoot));
|
|
202
209
|
const V1_FLOATING_ACTION_REF = String.raw`millionco/react-doctor@v1(?![\w.])`;
|
|
203
210
|
const V2_FLOATING_ACTION_REF = "millionco/react-doctor@v2";
|
|
@@ -221,7 +228,13 @@ const upgradeWorkflowActionToV2 = (content) => {
|
|
|
221
228
|
};
|
|
222
229
|
};
|
|
223
230
|
const installReactDoctorWorkflow = (projectRoot, defaultBranch = "main") => {
|
|
224
|
-
const
|
|
231
|
+
const gitRoot = findGitRepositoryRoot(projectRoot);
|
|
232
|
+
if (gitRoot === null) return {
|
|
233
|
+
status: "failed",
|
|
234
|
+
workflowPath: path$1.join(projectRoot, ".github", "workflows", "react-doctor.yml"),
|
|
235
|
+
error: "no-git-root"
|
|
236
|
+
};
|
|
237
|
+
const workflowPath = getGitRootWorkflowPath(gitRoot);
|
|
225
238
|
if (fs$1.existsSync(workflowPath)) return {
|
|
226
239
|
status: "exists",
|
|
227
240
|
workflowPath
|
|
@@ -236,7 +249,8 @@ const installReactDoctorWorkflow = (projectRoot, defaultBranch = "main") => {
|
|
|
236
249
|
} catch {
|
|
237
250
|
return {
|
|
238
251
|
status: "failed",
|
|
239
|
-
workflowPath
|
|
252
|
+
workflowPath,
|
|
253
|
+
error: "write-failed"
|
|
240
254
|
};
|
|
241
255
|
}
|
|
242
256
|
};
|
|
@@ -267,5 +281,5 @@ const upgradeReactDoctorWorkflowInPlace = (projectRoot) => {
|
|
|
267
281
|
//#endregion
|
|
268
282
|
export { readReactDoctorWorkflow as a, workflowUsesV1Action as c, detectDefaultBranch as d, runCommand as f, isReactDoctorWorkflowInstalled as i, prompts as l, getReactDoctorWorkflowPath as n, upgradeReactDoctorWorkflowInPlace as o, installReactDoctorWorkflow as r, upgradeWorkflowActionToV2 as s, buildWorkflowContent as t, isCommandAvailable as u };
|
|
269
283
|
|
|
270
|
-
//# sourceMappingURL=install-github-workflow-
|
|
271
|
-
//# debugId=
|
|
284
|
+
//# sourceMappingURL=install-github-workflow-CVwxLEoV.js.map
|
|
285
|
+
//# debugId=64511c24-5a49-5e26-9d74-48751a081fe8
|
|
@@ -1,11 +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 { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-
|
|
4
|
-
import {
|
|
5
|
-
import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-
|
|
6
|
-
import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-
|
|
7
|
-
import { t as shouldSkipPrompts } from "./should-skip-prompts-
|
|
8
|
-
import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-
|
|
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]="91202ed2-ae60-5070-bb0c-b242e3633cb1")}catch(e){}}();
|
|
3
|
+
import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-ClqojoT2.js";
|
|
4
|
+
import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-D3jJa6fT.js";
|
|
5
|
+
import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-CEebcCry.js";
|
|
6
|
+
import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-CVwxLEoV.js";
|
|
7
|
+
import { t as shouldSkipPrompts } from "./should-skip-prompts-C7QWSlkj.js";
|
|
8
|
+
import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-xPBYzRmI.js";
|
|
9
9
|
import * as fs$1 from "node:fs";
|
|
10
10
|
import * as path$1 from "node:path";
|
|
11
11
|
import { execFile } from "node:child_process";
|
|
@@ -1156,5 +1156,5 @@ const runInstallReactDoctor = async (options = {}) => {
|
|
|
1156
1156
|
//#endregion
|
|
1157
1157
|
export { askUpgradeActionVersion as a, recordCiPromptDecision as c, installReactDoctorAgentHooks as i, hasHandledActionUpgrade as l, runInstallReactDoctor as n, askAddToGitHubActions as o, findAgentsWithOutdatedReactDoctorHooks as r, hasHandledCiPrompt as s, getSkillSourceDirectory as t, recordActionUpgradeDecision as u };
|
|
1158
1158
|
|
|
1159
|
-
//# sourceMappingURL=install-react-doctor-
|
|
1160
|
-
//# debugId=
|
|
1159
|
+
//# sourceMappingURL=install-react-doctor-DML_KUwD.js.map
|
|
1160
|
+
//# debugId=91202ed2-ae60-5070-bb0c-b242e3633cb1
|
package/dist/{is-cache-globally-disabled-DDlh_f1u.js → is-cache-globally-disabled-DnyI809X.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
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 { a as CACHE_DISABLED_VALUES } from "./constants-
|
|
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]="3cd6c3ba-c403-5e09-b668-03797dcd12e2")}catch(e){}}();
|
|
3
|
+
import { a as CACHE_DISABLED_VALUES } from "./constants-ClqojoT2.js";
|
|
4
4
|
//#region src/cli/utils/is-cache-globally-disabled.ts
|
|
5
5
|
const isCacheGloballyDisabled = () => CACHE_DISABLED_VALUES.has(process.env.REACT_DOCTOR_NO_CACHE?.toLowerCase() ?? "");
|
|
6
6
|
//#endregion
|
|
7
7
|
export { isCacheGloballyDisabled as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=is-cache-globally-disabled-
|
|
10
|
-
//# debugId=
|
|
9
|
+
//# sourceMappingURL=is-cache-globally-disabled-DnyI809X.js.map
|
|
10
|
+
//# debugId=3cd6c3ba-c403-5e09-b668-03797dcd12e2
|
|
@@ -1,9 +1,9 @@
|
|
|
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]="2ef250c7-c4ef-5ca6-92bb-12535d579567")}catch(e){}}();
|
|
3
3
|
import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
|
|
4
|
-
import { u as METRIC } from "./constants-
|
|
5
|
-
import { t as recordCount } from "./record-metric-
|
|
6
|
-
import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-
|
|
4
|
+
import { u as METRIC } from "./constants-ClqojoT2.js";
|
|
5
|
+
import { t as recordCount } from "./record-metric-D3jJa6fT.js";
|
|
6
|
+
import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-WjxQroMc.js";
|
|
7
7
|
import { a as chalk, i as stripAnsi, n as isFullWidth$1, r as isWide$1 } from "./get-east-asian-width-DRPy7dqz.js";
|
|
8
8
|
import * as fs$1 from "node:fs";
|
|
9
9
|
import fs from "node:fs";
|
|
@@ -25870,5 +25870,5 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
25870
25870
|
//#endregion
|
|
25871
25871
|
export { useExitOnCtrlC as a, Spinner as c, useInput as d, Transform as f, Box as h, import_react as i, useStdout as l, Text as m, registerMountedTuiRenderer as n, terminalSymbols as o, render as p, useStdoutDimensions as r, isPrintableInput as s, require_jsx_runtime as t, useApp as u };
|
|
25872
25872
|
|
|
25873
|
-
//# sourceMappingURL=jsx-runtime-
|
|
25874
|
-
//# debugId=
|
|
25873
|
+
//# sourceMappingURL=jsx-runtime-B5RFIrms.js.map
|
|
25874
|
+
//# debugId=2ef250c7-c4ef-5ca6-92bb-12535d579567
|
|
@@ -1,6 +1,6 @@
|
|
|
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 {
|
|
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]="03b05305-e8af-501b-8f01-ed339e9e7e68")}catch(e){}}();
|
|
3
|
+
import { Mt as highlighter, _ as VERSION, gn as gen, un as log } from "./record-metric-D3jJa6fT.js";
|
|
4
4
|
//#region src/cli/utils/print-branded-header.ts
|
|
5
5
|
/**
|
|
6
6
|
* Single branded line every command prints first when not in JSON
|
|
@@ -18,5 +18,5 @@ const printBrandedHeader = gen(function* () {
|
|
|
18
18
|
//#endregion
|
|
19
19
|
export { printBrandedHeader as t };
|
|
20
20
|
|
|
21
|
-
//# sourceMappingURL=print-branded-header-
|
|
22
|
-
//# debugId=
|
|
21
|
+
//# sourceMappingURL=print-branded-header-L8kiO6YJ.js.map
|
|
22
|
+
//# debugId=03b05305-e8af-501b-8f01-ed339e9e7e68
|
|
@@ -1,8 +1,8 @@
|
|
|
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]="26305e3b-ce74-5cd4-8f46-db030842f7a8")}catch(e){}}();
|
|
3
3
|
import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
|
|
4
|
-
import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-
|
|
5
|
-
import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-
|
|
4
|
+
import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-DZ8mfOqG.js";
|
|
5
|
+
import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-B5RFIrms.js";
|
|
6
6
|
import * as http from "node:http";
|
|
7
7
|
//#region src/cli/runtime-scan/detect-local-runtime-urls.ts
|
|
8
8
|
const LOCAL_HTTP_HOSTS = ["127.0.0.1", "::1"];
|
|
@@ -236,5 +236,5 @@ const promptRuntimeScanUrl = () => new Promise((resolve) => {
|
|
|
236
236
|
//#endregion
|
|
237
237
|
export { promptRuntimeScanUrl };
|
|
238
238
|
|
|
239
|
-
//# sourceMappingURL=prompt-runtime-scan-url-
|
|
240
|
-
//# debugId=
|
|
239
|
+
//# sourceMappingURL=prompt-runtime-scan-url-DZ5UhiiZ.js.map
|
|
240
|
+
//# debugId=26305e3b-ce74-5cd4-8f46-db030842f7a8
|
|
@@ -1,6 +1,6 @@
|
|
|
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 {
|
|
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]="fb7df131-edf3-5a09-bb50-b2a0e1dfed05")}catch(e){}}();
|
|
3
|
+
import { Gn as isPlainObject } from "./record-metric-D3jJa6fT.js";
|
|
4
4
|
import * as fs$1 from "node:fs";
|
|
5
5
|
import { parseJSON5 } from "confbox";
|
|
6
6
|
//#region src/cli/utils/read-object-file.ts
|
|
@@ -20,5 +20,5 @@ const readObjectFile = (filePath) => {
|
|
|
20
20
|
//#endregion
|
|
21
21
|
export { readObjectFile as t };
|
|
22
22
|
|
|
23
|
-
//# sourceMappingURL=read-object-file-
|
|
24
|
-
//# debugId=
|
|
23
|
+
//# sourceMappingURL=read-object-file-CsD5EhTC.js.map
|
|
24
|
+
//# debugId=fb7df131-edf3-5a09-bb50-b2a0e1dfed05
|