react-doctor 0.9.12-dev.0b670aa → 0.9.12-dev.17eeeb5

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 (45) hide show
  1. package/README.md +27 -0
  2. package/dist/active-run-trace-dlIZeEvb.js +18 -0
  3. package/dist/active-scan-abort-registry-DwG6tSPy.js +28 -0
  4. package/dist/{build-section-divider-CJ7k-BvF.js → build-section-divider-BDYPL_eD.js} +8 -22
  5. package/dist/{ci-Dannv-cF.js → ci-CLweWoSO.js} +12 -11
  6. package/dist/cli.js +78 -25
  7. package/dist/{design-9x5DReyL.js → design-hvKp9nch.js} +4 -4
  8. package/dist/{devtools-D8NTVj81.js → devtools-BiC-AP3B.js} +3 -3
  9. package/dist/{exit-gracefully-ti2wONpM.js → exit-gracefully-B-1ENvv3.js} +15 -9
  10. package/dist/get-east-asian-width-Cglw13G7.js +444 -0
  11. package/dist/{report-error-BlOAg03W.js → handle-error-jFIvEp6w.js} +18 -68
  12. package/dist/index.d.ts +34 -2
  13. package/dist/index.js +541 -226
  14. package/dist/{inspect-C3itFiEW.js → inspect-zNSaV3x7.js} +17 -16
  15. package/dist/{install-CjIJL6S5.js → install-DOChsLa3.js} +9 -8
  16. package/dist/{install-doctor-script-0sdZ4SY8.js → install-doctor-script-CB3rzH2z.js} +7 -449
  17. package/dist/{install-github-workflow-DQ8_lhAW.js → install-github-workflow-4va-bXLD.js} +6 -6
  18. package/dist/{install-react-doctor-DRG8hdL4.js → install-react-doctor-DybBa66H.js} +8 -8
  19. package/dist/{run-scan-app-Cgn4ELJF.js → jsx-runtime-3Qslm5lp.js} +280 -2769
  20. package/dist/{print-branded-header-Dc1KdrcV.js → print-branded-header-CBz3phhz.js} +4 -4
  21. package/dist/project-analysis-worker.js +54 -53
  22. package/dist/prompt-runtime-scan-url-BEM1tLea.js +240 -0
  23. package/dist/{read-object-file-rblJxHxN.js → read-object-file-CiyabIJq.js} +4 -4
  24. package/dist/{record-metric-Dgg2b2LG.js → record-metric-CKATohPd.js} +538 -202
  25. package/dist/report-error-CLaeUz0Z.js +64 -0
  26. package/dist/{report-workflow-result-Dp4dCUxw.js → report-workflow-result-DETw1-uc.js} +5 -5
  27. package/dist/{resolve-scope-CbeXgE9z.js → resolve-scope-f50BTOG5.js} +6 -6
  28. package/dist/{rules-ClDrNCc3.js → rules-BFhRES4z.js} +6 -6
  29. package/dist/run-scan-app-DeFp4V_O.js +2509 -0
  30. package/dist/runtime-scan/browser-probe.iife.js +855 -0
  31. package/dist/runtime-scan-1RfHCWSQ.js +770 -0
  32. package/dist/sanitize-runtime-url-BwjI6NyA.js +76 -0
  33. package/dist/{scan-Caa_ogFB.js → scan-C3z3hNIf.js} +10 -22
  34. package/dist/{should-fail-scan-gate-BGzNJApW.js → should-fail-scan-gate-CvMuzyga.js} +23 -114
  35. package/dist/{should-skip-prompts-Bbl0ToUI.js → should-skip-prompts-D2e2bDpU.js} +4 -4
  36. package/dist/should-use-tui-CZZLd4FI.js +25 -0
  37. package/dist/skills/improve-threejs/SKILL.md +102 -0
  38. package/dist/skills/performance/SKILL.md +113 -0
  39. package/dist/skills/react-doctor/SKILL.md +6 -0
  40. package/dist/{unref-stdin-C7d7_3va.js → telemetry-runtime-DR5E6MwL.js} +55 -25
  41. package/dist/unref-stdin-BKT_s38a.js +12 -0
  42. package/dist/{version-Bjql-CLM.js → version-DSgMpAfY.js} +4 -4
  43. package/dist/{why-BqG2EML8.js → why-DYzc2wtg.js} +4 -4
  44. package/dist/with-run-span-CbGd8CLE.js +110 -0
  45. package/package.json +7 -4
@@ -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]="f97e6992-371d-5763-a6a6-d00f694a46b2")}catch(e){}}();
3
- import { Gt as highlighter, R as CliInputError, S as CI_TRUST_COMPANIES, hr as SKILL_NAME, sr as GITHUB_ACTIONS_SETUP_URL, t as recordCount, w as METRIC, yr as isErrnoException } from "./record-metric-Dgg2b2LG.js";
4
- import { A as packageHasNestedRecordKey, D as getPackageJsonPath, E as ensureTrailingNewline, I as writeJsonFile, L as cliLogger, M as readPackageJson, N as resolveGitPath, O as isRecord, P as runGit, S as REACT_DOCTOR_COMMAND, T as VITE_PLUS_HOOKS_PATH, _ as LEFTHOOK_CONFIG_FILES, a as installReactDoctorScriptStep, b as OVERCOMMIT_CONFIG_FILE, c as spinner, g as HUSKY_HOOKS_PATH, h as HOOK_RELATIVE_PATH, j as packageHasRecordKey, k as packageHasDependency, m as HOOK_FILE_NAME, n as findNearestPackageDirectory, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, v as LEGACY_HOOK_RUNNER_RELATIVE_PATH, x as PRE_COMMIT_CONFIG_FILE, y as NON_BLOCKING_REACT_DOCTOR_COMMAND } from "./install-doctor-script-0sdZ4SY8.js";
5
- 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-DQ8_lhAW.js";
6
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Bbl0ToUI.js";
7
- import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, 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-Dp4dCUxw.js";
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]="cc20b3b7-d9aa-5ea8-a972-c371b88bdde3")}catch(e){}}();
3
+ import { C as CI_TRUST_COMPANIES, Kt as highlighter, T as METRIC, br as isErrnoException, cr as GITHUB_ACTIONS_SETUP_URL, gr as SKILL_NAME, t as recordCount, z as CliInputError } from "./record-metric-CKATohPd.js";
4
+ import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M 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, j as writeJsonFile, 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-CB3rzH2z.js";
5
+ 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-4va-bXLD.js";
6
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-D2e2bDpU.js";
7
+ import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, 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-DETw1-uc.js";
8
8
  import { execFile } from "node:child_process";
9
9
  import * as path$1 from "node:path";
10
10
  import * as fs$1 from "node:fs";
@@ -1152,5 +1152,5 @@ const runInstallReactDoctor = async (options = {}) => {
1152
1152
  //#endregion
1153
1153
  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 };
1154
1154
 
1155
- //# sourceMappingURL=install-react-doctor-DRG8hdL4.js.map
1156
- //# debugId=f97e6992-371d-5763-a6a6-d00f694a46b2
1155
+ //# sourceMappingURL=install-react-doctor-DybBa66H.js.map
1156
+ //# debugId=cc20b3b7-d9aa-5ea8-a972-c371b88bdde3