@mcpc-tech/unplugin-dev-inspector-mcp 0.1.25 → 0.1.26
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/client/dist/PromptParamsDialog-CtCaLYaq.js +5218 -0
- package/client/dist/{_basePickBy-VajNci9y.js → _basePickBy-CO2jbuKs.js} +1 -1
- package/client/dist/{_baseUniq-CDC7r2eu.js → _baseUniq-DrKsbT7-.js} +1 -1
- package/client/dist/angular-html-B_cenFSN.js +1 -0
- package/client/dist/{angular-html-CYi310U8.js → angular-html-Cth2LqBf.js} +1 -1
- package/client/dist/{angular-ts-CqnqKzvX.js → angular-ts-D6GgngEL.js} +1 -1
- package/client/dist/{apl-DkPJsNcI.js → apl-8Q3duBRO.js} +1 -1
- package/client/dist/{arc-DQdfxxUS.js → arc-1IuUEc3l.js} +1 -1
- package/client/dist/architecture-U656AL7Q-BbnkeEk-.js +1 -0
- package/client/dist/{architectureDiagram-VXUJARFQ-CMr0m5it.js → architectureDiagram-VXUJARFQ-mTEFN4g1.js} +1 -1
- package/client/dist/{astro-BCO6O3oM.js → astro-CEzd2gSX.js} +1 -1
- package/client/dist/{blade-BGI2i8dn.js → blade-BiESHVEE.js} +1 -1
- package/client/dist/{blockDiagram-VD42YOAC-DB4rjLow.js → blockDiagram-VD42YOAC-DuZyDGXz.js} +1 -1
- package/client/dist/{bsl-fQRX_jWV.js → bsl-CgIWHY2F.js} +1 -1
- package/client/dist/c-C71qyMdz.js +1 -0
- package/client/dist/{c4Diagram-YG6GDRKO-C-OvxJNF.js → c4Diagram-YG6GDRKO-GpSiJ-09.js} +1 -1
- package/client/dist/{cairo-3ac5zVq8.js → cairo-DeB79q5_.js} +1 -1
- package/client/dist/channel-DU5N8yz4.js +1 -0
- package/client/dist/{chunk-4BX2VUAB-Di4LZGaH.js → chunk-4BX2VUAB-CnDqYS75.js} +1 -1
- package/client/dist/{chunk-55IACEB6-C41LdCQI.js → chunk-55IACEB6-Cno6J5VV.js} +1 -1
- package/client/dist/{chunk-76Q3JFCE-Cx-JYVsg.js → chunk-76Q3JFCE-naB4GsSN.js} +1 -1
- package/client/dist/{chunk-ABZYJK2D-CjFwXoDd.js → chunk-ABZYJK2D-B-uQQBad.js} +2 -2
- package/client/dist/{chunk-ATLVNIR6-iDd5WiFs.js → chunk-ATLVNIR6-06VCvgCA.js} +1 -1
- package/client/dist/{chunk-B4BG7PRW-B1LszEWJ.js → chunk-B4BG7PRW-CaYT2kjb.js} +1 -1
- package/client/dist/{chunk-CVBHYZKI-CUI-n_Tq.js → chunk-CVBHYZKI-C8bYjiGm.js} +1 -1
- package/client/dist/{chunk-DI55MBZ5-LZJU-R6o.js → chunk-DI55MBZ5-4NKIyaAY.js} +1 -1
- package/client/dist/chunk-EXTU4WIE-hA6kjEor.js +1 -0
- package/client/dist/{chunk-FMBD7UC4-DfDwyPfJ.js → chunk-FMBD7UC4-z8oIKcMh.js} +1 -1
- package/client/dist/{chunk-FPAJGGOC-Br6MAcFg.js → chunk-FPAJGGOC-_ax7LrI6.js} +1 -1
- package/client/dist/{chunk-FWNWRKHM-BVtcM6yk.js → chunk-FWNWRKHM-DESdnxaO.js} +1 -1
- package/client/dist/{chunk-HN2XXSSU-BYdnnbel.js → chunk-HN2XXSSU-CwOdrF1j.js} +1 -1
- package/client/dist/{chunk-JA3XYJ7Z-B_pLt1VO.js → chunk-JA3XYJ7Z-B2ggvruF.js} +1 -1
- package/client/dist/{chunk-JZLCHNYA-4gstbahU.js → chunk-JZLCHNYA-CkNAdoyb.js} +1 -1
- package/client/dist/{chunk-LBM3YZW2-g1Vy7H47.js → chunk-LBM3YZW2-D1UaPZ0s.js} +1 -1
- package/client/dist/{chunk-LHMN2FUI-DwRziK7j.js → chunk-LHMN2FUI-DvMeDi1w.js} +1 -1
- package/client/dist/{chunk-MI3HLSF2-DYwJlrsV.js → chunk-MI3HLSF2-C6Pm8cQC.js} +1 -1
- package/client/dist/{chunk-N4CR4FBY-Cx9rvJkZ.js → chunk-N4CR4FBY-CESp_hlr.js} +1 -1
- package/client/dist/{chunk-O7ZBX7Z2-D79B2A-4.js → chunk-O7ZBX7Z2-CzEL6GEY.js} +1 -1
- package/client/dist/{chunk-QN33PNHL-DhA65vkt.js → chunk-QN33PNHL-O3aN_XUL.js} +1 -1
- package/client/dist/{chunk-QXUST7PY-Wnp3VURs.js → chunk-QXUST7PY-BHpud-vy.js} +1 -1
- package/client/dist/chunk-QZHKN3VN-Cor-573y.js +1 -0
- package/client/dist/{chunk-S3R3BYOJ-DoqDNp4C.js → chunk-S3R3BYOJ-CQpHdWQs.js} +1 -1
- package/client/dist/{chunk-S6J4BHB3-EUOFpaV8.js → chunk-S6J4BHB3-dkKq153Y.js} +1 -1
- package/client/dist/{chunk-T53DSG4Q-CO1WsO85.js → chunk-T53DSG4Q-m8YxcxT5.js} +1 -1
- package/client/dist/{chunk-TZMSLE5B-e9hcNU0P.js → chunk-TZMSLE5B-KitBzjA6.js} +1 -1
- package/client/dist/classDiagram-2ON5EDUG-CG9xuA-s.js +1 -0
- package/client/dist/classDiagram-v2-WZHVMYZB-BqQco41Z.js +1 -0
- package/client/dist/clone-DaCWoOD3.js +1 -0
- package/client/dist/{cobol-Bh5O3QYW.js → cobol-CtnoUhpi.js} +1 -1
- package/client/dist/{coffee-CibAxXBQ.js → coffee-D63VVNN6.js} +1 -1
- package/client/dist/{cose-bilkent-S5V4N54A-BN6AIcys.js → cose-bilkent-S5V4N54A-DAl-qmUx.js} +1 -1
- package/client/dist/{cpp-C1RL7g4a.js → cpp-BXPFxrHd.js} +1 -1
- package/client/dist/cpp-Cb8PUfPp.js +1 -0
- package/client/dist/{crystal-COtPWwkm.js → crystal-qpW1qy1j.js} +1 -1
- package/client/dist/css-D_BsqRYw.js +1 -0
- package/client/dist/{dagre-6UL2VRFP-RxjSyDlS.js → dagre-6UL2VRFP-BzQ9vB_e.js} +1 -1
- package/client/dist/{dagre-DWEIVqUm.js → dagre-DLEkL_Zs.js} +1 -1
- package/client/dist/{diagram-PSM6KHXK-SZBdSkvQ.js → diagram-PSM6KHXK-BxJGiGPe.js} +1 -1
- package/client/dist/{diagram-QEK2KX5R-CLGGdlpf.js → diagram-QEK2KX5R-DYp7ZFqv.js} +1 -1
- package/client/dist/{diagram-S2PKOQOG-BRCVMVaG.js → diagram-S2PKOQOG-DJkha_WW.js} +1 -1
- package/client/dist/{edge-gnkqOgnq.js → edge-CP_fR0O2.js} +1 -1
- package/client/dist/{elixir-DkJ5dmQi.js → elixir-DMAcWBTu.js} +1 -1
- package/client/dist/{elm-DbERawtE.js → elm-CbfCFGpu.js} +1 -1
- package/client/dist/{erDiagram-Q2GNP2WA-Crx5hK6P.js → erDiagram-Q2GNP2WA-6XtwsRni.js} +1 -1
- package/client/dist/{erb-Ba5ePOhy.js → erb-tgtMjjw7.js} +1 -1
- package/client/dist/{erlang-DvggRTyY.js → erlang-B0ruUFZX.js} +1 -1
- package/client/dist/{flowDiagram-NV44I4VS-Dgft2jlf.js → flowDiagram-NV44I4VS-CelHIHjn.js} +1 -1
- package/client/dist/{fortran-fixed-form-V47soKQs.js → fortran-fixed-form-axN74ijH.js} +1 -1
- package/client/dist/{fsharp-BGnN6XqY.js → fsharp-BbXO1JyA.js} +1 -1
- package/client/dist/{ganttDiagram-LVOFAZNH-CeMyq5ly.js → ganttDiagram-LVOFAZNH-Cvj1uEfB.js} +1 -1
- package/client/dist/{gdresource-CTqCmzm8.js → gdresource-Cloq6T1D.js} +1 -1
- package/client/dist/{git-commit-D--jujpE.js → git-commit-CPVxcpY7.js} +1 -1
- package/client/dist/{git-rebase-ew-n6N0S.js → git-rebase-D69XtsSv.js} +1 -1
- package/client/dist/gitGraph-F6HP7TQM-KAtjK5Ox.js +1 -0
- package/client/dist/{gitGraphDiagram-NY62KEGX-D_IQEgv3.js → gitGraphDiagram-NY62KEGX-Cr6_VXUM.js} +1 -1
- package/client/dist/{glimmer-js-CvHkyQW8.js → glimmer-js-CoeADt6M.js} +1 -1
- package/client/dist/{glimmer-ts-yUPvOhqX.js → glimmer-ts-BlmV-Y9-.js} +1 -1
- package/client/dist/glsl-BTo0Z16q.js +1 -0
- package/client/dist/{glsl-BFy28U-g.js → glsl-Biu0K-6p.js} +1 -1
- package/client/dist/{graphlib-DHCf1ZPq.js → graphlib-CScjOeSi.js} +1 -1
- package/client/dist/graphql-DN6CkYdl.js +1 -0
- package/client/dist/{graphql-CHCDiMKU.js → graphql-hAKdRMip.js} +1 -1
- package/client/dist/{hack-Dfku4leT.js → hack-D1duHfqL.js} +1 -1
- package/client/dist/{haml-Bt-cM6Kf.js → haml-CiZU0d5H.js} +1 -1
- package/client/dist/haml-DPWY5s1M.js +1 -0
- package/client/dist/{handlebars-D4Rqe7kb.js → handlebars-Dp_cDcAt.js} +1 -1
- package/client/dist/{html-BIgIDTTk.js → html-BT5um7nF.js} +1 -1
- package/client/dist/html-C31JlaJ-.js +1 -0
- package/client/dist/{html-derivative-Cr3u945w.js → html-derivative-Cx1PsJxD.js} +1 -1
- package/client/dist/html-derivative-wg2-hYIg.js +1 -0
- package/client/dist/{http-GGX7qjOU.js → http-BW75yjvO.js} +1 -1
- package/client/dist/{hurl-DK4p4h12.js → hurl-DrbkG80a.js} +1 -1
- package/client/dist/{hxml-ChVmPQtH.js → hxml-VlQN6FkD.js} +1 -1
- package/client/dist/info-NVLQJR56-DiZxlu_o.js +1 -0
- package/client/dist/infoDiagram-ER5ION4S-CtrGb0So.js +2 -0
- package/client/dist/inspector.css +212 -0
- package/client/dist/inspector.js +35 -5035
- package/client/dist/{isEmpty-CAzzI-9E.js → isEmpty-CokRQ2Nu.js} +1 -1
- package/client/dist/java-H4bqYiqZ.js +1 -0
- package/client/dist/javascript-DH63jrE3.js +1 -0
- package/client/dist/{jinja-BatEiZah.js → jinja-CHSC99qg.js} +1 -1
- package/client/dist/{jison-5s-QNhI1.js → jison-DqMkPOAC.js} +1 -1
- package/client/dist/{journeyDiagram-XKPGCS4Q-Dep3D8p0.js → journeyDiagram-XKPGCS4Q-CdZJjun-.js} +1 -1
- package/client/dist/json-DOslWoX1.js +1 -0
- package/client/dist/jsx-CjK28ufS.js +1 -0
- package/client/dist/{julia-hmN1VBxQ.js → julia-cA-yAml8.js} +1 -1
- package/client/dist/{kanban-definition-3W4ZIXB7-DaDrLIUQ.js → kanban-definition-3W4ZIXB7-B3nQllvM.js} +1 -1
- package/client/dist/katex-D7PU7xG4.js +1 -0
- package/client/dist/{latex-B2ZV4OQ3.js → latex-CbkKCm2d.js} +1 -1
- package/client/dist/{line-BUOKh-HE.js → line-D9fEXxLg.js} +1 -1
- package/client/dist/{linear-BMBwG6lD.js → linear-CFKbUwXk.js} +1 -1
- package/client/dist/{liquid-tVoFpvBO.js → liquid-BpMC_Fqt.js} +1 -1
- package/client/dist/{lua-C4zcr4Rq.js → lua-C77CXP4F.js} +1 -1
- package/client/dist/lua-CRueSYXF.js +1 -0
- package/client/dist/{marko-DsvPyZf5.js → marko-CrC0ANF-.js} +1 -1
- package/client/dist/{mdc-CzHGal8T.js → mdc-NdIm27xk.js} +1 -1
- package/client/dist/{mermaid-parser.core-ow7sqQkB.js → mermaid-parser.core-lVkskdol.js} +1 -1
- package/client/dist/{mermaid.core-DbNkaVXi.js → mermaid.core-DfenwpGd.js} +2 -2
- package/client/dist/{mindmap-definition-VGOIOE7T-DVRq1RYX.js → mindmap-definition-VGOIOE7T-E51zBHdA.js} +1 -1
- package/client/dist/{nginx-DellYz9Y.js → nginx-BQI27kLq.js} +1 -1
- package/client/dist/{nim-B-AWUKTE.js → nim-qigkNB2O.js} +1 -1
- package/client/dist/{ordinal-A1CyKHQ4.js → ordinal-NoUKjW5R.js} +1 -1
- package/client/dist/packet-BFZMPI3H-Co0kmFAY.js +1 -0
- package/client/dist/{perl-pXXQBt-A.js → perl-CWZ9Tx7Z.js} +1 -1
- package/client/dist/{php-DOGKACDF.js → php-C_izhi_N.js} +1 -1
- package/client/dist/pie-7BOR55EZ-27A0zi3z.js +1 -0
- package/client/dist/{pieDiagram-ADFJNKIX-5wOv-Sou.js → pieDiagram-ADFJNKIX-10ENr3pD.js} +1 -1
- package/client/dist/{pug-BEuydwIY.js → pug-DiALhKYN.js} +1 -1
- package/client/dist/{qml-6blpd43-.js → qml-C9j4g26c.js} +1 -1
- package/client/dist/{quadrantDiagram-AYHSOK5B-BHjR7ccN.js → quadrantDiagram-AYHSOK5B-lMjtU4jB.js} +1 -1
- package/client/dist/r-BIGEI86X.js +1 -0
- package/client/dist/radar-NHE76QYJ-BNuOm017.js +1 -0
- package/client/dist/{razor-DszTWfYs.js → razor-A0q1Asj9.js} +1 -1
- package/client/dist/regexp-oqAv1t88.js +1 -0
- package/client/dist/{requirementDiagram-UZGBJVZJ-DUqqAwgE.js → requirementDiagram-UZGBJVZJ-BANZB6Iz.js} +1 -1
- package/client/dist/{rst-DHsi4jEF.js → rst-Cev6-qlZ.js} +1 -1
- package/client/dist/{ruby-Br8kAlMV.js → ruby-CcAYYGRU.js} +1 -1
- package/client/dist/{sankeyDiagram-TZEHDZUN-CxJnP2LU.js → sankeyDiagram-TZEHDZUN-C6vl5I45.js} +1 -1
- package/client/dist/{sas-Fm1ez35-.js → sas-BGlfoPrs.js} +1 -1
- package/client/dist/{scss--EPB2qJk.js → scss-A6Xwb3sB.js} +1 -1
- package/client/dist/scss-CZuLwQ6L.js +1 -0
- package/client/dist/{sequenceDiagram-WL72ISMW-Bqy7huq2.js → sequenceDiagram-WL72ISMW-DnnKpwi7.js} +1 -1
- package/client/dist/{shaderlab-mRjR82Iw.js → shaderlab-CMErLCd1.js} +1 -1
- package/client/dist/shellscript-XfxS4mi1.js +1 -0
- package/client/dist/{shellsession-BwWJX0k2.js → shellsession-QiegSG75.js} +1 -1
- package/client/dist/sidebar.css +4736 -0
- package/client/dist/sidebar.js +1 -0
- package/client/dist/{soy-ZvAEekaL.js → soy-BoMAIRkx.js} +1 -1
- package/client/dist/{sparql-DUJ_UkED.js → sparql-DhHvB3Dp.js} +1 -1
- package/client/dist/sql-Dga86kBP.js +1 -0
- package/client/dist/{stata-B4dQ_ds2.js → stata-CIv2IgqT.js} +1 -1
- package/client/dist/{stateDiagram-FKZM4ZOC-BDuxTD97.js → stateDiagram-FKZM4ZOC-iYM8j2jN.js} +1 -1
- package/client/dist/stateDiagram-v2-4FDKWEC3-CzW1Ir10.js +1 -0
- package/client/dist/{svelte-DP3P9hTU.js → svelte-BPdTtTW_.js} +1 -1
- package/client/dist/{templ-DzU4X84Z.js → templ-Bu1xjVjb.js} +1 -1
- package/client/dist/{tex-DmK8sLqk.js → tex-BrGV_a00.js} +1 -1
- package/client/dist/{timeline-definition-IT6M3QCI-X2Zr6sAz.js → timeline-definition-IT6M3QCI-DVa8bOe8.js} +1 -1
- package/client/dist/treemap-KMMF4GRG-Cs32ogTY.js +1 -0
- package/client/dist/{ts-tags-DQicFPeT.js → ts-tags-C2KZ65Bb.js} +1 -1
- package/client/dist/tsx-Dy5oGylO.js +1 -0
- package/client/dist/{twig-DMpkralp.js → twig-CAdzRXFv.js} +1 -1
- package/client/dist/typescript-BCL2cVvE.js +1 -0
- package/client/dist/{vue-html-D8cmRA9A.js → vue-html-ClbUAPY3.js} +1 -1
- package/client/dist/{vue-CXnTHxsh.js → vue-m_9UuRcq.js} +1 -1
- package/client/dist/{vue-vine-DKxJMTV4.js → vue-vine-BhY0kO3x.js} +1 -1
- package/client/dist/{xml-DdBhobiL.js → xml-BCPOgRQ8.js} +1 -1
- package/client/dist/xml-LiQIKAk-.js +1 -0
- package/client/dist/{xsl-rnFMNj5T.js → xsl-CiacnBum.js} +1 -1
- package/client/dist/{xychartDiagram-PRI3JC2R-Bkdy-d61.js → xychartDiagram-PRI3JC2R-CSHRJA-w.js} +1 -1
- package/client/dist/yaml-x21mtn6r.js +1 -0
- package/dist/cli.cjs +135 -129
- package/dist/cli.js +135 -129
- package/dist/config-updater.cjs +84 -0
- package/dist/config-updater.js +84 -0
- package/dist/index.d.cts +4 -4
- package/dist/react/react.d.ts +203 -0
- package/dist/react/react.js +1177 -0
- package/package.json +9 -2
- package/client/dist/angular-html-d0m67Y5J.js +0 -1
- package/client/dist/architecture-U656AL7Q-MgtP82yP.js +0 -1
- package/client/dist/c-3wGWaCKl.js +0 -1
- package/client/dist/channel-Dq37Efc1.js +0 -1
- package/client/dist/chunk-EXTU4WIE-ChqGChCy.js +0 -1
- package/client/dist/chunk-QZHKN3VN-DdT5lUD2.js +0 -1
- package/client/dist/classDiagram-2ON5EDUG-C7nmW2OD.js +0 -1
- package/client/dist/classDiagram-v2-WZHVMYZB-D1OZs5dX.js +0 -1
- package/client/dist/clone-CmMu9STX.js +0 -1
- package/client/dist/cpp-BnxWAOSJ.js +0 -1
- package/client/dist/css-D_nzbeA8.js +0 -1
- package/client/dist/gitGraph-F6HP7TQM-DYc7wArC.js +0 -1
- package/client/dist/glsl-CGxWHcVc.js +0 -1
- package/client/dist/graphql-565U4wbG.js +0 -1
- package/client/dist/haml-BHYOha9I.js +0 -1
- package/client/dist/html-CYUobRUD.js +0 -1
- package/client/dist/html-derivative-DgGbkyuK.js +0 -1
- package/client/dist/info-NVLQJR56-Bvqp73xD.js +0 -1
- package/client/dist/infoDiagram-ER5ION4S-BDBCikE4.js +0 -2
- package/client/dist/java-DmkKjtyZ.js +0 -1
- package/client/dist/javascript-CkCLGt8x.js +0 -1
- package/client/dist/json-C3HKuiPJ.js +0 -1
- package/client/dist/jsx-Cb_Ywdgo.js +0 -1
- package/client/dist/katex-BQxtjXbf.js +0 -1
- package/client/dist/lua-BL1jjzZD.js +0 -1
- package/client/dist/packet-BFZMPI3H-BGenTAod.js +0 -1
- package/client/dist/pie-7BOR55EZ-Clb9mYfc.js +0 -1
- package/client/dist/r-FsqRuzNL.js +0 -1
- package/client/dist/radar-NHE76QYJ-DKi0Armo.js +0 -1
- package/client/dist/regexp-BTE6Swxv.js +0 -1
- package/client/dist/scss-Cmb4RaIv.js +0 -1
- package/client/dist/shellscript-DuJfYg8R.js +0 -1
- package/client/dist/sql-D5NpKK-X.js +0 -1
- package/client/dist/stateDiagram-v2-4FDKWEC3-BxmkJjbP.js +0 -1
- package/client/dist/treemap-KMMF4GRG-BJ7jSaqo.js +0 -1
- package/client/dist/tsx-QMnwGbeN.js +0 -1
- package/client/dist/typescript-JBzxF6Qj.js +0 -1
- package/client/dist/xml-BzQ8r2Jc.js +0 -1
- package/client/dist/yaml-DF6vsW46.js +0 -1
- /package/client/dist/{abap-BdPhiG-3.js → abap-BUoW4mq0.js} +0 -0
- /package/client/dist/{actionscript-3-4lsAJric.js → actionscript-3-CDsNmykd.js} +0 -0
- /package/client/dist/{ada-DcGdSDNe.js → ada-EgRVL2g9.js} +0 -0
- /package/client/dist/{andromeeda-D4fdrr4S.js → andromeeda-GPgN43QN.js} +0 -0
- /package/client/dist/{apache-BfNtzv3H.js → apache-C_ty8NzZ.js} +0 -0
- /package/client/dist/{apex-COUYbqxw.js → apex-BO_xUY2-.js} +0 -0
- /package/client/dist/{applescript-DZy9r0Tx.js → applescript-DQAS9zcd.js} +0 -0
- /package/client/dist/{ara-BuNu-Hkp.js → ara-DIjuS0gF.js} +0 -0
- /package/client/dist/{array-Dz4ZVbz2.js → array-BgcdGrkc.js} +0 -0
- /package/client/dist/{asciidoc-CRgFazCG.js → asciidoc-BxG7ZQrc.js} +0 -0
- /package/client/dist/{asm-DMOLEIzq.js → asm-PnON5mRP.js} +0 -0
- /package/client/dist/{aurora-x-CMrxRU0F.js → aurora-x-CqQ7QmKq.js} +0 -0
- /package/client/dist/{awk-CsRJBxn5.js → awk-BVO8fiUv.js} +0 -0
- /package/client/dist/{ayu-dark-y6Bf9zzc.js → ayu-dark-n_FrPZjA.js} +0 -0
- /package/client/dist/{ballerina-DaMt4nBf.js → ballerina-BJsKgOB8.js} +0 -0
- /package/client/dist/{bat-DFR5wrFi.js → bat-DRIwbK7_.js} +0 -0
- /package/client/dist/{beancount-BrwuSNB3.js → beancount-BTo4XwaG.js} +0 -0
- /package/client/dist/{berry-DRXw-ZNq.js → berry-B5o92twl.js} +0 -0
- /package/client/dist/{bibtex-CQd7fyYH.js → bibtex-DuLtVC8l.js} +0 -0
- /package/client/dist/{bicep-B14cKy0e.js → bicep-BfIj04_h.js} +0 -0
- /package/client/dist/{c-Cu5Jn1Jp.js → c-BL138DB5.js} +0 -0
- /package/client/dist/{cadence-B7jHVQ8u.js → cadence-CnLw1Pon.js} +0 -0
- /package/client/dist/{catppuccin-frappe-BMyWp_6O.js → catppuccin-frappe-D7hlMtXo.js} +0 -0
- /package/client/dist/{catppuccin-latte-nZzsPBPu.js → catppuccin-latte-D2-cwLAh.js} +0 -0
- /package/client/dist/{catppuccin-macchiato-BzBCE9F0.js → catppuccin-macchiato-Dt-n4vTY.js} +0 -0
- /package/client/dist/{catppuccin-mocha-DbBzL313.js → catppuccin-mocha-pJ9gr9o9.js} +0 -0
- /package/client/dist/{chunk-6MN3ZHY7-Bw7GUOel.js → chunk-6MN3ZHY7-B86W-RmZ.js} +0 -0
- /package/client/dist/{clarity-BaaRo_dO.js → clarity-B1loWXVz.js} +0 -0
- /package/client/dist/{clojure-Cryf_rtB.js → clojure-BuPCnGPH.js} +0 -0
- /package/client/dist/{cmake-Drlfezq0.js → cmake-fD9kB-N_.js} +0 -0
- /package/client/dist/{codeowners-Bhm5vPJA.js → codeowners-C_VH6Ljx.js} +0 -0
- /package/client/dist/{codeql-eIV9UcRt.js → codeql-DhWjL8Kq.js} +0 -0
- /package/client/dist/{common-lisp-Dends_YH.js → common-lisp-CruE29WJ.js} +0 -0
- /package/client/dist/{coq-KkkUzLyU.js → coq-Bx_cXDWL.js} +0 -0
- /package/client/dist/{csharp-CPdyP2VR.js → csharp-BGiDklkX.js} +0 -0
- /package/client/dist/{css-B5e7W8LB.js → css-D3eCZIjt.js} +0 -0
- /package/client/dist/{csv-DYwX6NEn.js → csv-TlCvaDUb.js} +0 -0
- /package/client/dist/{cue-DW0ynfCq.js → cue-CMZTYgU5.js} +0 -0
- /package/client/dist/{cypher-Bmq5NZ59.js → cypher-BMGc7dGe.js} +0 -0
- /package/client/dist/{cytoscape.esm-5hlfDxlN.js → cytoscape.esm-COkX_sb7.js} +0 -0
- /package/client/dist/{d-BTh8oGLC.js → d-CZehDVN6.js} +0 -0
- /package/client/dist/{dark-plus-DzCrhcx4.js → dark-plus-CGcVEdxm.js} +0 -0
- /package/client/dist/{dart-B45K8wV9.js → dart-BfQboB_J.js} +0 -0
- /package/client/dist/{dax-BdHYj1Ue.js → dax-Bba5a30x.js} +0 -0
- /package/client/dist/{defaultLocale-wBfqlpfB.js → defaultLocale-S7fGF81p.js} +0 -0
- /package/client/dist/{desktop-BMuYANPV.js → desktop-DyR7Z7D7.js} +0 -0
- /package/client/dist/{diff-BxwcTI8k.js → diff-CWN81QQV.js} +0 -0
- /package/client/dist/{dist-DDGIHxz4.js → dist-Bz_xenUc.js} +0 -0
- /package/client/dist/{docker-CSoMkU3O.js → docker-Dv8_2ppU.js} +0 -0
- /package/client/dist/{dotenv-i_QlcFUp.js → dotenv-DCISGmUs.js} +0 -0
- /package/client/dist/{dracula-BTpR5_Te.js → dracula-D76yIU1-.js} +0 -0
- /package/client/dist/{dracula-soft-D_6f0jsH.js → dracula-soft-txtzq0a7.js} +0 -0
- /package/client/dist/{dream-maker-DtVNo9em.js → dream-maker-DA4WbaAF.js} +0 -0
- /package/client/dist/{emacs-lisp-BnCZgkUr.js → emacs-lisp-tzsjo5DB.js} +0 -0
- /package/client/dist/{everforest-dark-BB8iY9dl.js → everforest-dark-CJDH8s0z.js} +0 -0
- /package/client/dist/{everforest-light-BG7kqcrd.js → everforest-light-C6xhm1QL.js} +0 -0
- /package/client/dist/{fennel-B3HXE7FJ.js → fennel-DA_rS4S7.js} +0 -0
- /package/client/dist/{fish-ogOvUHoU.js → fish-BrLZQvoa.js} +0 -0
- /package/client/dist/{fluent-B4l8qlbd.js → fluent-DntAoeEC.js} +0 -0
- /package/client/dist/{fortran-free-form-BA0vVvYt.js → fortran-free-form-c4So7WT8.js} +0 -0
- /package/client/dist/{gdscript-BA3jq6mQ.js → gdscript-Djzzged5.js} +0 -0
- /package/client/dist/{gdshader-dB9N4Ao3.js → gdshader-CJeNXdA2.js} +0 -0
- /package/client/dist/{genie-CZngrDjU.js → genie-C9fU7PiA.js} +0 -0
- /package/client/dist/{gherkin-BzRYJufi.js → gherkin-DDlBNjNG.js} +0 -0
- /package/client/dist/{github-dark-CRKj4hAt.js → github-dark-Ckt6nlQx.js} +0 -0
- /package/client/dist/{github-dark-default-DIQY-h5g.js → github-dark-default-DfCBMOYz.js} +0 -0
- /package/client/dist/{github-dark-dimmed-BEpLsuRj.js → github-dark-dimmed-BKiErX1j.js} +0 -0
- /package/client/dist/{github-dark-high-contrast-CVTJFdKj.js → github-dark-high-contrast-DVxoJyHI.js} +0 -0
- /package/client/dist/{github-light-CpZwDIg7.js → github-light-BZC_cQ4W.js} +0 -0
- /package/client/dist/{github-light-default-DHtzD_-y.js → github-light-default-BY0m_WyP.js} +0 -0
- /package/client/dist/{github-light-high-contrast-CaLb5Zh9.js → github-light-high-contrast-DcWq4z9I.js} +0 -0
- /package/client/dist/{gleam-C6DPFaBN.js → gleam-cWmrDEMg.js} +0 -0
- /package/client/dist/{gnuplot-CdwpsLMX.js → gnuplot-BHRhuGLx.js} +0 -0
- /package/client/dist/{go-BEgA9rS0.js → go-BaSASZlM.js} +0 -0
- /package/client/dist/{groovy-DKhzsnBi.js → groovy-BjidEaDx.js} +0 -0
- /package/client/dist/{gruvbox-dark-hard-B34oe0Ej.js → gruvbox-dark-hard-gIGwkeSY.js} +0 -0
- /package/client/dist/{gruvbox-dark-medium-D5sKuUU6.js → gruvbox-dark-medium-V93T0amg.js} +0 -0
- /package/client/dist/{gruvbox-dark-soft-FrQ3F5LW.js → gruvbox-dark-soft-DWvGTPhe.js} +0 -0
- /package/client/dist/{gruvbox-light-hard-DtpNIMu0.js → gruvbox-light-hard-CDR7jAaS.js} +0 -0
- /package/client/dist/{gruvbox-light-medium-DXqc1yk8.js → gruvbox-light-medium-BH05YZpj.js} +0 -0
- /package/client/dist/{gruvbox-light-soft-CBWPsdg8.js → gruvbox-light-soft-_FpHi3hq.js} +0 -0
- /package/client/dist/{haskell-COHrgR9O.js → haskell-D6diK_o1.js} +0 -0
- /package/client/dist/{haxe-Bl1c-ZNb.js → haxe-B5pmXmLa.js} +0 -0
- /package/client/dist/{hcl-awf4jn86.js → hcl-BPPiC6Ub.js} +0 -0
- /package/client/dist/{hjson-DfFUNltF.js → hjson-BYqpFKnP.js} +0 -0
- /package/client/dist/{hlsl-CtcTTmYG.js → hlsl-BjNae5So.js} +0 -0
- /package/client/dist/{houston-CNv85-6f.js → houston-CTP0HFka.js} +0 -0
- /package/client/dist/{hy-CshaiMZE.js → hy-DkwVZxUW.js} +0 -0
- /package/client/dist/{imba-C2bpAlb9.js → imba-pxRlZERz.js} +0 -0
- /package/client/dist/{ini-BMqmGKBw.js → ini-B_rjZOXj.js} +0 -0
- /package/client/dist/{init-CyS92-Wc.js → init-BnPQj6aR.js} +0 -0
- /package/client/dist/{isArrayLikeObject-BtcNYc4X.js → isArrayLikeObject-CgiDz5DP.js} +0 -0
- /package/client/dist/{java-CvxUKxx6.js → java-DeUXjYQU.js} +0 -0
- /package/client/dist/{javascript-BIsIt0kc.js → javascript-DpvUI8vq.js} +0 -0
- /package/client/dist/{json-h7zTKPSW.js → json-cDpc1bY6.js} +0 -0
- /package/client/dist/{json5-CDsqIwN6.js → json5-D1op8XDc.js} +0 -0
- /package/client/dist/{jsonc-C_H6KdCM.js → jsonc-TsBL8Zw4.js} +0 -0
- /package/client/dist/{jsonl-CYEL_JbB.js → jsonl-VehePL7r.js} +0 -0
- /package/client/dist/{jsonnet-DvezpFew.js → jsonnet-gOuuHn0J.js} +0 -0
- /package/client/dist/{jssm-DGCQVTMl.js → jssm-Ccle0HAR.js} +0 -0
- /package/client/dist/{jsx-B3fSgSFr.js → jsx-aZzZib73.js} +0 -0
- /package/client/dist/{kanagawa-dragon-C9NBfuIt.js → kanagawa-dragon-CSKAbSka.js} +0 -0
- /package/client/dist/{kanagawa-lotus-B_6UdT6p.js → kanagawa-lotus-DN7DspOm.js} +0 -0
- /package/client/dist/{kanagawa-wave-C2OIICwW.js → kanagawa-wave-Dberk7yB.js} +0 -0
- /package/client/dist/{katex-BnRKOLw6.js → katex-C3zESuch.js} +0 -0
- /package/client/dist/{katex.min-DRkgVcya.css → katex.min-DkVKOBvG.css} +0 -0
- /package/client/dist/{katex.min-DidvNX82.js → katex.min-RTO9ag3H.js} +0 -0
- /package/client/dist/{kdl-BkuYp80m.js → kdl-ghIqIEqx.js} +0 -0
- /package/client/dist/{kotlin-D1eKjLwq.js → kotlin-CGg4-W_M.js} +0 -0
- /package/client/dist/{kusto-CvOu21Cj.js → kusto-DCV3owQ6.js} +0 -0
- /package/client/dist/{laserwave-DQxwrmJt.js → laserwave-DHr_OdQx.js} +0 -0
- /package/client/dist/{lean-IA1_MsWd.js → lean-981kZEaB.js} +0 -0
- /package/client/dist/{less-B7zZlgJh.js → less-BsrVljrL.js} +0 -0
- /package/client/dist/{light-plus-Cy89fA56.js → light-plus-Bc9BLT5A.js} +0 -0
- /package/client/dist/{llvm-CAuHI5e8.js → llvm-DyE_X-oq.js} +0 -0
- /package/client/dist/{log-tguHOLzV.js → log-CJNm4UbC.js} +0 -0
- /package/client/dist/{logo-4FQxpkt4.js → logo-DKbdyqt-.js} +0 -0
- /package/client/dist/{luau-sRWHo1Up.js → luau-MmBwuyT2.js} +0 -0
- /package/client/dist/{make-DkNT42IA.js → make-D1C6Tiwy.js} +0 -0
- /package/client/dist/{markdown-CzS3ZP7I.js → markdown-DBA3Mmim.js} +0 -0
- /package/client/dist/{marked.esm-CTdAAA_v.js → marked.esm-DUB0uiru.js} +0 -0
- /package/client/dist/{material-theme-BfWYt0TZ.js → material-theme-Bv8yLSP0.js} +0 -0
- /package/client/dist/{material-theme-darker-DtkmIcAA.js → material-theme-darker-1AqpNdZt.js} +0 -0
- /package/client/dist/{material-theme-lighter-BH0j90Oh.js → material-theme-lighter-DPdC5l8C.js} +0 -0
- /package/client/dist/{material-theme-ocean-DmKabesL.js → material-theme-ocean-37Kook8Q.js} +0 -0
- /package/client/dist/{material-theme-palenight-DZ7uHLju.js → material-theme-palenight-C27iD4SF.js} +0 -0
- /package/client/dist/{math-CBcHHeVd.js → math-XICenNyA.js} +0 -0
- /package/client/dist/{matlab-CpkpzR_d.js → matlab-Ck3HEU2k.js} +0 -0
- /package/client/dist/{mdx-CKC34rlC.js → mdx-C1PRejio.js} +0 -0
- /package/client/dist/{mermaid-Ct_09yAh.js → mermaid-BckVcVXX.js} +0 -0
- /package/client/dist/{min-dark-iCM7syk7.js → min-dark-anAUOToK.js} +0 -0
- /package/client/dist/{min-light-C8rThYym.js → min-light-CvG_iQWP.js} +0 -0
- /package/client/dist/{mipsasm-Cty6G9T2.js → mipsasm-BM_FQj2A.js} +0 -0
- /package/client/dist/{mojo-Xauqc8AX.js → mojo-BR-LqNeT.js} +0 -0
- /package/client/dist/{monokai-Bjch1Bhl.js → monokai-DYv3rk-A.js} +0 -0
- /package/client/dist/{move-CXMREC6M.js → move-m3_5UNfo.js} +0 -0
- /package/client/dist/{narrat-BaBjazI9.js → narrat-DYFj8Q6-.js} +0 -0
- /package/client/dist/{nextflow-_c6uqgsv.js → nextflow-ZIzFDe2m.js} +0 -0
- /package/client/dist/{night-owl-BJrjdpga.js → night-owl-DkBbLKGE.js} +0 -0
- /package/client/dist/{nix-DrpzwZYz.js → nix-17F0HB0G.js} +0 -0
- /package/client/dist/{nord-D0Fqg42Q.js → nord-Be97_T58.js} +0 -0
- /package/client/dist/{nushell-PwLzyrh4.js → nushell-njEJEBNK.js} +0 -0
- /package/client/dist/{objective-c-B316WMPD.js → objective-c-DcpJ0eV7.js} +0 -0
- /package/client/dist/{objective-cpp-sh3AkVQi.js → objective-cpp-CXgpfRIb.js} +0 -0
- /package/client/dist/{ocaml-CT2O122u.js → ocaml-RYuU9VTm.js} +0 -0
- /package/client/dist/{one-dark-pro-CWCqr3AC.js → one-dark-pro-Ci-bUEIf.js} +0 -0
- /package/client/dist/{one-light-DTgkXOoh.js → one-light-BtoBaJgF.js} +0 -0
- /package/client/dist/{pascal-BfdV161T.js → pascal-HLRSlJ2v.js} +0 -0
- /package/client/dist/{path-Dqo4FhGl.js → path-CoY9QgOk.js} +0 -0
- /package/client/dist/{pkl-CIdtaeNd.js → pkl-D0LsOQD5.js} +0 -0
- /package/client/dist/{plastic-CLpeNc9-.js → plastic-BHBVdpN4.js} +0 -0
- /package/client/dist/{plsql-BuKM571s.js → plsql-Ckotkn8G.js} +0 -0
- /package/client/dist/{po-Dxsk_XzY.js → po-Qix2N2fA.js} +0 -0
- /package/client/dist/{poimandres-CoZ0vKOg.js → poimandres-DCZ4zCH5.js} +0 -0
- /package/client/dist/{polar-DTkh7YGI.js → polar-DHAM8Rqb.js} +0 -0
- /package/client/dist/{postcss-BoVDzDIq.js → postcss-8wrDfWlb.js} +0 -0
- /package/client/dist/{powerquery-C7UUl55u.js → powerquery-sXjCytsm.js} +0 -0
- /package/client/dist/{powershell-7fisTB1Z.js → powershell-Br9y9LlC.js} +0 -0
- /package/client/dist/{prisma-CKBKGf6P.js → prisma-COBUUaqE.js} +0 -0
- /package/client/dist/{prolog-DEUEVLMg.js → prolog-BbJTvtA-.js} +0 -0
- /package/client/dist/{proto-BI7m_T-K.js → proto-Dn7PeVbf.js} +0 -0
- /package/client/dist/{puppet-1QKvlfLG.js → puppet-CNdK406T.js} +0 -0
- /package/client/dist/{purescript-BeTyiTEN.js → purescript-Cgw06S43.js} +0 -0
- /package/client/dist/{python-BY6XMItz.js → python-DioJsT9z.js} +0 -0
- /package/client/dist/{qmldir-BJRdxGUb.js → qmldir-tOWyMniz.js} +0 -0
- /package/client/dist/{qss-CgpUCiqI.js → qss-CQ_tB_vx.js} +0 -0
- /package/client/dist/{r-DO0FNojz.js → r-omh8Ou_K.js} +0 -0
- /package/client/dist/{racket-DOfMsQ-m.js → racket-xM_JlWdJ.js} +0 -0
- /package/client/dist/{raku-BpVGnEOk.js → raku-CsjbV0q-.js} +0 -0
- /package/client/dist/{red-Dtjys_cC.js → red-B8qD19HM.js} +0 -0
- /package/client/dist/{reg-BFwQ42iU.js → reg-CDO-JwKW.js} +0 -0
- /package/client/dist/{regexp-71-eZjwK.js → regexp-ZL8WsoEe.js} +0 -0
- /package/client/dist/{rel-DgV0LP0F.js → rel-Lnk3efq_.js} +0 -0
- /package/client/dist/{riscv-CMDCoJxM.js → riscv-B6rT4cSG.js} +0 -0
- /package/client/dist/{rose-pine-BXrntRdT.js → rose-pine-Dh-EMol0.js} +0 -0
- /package/client/dist/{rose-pine-dawn-tFiW2rRe.js → rose-pine-dawn-BqC-N8fL.js} +0 -0
- /package/client/dist/{rose-pine-moon-DrIxqQYd.js → rose-pine-moon-vcuVc4Xx.js} +0 -0
- /package/client/dist/{rosmsg-Cewq0GIU.js → rosmsg-CkrEKNqZ.js} +0 -0
- /package/client/dist/{rust-DUqlQOJa.js → rust-BJsQV1yN.js} +0 -0
- /package/client/dist/{sass-B6etFGcc.js → sass-DUMhS7Ul.js} +0 -0
- /package/client/dist/{scala-DO7Y6ZnG.js → scala-QIWWuOfJ.js} +0 -0
- /package/client/dist/{scheme-DRfbr32a.js → scheme-DUaTpimf.js} +0 -0
- /package/client/dist/{sdbl-Cwj938jR.js → sdbl-ByziAReF.js} +0 -0
- /package/client/dist/{shellscript-6ddxflCk.js → shellscript-C_4ahoKK.js} +0 -0
- /package/client/dist/{slack-dark-MJ2tXQFU.js → slack-dark-BStzxS3X.js} +0 -0
- /package/client/dist/{slack-ochin-JiV8dnc5.js → slack-ochin-2x4WQR0g.js} +0 -0
- /package/client/dist/{smalltalk-n98K00NG.js → smalltalk-BgOCST23.js} +0 -0
- /package/client/dist/{snazzy-light-Diadm8ds.js → snazzy-light-D0wXjU0P.js} +0 -0
- /package/client/dist/{solarized-dark-E9lKu8O9.js → solarized-dark-YpFNWaFw.js} +0 -0
- /package/client/dist/{solarized-light-DUxZ3u6U.js → solarized-light-7a4AqvZ7.js} +0 -0
- /package/client/dist/{solidity-TIGR-FLA.js → solidity-oQ4hiwc0.js} +0 -0
- /package/client/dist/{splunk-BQx3McES.js → splunk-C8Rf4xma.js} +0 -0
- /package/client/dist/{sql-Dmd5GQHa.js → sql-5h2ZDb6r.js} +0 -0
- /package/client/dist/{src-DyiU8SPu.js → src-CoWzf9ks.js} +0 -0
- /package/client/dist/{ssh-config-fbfk9ZS-.js → ssh-config-BK2cOZ3H.js} +0 -0
- /package/client/dist/{stylus-BojZhyRk.js → stylus-y5-4LTjW.js} +0 -0
- /package/client/dist/{swift-BQSJcvSP.js → swift-BgxBD2YR.js} +0 -0
- /package/client/dist/{synthwave-84-JxbjaS25.js → synthwave-84-BkPcWg5x.js} +0 -0
- /package/client/dist/{system-verilog-B92pMEOF.js → system-verilog--HBRY74c.js} +0 -0
- /package/client/dist/{systemd-Ce42yWog.js → systemd-CEGf-MNr.js} +0 -0
- /package/client/dist/{talonscript-DJHwn0Oo.js → talonscript-DxfF5wgQ.js} +0 -0
- /package/client/dist/{tasl-CjWGKv7Q.js → tasl-Bs3WmVDT.js} +0 -0
- /package/client/dist/{tcl-nr6oYQi-.js → tcl-sj44Uys6.js} +0 -0
- /package/client/dist/{terraform-BmtGXZe8.js → terraform-Dk3Frx3Z.js} +0 -0
- /package/client/dist/{tokyo-night-gi5ylZcS.js → tokyo-night-jks_2THM.js} +0 -0
- /package/client/dist/{toml-BJ91txE7.js → toml-58T5lJMb.js} +0 -0
- /package/client/dist/{tsv-DptZ_IAJ.js → tsv-Be6q89a5.js} +0 -0
- /package/client/dist/{tsx-zaCZdc_j.js → tsx-S_sG4GSd.js} +0 -0
- /package/client/dist/{turtle-KObLSigr.js → turtle-D3vlU2OK.js} +0 -0
- /package/client/dist/{typescript-BK0CyBaL.js → typescript-DCWwSN3O.js} +0 -0
- /package/client/dist/{typespec-Dixzl_0-.js → typespec-DOAqMqZd.js} +0 -0
- /package/client/dist/{typst-Ca21Y7Pn.js → typst-eQZesfAU.js} +0 -0
- /package/client/dist/{v-Bw8_1WxQ.js → v-CjxftokX.js} +0 -0
- /package/client/dist/{vala-Da3xMxIP.js → vala-BY4gOu9x.js} +0 -0
- /package/client/dist/{vb-DT5W8f2u.js → vb-jHsx6ydV.js} +0 -0
- /package/client/dist/{verilog-B1qcJjpT.js → verilog-uRed-ROJ.js} +0 -0
- /package/client/dist/{vesper-v8GRJVTp.js → vesper-IPbSDcY9.js} +0 -0
- /package/client/dist/{vhdl-BbOu44s9.js → vhdl-BpuKDOPO.js} +0 -0
- /package/client/dist/{viml-rl1TVVjI.js → viml-CVGu2R7N.js} +0 -0
- /package/client/dist/{vitesse-black-D6O93llO.js → vitesse-black-CvxMZcbe.js} +0 -0
- /package/client/dist/{vitesse-dark-BGTXnHSp.js → vitesse-dark-BO9bSnXr.js} +0 -0
- /package/client/dist/{vitesse-light-B8rxnpw3.js → vitesse-light-UtuwVwQJ.js} +0 -0
- /package/client/dist/{vyper-CCGDUHkP.js → vyper-DBdOKuCY.js} +0 -0
- /package/client/dist/{wasm-D9kcNmzo.js → wasm-Ded3y1Or.js} +0 -0
- /package/client/dist/{wasm-60TGlqXX.js → wasm-Dxuep-_m.js} +0 -0
- /package/client/dist/{wenyan-BBpTXpp6.js → wenyan-DsdZPJPl.js} +0 -0
- /package/client/dist/{wgsl-C3K1t-VI.js → wgsl-DkPKK0zn.js} +0 -0
- /package/client/dist/{wikitext-IKeinUQo.js → wikitext-C2JOdtm0.js} +0 -0
- /package/client/dist/{wit-DjseqtIO.js → wit-BFX5-EUh.js} +0 -0
- /package/client/dist/{wolfram-2yhZCbpX.js → wolfram-DkXQ7ZMv.js} +0 -0
- /package/client/dist/{yaml-CIUMmuno.js → yaml-ZSEnqUIp.js} +0 -0
- /package/client/dist/{zenscript--Fzj1TA1.js → zenscript-ITj6Wa64.js} +0 -0
- /package/client/dist/{zig-DSc-j2rQ.js → zig-1Mlf-trN.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./java-
|
|
1
|
+
import{t as e}from"./java-DeUXjYQU.js";const t=Object.freeze(JSON.parse(`{"displayName":"XML","name":"xml","patterns":[{"begin":"(<\\\\?)\\\\s*([-0-9A-Z_a-z]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml","patterns":[{"match":" ([-A-Za-z]+)","name":"entity.other.attribute-name.xml"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"begin":"(<!)(DOCTYPE)\\\\s+([:A-Z_a-z][-.0-:A-Z_a-z]*)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.doctype.xml"},"3":{"name":"variable.language.documentroot.xml"}},"end":"\\\\s*(>)","name":"meta.tag.sgml.doctype.xml","patterns":[{"include":"#internalSubset"}]},{"include":"#comments"},{"begin":"(<)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(?=(\\\\s[^>]*)?></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.xml"},"3":{"name":"entity.name.tag.namespace.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)(</)((?:([-0-9A-Z_a-z]+)(:))?([-0-:A-Z_a-z]+))(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"punctuation.definition.tag.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"entity.name.tag.namespace.xml"},"5":{"name":"punctuation.separator.namespace.xml"},"6":{"name":"entity.name.tag.localname.xml"},"7":{"name":"punctuation.definition.tag.xml"}},"name":"meta.tag.no-content.xml","patterns":[{"include":"#tagStuff"}]},{"begin":"(</?)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(/?>)","name":"meta.tag.xml","patterns":[{"include":"#tagStuff"}]},{"include":"#entity"},{"include":"#bare-ampersand"},{"begin":"<%@","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java-props.embedded.xml","patterns":[{"match":"page|include|taglib","name":"keyword.other.page-props.xml"}]},{"begin":"<%[!=]?(?!--)","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xml"}},"end":"(?!--)%>","endCaptures":{"0":{"name":"punctuation.section.embedded.end.xml"}},"name":"source.java.embedded.xml","patterns":[{"include":"source.java"}]},{"begin":"<!\\\\[CDATA\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"]]>","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.unquoted.cdata.xml"}],"repository":{"EntityDecl":{"begin":"(<!)(ENTITY)\\\\s+(%\\\\s+)?([:A-Z_a-z][-.0-:A-Z_a-z]*)(\\\\s+(?:SYSTEM|PUBLIC)\\\\s+)?","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"keyword.other.entity.xml"},"3":{"name":"punctuation.definition.entity.xml"},"4":{"name":"variable.language.entity.xml"},"5":{"name":"keyword.other.entitytype.xml"}},"end":"(>)","patterns":[{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},"bare-ampersand":{"match":"&","name":"invalid.illegal.bad-ampersand.xml"},"comments":{"patterns":[{"begin":"<%--","captures":{"0":{"name":"punctuation.definition.comment.xml"},"end":"--%>","name":"comment.block.xml"}},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.xml"}},"end":"-->","name":"comment.block.xml","patterns":[{"begin":"--(?!>)","captures":{"0":{"name":"invalid.illegal.bad-comments-or-CDATA.xml"}}}]}]},"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"entity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(&)([:A-Z_a-z][-.0-:A-Z_a-z]*|#[0-9]+|#x\\\\h+)(;)","name":"constant.character.entity.xml"},"internalSubset":{"begin":"(\\\\[)","captures":{"1":{"name":"punctuation.definition.constant.xml"}},"end":"(])","name":"meta.internalsubset.xml","patterns":[{"include":"#EntityDecl"},{"include":"#parameterEntity"},{"include":"#comments"}]},"parameterEntity":{"captures":{"1":{"name":"punctuation.definition.constant.xml"},"3":{"name":"punctuation.definition.constant.xml"}},"match":"(%)([:A-Z_a-z][-.0-:A-Z_a-z]*)(;)","name":"constant.character.parameter-entity.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml","patterns":[{"include":"#entity"},{"include":"#bare-ampersand"}]},"tagStuff":{"patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":"(?:^|\\\\s+)(?:([-.\\\\w]+)((:)))?([-.:\\\\w]+)\\\\s*="},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]}},"scopeName":"text.xml","embeddedLangs":["java"]}`));var n=[...e,t];export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./xml-BCPOgRQ8.js";export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./xml-
|
|
1
|
+
import{t as e}from"./xml-BCPOgRQ8.js";const t=Object.freeze(JSON.parse(`{"displayName":"XSL","name":"xsl","patterns":[{"begin":"(<)(xsl)((:))(template)","captures":{"1":{"name":"punctuation.definition.tag.xml"},"2":{"name":"entity.name.tag.namespace.xml"},"3":{"name":"entity.name.tag.xml"},"4":{"name":"punctuation.separator.namespace.xml"},"5":{"name":"entity.name.tag.localname.xml"}},"end":"(>)","name":"meta.tag.xml.template","patterns":[{"captures":{"1":{"name":"entity.other.attribute-name.namespace.xml"},"2":{"name":"entity.other.attribute-name.xml"},"3":{"name":"punctuation.separator.namespace.xml"},"4":{"name":"entity.other.attribute-name.localname.xml"}},"match":" (?:([-0-9A-Z_a-z]+)((:)))?([-A-Za-z]+)"},{"include":"#doublequotedString"},{"include":"#singlequotedString"}]},{"include":"text.xml"}],"repository":{"doublequotedString":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.double.xml"},"singlequotedString":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xml"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.xml"}},"name":"string.quoted.single.xml"}},"scopeName":"text.xml.xsl","embeddedLangs":["xml"]}`));var n=[...e,t];export{n as default};
|
package/client/dist/{xychartDiagram-PRI3JC2R-Bkdy-d61.js → xychartDiagram-PRI3JC2R-CSHRJA-w.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./marked.esm-
|
|
1
|
+
import"./marked.esm-DUB0uiru.js";import{i as e}from"./chunk-S3R3BYOJ-CQpHdWQs.js";import{g as t,h as n}from"./src-CoWzf9ks.js";import{B as r,C as i,I as a,T as o,U as s,_ as c,a as l,c as u,d,v as f,y as p,z as m}from"./chunk-ABZYJK2D-B-uQQBad.js";import{t as h}from"./linear-CFKbUwXk.js";import{t as g}from"./ordinal-NoUKjW5R.js";import"./defaultLocale-S7fGF81p.js";import{t as _}from"./init-BnPQj6aR.js";import{t as v}from"./line-D9fEXxLg.js";import{t as y}from"./chunk-EXTU4WIE-hA6kjEor.js";import"./dist-Bz_xenUc.js";import{t as b}from"./chunk-JA3XYJ7Z-B2ggvruF.js";function x(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function S(){var e=g().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=x(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return S(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},_.apply(d(),arguments)}var C=(function(){var e=n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,34,35,36],E=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],D=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],O=[1,64],k={trace:n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,27:`NUMBER_WITH_DECIMAL`,28:`COMMA`,31:`ARROW_DELIMITER`,34:`NEWLINE`,35:`SEMI`,36:`EOF`,38:`STR`,39:`MD_STR`,41:`AMP`,42:`NUM`,43:`ALPHA`,44:`PLUS`,45:`EQUALS`,46:`MULT`,47:`DOT`,48:`BRKT`,49:`MINUS`,50:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:this.$=[Number(a[s-2]),...a[s]];break;case 21:this.$=[Number(a[s])];break;case 22:r.setXAxisTitle(a[s]);break;case 23:r.setXAxisTitle(a[s-1]);break;case 24:r.setXAxisTitle({type:`text`,text:``});break;case 25:r.setXAxisBand(a[s]);break;case 26:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 27:this.$=a[s-1];break;case 28:this.$=[a[s-2],...a[s]];break;case 29:this.$=[a[s]];break;case 30:r.setYAxisTitle(a[s]);break;case 31:r.setYAxisTitle(a[s-1]);break;case 32:r.setYAxisTitle({type:`text`,text:``});break;case 33:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 37:this.$={text:a[s],type:`text`};break;case 38:this.$={text:a[s],type:`text`};break;case 39:this.$={text:a[s],type:`markdown`};break;case 40:this.$=a[s];break;case 41:this.$=a[s-1]+``+a[s];break}},`anonymous`),table:[e(t,r,{3:1,4:2,7:4,5:i,34:a,35:o,36:s}),{1:[3]},e(t,r,{4:2,7:4,3:8,5:i,34:a,35:o,36:s}),e(t,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],34:a,35:o,36:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(c,[2,34]),e(c,[2,35]),e(c,[2,36]),{1:[2,1]},e(t,r,{4:2,7:4,3:21,5:i,34:a,35:o,36:s}),{1:[2,3]},e(c,[2,5]),e(t,[2,7],{4:22,34:a,35:o,36:s}),{11:23,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:39,13:38,24:x,27:S,29:40,30:41,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:45,15:44,27:C,33:46,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:49,17:48,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{11:52,17:51,24:w,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,37],{40:55,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b}),e(E,[2,38]),e(E,[2,39]),e(D,[2,40]),e(D,[2,42]),e(D,[2,43]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(T,[2,10]),e(T,[2,22],{30:41,29:56,24:x,27:S}),e(T,[2,24]),e(T,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,11]),e(T,[2,30],{33:60,27:C}),e(T,[2,32]),{31:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:O},e(T,[2,14]),{17:65,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,41]),e(T,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},e(T,[2,31]),{27:[1,69]},e(T,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},e(T,[2,15]),e(T,[2,26]),e(T,[2,27]),{11:59,32:72,37:24,38:l,39:u,40:27,41:d,42:f,43:p,44:m,45:h,46:g,47:_,48:v,49:y,50:b},e(T,[2,33]),e(T,[2,19]),{25:73,27:O},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};k.lexer=(function(){return{EOF:1,parseError:n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:n(function(){return this._more=!0,this},`more`),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./yaml-ZSEnqUIp.js";export{e as default};
|
package/dist/cli.cjs
CHANGED
|
@@ -69,6 +69,20 @@ function detectConfigFile(cwd, patterns) {
|
|
|
69
69
|
return null;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
+
* Detects the indentation style used in the code.
|
|
73
|
+
* Simple approach: find the first indented line and use its indent.
|
|
74
|
+
*/
|
|
75
|
+
function detectIndent(code) {
|
|
76
|
+
const match = code.match(/\n(\t+|[ ]+)(?=\S)/);
|
|
77
|
+
if (match) {
|
|
78
|
+
const indent = match[1];
|
|
79
|
+
if (indent[0] === " ") return " ";
|
|
80
|
+
if (indent.length >= 4 && indent.startsWith(" ")) return " ";
|
|
81
|
+
if (indent.length >= 2) return " ";
|
|
82
|
+
}
|
|
83
|
+
return " ";
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
72
86
|
* Calculates the character position to insert an import, based on the last import line.
|
|
73
87
|
*/
|
|
74
88
|
function getInsertPosition(code, lastImportLine) {
|
|
@@ -83,24 +97,29 @@ function getInsertPosition(code, lastImportLine) {
|
|
|
83
97
|
function sanitizePath(path$1) {
|
|
84
98
|
return path$1.replace(/\\/g, "\\\\").replace(/'/g, "\\'").replace(/\n/g, "");
|
|
85
99
|
}
|
|
86
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Serializes an object to a formatted string.
|
|
102
|
+
* @param obj - The object to serialize
|
|
103
|
+
* @param baseIndent - The base indentation unit (e.g., " " for 2 spaces)
|
|
104
|
+
* @param depth - Current nesting depth
|
|
105
|
+
*/
|
|
106
|
+
function serializeObject(obj, baseIndent = " ", depth = 0) {
|
|
87
107
|
if (obj === null) return "null";
|
|
88
108
|
if (obj === void 0) return "undefined";
|
|
89
109
|
if (typeof obj === "string") return `'${sanitizePath(obj)}'`;
|
|
90
110
|
if (typeof obj !== "object") return String(obj);
|
|
91
|
-
if (Array.isArray(obj)) return `[${obj.map((item) => serializeObject(item,
|
|
111
|
+
if (Array.isArray(obj)) return `[${obj.map((item) => serializeObject(item, baseIndent, depth)).join(", ")}]`;
|
|
92
112
|
const keys = Object.keys(obj);
|
|
93
113
|
if (keys.length === 0) return "{}";
|
|
94
|
-
const indent =
|
|
95
|
-
const propIndent =
|
|
114
|
+
const indent = baseIndent.repeat(depth);
|
|
115
|
+
const propIndent = baseIndent.repeat(depth + 1);
|
|
96
116
|
return `{\n${keys.map((key) => {
|
|
97
|
-
const value = serializeObject(obj[key],
|
|
117
|
+
const value = serializeObject(obj[key], baseIndent, depth + 1);
|
|
98
118
|
return `${propIndent}${/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(key) ? key : `'${key}'`}: ${value}`;
|
|
99
119
|
}).join(",\n")}\n${indent}}`;
|
|
100
120
|
}
|
|
101
121
|
/**
|
|
102
122
|
* Parses a Babel ObjectExpression node into a simple JS object (shallow).
|
|
103
|
-
* Helper for KISS principle to avoid duplicating parsing logic.
|
|
104
123
|
*/
|
|
105
124
|
function parseObjectExpression(node) {
|
|
106
125
|
const result = {};
|
|
@@ -115,6 +134,15 @@ function parseObjectExpression(node) {
|
|
|
115
134
|
});
|
|
116
135
|
return result;
|
|
117
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* Unwraps TS expressions like 'as any', '!', etc. to get the underlying expression.
|
|
139
|
+
*/
|
|
140
|
+
function unwrapNode(node) {
|
|
141
|
+
if (!node) return node;
|
|
142
|
+
let current = node;
|
|
143
|
+
while (current.type === "TSAsExpression" || current.type === "TSNonNullExpression" || current.type === "TSSatisfiesExpression" || current.type === "TSTypeAssertion") current = current.expression;
|
|
144
|
+
return current;
|
|
145
|
+
}
|
|
118
146
|
|
|
119
147
|
//#endregion
|
|
120
148
|
//#region src/commands/setup/frameworks/vite.ts
|
|
@@ -128,6 +156,7 @@ function transformViteConfig(code, options) {
|
|
|
128
156
|
sourceType: "module",
|
|
129
157
|
plugins: ["typescript", "jsx"]
|
|
130
158
|
});
|
|
159
|
+
const indent = detectIndent(code);
|
|
131
160
|
let lastImportEnd = 0;
|
|
132
161
|
let pluginsArrayStart = -1;
|
|
133
162
|
let firstPluginStart = -1;
|
|
@@ -142,38 +171,35 @@ function transformViteConfig(code, options) {
|
|
|
142
171
|
ImportDeclaration(path$1) {
|
|
143
172
|
if (path$1.node.source.value === PLUGIN_IMPORT$2) {
|
|
144
173
|
hasImport = true;
|
|
145
|
-
const
|
|
146
|
-
if (
|
|
174
|
+
const spec = path$1.node.specifiers.find((s$1) => s$1.type === "ImportDefaultSpecifier");
|
|
175
|
+
if (spec?.local.type === "Identifier") importedVarName = spec.local.name;
|
|
147
176
|
}
|
|
148
177
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
149
178
|
},
|
|
150
179
|
ObjectProperty(path$1) {
|
|
151
180
|
if (path$1.node.key.type === "Identifier" && path$1.node.key.name === "plugins" && path$1.node.value.type === "ArrayExpression") {
|
|
152
181
|
hasPluginsArray = true;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
182
|
+
pluginsArrayStart = path$1.node.value.start ?? -1;
|
|
183
|
+
const elements = path$1.node.value.elements;
|
|
184
|
+
elements.forEach((rawElement) => {
|
|
185
|
+
const element = unwrapNode(rawElement);
|
|
186
|
+
if (element && element.type === "CallExpression" && element.callee.type === "MemberExpression" && element.callee.object.type === "Identifier" && element.callee.object.name === importedVarName && element.callee.property.type === "Identifier" && element.callee.property.name === "vite") {
|
|
187
|
+
hasPluginUsage = true;
|
|
188
|
+
if (typeof element.start === "number" && typeof element.end === "number") {
|
|
189
|
+
usageStart = element.start;
|
|
190
|
+
usageEnd = element.end;
|
|
164
191
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}
|
|
192
|
+
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
if (elements.length > 0 && elements[0]?.start != null) firstPluginStart = elements[0].start;
|
|
168
196
|
}
|
|
169
197
|
}
|
|
170
198
|
});
|
|
171
199
|
if (!hasImport) {
|
|
172
200
|
const importLine = `import ${PLUGIN_VAR_NAME$2} from '${PLUGIN_IMPORT$2}';\n`;
|
|
173
|
-
if (lastImportEnd > 0)
|
|
174
|
-
|
|
175
|
-
s.appendLeft(insertPos, importLine);
|
|
176
|
-
} else s.prepend(importLine);
|
|
201
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
202
|
+
else s.prepend(importLine);
|
|
177
203
|
}
|
|
178
204
|
const cliConfig = {};
|
|
179
205
|
if (options.entryPath) {
|
|
@@ -187,56 +213,42 @@ function transformViteConfig(code, options) {
|
|
|
187
213
|
if (options.defaultAgent !== void 0) cliConfig.defaultAgent = options.defaultAgent;
|
|
188
214
|
if (options.visibleAgents !== void 0) cliConfig.visibleAgents = options.visibleAgents;
|
|
189
215
|
if (options.publicBaseUrl !== void 0) cliConfig.publicBaseUrl = options.publicBaseUrl;
|
|
216
|
+
const pluginIndent = indent.repeat(2);
|
|
190
217
|
if (hasPluginUsage) {
|
|
191
218
|
const mergedConfig = existingOptionsNode ? parseObjectExpression(existingOptionsNode) : {};
|
|
192
219
|
Object.assign(mergedConfig, cliConfig);
|
|
193
|
-
if (usageStart > -1 && usageEnd > -1) {
|
|
194
|
-
|
|
195
|
-
s.overwrite(usageStart, usageEnd, newPluginCall);
|
|
196
|
-
}
|
|
197
|
-
} else {
|
|
220
|
+
if (usageStart > -1 && usageEnd > -1) s.overwrite(usageStart, usageEnd, `${importedVarName}.vite(${serializeObject(mergedConfig, indent, 3)})`);
|
|
221
|
+
} else if (hasPluginsArray) {
|
|
198
222
|
const finalConfig = {
|
|
199
223
|
enabled: true,
|
|
200
224
|
...cliConfig
|
|
201
225
|
};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
if (options.host || options.allowedHosts && options.allowedHosts.length > 0) traverse$2(ast, { ExportDefaultDeclaration(path$1) {
|
|
216
|
-
if (path$1.node.declaration.type === "CallExpression" && path$1.node.declaration.arguments.length > 0 && path$1.node.declaration.arguments[0].type === "ObjectExpression") {
|
|
226
|
+
const pluginCall = `${importedVarName}.vite(${serializeObject(finalConfig, indent, 3)})`;
|
|
227
|
+
if (firstPluginStart > -1) s.appendLeft(firstPluginStart, `${pluginCall},\n${pluginIndent}`);
|
|
228
|
+
else if (pluginsArrayStart > -1) s.appendLeft(pluginsArrayStart + 1, `\n${pluginIndent}${pluginCall},\n${indent}`);
|
|
229
|
+
} else return {
|
|
230
|
+
success: false,
|
|
231
|
+
modified: false,
|
|
232
|
+
error: "Could not find plugins array in config",
|
|
233
|
+
message: "Please add DevInspector manually to your plugins array"
|
|
234
|
+
};
|
|
235
|
+
if (options.host || options.allowedHosts?.length) traverse$2(ast, { ExportDefaultDeclaration(path$1) {
|
|
236
|
+
if (path$1.node.declaration.type === "CallExpression" && path$1.node.declaration.arguments[0]?.type === "ObjectExpression") {
|
|
217
237
|
const configObj = path$1.node.declaration.arguments[0];
|
|
218
238
|
const serverProp = configObj.properties.find((p) => p.type === "ObjectProperty" && p.key.type === "Identifier" && p.key.name === "server");
|
|
219
|
-
|
|
239
|
+
const serverIndent = indent.repeat(2);
|
|
240
|
+
if (serverProp?.value.start != null) {
|
|
220
241
|
const serverContentStart = serverProp.value.start + 1;
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
} else if (configObj.start !== null) {
|
|
233
|
-
let injection = "\n server: {\n";
|
|
234
|
-
if (options.host) injection += ` host: '${options.host}',\n`;
|
|
235
|
-
if (options.allowedHosts && options.allowedHosts.length > 0) {
|
|
236
|
-
const hostsStr = options.allowedHosts.map((h) => `'${h}'`).join(", ");
|
|
237
|
-
injection += ` allowedHosts: [${hostsStr}],\n`;
|
|
238
|
-
}
|
|
239
|
-
injection += " },";
|
|
242
|
+
const currentBlock = code.slice(serverContentStart, serverProp.value.end);
|
|
243
|
+
let injection = "";
|
|
244
|
+
if (options.host && !currentBlock.includes("host:")) injection += `\n${serverIndent}host: '${options.host}',`;
|
|
245
|
+
if (options.allowedHosts?.length && !currentBlock.includes("allowedHosts:")) injection += `\n${serverIndent}allowedHosts: [${options.allowedHosts.map((h) => `'${h}'`).join(", ")}],`;
|
|
246
|
+
if (injection) s.appendLeft(serverContentStart, injection);
|
|
247
|
+
} else if (configObj.start != null) {
|
|
248
|
+
let injection = `\n${indent}server: {\n`;
|
|
249
|
+
if (options.host) injection += `${serverIndent}host: '${options.host}',\n`;
|
|
250
|
+
if (options.allowedHosts?.length) injection += `${serverIndent}allowedHosts: [${options.allowedHosts.map((h) => `'${h}'`).join(", ")}],\n`;
|
|
251
|
+
injection += `${indent}},`;
|
|
240
252
|
s.appendLeft(configObj.start + 1, injection);
|
|
241
253
|
}
|
|
242
254
|
}
|
|
@@ -282,8 +294,10 @@ function transformWebpackConfig(code, options) {
|
|
|
282
294
|
sourceType: "module",
|
|
283
295
|
plugins: ["typescript"]
|
|
284
296
|
});
|
|
297
|
+
const indent = detectIndent(code);
|
|
285
298
|
let lastImportEnd = 0;
|
|
286
299
|
let pluginsArrayStart = -1;
|
|
300
|
+
let firstPluginStart = -1;
|
|
287
301
|
let hasImport = false;
|
|
288
302
|
let hasPluginUsage = false;
|
|
289
303
|
let importedVarName = PLUGIN_VAR_NAME$1;
|
|
@@ -295,43 +309,40 @@ function transformWebpackConfig(code, options) {
|
|
|
295
309
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
296
310
|
if (path$1.node.source.value === PLUGIN_IMPORT$1) {
|
|
297
311
|
hasImport = true;
|
|
298
|
-
const
|
|
299
|
-
if (
|
|
312
|
+
const spec = path$1.node.specifiers.find((s$1) => s$1.type === "ImportDefaultSpecifier");
|
|
313
|
+
if (spec?.local.type === "Identifier") importedVarName = spec.local.name;
|
|
300
314
|
}
|
|
301
315
|
},
|
|
302
316
|
VariableDeclaration(path$1) {
|
|
303
317
|
if (path$1.node.loc && !isESM) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
304
|
-
path$1.node.declarations
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
});
|
|
318
|
+
for (const decl of path$1.node.declarations) if (decl.init?.type === "CallExpression" && decl.init.callee.type === "Identifier" && decl.init.callee.name === "require" && decl.init.arguments[0]?.type === "StringLiteral" && decl.init.arguments[0].value === PLUGIN_IMPORT$1 && decl.id.type === "Identifier") {
|
|
319
|
+
hasImport = true;
|
|
320
|
+
importedVarName = decl.id.name;
|
|
321
|
+
}
|
|
310
322
|
},
|
|
311
323
|
ObjectProperty(path$1) {
|
|
312
324
|
if (path$1.node.key.type === "Identifier" && path$1.node.key.name === "plugins" && path$1.node.value.type === "ArrayExpression") {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
325
|
+
pluginsArrayStart = path$1.node.value.start ?? -1;
|
|
326
|
+
const elements = path$1.node.value.elements;
|
|
327
|
+
elements.forEach((rawElement) => {
|
|
328
|
+
const element = unwrapNode(rawElement);
|
|
329
|
+
if (element && element.type === "CallExpression" && element.callee.type === "MemberExpression" && element.callee.object.type === "Identifier" && element.callee.object.name === importedVarName && element.callee.property.type === "Identifier" && element.callee.property.name === "webpack") {
|
|
330
|
+
hasPluginUsage = true;
|
|
331
|
+
if (typeof element.start === "number" && typeof element.end === "number") {
|
|
332
|
+
usageStart = element.start;
|
|
333
|
+
usageEnd = element.end;
|
|
323
334
|
}
|
|
324
|
-
|
|
325
|
-
|
|
335
|
+
if (element.arguments.length > 0 && element.arguments[0].type === "ObjectExpression") existingOptionsNode = element.arguments[0];
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
if (elements.length > 0 && elements[0]?.start != null) firstPluginStart = elements[0].start;
|
|
326
339
|
}
|
|
327
340
|
}
|
|
328
341
|
});
|
|
329
342
|
if (!hasImport) {
|
|
330
343
|
const importLine = isESM ? `import ${PLUGIN_VAR_NAME$1} from '${PLUGIN_IMPORT$1}';\n` : `const ${PLUGIN_VAR_NAME$1} = require('${PLUGIN_IMPORT$1}');\n`;
|
|
331
|
-
if (lastImportEnd > 0)
|
|
332
|
-
|
|
333
|
-
s.appendLeft(insertPos, importLine);
|
|
334
|
-
} else s.prepend(importLine);
|
|
344
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
345
|
+
else s.prepend(importLine);
|
|
335
346
|
}
|
|
336
347
|
const cliConfig = {};
|
|
337
348
|
if (options.entryPath) {
|
|
@@ -345,20 +356,23 @@ function transformWebpackConfig(code, options) {
|
|
|
345
356
|
if (options.defaultAgent !== void 0) cliConfig.defaultAgent = options.defaultAgent;
|
|
346
357
|
if (options.visibleAgents !== void 0) cliConfig.visibleAgents = options.visibleAgents;
|
|
347
358
|
if (options.publicBaseUrl !== void 0) cliConfig.publicBaseUrl = options.publicBaseUrl;
|
|
359
|
+
const pluginIndent = indent.repeat(2);
|
|
348
360
|
if (hasPluginUsage) {
|
|
349
361
|
const mergedConfig = existingOptionsNode ? parseObjectExpression(existingOptionsNode) : {};
|
|
350
362
|
Object.assign(mergedConfig, cliConfig);
|
|
351
|
-
if (usageStart > -1 && usageEnd > -1) {
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
363
|
+
if (usageStart > -1 && usageEnd > -1) s.overwrite(usageStart, usageEnd, `${importedVarName}.webpack(${serializeObject(mergedConfig, indent, 3)})`);
|
|
364
|
+
} else if (firstPluginStart > -1) {
|
|
365
|
+
const finalConfig = {
|
|
366
|
+
enabled: true,
|
|
367
|
+
...cliConfig
|
|
368
|
+
};
|
|
369
|
+
s.appendLeft(firstPluginStart, `${importedVarName}.webpack(${serializeObject(finalConfig, indent, 3)}),\n${pluginIndent}`);
|
|
355
370
|
} else if (pluginsArrayStart > -1) {
|
|
356
371
|
const finalConfig = {
|
|
357
372
|
enabled: true,
|
|
358
373
|
...cliConfig
|
|
359
374
|
};
|
|
360
|
-
|
|
361
|
-
s.appendLeft(pluginsArrayStart + 1, pluginCall);
|
|
375
|
+
s.appendLeft(pluginsArrayStart + 1, `\n${pluginIndent}${importedVarName}.webpack(${serializeObject(finalConfig, indent, 3)}),\n${indent}`);
|
|
362
376
|
} else return {
|
|
363
377
|
success: false,
|
|
364
378
|
modified: false,
|
|
@@ -411,6 +425,7 @@ function transformNextConfig(code, _options) {
|
|
|
411
425
|
sourceType: "module",
|
|
412
426
|
plugins: ["typescript"]
|
|
413
427
|
});
|
|
428
|
+
const indent = detectIndent(code);
|
|
414
429
|
let lastImportEnd = 0;
|
|
415
430
|
let nextConfigStart = -1;
|
|
416
431
|
let hasWebpackProperty = false;
|
|
@@ -421,44 +436,39 @@ function transformNextConfig(code, _options) {
|
|
|
421
436
|
},
|
|
422
437
|
VariableDeclarator(path$1) {
|
|
423
438
|
if (path$1.node.id.type === "Identifier" && path$1.node.id.name === "nextConfig" && path$1.node.init?.type === "ObjectExpression") {
|
|
424
|
-
|
|
425
|
-
path$1.node.init.properties
|
|
426
|
-
if (prop.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}
|
|
430
|
-
});
|
|
439
|
+
nextConfigStart = path$1.node.init.start ?? -1;
|
|
440
|
+
for (const prop of path$1.node.init.properties) if (prop.type === "ObjectProperty" && prop.key.type === "Identifier") {
|
|
441
|
+
if (prop.key.name === "webpack") hasWebpackProperty = true;
|
|
442
|
+
if (prop.key.name === "turbopack") hasTurbopackProperty = true;
|
|
443
|
+
}
|
|
431
444
|
}
|
|
432
445
|
}
|
|
433
446
|
});
|
|
434
447
|
const importLine = `import ${PLUGIN_VAR_NAME}, { turbopackDevInspector } from '${PLUGIN_IMPORT}';\n`;
|
|
435
|
-
if (lastImportEnd > 0)
|
|
436
|
-
|
|
437
|
-
s.appendLeft(insertPos, importLine);
|
|
438
|
-
} else s.prepend(importLine);
|
|
448
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
449
|
+
else s.prepend(importLine);
|
|
439
450
|
if (nextConfigStart > -1 && !hasWebpackProperty && !hasTurbopackProperty) {
|
|
440
|
-
const
|
|
451
|
+
const i1 = indent, i2 = indent.repeat(2);
|
|
452
|
+
indent.repeat(3);
|
|
441
453
|
const webpackConfig = `
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
rules: turbopackDevInspector(${pluginOptions}),
|
|
450
|
-
},`;
|
|
454
|
+
${i1}webpack: (config) => {
|
|
455
|
+
${i2}config.plugins.push(${PLUGIN_VAR_NAME}.webpack({ enabled: true }));
|
|
456
|
+
${i2}return config;
|
|
457
|
+
${i1}},
|
|
458
|
+
${i1}turbopack: {
|
|
459
|
+
${i2}rules: turbopackDevInspector({ enabled: true }),
|
|
460
|
+
${i1}},`;
|
|
451
461
|
s.appendLeft(nextConfigStart + 1, webpackConfig);
|
|
452
462
|
} else if (hasWebpackProperty || hasTurbopackProperty) return {
|
|
453
463
|
success: false,
|
|
454
464
|
modified: false,
|
|
455
|
-
message: `${hasWebpackProperty ? "webpack" : "turbopack"} property already exists. Please add DevInspector manually
|
|
465
|
+
message: `${hasWebpackProperty ? "webpack" : "turbopack"} property already exists. Please add DevInspector manually`
|
|
456
466
|
};
|
|
457
467
|
else return {
|
|
458
468
|
success: false,
|
|
459
469
|
modified: false,
|
|
460
470
|
error: "Could not find nextConfig object",
|
|
461
|
-
message: "Please add DevInspector manually
|
|
471
|
+
message: "Please add DevInspector manually"
|
|
462
472
|
};
|
|
463
473
|
return {
|
|
464
474
|
success: true,
|
|
@@ -488,6 +498,7 @@ function transformNextLayout(code) {
|
|
|
488
498
|
sourceType: "module",
|
|
489
499
|
plugins: ["typescript", "jsx"]
|
|
490
500
|
});
|
|
501
|
+
const indent = detectIndent(code);
|
|
491
502
|
let lastImportEnd = 0;
|
|
492
503
|
let bodyStart = -1;
|
|
493
504
|
traverse(ast, {
|
|
@@ -495,23 +506,18 @@ function transformNextLayout(code) {
|
|
|
495
506
|
if (path$1.node.loc) lastImportEnd = Math.max(lastImportEnd, path$1.node.loc.end.line);
|
|
496
507
|
},
|
|
497
508
|
JSXElement(path$1) {
|
|
498
|
-
if (path$1.node.openingElement.name.type === "JSXIdentifier" && path$1.node.openingElement.name.name === "body" && path$1.node.
|
|
499
|
-
const openingEnd = path$1.node.openingElement.end;
|
|
500
|
-
if (openingEnd !== null && openingEnd !== void 0) bodyStart = openingEnd;
|
|
501
|
-
}
|
|
509
|
+
if (path$1.node.openingElement.name.type === "JSXIdentifier" && path$1.node.openingElement.name.name === "body" && path$1.node.openingElement.end != null) bodyStart = path$1.node.openingElement.end;
|
|
502
510
|
}
|
|
503
511
|
});
|
|
504
512
|
const importLine = `import { DevInspector } from "${COMPONENT_IMPORT}";\n`;
|
|
505
|
-
if (lastImportEnd > 0)
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
} else s.prepend(importLine);
|
|
509
|
-
if (bodyStart > -1) s.appendLeft(bodyStart, "\n <DevInspector />");
|
|
513
|
+
if (lastImportEnd > 0) s.appendLeft(getInsertPosition(code, lastImportEnd), importLine);
|
|
514
|
+
else s.prepend(importLine);
|
|
515
|
+
if (bodyStart > -1) s.appendLeft(bodyStart, `\n${indent.repeat(4)}<DevInspector />`);
|
|
510
516
|
else return {
|
|
511
517
|
success: false,
|
|
512
518
|
modified: false,
|
|
513
519
|
error: "Could not find <body> element",
|
|
514
|
-
message: "Please add <DevInspector /> manually
|
|
520
|
+
message: "Please add <DevInspector /> manually"
|
|
515
521
|
};
|
|
516
522
|
return {
|
|
517
523
|
success: true,
|