@aussieljk/forkbook 0.0.1-4 → 0.0.1-6
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/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-2BMQTRYG.js} +3 -3
- package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-6IKB2UHQ.js} +27 -27
- package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-QAHDGPZ7.js} +3 -3
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-EBWIOQZN.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-ETBLZ2RH.js} +288 -349
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-252Y5WHZ.js} +7 -7
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-25PXULSJ.js} +14 -14
- package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-3UWWRDA5.js} +7 -7
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-4KCQYJT6.js} +7 -7
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-4MJIPOJ5.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-4WLIN3VZ.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-4XNPO23I.js} +6 -6
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-5T635FTI.js} +10 -10
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-5Z6MT4RI.js} +8 -8
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-644CUCK5.js} +7 -7
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-7E27CGRU.js} +7 -7
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-A35J7YYA.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-ALHPFKVB.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-ANDQVXYX.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-AS4SFRCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-BLUMKQQB.js} +6 -6
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-C5JG7EKF.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-CBUQY454.js} +7 -15
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-CF7KLGUW.js} +22 -20
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-CGVPHZVD.js} +8 -8
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-DABFUVLR.js} +6 -6
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-DCNZ6SFN.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-DDGW2EBW.js} +29843 -51588
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-DRLBJM6X.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-E3O7VAPG.js} +10 -10
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-FIFCNBTL.js} +7 -7
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-FQWTUSYB.js} +6 -6
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-G6YNW4FK.js} +7 -7
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-GDFQQO5U.js} +6 -6
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-GGTXOH3W.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-GIOREKIG.js} +7 -7
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-GOFK4EKU.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-GQ3HJNIH.js} +10 -13
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-GRTI5653.js} +7 -7
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-HKL3VOYX.js} +6 -6
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-HUPRQZ3I.js} +7 -7
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-HWRHYM7Z.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-I7HRDCNY.js} +10 -10
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-IFPMZ247.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-J6M5CRYZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-JPXJI6QR.js} +60 -134
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-JS2J2SKX.js} +6 -6
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-JZWF3XLN.js} +6 -6
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-KF3FT3NI.js} +9 -9
- package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-L4JGWK4K.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-LFIFBDMS.js} +6 -6
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-LWKLJYYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-LXVSVTQ3.js} +6 -6
- package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-MFN2XBPL.js} +7 -7
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-MQFB44YS.js} +7 -7
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-MZ2GSR3G.js} +23 -51
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-N7HEOGTM.js} +9 -6
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NUAQC3XP.js} +16 -13
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-NX6CSWF3.js} +8 -8
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-NZ7EQWYA.js} +9 -9
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-OLGIDCVD.js} +650 -9
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-P65JVLO3.js} +8 -8
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-PAN35AYX.js} +7 -7
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-PLWLCVP2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-Q4BEWGMK.js} +6 -6
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-QNUXGVZZ.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-R5DWO2S2.js} +31 -30
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-SLZV7PTQ.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-TIRP5JQM.js} +11 -10
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-TMXWDY2O.js} +6 -6
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-TN3ULFFZ.js} +6 -6
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-TPSJW4CQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-TYBPAV3X.js} +6 -6
- package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
- package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-VPU4E7DI.js} +25 -8
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-WIQ6Y3NX.js} +6 -6
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-WRG3CFGS.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-X3RTVNRN.js} +7 -7
- package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-XWGMQW2H.js} +6 -6
- package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-YHH57LHY.js} +9 -9
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-YMZ2SGFK.js} +6 -6
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-YNENOZRY.js} +7 -7
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-YPGVYNJB.js} +6 -6
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-YQDBSAXW.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-Z4NZLBOX.js} +7 -7
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-ZC3ZZKMS.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-ZCITDAV4.js} +34 -949
- package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-ZSH6BUCW.js} +25 -25
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-ZTFNOXZF.js} +6 -6
- package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
- package/dist/_node-chunks/dist-NS676VJR.js +16 -0
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-BUTEKJYV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-7WXQIHPV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-NCD3X2BR.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
- package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-3QJANDJD.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-4LR5BDR2.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-PWFRGOEV.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-VNNWUW7X.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-RUAAWEQT.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-YK6ARCWS.js} +17 -17
- package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-4QKCICV6.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +24 -17
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +46 -25
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +17 -45
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.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 +8 -8
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-DF6btpT3.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-DvufcbCc.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-BYnH2sbb.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-CzmZhVrn.d.ts} +35 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- 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 +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2518 -8365
- package/dist/core-events/index.d.ts +4 -3
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +96 -894
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +2 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-B-IeQLQu.js} +285 -61
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-B5-0Ccbv.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-B71TiXST.js} +93 -2146
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BUP5e_t9.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-C7mqoHpE.js +2093 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CYNosEiD.js} +1 -2
- package/dist/manager/_manager-chunks/globals-runtime-C_evJrEn.js +1960 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CdgVeAbk.js} +408 -377
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cqn8KdSZ.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-CrIF09P8.js} +1246 -539
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-Ct1kY4wb.js} +638 -1731
- package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DMBjo1QS.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-DUK6bGcb.js} +52 -25
- package/dist/manager/_manager-chunks/globals-runtime-DedfO-DP.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DqhIYwLp.js} +165 -152
- package/dist/manager/_manager-chunks/globals-runtime-XSxCU7PR.js +41 -0
- package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-BgYvp1WN.js} +15 -7
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-CHI-LHF1.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-CUymj6EY.js} +280 -288
- package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-D4ZOOIV0.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DER98nV0.js} +3 -19
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-DrTLBe7a.js} +39 -40
- package/dist/manager/_manager-chunks/runtime-MAf7Wpk5.js +692 -0
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-cVFIMcca.js} +1 -1
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.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 +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- 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/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +17 -45
- package/dist/_browser-chunks/WithTooltip-523JD6VH.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-EGS2SAD2.js +0 -5414
- package/dist/_node-chunks/chunk-GKTCJPLL.js +0 -36
- package/dist/_node-chunks/chunk-HENM5ZK3.js +0 -1877
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/chunk-K3I3G4VL.js +0 -4731
- package/dist/_node-chunks/chunk-MZMPFII2.js +0 -29
- package/dist/_node-chunks/chunk-NYAWUR6L.js +0 -3823
- package/dist/_node-chunks/chunk-NYRUWAL3.js +0 -23
- package/dist/_node-chunks/chunk-SSZ5REKS.js +0 -3008
- package/dist/_node-chunks/chunk-WEW23EEE.js +0 -662
- package/dist/_node-chunks/chunk-XWQEWRFD.js +0 -51
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/globby-HRQV5N3V.js +0 -2884
- package/dist/_node-chunks/jiti-WE7NHS2Y.js +0 -3848
- package/dist/_node-chunks/lib-7MVA6CTW.js +0 -366
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.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
|
BROWSER_TARGETS,
|
|
14
|
-
NODE_TARGET
|
|
15
|
-
|
|
16
|
-
} from "./chunk-MZMPFII2.js";
|
|
14
|
+
NODE_TARGET
|
|
15
|
+
} from "./chunk-ZNSGFYAT.js";
|
|
17
16
|
import {
|
|
18
17
|
require_build
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-644CUCK5.js";
|
|
20
19
|
import {
|
|
21
20
|
resolveModulePath,
|
|
22
21
|
resolvePackageDir
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-DRLBJM6X.js";
|
|
23
|
+
import "./chunk-TPSJW4CQ.js";
|
|
25
24
|
import {
|
|
26
25
|
slash
|
|
27
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AS4SFRCZ.js";
|
|
28
27
|
import {
|
|
29
28
|
__commonJS,
|
|
30
29
|
__require,
|
|
31
30
|
__toESM
|
|
32
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-A35J7YYA.js";
|
|
33
32
|
|
|
34
33
|
// ../../node_modules/ejs/lib/utils.js
|
|
35
34
|
var require_utils = __commonJS({
|
|
@@ -201,7 +200,7 @@ var require_ejs = __commonJS({
|
|
|
201
200
|
exports.localsName = _DEFAULT_LOCALS_NAME;
|
|
202
201
|
exports.promiseImpl = new Function("return this;")().Promise;
|
|
203
202
|
exports.resolveInclude = function(name, filename, isDir) {
|
|
204
|
-
var
|
|
203
|
+
var dirname4 = path.dirname, extname = path.extname, resolve = path.resolve, includePath = resolve(isDir ? filename : dirname4(filename), name), ext = extname(name);
|
|
205
204
|
return ext || (includePath += ".ejs"), includePath;
|
|
206
205
|
};
|
|
207
206
|
function resolvePaths(name, paths) {
|
|
@@ -503,67 +502,11 @@ try {
|
|
|
503
502
|
import { cp, rm, writeFile as writeFile3 } from "node:fs/promises";
|
|
504
503
|
import { stringifyProcessEnvs } from "@aussieljk/forkbook/internal/common";
|
|
505
504
|
import { logger } from "@aussieljk/forkbook/internal/node-logger";
|
|
506
|
-
|
|
507
|
-
// ../../node_modules/@fal-works/esbuild-plugin-global-externals/lib/module-info.js
|
|
508
|
-
var normalizeModuleInfo = (value) => {
|
|
509
|
-
let {
|
|
510
|
-
type = "esm",
|
|
511
|
-
varName,
|
|
512
|
-
namedExports = null,
|
|
513
|
-
defaultExport = !0
|
|
514
|
-
} = typeof value == "string" ? { varName: value } : value;
|
|
515
|
-
return { type, varName, namedExports, defaultExport };
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
// ../../node_modules/@fal-works/esbuild-plugin-global-externals/lib/on-load.js
|
|
519
|
-
var createCjsContents = (variableName) => `module.exports = ${variableName};`;
|
|
520
|
-
var createEsmContents = (variableName, namedExports, defaultExport) => {
|
|
521
|
-
let codeElements = defaultExport ? [`export default ${variableName};`] : [];
|
|
522
|
-
if (namedExports && namedExports.length) {
|
|
523
|
-
let exportNames = [...new Set(namedExports)].join(", ");
|
|
524
|
-
codeElements.push(`const { ${exportNames} } = ${variableName};`), codeElements.push(`export { ${exportNames} };`);
|
|
525
|
-
}
|
|
526
|
-
return codeElements.join(`
|
|
527
|
-
`);
|
|
528
|
-
}, createContents = (moduleInfo) => {
|
|
529
|
-
let { type, varName, namedExports, defaultExport } = moduleInfo;
|
|
530
|
-
switch (type) {
|
|
531
|
-
case "esm":
|
|
532
|
-
return createEsmContents(varName, namedExports, defaultExport);
|
|
533
|
-
case "cjs":
|
|
534
|
-
return createCjsContents(varName);
|
|
535
|
-
}
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
// ../../node_modules/@fal-works/esbuild-plugin-global-externals/lib/with-reg-exp.js
|
|
539
|
-
var PLUGIN_NAME = "global-externals", globalExternalsWithRegExp = (globals) => {
|
|
540
|
-
let { modulePathFilter, getModuleInfo } = globals;
|
|
541
|
-
return {
|
|
542
|
-
name: PLUGIN_NAME,
|
|
543
|
-
setup(build2) {
|
|
544
|
-
build2.onResolve({ filter: modulePathFilter }, (args) => ({
|
|
545
|
-
path: args.path,
|
|
546
|
-
namespace: PLUGIN_NAME
|
|
547
|
-
})), build2.onLoad({ filter: /.*/, namespace: PLUGIN_NAME }, (args) => {
|
|
548
|
-
let modulePath = args.path, moduleInfo = normalizeModuleInfo(getModuleInfo(modulePath));
|
|
549
|
-
return { contents: createContents(moduleInfo) };
|
|
550
|
-
});
|
|
551
|
-
}
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
// ../../node_modules/@fal-works/esbuild-plugin-global-externals/lib/with-object.js
|
|
556
|
-
var globalExternals = (globals) => {
|
|
557
|
-
let normalizedGlobals = {
|
|
558
|
-
modulePathFilter: new RegExp(`^(?:${Object.keys(globals).join("|")})$`),
|
|
559
|
-
getModuleInfo: (modulePath) => globals[modulePath]
|
|
560
|
-
};
|
|
561
|
-
return globalExternalsWithRegExp(normalizedGlobals);
|
|
562
|
-
};
|
|
563
|
-
|
|
564
|
-
// src/builder-manager/index.ts
|
|
565
505
|
var import_sirv = __toESM(require_build(), 1);
|
|
566
|
-
import { join as
|
|
506
|
+
import { join as join5, parse as parse2 } from "pathe";
|
|
507
|
+
|
|
508
|
+
// src/builder-manager/bundle.ts
|
|
509
|
+
import { dirname, join, relative } from "pathe";
|
|
567
510
|
|
|
568
511
|
// src/manager/globals/exports.ts
|
|
569
512
|
var exports_default = {
|
|
@@ -622,266 +565,221 @@ var exports_default = {
|
|
|
622
565
|
"version"
|
|
623
566
|
],
|
|
624
567
|
"react-dom/client": ["createRoot", "hydrateRoot"],
|
|
625
|
-
"@
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
"
|
|
633
|
-
"AlignLeftIcon",
|
|
634
|
-
"AlignRightIcon",
|
|
635
|
-
"AppleIcon",
|
|
636
|
-
"ArrowBottomLeftIcon",
|
|
637
|
-
"ArrowBottomRightIcon",
|
|
568
|
+
"@phosphor-icons/react": [
|
|
569
|
+
"AppleLogoIcon",
|
|
570
|
+
"ArrowBendUpLeftIcon",
|
|
571
|
+
"ArrowBendUpRightIcon",
|
|
572
|
+
"ArrowCircleLeftIcon",
|
|
573
|
+
"ArrowCircleRightIcon",
|
|
574
|
+
"ArrowClockwiseIcon",
|
|
575
|
+
"ArrowCounterClockwiseIcon",
|
|
638
576
|
"ArrowDownIcon",
|
|
577
|
+
"ArrowDownLeftIcon",
|
|
578
|
+
"ArrowDownRightIcon",
|
|
639
579
|
"ArrowLeftIcon",
|
|
640
580
|
"ArrowRightIcon",
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"ArrowSolidRightIcon",
|
|
644
|
-
"ArrowSolidUpIcon",
|
|
645
|
-
"ArrowTopLeftIcon",
|
|
646
|
-
"ArrowTopRightIcon",
|
|
581
|
+
"ArrowSquareInIcon",
|
|
582
|
+
"ArrowSquareOutIcon",
|
|
647
583
|
"ArrowUpIcon",
|
|
648
|
-
"
|
|
649
|
-
"
|
|
584
|
+
"ArrowUpLeftIcon",
|
|
585
|
+
"ArrowUpRightIcon",
|
|
586
|
+
"ArrowsClockwiseIcon",
|
|
587
|
+
"ArrowsInLineVerticalIcon",
|
|
588
|
+
"ArrowsLeftRightIcon",
|
|
589
|
+
"ArrowsOutIcon",
|
|
590
|
+
"ArrowsOutLineVerticalIcon",
|
|
591
|
+
"ArrowsOutSimpleIcon",
|
|
592
|
+
"AtomIcon",
|
|
593
|
+
"BackspaceIcon",
|
|
650
594
|
"BasketIcon",
|
|
651
|
-
"BatchAcceptIcon",
|
|
652
|
-
"BatchDenyIcon",
|
|
653
|
-
"BeakerIcon",
|
|
654
595
|
"BellIcon",
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"
|
|
658
|
-
"
|
|
659
|
-
"BookmarkIcon",
|
|
660
|
-
"BottomBarIcon",
|
|
661
|
-
"BottomBarToggleIcon",
|
|
662
|
-
"BoxIcon",
|
|
663
|
-
"BranchIcon",
|
|
596
|
+
"BookOpenIcon",
|
|
597
|
+
"BookmarkSimpleIcon",
|
|
598
|
+
"BooksIcon",
|
|
599
|
+
"BroomIcon",
|
|
664
600
|
"BrowserIcon",
|
|
665
601
|
"BugIcon",
|
|
666
|
-
"
|
|
667
|
-
"CPUIcon",
|
|
668
|
-
"CalendarIcon",
|
|
602
|
+
"CalendarBlankIcon",
|
|
669
603
|
"CameraIcon",
|
|
670
|
-
"
|
|
671
|
-
"
|
|
604
|
+
"CaretDownIcon",
|
|
605
|
+
"CaretLeftIcon",
|
|
606
|
+
"CaretRightIcon",
|
|
607
|
+
"CaretUpIcon",
|
|
672
608
|
"CertificateIcon",
|
|
673
|
-
"
|
|
674
|
-
"
|
|
609
|
+
"ChartBarIcon",
|
|
610
|
+
"ChartLineIcon",
|
|
611
|
+
"ChatCenteredIcon",
|
|
612
|
+
"ChatCenteredTextIcon",
|
|
613
|
+
"ChatCircleDotsIcon",
|
|
614
|
+
"ChatCircleIcon",
|
|
615
|
+
"ChatsIcon",
|
|
616
|
+
"CheckCircleIcon",
|
|
675
617
|
"CheckIcon",
|
|
676
|
-
"
|
|
677
|
-
"
|
|
678
|
-
"
|
|
679
|
-
"ChevronRightIcon",
|
|
680
|
-
"ChevronSmallDownIcon",
|
|
681
|
-
"ChevronSmallLeftIcon",
|
|
682
|
-
"ChevronSmallRightIcon",
|
|
683
|
-
"ChevronSmallUpIcon",
|
|
684
|
-
"ChevronUpIcon",
|
|
685
|
-
"ChromaticIcon",
|
|
686
|
-
"ChromeIcon",
|
|
687
|
-
"CircleHollowIcon",
|
|
618
|
+
"ChecksIcon",
|
|
619
|
+
"CircleHalfIcon",
|
|
620
|
+
"CircleHalfTiltIcon",
|
|
688
621
|
"CircleIcon",
|
|
689
|
-
"
|
|
690
|
-
"CloseAltIcon",
|
|
691
|
-
"CloseIcon",
|
|
692
|
-
"CloudHollowIcon",
|
|
622
|
+
"ClockIcon",
|
|
693
623
|
"CloudIcon",
|
|
694
|
-
"
|
|
695
|
-
"CollapseIcon",
|
|
624
|
+
"CodeIcon",
|
|
696
625
|
"CommandIcon",
|
|
697
|
-
"CommentAddIcon",
|
|
698
|
-
"CommentIcon",
|
|
699
|
-
"CommentsIcon",
|
|
700
|
-
"CommitIcon",
|
|
701
626
|
"CompassIcon",
|
|
702
|
-
"ComponentDrivenIcon",
|
|
703
|
-
"ComponentIcon",
|
|
704
|
-
"ContrastIcon",
|
|
705
|
-
"ContrastIgnoredIcon",
|
|
706
|
-
"ControlsIcon",
|
|
707
627
|
"CopyIcon",
|
|
708
|
-
"
|
|
709
|
-
"
|
|
710
|
-
"
|
|
628
|
+
"CpuIcon",
|
|
629
|
+
"CreditCardIcon",
|
|
630
|
+
"CrosshairIcon",
|
|
631
|
+
"CursorClickIcon",
|
|
632
|
+
"CursorIcon",
|
|
711
633
|
"DatabaseIcon",
|
|
712
|
-
"
|
|
634
|
+
"DeviceMobileIcon",
|
|
635
|
+
"DeviceTabletIcon",
|
|
713
636
|
"DiamondIcon",
|
|
714
|
-
"
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"
|
|
720
|
-
"DragIcon",
|
|
721
|
-
"EditIcon",
|
|
722
|
-
"EditorIcon",
|
|
723
|
-
"EllipsisIcon",
|
|
724
|
-
"EmailIcon",
|
|
725
|
-
"ExpandAltIcon",
|
|
726
|
-
"ExpandIcon",
|
|
727
|
-
"EyeCloseIcon",
|
|
637
|
+
"DiscordLogoIcon",
|
|
638
|
+
"DotsSixVerticalIcon",
|
|
639
|
+
"DotsThreeIcon",
|
|
640
|
+
"DownloadSimpleIcon",
|
|
641
|
+
"EnvelopeSimpleIcon",
|
|
642
|
+
"ExportIcon",
|
|
728
643
|
"EyeIcon",
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"FaceSadIcon",
|
|
732
|
-
"FacebookIcon",
|
|
733
|
-
"FailedIcon",
|
|
644
|
+
"EyeSlashIcon",
|
|
645
|
+
"FacebookLogoIcon",
|
|
734
646
|
"FastForwardIcon",
|
|
735
|
-
"
|
|
647
|
+
"FigmaLogoIcon",
|
|
648
|
+
"FileTextIcon",
|
|
736
649
|
"FilesIcon",
|
|
737
|
-
"FilterIcon",
|
|
738
650
|
"FlagIcon",
|
|
651
|
+
"FlaskIcon",
|
|
652
|
+
"FlipHorizontalIcon",
|
|
653
|
+
"FloppyDiskIcon",
|
|
739
654
|
"FolderIcon",
|
|
740
|
-
"
|
|
741
|
-
"
|
|
655
|
+
"FunnelSimpleIcon",
|
|
656
|
+
"GaugeIcon",
|
|
657
|
+
"GearIcon",
|
|
742
658
|
"GiftIcon",
|
|
743
|
-
"
|
|
744
|
-
"
|
|
659
|
+
"GitBranchIcon",
|
|
660
|
+
"GitCommitIcon",
|
|
661
|
+
"GitMergeIcon",
|
|
662
|
+
"GitPullRequestIcon",
|
|
663
|
+
"GithubLogoIcon",
|
|
664
|
+
"GitlabLogoIcon",
|
|
745
665
|
"GlobeIcon",
|
|
746
|
-
"
|
|
747
|
-
"
|
|
748
|
-
"
|
|
749
|
-
"
|
|
750
|
-
"
|
|
751
|
-
"
|
|
752
|
-
"
|
|
753
|
-
"HeartHollowIcon",
|
|
666
|
+
"GoogleChromeLogoIcon",
|
|
667
|
+
"GoogleDriveLogoIcon",
|
|
668
|
+
"GoogleLogoIcon",
|
|
669
|
+
"GraphIcon",
|
|
670
|
+
"GridFourIcon",
|
|
671
|
+
"GridNineIcon",
|
|
672
|
+
"HandPointingIcon",
|
|
754
673
|
"HeartIcon",
|
|
755
|
-
"HomeIcon",
|
|
756
674
|
"HourglassIcon",
|
|
675
|
+
"HouseIcon",
|
|
676
|
+
"IconContext",
|
|
677
|
+
"IdentificationCardIcon",
|
|
678
|
+
"ImageIcon",
|
|
757
679
|
"InfoIcon",
|
|
758
|
-
"ItalicIcon",
|
|
759
|
-
"JumpToIcon",
|
|
760
680
|
"KeyIcon",
|
|
681
|
+
"LifebuoyIcon",
|
|
761
682
|
"LightningIcon",
|
|
762
|
-
"
|
|
763
|
-
"
|
|
683
|
+
"LightningSlashIcon",
|
|
684
|
+
"LinkBreakIcon",
|
|
764
685
|
"LinkIcon",
|
|
765
|
-
"
|
|
766
|
-
"
|
|
767
|
-
"
|
|
768
|
-
"
|
|
769
|
-
"
|
|
686
|
+
"LinkedinLogoIcon",
|
|
687
|
+
"LinuxLogoIcon",
|
|
688
|
+
"ListBulletsIcon",
|
|
689
|
+
"ListChecksIcon",
|
|
690
|
+
"ListIcon",
|
|
691
|
+
"ListNumbersIcon",
|
|
770
692
|
"LockIcon",
|
|
771
|
-
"
|
|
772
|
-
"
|
|
773
|
-
"
|
|
693
|
+
"LockOpenIcon",
|
|
694
|
+
"MagicWandIcon",
|
|
695
|
+
"MagnifyingGlassIcon",
|
|
696
|
+
"MagnifyingGlassMinusIcon",
|
|
697
|
+
"MagnifyingGlassPlusIcon",
|
|
698
|
+
"MapPinIcon",
|
|
699
|
+
"MarkdownLogoIcon",
|
|
700
|
+
"MediumLogoIcon",
|
|
774
701
|
"MemoryIcon",
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
"MirrorIcon",
|
|
778
|
-
"MobileIcon",
|
|
702
|
+
"MicrosoftOutlookLogoIcon",
|
|
703
|
+
"MinusIcon",
|
|
779
704
|
"MoonIcon",
|
|
780
705
|
"NutIcon",
|
|
781
|
-
"
|
|
782
|
-
"
|
|
783
|
-
"PaintBrushAltIcon",
|
|
706
|
+
"PackageIcon",
|
|
707
|
+
"PaintBrushBroadIcon",
|
|
784
708
|
"PaintBrushIcon",
|
|
785
|
-
"
|
|
709
|
+
"PaperclipIcon",
|
|
786
710
|
"ParagraphIcon",
|
|
787
|
-
"
|
|
711
|
+
"PencilSimpleIcon",
|
|
712
|
+
"PersonArmsSpreadIcon",
|
|
788
713
|
"PhoneIcon",
|
|
789
|
-
"
|
|
790
|
-
"PhotoIcon",
|
|
791
|
-
"PhotoStabilizeIcon",
|
|
792
|
-
"PinAltIcon",
|
|
793
|
-
"PinIcon",
|
|
794
|
-
"PlayAllHollowIcon",
|
|
795
|
-
"PlayBackIcon",
|
|
796
|
-
"PlayHollowIcon",
|
|
714
|
+
"PlayCircleIcon",
|
|
797
715
|
"PlayIcon",
|
|
798
|
-
"
|
|
716
|
+
"PlusCircleIcon",
|
|
799
717
|
"PlusIcon",
|
|
800
|
-
"PointerDefaultIcon",
|
|
801
|
-
"PointerHandIcon",
|
|
802
|
-
"PopOutIcon",
|
|
803
718
|
"PowerIcon",
|
|
804
|
-
"
|
|
805
|
-
"
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
"
|
|
719
|
+
"PrinterIcon",
|
|
720
|
+
"ProhibitIcon",
|
|
721
|
+
"PushPinIcon",
|
|
722
|
+
"PushPinSlashIcon",
|
|
723
|
+
"PuzzlePieceIcon",
|
|
809
724
|
"QuestionIcon",
|
|
810
|
-
"RSSIcon",
|
|
811
|
-
"RedirectIcon",
|
|
812
|
-
"ReduxIcon",
|
|
813
|
-
"RefreshIcon",
|
|
814
|
-
"ReplyIcon",
|
|
815
|
-
"RepoIcon",
|
|
816
|
-
"RequestChangeIcon",
|
|
817
725
|
"RewindIcon",
|
|
726
|
+
"RssIcon",
|
|
818
727
|
"RulerIcon",
|
|
819
|
-
"
|
|
820
|
-
"
|
|
821
|
-
"
|
|
822
|
-
"ShareIcon",
|
|
728
|
+
"SealCheckIcon",
|
|
729
|
+
"SelectionIcon",
|
|
730
|
+
"ShareNetworkIcon",
|
|
823
731
|
"ShieldIcon",
|
|
824
|
-
"SideBySideIcon",
|
|
825
|
-
"SidebarAltIcon",
|
|
826
|
-
"SidebarAltToggleIcon",
|
|
827
732
|
"SidebarIcon",
|
|
828
|
-
"
|
|
829
|
-
"
|
|
830
|
-
"
|
|
831
|
-
"
|
|
832
|
-
"
|
|
833
|
-
"
|
|
834
|
-
"
|
|
733
|
+
"SidebarSimpleIcon",
|
|
734
|
+
"SignpostIcon",
|
|
735
|
+
"SkipBackIcon",
|
|
736
|
+
"SkipForwardIcon",
|
|
737
|
+
"SlidersHorizontalIcon",
|
|
738
|
+
"SmileyIcon",
|
|
739
|
+
"SmileyMehIcon",
|
|
740
|
+
"SmileySadIcon",
|
|
741
|
+
"SortAscendingIcon",
|
|
742
|
+
"SortDescendingIcon",
|
|
743
|
+
"SpeakerHighIcon",
|
|
744
|
+
"SquareSplitHorizontalIcon",
|
|
745
|
+
"SquareSplitVerticalIcon",
|
|
746
|
+
"SquaresFourIcon",
|
|
747
|
+
"StackIcon",
|
|
835
748
|
"StarIcon",
|
|
836
|
-
"StatusAddIcon",
|
|
837
|
-
"StatusFailIcon",
|
|
838
|
-
"StatusIcon",
|
|
839
|
-
"StatusPassIcon",
|
|
840
|
-
"StatusRemoveIcon",
|
|
841
|
-
"StatusWarnIcon",
|
|
842
749
|
"StickerIcon",
|
|
843
|
-
"
|
|
844
|
-
"StopAltIcon",
|
|
750
|
+
"StopCircleIcon",
|
|
845
751
|
"StopIcon",
|
|
846
|
-
"StorybookIcon",
|
|
847
|
-
"StructureIcon",
|
|
848
|
-
"SubtractIcon",
|
|
849
752
|
"SunIcon",
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
-
"
|
|
854
|
-
"
|
|
753
|
+
"TagIcon",
|
|
754
|
+
"TextAlignLeftIcon",
|
|
755
|
+
"TextAlignRightIcon",
|
|
756
|
+
"TextBIcon",
|
|
757
|
+
"TextItalicIcon",
|
|
758
|
+
"TextTIcon",
|
|
759
|
+
"TextboxIcon",
|
|
855
760
|
"ThumbsUpIcon",
|
|
856
|
-
"TimeIcon",
|
|
857
761
|
"TimerIcon",
|
|
858
|
-
"TransferIcon",
|
|
859
762
|
"TrashIcon",
|
|
860
|
-
"
|
|
861
|
-
"
|
|
862
|
-
"
|
|
863
|
-
"
|
|
864
|
-
"
|
|
865
|
-
"
|
|
866
|
-
"UnpinIcon",
|
|
867
|
-
"UploadIcon",
|
|
868
|
-
"UserAddIcon",
|
|
869
|
-
"UserAltIcon",
|
|
763
|
+
"TrayArrowUpIcon",
|
|
764
|
+
"TreeStructureIcon",
|
|
765
|
+
"TwitterLogoIcon",
|
|
766
|
+
"UploadSimpleIcon",
|
|
767
|
+
"UserCircleIcon",
|
|
768
|
+
"UserGearIcon",
|
|
870
769
|
"UserIcon",
|
|
770
|
+
"UserPlusIcon",
|
|
871
771
|
"UsersIcon",
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"WandIcon",
|
|
772
|
+
"VideoCameraIcon",
|
|
773
|
+
"WarningCircleIcon",
|
|
774
|
+
"WarningIcon",
|
|
876
775
|
"WatchIcon",
|
|
877
|
-
"
|
|
776
|
+
"WindowsLogoIcon",
|
|
878
777
|
"WrenchIcon",
|
|
778
|
+
"XCircleIcon",
|
|
879
779
|
"XIcon",
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
"
|
|
883
|
-
"ZoomResetIcon",
|
|
884
|
-
"iconList"
|
|
780
|
+
"XLogoIcon",
|
|
781
|
+
"XSquareIcon",
|
|
782
|
+
"YoutubeLogoIcon"
|
|
885
783
|
],
|
|
886
784
|
"@aussieljk/forkbook/manager-api": [
|
|
887
785
|
"ActiveTabs",
|
|
@@ -1158,6 +1056,7 @@ var exports_default = {
|
|
|
1158
1056
|
"CHANNEL_WS_DISCONNECT",
|
|
1159
1057
|
"CONFIG_ERROR",
|
|
1160
1058
|
"CURRENT_STORY_WAS_SET",
|
|
1059
|
+
"DOCS_PAGE_IN_VIEW",
|
|
1161
1060
|
"DOCS_PREPARED",
|
|
1162
1061
|
"DOCS_RENDERED",
|
|
1163
1062
|
"FORCE_REMOUNT",
|
|
@@ -1262,7 +1161,7 @@ var globalsNameReferenceMap = {
|
|
|
1262
1161
|
"react/jsx-dev-runtime": "__REACT_JSX_DEV_RUNTIME__",
|
|
1263
1162
|
"react-dom": "__REACT_DOM__",
|
|
1264
1163
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
1265
|
-
"@
|
|
1164
|
+
"@phosphor-icons/react": "__FORKBOOK_ICONS__",
|
|
1266
1165
|
"@aussieljk/forkbook/manager-api": "__FORKBOOK_API__",
|
|
1267
1166
|
"@aussieljk/forkbook/theming": "__FORKBOOK_THEMING__",
|
|
1268
1167
|
"@aussieljk/forkbook/theming/create": "__FORKBOOK_THEMING_CREATE__",
|
|
@@ -1300,6 +1199,101 @@ var duplicatedKeys = [
|
|
|
1300
1199
|
{}
|
|
1301
1200
|
);
|
|
1302
1201
|
|
|
1202
|
+
// src/builder-manager/bundle.ts
|
|
1203
|
+
var MEDIA_EXTENSIONS = [
|
|
1204
|
+
".png",
|
|
1205
|
+
".gif",
|
|
1206
|
+
".jpg",
|
|
1207
|
+
".jpeg",
|
|
1208
|
+
".svg",
|
|
1209
|
+
".webp",
|
|
1210
|
+
".webm",
|
|
1211
|
+
".mp3",
|
|
1212
|
+
".woff2",
|
|
1213
|
+
".woff",
|
|
1214
|
+
".eot",
|
|
1215
|
+
".ttf"
|
|
1216
|
+
], GLOBAL_PREFIX = "\0forkbook-global:";
|
|
1217
|
+
function globalExternals() {
|
|
1218
|
+
return {
|
|
1219
|
+
name: "forkbook-global-externals",
|
|
1220
|
+
resolveId(id) {
|
|
1221
|
+
return id in globalsModuleInfoMap ? `${GLOBAL_PREFIX}${id}` : null;
|
|
1222
|
+
},
|
|
1223
|
+
load(id) {
|
|
1224
|
+
if (!id.startsWith(GLOBAL_PREFIX))
|
|
1225
|
+
return null;
|
|
1226
|
+
let name = id.slice(GLOBAL_PREFIX.length), { namedExports, varName } = globalsModuleInfoMap[name];
|
|
1227
|
+
return [
|
|
1228
|
+
...namedExports.map((key) => `export const ${key} = ${varName}[${JSON.stringify(key)}];`),
|
|
1229
|
+
`export default ${varName};`
|
|
1230
|
+
].join(`
|
|
1231
|
+
`);
|
|
1232
|
+
}
|
|
1233
|
+
};
|
|
1234
|
+
}
|
|
1235
|
+
function injectCss() {
|
|
1236
|
+
return {
|
|
1237
|
+
name: "forkbook-manager-css",
|
|
1238
|
+
transform: {
|
|
1239
|
+
filter: { id: /\.css$/ },
|
|
1240
|
+
handler(code) {
|
|
1241
|
+
return {
|
|
1242
|
+
code: `const style = document.createElement('style');
|
|
1243
|
+
style.textContent = ${JSON.stringify(code)};
|
|
1244
|
+
document.head.appendChild(style);`,
|
|
1245
|
+
moduleType: "js"
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
function commonDirectory(files) {
|
|
1252
|
+
return files.map(dirname).reduce((common, directory) => {
|
|
1253
|
+
for (; !`${directory}/`.startsWith(`${common}/`); )
|
|
1254
|
+
common = dirname(common);
|
|
1255
|
+
return common;
|
|
1256
|
+
});
|
|
1257
|
+
}
|
|
1258
|
+
async function bundleManagerEntries(config) {
|
|
1259
|
+
let { rolldown } = await import("rolldown"), base = config.entryPoints.length ? commonDirectory(config.entryPoints) : config.outdir;
|
|
1260
|
+
return { outputFiles: await Promise.all(
|
|
1261
|
+
config.entryPoints.map(async (entry) => {
|
|
1262
|
+
let bundle = await rolldown({
|
|
1263
|
+
input: entry,
|
|
1264
|
+
platform: "browser",
|
|
1265
|
+
tsconfig: config.tsconfig,
|
|
1266
|
+
logLevel: "warn",
|
|
1267
|
+
resolve: {
|
|
1268
|
+
conditionNames: ["browser", "module", "default"],
|
|
1269
|
+
extensions: [".ts", ".tsx", ".mjs", ".js", ".jsx"]
|
|
1270
|
+
},
|
|
1271
|
+
moduleTypes: {
|
|
1272
|
+
".js": "jsx",
|
|
1273
|
+
...Object.fromEntries(MEDIA_EXTENSIONS.map((extension) => [extension, "dataurl"]))
|
|
1274
|
+
},
|
|
1275
|
+
transform: { target: BROWSER_TARGETS, jsx: "react", define: config.define },
|
|
1276
|
+
plugins: [globalExternals(), injectCss()],
|
|
1277
|
+
// A manager entry runs for its side effects. Keep every module, even in a package that
|
|
1278
|
+
// says it has no side effects.
|
|
1279
|
+
treeshake: { moduleSideEffects: () => !0, annotations: !1 }
|
|
1280
|
+
});
|
|
1281
|
+
try {
|
|
1282
|
+
let { output } = await bundle.generate({
|
|
1283
|
+
format: "esm",
|
|
1284
|
+
codeSplitting: !1,
|
|
1285
|
+
minify: config.minify ? !0 : "dce-only",
|
|
1286
|
+
banner: "try{",
|
|
1287
|
+
footer: '}catch(e){ console.error("[Forkbook] One of your manager-entries failed: " + import.meta.url, e); }'
|
|
1288
|
+
});
|
|
1289
|
+
return { path: join(config.outdir, relative(base, entry)), contents: output[0].code };
|
|
1290
|
+
} finally {
|
|
1291
|
+
await bundle.close();
|
|
1292
|
+
}
|
|
1293
|
+
})
|
|
1294
|
+
) };
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1303
1297
|
// src/builder-manager/utils/data.ts
|
|
1304
1298
|
import { basename } from "node:path";
|
|
1305
1299
|
import { getRefs } from "@aussieljk/forkbook/internal/common";
|
|
@@ -1307,8 +1301,8 @@ import { getRefs } from "@aussieljk/forkbook/internal/common";
|
|
|
1307
1301
|
// src/builder-manager/utils/template.ts
|
|
1308
1302
|
var import_ejs = __toESM(require_ejs(), 1);
|
|
1309
1303
|
import { readFile } from "node:fs/promises";
|
|
1310
|
-
import { join } from "pathe";
|
|
1311
|
-
var getTemplatePath = (template) =>
|
|
1304
|
+
import { join as join2 } from "pathe";
|
|
1305
|
+
var getTemplatePath = (template) => join2(resolvePackageDir("@aussieljk/forkbook"), "assets/server", template), readTemplate = async (template) => {
|
|
1312
1306
|
let path = getTemplatePath(template);
|
|
1313
1307
|
return readFile(path, { encoding: "utf8" });
|
|
1314
1308
|
};
|
|
@@ -1367,13 +1361,13 @@ var getData = async (options) => {
|
|
|
1367
1361
|
// src/builder-manager/utils/files.ts
|
|
1368
1362
|
import { existsSync } from "node:fs";
|
|
1369
1363
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
1370
|
-
import { dirname, join as
|
|
1364
|
+
import { dirname as dirname2, join as join3, normalize, relative as relative2 } from "node:path";
|
|
1371
1365
|
async function readOrderedFiles(addonsDir, outputFiles) {
|
|
1372
1366
|
let files = await Promise.all(
|
|
1373
1367
|
outputFiles?.map(async (file) => {
|
|
1374
1368
|
let { location, url } = sanitizePath(file, addonsDir);
|
|
1375
1369
|
if (!existsSync(location)) {
|
|
1376
|
-
let directory =
|
|
1370
|
+
let directory = dirname2(location);
|
|
1377
1371
|
await mkdir(directory, { recursive: !0 });
|
|
1378
1372
|
}
|
|
1379
1373
|
return await writeFile(location, file.contents), url;
|
|
@@ -1382,7 +1376,7 @@ async function readOrderedFiles(addonsDir, outputFiles) {
|
|
|
1382
1376
|
return { cssFiles: files.filter((file) => file.endsWith(".css")), jsFiles };
|
|
1383
1377
|
}
|
|
1384
1378
|
function sanitizePath(file, addonsDir) {
|
|
1385
|
-
let filePath =
|
|
1379
|
+
let filePath = relative2(addonsDir, file.path), location = normalize(join3(addonsDir, filePath)), url = `./fb-addons/${slash(filePath).split("/").map(encodeURIComponent).join("/")}`;
|
|
1386
1380
|
return { location, url };
|
|
1387
1381
|
}
|
|
1388
1382
|
|
|
@@ -1404,7 +1398,7 @@ var buildFrameworkGlobalsFromOptions = async (options) => {
|
|
|
1404
1398
|
// src/builder-manager/utils/managerEntries.ts
|
|
1405
1399
|
import { existsSync as existsSync2 } from "node:fs";
|
|
1406
1400
|
import { mkdir as mkdir2, writeFile as writeFile2 } from "node:fs/promises";
|
|
1407
|
-
import { dirname as
|
|
1401
|
+
import { dirname as dirname3, join as join4, parse, relative as relative3, sep } from "node:path";
|
|
1408
1402
|
import { resolvePathInStorybookCache } from "@aussieljk/forkbook/internal/common";
|
|
1409
1403
|
var sanitizeBase = (path) => path.replaceAll(".", "").replaceAll("@", "").replaceAll(sep, "-").replaceAll("/", "-").replaceAll(new RegExp(/^(-)+/g), ""), sanitizeFinal = (path) => {
|
|
1410
1404
|
let sections = path.split(/-?node_modules-?/);
|
|
@@ -1416,12 +1410,12 @@ async function wrapManagerEntries(entrypoints, uniqueId) {
|
|
|
1416
1410
|
let { name, dir } = parse(entry), cacheLocation = resolvePathInStorybookCache("fb-manager", uniqueId);
|
|
1417
1411
|
if (!cacheLocation)
|
|
1418
1412
|
throw new Error("Could not create/find cache directory");
|
|
1419
|
-
let base =
|
|
1413
|
+
let base = relative3(process.cwd(), dir), location = join4(
|
|
1420
1414
|
cacheLocation,
|
|
1421
|
-
sanitizeFinal(
|
|
1415
|
+
sanitizeFinal(join4(`${sanitizeBase(base)}-${i}`, `${sanitizeBase(name)}-bundle.js`))
|
|
1422
1416
|
);
|
|
1423
1417
|
if (!existsSync2(location)) {
|
|
1424
|
-
let directory =
|
|
1418
|
+
let directory = dirname3(location);
|
|
1425
1419
|
await mkdir2(directory, { recursive: !0 });
|
|
1426
1420
|
}
|
|
1427
1421
|
return await writeFile2(location, `import '${slash(entry).replaceAll(/'/g, "\\'")}';`), location;
|
|
@@ -1430,7 +1424,7 @@ async function wrapManagerEntries(entrypoints, uniqueId) {
|
|
|
1430
1424
|
}
|
|
1431
1425
|
|
|
1432
1426
|
// src/builder-manager/index.ts
|
|
1433
|
-
var CORE_DIR_ORIGIN =
|
|
1427
|
+
var CORE_DIR_ORIGIN = join5(resolvePackageDir("@aussieljk/forkbook"), "dist/manager"), isRootPath = /^\/($|\?)/, compilation, asyncIterator, getConfig = async (options) => {
|
|
1434
1428
|
let [managerEntriesFromPresets, envs] = await Promise.all([
|
|
1435
1429
|
options.presets.apply("managerEntries", []),
|
|
1436
1430
|
options.presets.apply("env")
|
|
@@ -1445,56 +1439,9 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1445
1439
|
let entryPoints = configDirManagerEntry ? [...managerEntriesFromPresets, configDirManagerEntry] : managerEntriesFromPresets;
|
|
1446
1440
|
return {
|
|
1447
1441
|
entryPoints: await wrapManagerEntries(entryPoints, options.cacheKey),
|
|
1448
|
-
outdir:
|
|
1449
|
-
format: "iife",
|
|
1450
|
-
write: !1,
|
|
1451
|
-
ignoreAnnotations: !0,
|
|
1452
|
-
resolveExtensions: [".ts", ".tsx", ".mjs", ".js", ".jsx"],
|
|
1453
|
-
outExtension: { ".js": ".js" },
|
|
1454
|
-
loader: {
|
|
1455
|
-
".js": "jsx",
|
|
1456
|
-
// media
|
|
1457
|
-
".png": "dataurl",
|
|
1458
|
-
".gif": "dataurl",
|
|
1459
|
-
".jpg": "dataurl",
|
|
1460
|
-
".jpeg": "dataurl",
|
|
1461
|
-
".svg": "dataurl",
|
|
1462
|
-
".webp": "dataurl",
|
|
1463
|
-
".webm": "dataurl",
|
|
1464
|
-
".mp3": "dataurl",
|
|
1465
|
-
// modern fonts
|
|
1466
|
-
".woff2": "dataurl",
|
|
1467
|
-
// legacy font formats
|
|
1468
|
-
".woff": "dataurl",
|
|
1469
|
-
".eot": "dataurl",
|
|
1470
|
-
".ttf": "dataurl"
|
|
1471
|
-
},
|
|
1472
|
-
target: BROWSER_TARGETS,
|
|
1473
|
-
supported: SUPPORTED_FEATURES,
|
|
1474
|
-
platform: "browser",
|
|
1475
|
-
bundle: !0,
|
|
1476
|
-
minify: !1,
|
|
1477
|
-
minifyWhitespace: !1,
|
|
1478
|
-
minifyIdentifiers: !1,
|
|
1479
|
-
minifySyntax: !0,
|
|
1480
|
-
metafile: !1,
|
|
1481
|
-
// turn this on to assist with debugging the bundling of managerEntries
|
|
1482
|
-
// treeShaking: true,
|
|
1483
|
-
sourcemap: !1,
|
|
1484
|
-
conditions: ["browser", "module", "default"],
|
|
1485
|
-
jsxFactory: "React.createElement",
|
|
1486
|
-
jsxFragment: "React.Fragment",
|
|
1487
|
-
jsx: "transform",
|
|
1488
|
-
jsxImportSource: "react",
|
|
1442
|
+
outdir: join5(options.outputDir || "./", "fb-addons"),
|
|
1489
1443
|
tsconfig: tsconfigPath,
|
|
1490
|
-
|
|
1491
|
-
plugins: [globalExternals(globalsModuleInfoMap)],
|
|
1492
|
-
banner: {
|
|
1493
|
-
js: "try{"
|
|
1494
|
-
},
|
|
1495
|
-
footer: {
|
|
1496
|
-
js: '}catch(e){ console.error("[Forkbook] One of your manager-entries failed: " + import.meta.url, e); }'
|
|
1497
|
-
},
|
|
1444
|
+
minify: !1,
|
|
1498
1445
|
define: {
|
|
1499
1446
|
"process.env": JSON.stringify(envs),
|
|
1500
1447
|
...stringifyProcessEnvs(envs),
|
|
@@ -1503,10 +1450,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1503
1450
|
}
|
|
1504
1451
|
};
|
|
1505
1452
|
}, executor = {
|
|
1506
|
-
get: async () =>
|
|
1507
|
-
let { build: build2 } = await import("esbuild");
|
|
1508
|
-
return build2;
|
|
1509
|
-
}
|
|
1453
|
+
get: async () => bundleManagerEntries
|
|
1510
1454
|
}, starter = async function* ({
|
|
1511
1455
|
startTime,
|
|
1512
1456
|
options,
|
|
@@ -1545,12 +1489,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1545
1489
|
immutable: !0
|
|
1546
1490
|
})
|
|
1547
1491
|
);
|
|
1548
|
-
let { cssFiles, jsFiles } = await readOrderedFiles(addonsDir, compilation?.outputFiles);
|
|
1549
|
-
compilation.metafile && options.outputDir && await writeFile3(
|
|
1550
|
-
join4(options.outputDir, "metafile.json"),
|
|
1551
|
-
JSON.stringify(compilation.metafile, null, 2)
|
|
1552
|
-
);
|
|
1553
|
-
let globals = await buildFrameworkGlobalsFromOptions(options);
|
|
1492
|
+
let { cssFiles, jsFiles } = await readOrderedFiles(addonsDir, compilation?.outputFiles), globals = await buildFrameworkGlobalsFromOptions(options);
|
|
1554
1493
|
yield;
|
|
1555
1494
|
let html = await renderHTML(
|
|
1556
1495
|
template,
|
|
@@ -1596,7 +1535,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1596
1535
|
tagsOptions
|
|
1597
1536
|
} = await getData(options);
|
|
1598
1537
|
yield;
|
|
1599
|
-
let addonsDir = config.outdir, coreDirTarget =
|
|
1538
|
+
let addonsDir = config.outdir, coreDirTarget = join5(options.outputDir, "fb-manager");
|
|
1600
1539
|
compilation = await instance({
|
|
1601
1540
|
...config,
|
|
1602
1541
|
minify: !0
|
|
@@ -1624,7 +1563,7 @@ var CORE_DIR_ORIGIN = join4(resolvePackageDir("@aussieljk/forkbook"), "dist/mana
|
|
|
1624
1563
|
options,
|
|
1625
1564
|
globals
|
|
1626
1565
|
);
|
|
1627
|
-
return await Promise.all([writeFile3(
|
|
1566
|
+
return await Promise.all([writeFile3(join5(options.outputDir, "index.html"), html), managerFiles]), logger.trace({ message: "Manager built", time: process.hrtime(startTime) }), {
|
|
1628
1567
|
toJson: () => ({})
|
|
1629
1568
|
};
|
|
1630
1569
|
}, bail = async () => {
|