@aussieljk/forkbook 0.0.1-11 → 0.0.1-12
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 +1 -1
- package/assets/create/rendererAssets/common/button.css +6 -6
- package/assets/create/rendererAssets/common/header.css +5 -5
- package/assets/create/rendererAssets/common/page.css +10 -10
- package/dist/_browser-chunks/{Color-QLZNXLSV.js → Color-TA43572R.js} +2 -2
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-GNLRTZDF.js → WithTooltip-66AWY4VQ.js} +5 -4
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-DYNTDJ3O.js → chunk-2UKY4NXZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-I4ATZPNZ.js → chunk-2WMECYEY.js} +3 -3
- package/dist/_browser-chunks/{chunk-6ELMKWKX.js → chunk-2WZWS7GJ.js} +1 -1
- package/dist/_browser-chunks/{chunk-N3NRW5XX.js → chunk-2YWS25WY.js} +1 -1
- package/dist/_browser-chunks/{chunk-NGMQJMCY.js → chunk-3O4QUF3D.js} +1 -1
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-5MRMYSUN.js} +4 -4
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-5XGERZHU.js} +15 -12
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-AQVUHXWY.js} +6 -4
- package/dist/_browser-chunks/{chunk-ZHKZKFY4.js → chunk-ARZTIHZK.js} +6 -10
- package/dist/_browser-chunks/{chunk-DS2WQZGO.js → chunk-D2Z5KXPS.js} +12 -41
- package/dist/_browser-chunks/{chunk-EQKMUQF3.js → chunk-DT7BB545.js} +3 -2
- package/dist/_browser-chunks/{chunk-76222HQR.js → chunk-E6QKKKLO.js} +20 -5
- package/dist/_browser-chunks/{chunk-QU4RB2WU.js → chunk-F22A5EGD.js} +4 -4
- package/dist/_browser-chunks/{chunk-3M5T7BW4.js → chunk-GGALYEQS.js} +1 -1
- package/dist/_browser-chunks/{chunk-TTBPZQ24.js → chunk-HGIW4I4J.js} +11 -18
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/{chunk-KYSD26D6.js → chunk-IGD46SQI.js} +90 -83
- package/dist/_browser-chunks/{chunk-WBLVFDJT.js → chunk-QSYOMLRG.js} +665 -622
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-O24AZJZ7.js → chunk-UDR26TXA.js} +2 -2
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/{chunk-7DQREF4S.js → chunk-XV3AEPJW.js} +1 -1
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-J2AKT5WI.js → attached-runtime-AU2RZM4Y.js} +28 -29
- package/dist/_node-chunks/{builder-manager-Z4RWF4ZH.js → builder-manager-UPXA2KKT.js} +39 -28
- package/dist/_node-chunks/{chunk-NIQSBBT2.js → chunk-22A63J7O.js} +7 -7
- package/dist/_node-chunks/{chunk-5P4N734V.js → chunk-22TWJGGQ.js} +28 -43
- package/dist/_node-chunks/{chunk-T6P2EJD2.js → chunk-2GJBHF56.js} +6 -6
- package/dist/_node-chunks/{chunk-GGCOG7OV.js → chunk-2MGPZNKV.js} +280 -306
- package/dist/_node-chunks/{chunk-36LPBTLF.js → chunk-2Q3YWQSK.js} +6 -6
- package/dist/_node-chunks/{chunk-OXT6T4AS.js → chunk-2W525A4I.js} +7 -7
- package/dist/_node-chunks/{chunk-55S3GGGC.js → chunk-2X3WAH7V.js} +7 -7
- package/dist/_node-chunks/{chunk-XH5CXH53.js → chunk-34DNGOCZ.js} +8 -8
- package/dist/_node-chunks/{chunk-A7GEBS3Q.js → chunk-3MJZ5GI2.js} +6 -6
- package/dist/_node-chunks/{chunk-46Y5H6X5.js → chunk-3X67K6EI.js} +136 -114
- package/dist/_node-chunks/{chunk-GMKLTDKN.js → chunk-5KMW5XXM.js} +6 -6
- package/dist/_node-chunks/{chunk-AVL7GUOZ.js → chunk-5MYXWAKD.js} +515 -1040
- package/dist/_node-chunks/{chunk-MI7WBXWX.js → chunk-5N7YRHXJ.js} +6 -6
- package/dist/_node-chunks/{chunk-LKITAODU.js → chunk-6772LYNF.js} +7 -7
- package/dist/_node-chunks/{chunk-IRPQQARO.js → chunk-76M6JG5T.js} +7 -7
- package/dist/_node-chunks/{chunk-YBG7HVP7.js → chunk-7F6TIY4T.js} +8 -8
- package/dist/_node-chunks/{chunk-IFAV3CER.js → chunk-7SBWGNA7.js} +10 -10
- package/dist/_node-chunks/{chunk-LHNHFYK3.js → chunk-ABCEMTIP.js} +6 -6
- package/dist/_node-chunks/{chunk-OPT5A55S.js → chunk-AHNN3TQH.js} +8 -8
- package/dist/_node-chunks/{chunk-76KKKLEE.js → chunk-BDATIKVV.js} +7 -7
- package/dist/_node-chunks/{chunk-SJXLINHV.js → chunk-BMM74ZQW.js} +6 -6
- package/dist/_node-chunks/{chunk-XSVOMORJ.js → chunk-BOWRRVJM.js} +6 -6
- package/dist/_node-chunks/{chunk-FB2BOL6I.js → chunk-BTDLJXAT.js} +6 -6
- package/dist/_node-chunks/{chunk-W7HY3ELZ.js → chunk-C2HVGXLD.js} +224 -181
- package/dist/_node-chunks/chunk-CWIJ2D5F.js +18 -0
- package/dist/_node-chunks/{chunk-BKND5XP2.js → chunk-DNX4BLMS.js} +7 -7
- package/dist/_node-chunks/{chunk-FTYDKQCO.js → chunk-DXR3YGRT.js} +6 -6
- package/dist/_node-chunks/{chunk-6E34W4UX.js → chunk-EFZAYIPN.js} +6 -6
- package/dist/_node-chunks/{chunk-54EHKXV7.js → chunk-FAR3NIPG.js} +8 -8
- package/dist/_node-chunks/{chunk-3EBGFRAH.js → chunk-FFUIQJRI.js} +32 -40
- package/dist/_node-chunks/{chunk-2WVLC5M2.js → chunk-FKI7K3GE.js} +6 -6
- package/dist/_node-chunks/{chunk-TAMTPVYZ.js → chunk-FR67COFW.js} +7 -7
- package/dist/_node-chunks/{chunk-IVAOJWPF.js → chunk-FUDG3QKB.js} +7 -7
- package/dist/_node-chunks/{chunk-XVOIYGTJ.js → chunk-G6GOV7H7.js} +6 -6
- package/dist/_node-chunks/{chunk-MW4OAPPD.js → chunk-H7UVQBCQ.js} +8 -8
- package/dist/_node-chunks/{chunk-PYVGF5F2.js → chunk-HMQUTLMS.js} +6 -6
- package/dist/_node-chunks/{chunk-NLNAIU4I.js → chunk-HPXM4SGT.js} +9 -9
- package/dist/_node-chunks/{chunk-APPFF22V.js → chunk-HW4T3OXA.js} +7 -7
- package/dist/_node-chunks/{chunk-FUG5LYKS.js → chunk-HW7RCOV4.js} +8 -8
- package/dist/_node-chunks/{chunk-PXOD36TR.js → chunk-IFHNMS7I.js} +19 -19
- package/dist/_node-chunks/{chunk-W3KFVTWV.js → chunk-IKUSSZJ3.js} +10 -10
- package/dist/_node-chunks/{chunk-C5OFHB3N.js → chunk-IOXDHKFF.js} +7 -7
- package/dist/_node-chunks/chunk-J3CNNXKQ.js +11 -0
- package/dist/_node-chunks/{chunk-2U5J7YTA.js → chunk-JB4457FJ.js} +6 -6
- package/dist/_node-chunks/{chunk-VZG3OKFO.js → chunk-JHX35YKT.js} +6 -6
- package/dist/_node-chunks/{chunk-LAIED5XU.js → chunk-JKPKEYSH.js} +6 -6
- package/dist/_node-chunks/{chunk-NLLM4MDK.js → chunk-JMFTALJW.js} +6 -6
- package/dist/_node-chunks/{chunk-AKMPPLT5.js → chunk-JXS4P2RM.js} +7 -7
- package/dist/_node-chunks/{chunk-6UASHVMR.js → chunk-K2K6KTBC.js} +8 -8
- package/dist/_node-chunks/{chunk-S3NDLFYL.js → chunk-KMC5WWQS.js} +7 -7
- package/dist/_node-chunks/{chunk-BBU2FUPC.js → chunk-KQTFSKC6.js} +8 -8
- package/dist/_node-chunks/{chunk-3IIQSDCO.js → chunk-KZPWZM2E.js} +37 -34
- package/dist/_node-chunks/{chunk-7YQTID2W.js → chunk-LTJ4AYDM.js} +6 -6
- package/dist/_node-chunks/{chunk-32FLWHUC.js → chunk-MNNESU33.js} +497 -475
- package/dist/_node-chunks/{chunk-WBCKO5LP.js → chunk-MNQVVJZN.js} +6 -6
- package/dist/_node-chunks/{chunk-MBIVTOJK.js → chunk-NO7MF6VR.js} +6 -6
- package/dist/_node-chunks/{chunk-BSQB5B57.js → chunk-NPSIAK46.js} +6 -6
- package/dist/_node-chunks/{chunk-DGWKJQ6G.js → chunk-NUSHY22I.js} +62 -7
- package/dist/_node-chunks/{chunk-OJWUUSA4.js → chunk-NXRZL2PR.js} +6 -6
- package/dist/_node-chunks/{chunk-FEC5PGJO.js → chunk-O2CCUB5T.js} +7 -7
- package/dist/_node-chunks/{chunk-6UAJLEIO.js → chunk-ORSH2FXG.js} +6 -6
- package/dist/_node-chunks/{chunk-GYFR2JLS.js → chunk-OSNOV4EH.js} +7 -7
- package/dist/_node-chunks/{chunk-GTXZNA2L.js → chunk-PHB6QBHM.js} +10 -10
- package/dist/_node-chunks/{chunk-WO4UEQI6.js → chunk-POA32M7F.js} +21 -21
- package/dist/_node-chunks/{chunk-GO3YSBPE.js → chunk-Q64ESHBN.js} +8 -8
- package/dist/_node-chunks/{chunk-RNRGXAFV.js → chunk-QBWGJYHY.js} +6 -6
- package/dist/_node-chunks/{chunk-ZEYODVQT.js → chunk-QSKVNZCF.js} +7 -7
- package/dist/_node-chunks/{chunk-D5ADPGA4.js → chunk-QX6RXAEU.js} +6 -6
- package/dist/_node-chunks/{chunk-PQTEFQIJ.js → chunk-R73PEGQU.js} +9 -9
- package/dist/_node-chunks/{chunk-Z2ZTDQDY.js → chunk-RHH7VDIY.js} +8 -8
- package/dist/_node-chunks/{chunk-R7VDUSKY.js → chunk-RMJNWFPV.js} +9 -9
- package/dist/_node-chunks/{chunk-5GOXN5M4.js → chunk-RT2LVWTC.js} +7 -7
- package/dist/_node-chunks/{chunk-XCJ2ZIQ4.js → chunk-SPCPGRYF.js} +7 -7
- package/dist/_node-chunks/{chunk-Y4W4B3E7.js → chunk-SUHBBHKR.js} +6 -6
- package/dist/_node-chunks/{chunk-VKRGTLQJ.js → chunk-TXZTC6LA.js} +22 -22
- package/dist/_node-chunks/{chunk-XO54HM4P.js → chunk-U5HVQTHI.js} +6 -6
- package/dist/_node-chunks/{chunk-XICRXTTE.js → chunk-UFZUSE3Y.js} +6 -6
- package/dist/_node-chunks/{chunk-ALGQMFMN.js → chunk-UGQFYYBC.js} +6 -6
- package/dist/_node-chunks/{chunk-ER3X3AQ7.js → chunk-UKLCYEZU.js} +7 -7
- package/dist/_node-chunks/{chunk-J3SM62J3.js → chunk-VJEN2JM3.js} +8 -8
- package/dist/_node-chunks/{chunk-7IOSIYW2.js → chunk-W5ZAUN5R.js} +7 -7
- package/dist/_node-chunks/{chunk-MXLHIEXC.js → chunk-WNEWL2PL.js} +6 -6
- package/dist/_node-chunks/{chunk-CEYSYQLV.js → chunk-WUVQ465T.js} +6 -6
- package/dist/_node-chunks/{chunk-REIDJUVJ.js → chunk-XCNYQV2M.js} +19 -15
- package/dist/_node-chunks/{chunk-TKMXEHM4.js → chunk-XOAWAXUH.js} +7 -7
- package/dist/_node-chunks/chunk-Y472MP5U.js +281 -0
- package/dist/_node-chunks/{chunk-NFDQT7UW.js → chunk-ZCKTYMZT.js} +320 -316
- package/dist/_node-chunks/{chunk-5JLVSH44.js → chunk-ZUK5ZLPP.js} +8 -8
- package/dist/_node-chunks/dist-2DPC664Y.js +27 -0
- package/dist/_node-chunks/dist-XBFUDMFQ.js +16 -0
- package/dist/_node-chunks/{local-runtime-YDAW5RJV.js → local-runtime-Z667YPXR.js} +19 -20
- package/dist/_node-chunks/{mdx-plugin-XLDET5LV.js → mdx-plugin-BPRPTZNP.js} +13 -13
- package/dist/_node-chunks/{monorepo-NWMAHGOM.js → monorepo-GO54BY34.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-4B6IZ7JD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js} +11 -11
- package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-PJC4PO6A.js → pattern-copy-play-64HQIVWK.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-4CWXZ35U.js → rehype-external-links-2BSEZ7AC.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-QZ2PWSJH.js → rehype-slug-6253EA36.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-ZQR4ER7L.js → relaxed-limits-4PAAPG3J.js} +11 -11
- package/dist/_node-chunks/{run-BMXB2BW2.js → run-3SQW3FRF.js} +18 -18
- package/dist/_node-chunks/{run-U63AXEKZ.js → run-XJT3YVMZ.js} +16 -16
- package/dist/_node-chunks/{setup-NCUTUBNN.js → setup-JIYCTADZ.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-4XHF7XPS.js → vitest.config.4.template-W74SGWHT.js} +7 -7
- package/dist/actions/decorator.js +12 -20
- package/dist/addon-a11y/index.js +2 -2
- package/dist/addon-a11y/manager.js +11 -11
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -2
- package/dist/addon-docs/blocks.d.ts +10 -6
- package/dist/addon-docs/blocks.js +29 -31
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +3 -3
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-docs/preview.js +1 -1
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +9 -9
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +15 -15
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.js +1 -1
- package/dist/addon-pseudo-states/preview.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +18 -9
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +28 -28
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -15
- package/dist/addon-vitest/vitest-plugin/global-setup.js +21 -21
- package/dist/addon-vitest/vitest-plugin/index.js +68 -58
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +106 -88
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +18 -18
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +1 -1
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-Fg1Fm__9.d.ts → chunk-BmCH-L7_.d.ts} +393 -383
- package/dist/{chunk-CNqjcOmK.d.ts → chunk-Bn1RoGAP.d.ts} +1 -1
- package/dist/{chunk-BXLImeLy.d.ts → chunk-CfEntHiI.d.ts} +18 -3
- package/dist/{chunk-D0NUmzXp.d.ts → chunk-IMedIHPn.d.ts} +3 -3
- package/dist/{chunk-CYuvV2sR.d.ts → chunk-evfhuBNU.d.ts} +1 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +25 -30
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +2 -2
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +2 -1
- package/dist/common/index.d.ts +5 -5
- package/dist/common/index.js +34 -35
- package/dist/components/index.d.ts +6 -6
- package/dist/components/index.js +154 -164
- package/dist/core-server/index.d.ts +5 -5
- package/dist/core-server/index.js +685 -152
- package/dist/core-server/presets/common-manager.js +229 -318
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +73 -268
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +10 -10
- package/dist/csf-tools/index.d.ts +41 -37
- package/dist/csf-tools/index.js +13 -13
- package/dist/instrumenter/index.d.ts +1 -1
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CHjExYMv.js → globals-runtime--RDllwDw.js} +629 -436
- package/dist/manager/_manager-chunks/{globals-runtime-DvV_TF3-.js → globals-runtime-B4NRbNSS.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-wjkxyMn0.js → globals-runtime-BC43T1rL.js} +4150 -50
- package/dist/manager/_manager-chunks/{globals-runtime-C5gK7HhH.js → globals-runtime-BFVFUcji.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BSj0mCjE.js → globals-runtime-BWciJpaD.js} +94 -92
- package/dist/manager/_manager-chunks/{globals-runtime-CA8AuIRT.js → globals-runtime-BnQ7i5wq.js} +232 -228
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BY3epqww.js → globals-runtime-CS41oTca.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bu9eGDTe.js → globals-runtime-CdLHkSK1.js} +260 -401
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BweHuXkK.js → globals-runtime-DCmvKMN5.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C92M_Vnq.js → globals-runtime-DhygDQ09.js} +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-CCTA-XPa.js → globals-runtime-DweLlyBa.js} +5 -4
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bj5KDUJi.js → globals-runtime-oRjPg2jY.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-CJQZFUUj.js → runtime-1BcYUf7-.js} +26 -44
- package/dist/manager/_manager-chunks/{runtime-Dem2xJbS.js → runtime-B2VQIT0n.js} +739 -554
- package/dist/manager/_manager-chunks/runtime-BBaBlpAS.js +552 -0
- package/dist/manager/_manager-chunks/{runtime-DvB1axgp.js → runtime-BFgSyEE6.js} +13 -13
- package/dist/manager/_manager-chunks/{runtime-B6NL14pz.js → runtime-CE_oqcpl.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-BAsOe1C_.js → runtime-CRqm7NXD.js} +49 -49
- package/dist/manager/_manager-chunks/{runtime-EPerAEAs.js → runtime-CZtDJIYj.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-CgRqs_SK.js → runtime-D3Gk2bTl.js} +852 -841
- package/dist/manager/_manager-chunks/{runtime-Dtbhxq5m.js → runtime-Db8fJ2MP.js} +67 -500
- package/dist/manager/_manager-chunks/{runtime--hR2NZFd.js → runtime-Dj8tizGo.js} +103 -103
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +444 -428
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mocking-utils/index.js +15 -19
- package/dist/nextjs-vite/export-mocks/router/index.js +1 -1
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +4 -4
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +12 -12
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.js +15 -15
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +1 -1
- package/dist/node-logger/index.d.ts +16 -16
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +14 -11
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-BJwGQok8.js → runtime-4BNaFIif.js} +180 -21
- package/dist/preview/_chunks/{runtime-BUnOhg9h.js → runtime-BSJ0Ov_b.js} +2 -2
- package/dist/preview/_chunks/{runtime-BhSZ1Mwt.js → runtime-Bjm1gBLN.js} +6 -19
- package/dist/preview/_chunks/{runtime-Bcv1hJky.js → runtime-CBKlMZg2.js} +4148 -48
- package/dist/preview/_chunks/{runtime-BPwAnlRx.js → runtime-CElbz0uN.js} +1 -1
- package/dist/preview/_chunks/{runtime-BZ4pNS3g.js → runtime-C_nyb8QT.js} +3 -3
- package/dist/preview/_chunks/{runtime-BgPhfM5P.js → runtime-CzTPeFXg.js} +676 -376
- package/dist/preview/_chunks/{runtime-WapFVPAh.js → runtime-DZ7fvh0y.js} +1 -1
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +2 -2
- package/dist/preview-api/index.js +5 -5
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +5 -5
- package/dist/react/preset.js +13 -13
- package/dist/react/preview.js +4 -4
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +37 -36
- package/dist/react-native/index.js +30 -34
- package/dist/react-native/metro/node.d.ts +1 -1
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.d.ts +7 -7
- package/dist/react-native/metro/withForkbook.js +14 -14
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-ui/index.d.ts +4 -3
- package/dist/react-native-ui/index.js +1 -8
- package/dist/react-native-ui-common/index.d.ts +7 -6
- package/dist/react-native-ui-common/index.js +6 -6
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/index.js +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +2 -2
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -66
- package/dist/test/index.js +125 -112
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +2 -2
- package/package.json +15 -15
- package/template/nextjs-vite/cli/js/Button.jsx +2 -2
- package/template/nextjs-vite/cli/js/Header.jsx +1 -1
- package/template/nextjs-vite/cli/js/Page.jsx +1 -1
- package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
- package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.tsx +1 -1
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Page.jsx +1 -1
- package/template/react/cli/ts/Button.tsx +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.tsx +1 -1
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Page.jsx +1 -1
- package/template/react-vite/cli/ts/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.tsx +1 -1
- package/dist/_node-chunks/chunk-2YNXKY72.js +0 -40
- package/dist/_node-chunks/chunk-3NST2GUZ.js +0 -33
- package/dist/_node-chunks/chunk-4D325SMT.js +0 -1359
- package/dist/_node-chunks/chunk-APXRPW7A.js +0 -11
- package/dist/_node-chunks/chunk-QHBQRPDP.js +0 -155
- package/dist/_node-chunks/chunk-SMBAR4G6.js +0 -18
- package/dist/_node-chunks/chunk-SRDKK3SG.js +0 -33
- package/dist/_node-chunks/chunk-V5IMPC3J.js +0 -33
- package/dist/_node-chunks/chunk-YIAUHGY2.js +0 -69
- package/dist/_node-chunks/dist-C5QIQD3G.js +0 -27
- package/dist/_node-chunks/dist-NBRPZCHX.js +0 -16
- package/dist/_node-chunks/optimized-tests-EIPJR7HA.js +0 -22
- package/dist/_node-chunks/postinstallAddon-EOAAURMG.js +0 -20
- package/dist/_node-chunks/session-id-HEW5JUNB.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +0 -9987
- package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +0 -4091
- package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +0 -78
- package/dist/preview/_chunks/runtime-BsMjBzuq.js +0 -53
- package/dist/preview/_chunks/runtime-C1jgT6tJ.js +0 -4091
- package/dist/preview/_chunks/runtime-CkOhMcXf.js +0 -387
|
@@ -7,88 +7,88 @@ var filters = {
|
|
|
7
7
|
},
|
|
8
8
|
deuteranomaly: {
|
|
9
9
|
label: "Deuteranomaly",
|
|
10
|
-
filter: 'url("#
|
|
10
|
+
filter: 'url("#forkbook-a11y-vision-deuteranomaly")',
|
|
11
11
|
percentage: 2.7
|
|
12
12
|
},
|
|
13
13
|
deuteranopia: {
|
|
14
14
|
label: "Deuteranopia",
|
|
15
|
-
filter: 'url("#
|
|
15
|
+
filter: 'url("#forkbook-a11y-vision-deuteranopia")',
|
|
16
16
|
percentage: 0.56
|
|
17
17
|
},
|
|
18
18
|
protanomaly: {
|
|
19
19
|
label: "Protanomaly",
|
|
20
|
-
filter: 'url("#
|
|
20
|
+
filter: 'url("#forkbook-a11y-vision-protanomaly")',
|
|
21
21
|
percentage: 0.66
|
|
22
22
|
},
|
|
23
23
|
protanopia: {
|
|
24
24
|
label: "Protanopia",
|
|
25
|
-
filter: 'url("#
|
|
25
|
+
filter: 'url("#forkbook-a11y-vision-protanopia")',
|
|
26
26
|
percentage: 0.59
|
|
27
27
|
},
|
|
28
28
|
tritanomaly: {
|
|
29
29
|
label: "Tritanomaly",
|
|
30
|
-
filter: 'url("#
|
|
30
|
+
filter: 'url("#forkbook-a11y-vision-tritanomaly")',
|
|
31
31
|
percentage: 0.01
|
|
32
32
|
},
|
|
33
33
|
tritanopia: {
|
|
34
34
|
label: "Tritanopia",
|
|
35
|
-
filter: 'url("#
|
|
35
|
+
filter: 'url("#forkbook-a11y-vision-tritanopia")',
|
|
36
36
|
percentage: 0.016
|
|
37
37
|
},
|
|
38
38
|
achromatopsia: {
|
|
39
39
|
label: "Achromatopsia",
|
|
40
|
-
filter: 'url("#
|
|
40
|
+
filter: 'url("#forkbook-a11y-vision-achromatopsia")',
|
|
41
41
|
percentage: 1e-4
|
|
42
42
|
},
|
|
43
43
|
grayscale: {
|
|
44
44
|
label: "Grayscale",
|
|
45
45
|
filter: "grayscale(100%)"
|
|
46
46
|
}
|
|
47
|
-
}, filterDefs = `<svg id="
|
|
47
|
+
}, filterDefs = `<svg id="forkbook-a11y-vision-filters" aria-hidden="true" color-interpolation-filters="sRGB" style="position:absolute;width:0;height:0;overflow:hidden">
|
|
48
48
|
<defs>
|
|
49
|
-
<filter id="
|
|
49
|
+
<filter id="forkbook-a11y-vision-protanopia">
|
|
50
50
|
<feColorMatrix
|
|
51
51
|
in="SourceGraphic"
|
|
52
52
|
type="matrix"
|
|
53
53
|
values="0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"
|
|
54
54
|
/>
|
|
55
55
|
</filter>
|
|
56
|
-
<filter id="
|
|
56
|
+
<filter id="forkbook-a11y-vision-protanomaly">
|
|
57
57
|
<feColorMatrix
|
|
58
58
|
in="SourceGraphic"
|
|
59
59
|
type="matrix"
|
|
60
60
|
values="0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"
|
|
61
61
|
/>
|
|
62
62
|
</filter>
|
|
63
|
-
<filter id="
|
|
63
|
+
<filter id="forkbook-a11y-vision-deuteranopia">
|
|
64
64
|
<feColorMatrix
|
|
65
65
|
in="SourceGraphic"
|
|
66
66
|
type="matrix"
|
|
67
67
|
values="0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"
|
|
68
68
|
/>
|
|
69
69
|
</filter>
|
|
70
|
-
<filter id="
|
|
70
|
+
<filter id="forkbook-a11y-vision-deuteranomaly">
|
|
71
71
|
<feColorMatrix
|
|
72
72
|
in="SourceGraphic"
|
|
73
73
|
type="matrix"
|
|
74
74
|
values="0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"
|
|
75
75
|
/>
|
|
76
76
|
</filter>
|
|
77
|
-
<filter id="
|
|
77
|
+
<filter id="forkbook-a11y-vision-tritanopia">
|
|
78
78
|
<feColorMatrix
|
|
79
79
|
in="SourceGraphic"
|
|
80
80
|
type="matrix"
|
|
81
81
|
values="0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"
|
|
82
82
|
/>
|
|
83
83
|
</filter>
|
|
84
|
-
<filter id="
|
|
84
|
+
<filter id="forkbook-a11y-vision-tritanomaly">
|
|
85
85
|
<feColorMatrix
|
|
86
86
|
in="SourceGraphic"
|
|
87
87
|
type="matrix"
|
|
88
88
|
values="0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"
|
|
89
89
|
/>
|
|
90
90
|
</filter>
|
|
91
|
-
<filter id="
|
|
91
|
+
<filter id="forkbook-a11y-vision-achromatopsia">
|
|
92
92
|
<feColorMatrix
|
|
93
93
|
in="SourceGraphic"
|
|
94
94
|
type="matrix"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
entry_preview_argtypes_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5MRMYSUN.js";
|
|
4
4
|
import {
|
|
5
5
|
entry_preview_exports,
|
|
6
6
|
renderToCanvas
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DT7BB545.js";
|
|
8
8
|
|
|
9
9
|
// src/react/portable-stories.tsx
|
|
10
10
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./chunk-IMSF75WX.js";
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/
|
|
3
|
+
// ../../node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
4
4
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles = {
|
|
5
5
|
modifier: {
|
|
6
6
|
reset: [0, 0],
|
|
@@ -140,7 +140,7 @@ function assembleStyles() {
|
|
|
140
140
|
}
|
|
141
141
|
var ansiStyles = assembleStyles(), ansi_styles_default = ansiStyles;
|
|
142
142
|
|
|
143
|
-
// ../../node_modules/
|
|
143
|
+
// ../../node_modules/chalk/source/vendor/supports-color/browser.js
|
|
144
144
|
var level = (() => {
|
|
145
145
|
if (!("navigator" in globalThis))
|
|
146
146
|
return 0;
|
|
@@ -160,7 +160,7 @@ var level = (() => {
|
|
|
160
160
|
stderr: colorSupport
|
|
161
161
|
}, browser_default = supportsColor;
|
|
162
162
|
|
|
163
|
-
// ../../node_modules/
|
|
163
|
+
// ../../node_modules/chalk/source/utilities.js
|
|
164
164
|
function stringReplaceAll(string, substring, replacer) {
|
|
165
165
|
let index = string.indexOf(substring);
|
|
166
166
|
if (index === -1)
|
|
@@ -183,7 +183,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
183
183
|
return returnValue += string.slice(endIndex), returnValue;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
// ../../node_modules/
|
|
186
|
+
// ../../node_modules/chalk/source/index.js
|
|
187
187
|
var { stdout: stdoutColor, stderr: stderrColor } = browser_default, GENERATOR = /* @__PURE__ */ Symbol("GENERATOR"), STYLER = /* @__PURE__ */ Symbol("STYLER"), IS_EMPTY = /* @__PURE__ */ Symbol("IS_EMPTY"), levelMapping = [
|
|
188
188
|
"ansi",
|
|
189
189
|
"ansi",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,10 +12,10 @@ var require = CJS_COMPAT_NODE_MODULE_i135z88drol.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7SBWGNA7.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JMFTALJW.js";
|
|
19
19
|
import {
|
|
20
20
|
formatConnectionFailed,
|
|
21
21
|
formatInstallationMismatch,
|
|
@@ -23,48 +23,47 @@ import {
|
|
|
23
23
|
formatOldServer,
|
|
24
24
|
formatPortMismatch,
|
|
25
25
|
formatUnknownInstallation
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BOWRRVJM.js";
|
|
27
27
|
import {
|
|
28
28
|
AttachUnavailableError,
|
|
29
29
|
EnvironmentMismatchError,
|
|
30
30
|
ToolsRuntimeError,
|
|
31
31
|
projectPathsEqual
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JXS4P2RM.js";
|
|
33
33
|
import {
|
|
34
34
|
SERVER_CHANNEL_PATH,
|
|
35
35
|
WebsocketTransport
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-7F6TIY4T.js";
|
|
37
|
+
import "./chunk-G6GOV7H7.js";
|
|
38
38
|
import {
|
|
39
39
|
detectAgent
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-FUDG3QKB.js";
|
|
41
|
+
import "./chunk-QX6RXAEU.js";
|
|
42
42
|
import {
|
|
43
43
|
UniversalStore
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6772LYNF.js";
|
|
45
45
|
import {
|
|
46
46
|
getRegisteredToolsets
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-34DNGOCZ.js";
|
|
48
|
+
import "./chunk-OSNOV4EH.js";
|
|
49
|
+
import "./chunk-5N7YRHXJ.js";
|
|
50
50
|
import {
|
|
51
51
|
Channel,
|
|
52
52
|
getChannel,
|
|
53
53
|
setChannel,
|
|
54
54
|
setDelegatedMode
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-LAIED5XU.js";
|
|
55
|
+
} from "./chunk-3X67K6EI.js";
|
|
56
|
+
import "./chunk-SPCPGRYF.js";
|
|
57
|
+
import "./chunk-2Q3YWQSK.js";
|
|
58
|
+
import "./chunk-WNEWL2PL.js";
|
|
59
|
+
import "./chunk-NPSIAK46.js";
|
|
60
|
+
import "./chunk-22A63J7O.js";
|
|
61
|
+
import "./chunk-JKPKEYSH.js";
|
|
63
62
|
import {
|
|
64
63
|
StorybookDevServerDisconnectedError
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
64
|
+
} from "./chunk-MNNESU33.js";
|
|
65
|
+
import "./chunk-O2CCUB5T.js";
|
|
66
|
+
import "./chunk-MNQVVJZN.js";
|
|
68
67
|
|
|
69
68
|
// src/cli/tools/sdk/attached-runtime.ts
|
|
70
69
|
import { resolve } from "node:path";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,33 +12,33 @@ var require = CJS_COMPAT_NODE_MODULE_i135z88drol.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
BROWSER_TARGETS,
|
|
14
14
|
NODE_TARGET
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LTJ4AYDM.js";
|
|
16
16
|
import {
|
|
17
17
|
getTemplatePath,
|
|
18
18
|
readTemplate,
|
|
19
19
|
renderHTML,
|
|
20
20
|
withRouteDepth
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HW7RCOV4.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveRootPage
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ORSH2FXG.js";
|
|
25
25
|
import {
|
|
26
26
|
urlPathDepth
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BMM74ZQW.js";
|
|
28
28
|
import {
|
|
29
29
|
require_build
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KMC5WWQS.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveModulePath,
|
|
33
33
|
resolvePackageDir
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-XOAWAXUH.js";
|
|
35
|
+
import "./chunk-JHX35YKT.js";
|
|
36
36
|
import {
|
|
37
37
|
slash
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ABCEMTIP.js";
|
|
39
39
|
import {
|
|
40
40
|
__toESM
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-MNQVVJZN.js";
|
|
42
42
|
|
|
43
43
|
// src/builder-manager/index.ts
|
|
44
44
|
import { cp, rm, writeFile as writeFile3 } from "node:fs/promises";
|
|
@@ -54,6 +54,7 @@ import { dirname, join, relative } from "pathe";
|
|
|
54
54
|
// src/manager/globals/exports.ts
|
|
55
55
|
var exports_default = {
|
|
56
56
|
react: [
|
|
57
|
+
"Activity",
|
|
57
58
|
"Children",
|
|
58
59
|
"Component",
|
|
59
60
|
"Fragment",
|
|
@@ -61,29 +62,36 @@ var exports_default = {
|
|
|
61
62
|
"PureComponent",
|
|
62
63
|
"StrictMode",
|
|
63
64
|
"Suspense",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
65
|
+
"ViewTransition",
|
|
66
|
+
"__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE",
|
|
67
|
+
"__COMPILER_RUNTIME",
|
|
68
|
+
"addTransitionType",
|
|
69
|
+
"cache",
|
|
70
|
+
"cacheSignal",
|
|
66
71
|
"cloneElement",
|
|
67
72
|
"createContext",
|
|
68
73
|
"createElement",
|
|
69
|
-
"createFactory",
|
|
70
74
|
"createRef",
|
|
71
75
|
"forwardRef",
|
|
72
76
|
"isValidElement",
|
|
73
77
|
"lazy",
|
|
74
78
|
"memo",
|
|
75
79
|
"startTransition",
|
|
76
|
-
"
|
|
80
|
+
"unstable_useCacheRefresh",
|
|
81
|
+
"use",
|
|
82
|
+
"useActionState",
|
|
77
83
|
"useCallback",
|
|
78
84
|
"useContext",
|
|
79
85
|
"useDebugValue",
|
|
80
86
|
"useDeferredValue",
|
|
81
87
|
"useEffect",
|
|
88
|
+
"useEffectEvent",
|
|
82
89
|
"useId",
|
|
83
90
|
"useImperativeHandle",
|
|
84
91
|
"useInsertionEffect",
|
|
85
92
|
"useLayoutEffect",
|
|
86
93
|
"useMemo",
|
|
94
|
+
"useOptimistic",
|
|
87
95
|
"useReducer",
|
|
88
96
|
"useRef",
|
|
89
97
|
"useState",
|
|
@@ -94,20 +102,23 @@ var exports_default = {
|
|
|
94
102
|
"react/jsx-runtime": ["Fragment", "jsx", "jsxs"],
|
|
95
103
|
"react/jsx-dev-runtime": ["Fragment", "jsxDEV"],
|
|
96
104
|
"react-dom": [
|
|
97
|
-
"
|
|
105
|
+
"__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE",
|
|
106
|
+
"browser",
|
|
98
107
|
"createPortal",
|
|
99
|
-
"createRoot",
|
|
100
|
-
"findDOMNode",
|
|
101
108
|
"flushSync",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
109
|
+
"preconnect",
|
|
110
|
+
"prefetchDNS",
|
|
111
|
+
"preinit",
|
|
112
|
+
"preinitModule",
|
|
113
|
+
"preload",
|
|
114
|
+
"preloadModule",
|
|
115
|
+
"requestFormReset",
|
|
106
116
|
"unstable_batchedUpdates",
|
|
107
|
-
"
|
|
117
|
+
"useFormState",
|
|
118
|
+
"useFormStatus",
|
|
108
119
|
"version"
|
|
109
120
|
],
|
|
110
|
-
"react-dom/client": ["createRoot", "hydrateRoot"],
|
|
121
|
+
"react-dom/client": ["createRoot", "hydrateRoot", "version"],
|
|
111
122
|
"lucide-react": [
|
|
112
123
|
"AccessibilityIcon",
|
|
113
124
|
"AppWindowIcon",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
StorybookError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MNNESU33.js";
|
|
15
15
|
|
|
16
16
|
// src/manager-errors.ts
|
|
17
17
|
var StatusTypeIdMismatchError = class extends StorybookError {
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
postInstall
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R73PEGQU.js";
|
|
15
15
|
import {
|
|
16
16
|
RN_FORKBOOK_DIR,
|
|
17
17
|
applyPreviewImportsMap
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-JB4457FJ.js";
|
|
19
19
|
import {
|
|
20
20
|
any,
|
|
21
21
|
up2 as up
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DXR3YGRT.js";
|
|
23
23
|
import {
|
|
24
24
|
invariant
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JKPKEYSH.js";
|
|
26
26
|
import {
|
|
27
27
|
resolvePackageDir
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XOAWAXUH.js";
|
|
29
29
|
|
|
30
30
|
// src/create/initiate.ts
|
|
31
31
|
import { resolve as resolve3 } from "node:path";
|
|
@@ -161,8 +161,8 @@ var TelemetryService = class {
|
|
|
161
161
|
});
|
|
162
162
|
}
|
|
163
163
|
/** Track the main init event with all metadata */
|
|
164
|
-
async trackInit(data
|
|
165
|
-
await telemetry("init", data
|
|
164
|
+
async trackInit(data) {
|
|
165
|
+
await telemetry("init", data);
|
|
166
166
|
}
|
|
167
167
|
/** Track empty directory scaffolding event */
|
|
168
168
|
async trackScaffolded(data) {
|
|
@@ -172,7 +172,7 @@ var TelemetryService = class {
|
|
|
172
172
|
* Track init with complete context including version and CLI integration from ancestry This
|
|
173
173
|
* method encapsulates all telemetry gathering and tracking logic
|
|
174
174
|
*/
|
|
175
|
-
async trackInitWithContext(projectType, selectedFeatures
|
|
175
|
+
async trackInitWithContext(projectType, selectedFeatures) {
|
|
176
176
|
let versionSpecifier, cliIntegration;
|
|
177
177
|
try {
|
|
178
178
|
let ancestry = getProcessAncestry();
|
|
@@ -186,22 +186,15 @@ var TelemetryService = class {
|
|
|
186
186
|
test: selectedFeatures.has(Feature.TEST),
|
|
187
187
|
ai: selectedFeatures.has(Feature.AI)
|
|
188
188
|
};
|
|
189
|
-
await this.trackInit(
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
{ configDir }
|
|
197
|
-
);
|
|
189
|
+
await this.trackInit({
|
|
190
|
+
projectType,
|
|
191
|
+
features: telemetryFeatures,
|
|
192
|
+
versionSpecifier,
|
|
193
|
+
cliIntegration
|
|
194
|
+
});
|
|
198
195
|
}
|
|
199
196
|
async trackPromptCancel(prompt10) {
|
|
200
|
-
await telemetry(
|
|
201
|
-
"canceled",
|
|
202
|
-
{ eventType: "init", prompt: prompt10 },
|
|
203
|
-
{ stripMetadata: !0, immediate: !0 }
|
|
204
|
-
);
|
|
197
|
+
await telemetry("canceled", { eventType: "init", prompt: prompt10 });
|
|
205
198
|
}
|
|
206
199
|
};
|
|
207
200
|
|
|
@@ -261,11 +254,7 @@ var SUPPORTED_PROJECTS = {
|
|
|
261
254
|
]
|
|
262
255
|
},
|
|
263
256
|
createPromptCancelOptions(telemetryService, "empty-directory")
|
|
264
|
-
)), projectStrategy === "other" && (await telemetry2(
|
|
265
|
-
"exit",
|
|
266
|
-
{ eventType: "init", reason: "scaffold-other" },
|
|
267
|
-
{ stripMetadata: !0, immediate: !0 }
|
|
268
|
-
), logger.warn(
|
|
257
|
+
)), projectStrategy === "other" && (await telemetry2("exit", { eventType: "init", reason: "scaffold-other" }), logger.warn(
|
|
269
258
|
"To install Forkbook on another framework, first generate a project with that framework and then rerun this command."
|
|
270
259
|
), logger.outro("Exiting..."), process.exit(1));
|
|
271
260
|
let projectStrategyConfig = SUPPORTED_PROJECTS[projectStrategy], projectDisplayName = buildProjectDisplayNameForPrint(projectStrategyConfig), createScript = projectStrategyConfig.createScript[packageManagerName], spinner = prompt.spinner({
|
|
@@ -595,11 +584,7 @@ ${incompatibleReasons.map((r) => ` - ${r}`).join(`
|
|
|
595
584
|
We assume that Forkbook is already instantiated for your project. Do you still want to continue and force the initialization?`
|
|
596
585
|
},
|
|
597
586
|
createPromptCancelOptions(this.telemetryService, "force-on-existing-installation")
|
|
598
|
-
) || options.yes ? options.force = !0 : (await telemetry3(
|
|
599
|
-
"exit",
|
|
600
|
-
{ eventType: "init", reason: "existing-installation" },
|
|
601
|
-
{ stripMetadata: !0, immediate: !0 }
|
|
602
|
-
), process.exit(0)));
|
|
587
|
+
) || options.yes ? options.force = !0 : (await telemetry3("exit", { eventType: "init", reason: "existing-installation" }), process.exit(0)));
|
|
603
588
|
}
|
|
604
589
|
}, executeProjectDetection = (packageManager, options) => new ProjectDetectionCommand(options, packageManager).execute();
|
|
605
590
|
|
|
@@ -1153,7 +1138,7 @@ var ADDON_INSTALLATION_INSTRUCTIONS = {
|
|
|
1153
1138
|
}
|
|
1154
1139
|
/** Configure test addons */
|
|
1155
1140
|
async configureAddons(configDir, addons) {
|
|
1156
|
-
let { postinstallAddon } = await import("./postinstallAddon-
|
|
1141
|
+
let { postinstallAddon } = await import("./postinstallAddon-XM2BHKDN.js"), task = prompt6.taskLog({
|
|
1157
1142
|
id: "configure-addons",
|
|
1158
1143
|
title: "Configuring addons..."
|
|
1159
1144
|
}), addonResults = /* @__PURE__ */ new Map();
|
|
@@ -1277,8 +1262,8 @@ var FinalizationCommand = class {
|
|
|
1277
1262
|
let foundGitIgnoreFile = up(".gitignore"), rootDirectory = getProjectRoot3();
|
|
1278
1263
|
if (!foundGitIgnoreFile || !foundGitIgnoreFile.includes(rootDirectory))
|
|
1279
1264
|
return;
|
|
1280
|
-
let contents = await fs.readFile(foundGitIgnoreFile, "utf-8"),
|
|
1281
|
-
|
|
1265
|
+
let contents = await fs.readFile(foundGitIgnoreFile, "utf-8"), hasForkbookLog = contents.includes("*forkbook.log"), hasStorybookStatic = contents.includes("forkbook-static"), linesToAdd = [
|
|
1266
|
+
hasForkbookLog ? "" : "*forkbook.log",
|
|
1282
1267
|
hasStorybookStatic ? "" : "forkbook-static"
|
|
1283
1268
|
].filter(Boolean).join(`
|
|
1284
1269
|
`);
|
|
@@ -2056,7 +2041,7 @@ async function doInitiate(options) {
|
|
|
2056
2041
|
logfile: options.logfile,
|
|
2057
2042
|
storybookCommand,
|
|
2058
2043
|
setupSkillCommand: packageManager.getPackageCommand(["forkbook", "skills", "setup"])
|
|
2059
|
-
}), await telemetryService.trackInitWithContext(projectType, selectedFeatures
|
|
2044
|
+
}), await telemetryService.trackInitWithContext(projectType, selectedFeatures), {
|
|
2060
2045
|
shouldRunDev: !!options.dev && !options.skipInstall && shouldRunDev !== !1 && dependencyInstallationResult.status === "success",
|
|
2061
2046
|
packageManager,
|
|
2062
2047
|
storybookCommand
|
|
@@ -2071,7 +2056,7 @@ async function initiate(options) {
|
|
|
2071
2056
|
"init",
|
|
2072
2057
|
{
|
|
2073
2058
|
cliOptions: options,
|
|
2074
|
-
printError: (err) => !err.handled && logger14.error(err),
|
|
2059
|
+
printError: (err) => !(typeof err == "object" && err !== null && "handled" in err && err.handled) && logger14.error(err),
|
|
2075
2060
|
// enable telemetry if nothing else specified in env var or CLI options
|
|
2076
2061
|
fallbackTelemetryState: !0
|
|
2077
2062
|
},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|