@aussieljk/forkbook 0.0.1-7 → 0.0.1-8
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/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/dist/_browser-chunks/{Color-2YRIFQLC.js → Color-ZG7LKYDZ.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-4R5JMWZ7.js → WithTooltip-YZ36EZ4X.js} +1 -1
- package/dist/_browser-chunks/{chunk-4EFKUJG2.js → chunk-MZVQEZOB.js} +10 -10
- package/dist/_browser-chunks/{chunk-HTL5ODCB.js → chunk-SK6S7ZXD.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-WFZCCGUB.js → attached-runtime-SRP2RPCT.js} +30 -30
- package/dist/_node-chunks/{builder-manager-DHKHRZK4.js → builder-manager-V7M6SFEM.js} +12 -12
- package/dist/_node-chunks/chunk-27KT3BJI.js +25 -0
- package/dist/_node-chunks/{chunk-K5RUOW42.js → chunk-27R37QFW.js} +7 -7
- package/dist/_node-chunks/{chunk-X63YMAHP.js → chunk-2WPUJ7UM.js} +7 -7
- package/dist/_node-chunks/{chunk-YVIPYJ53.js → chunk-2ZB3ZVDY.js} +8 -8
- package/dist/_node-chunks/{chunk-3ZCGT6VF.js → chunk-3KKSPEAE.js} +6 -6
- package/dist/_node-chunks/{chunk-I535GEPH.js → chunk-3KY2GA5X.js} +7 -7
- package/dist/_node-chunks/{chunk-QWDR5OWQ.js → chunk-3NXJBXBF.js} +15 -15
- package/dist/_node-chunks/{chunk-U3E7E4Q2.js → chunk-4CPTSXU6.js} +10 -10
- package/dist/_node-chunks/{chunk-U6DHF3RM.js → chunk-4QYNOSOA.js} +7 -7
- package/dist/_node-chunks/{chunk-M7ZVSBNU.js → chunk-4T3WPVSQ.js} +6 -6
- package/dist/_node-chunks/{chunk-BRHJ4P3A.js → chunk-4U5ZQZJ4.js} +6 -6
- package/dist/_node-chunks/chunk-4XNKH2BY.js +18 -0
- package/dist/_node-chunks/{chunk-EAL4RVEF.js → chunk-526SOV2Y.js} +6 -6
- package/dist/_node-chunks/{chunk-UNCBLHIP.js → chunk-54WGE5OK.js} +10 -10
- package/dist/_node-chunks/{chunk-DT45EUDD.js → chunk-5BQKMZYJ.js} +27 -32
- package/dist/_node-chunks/{chunk-7VHCAGBJ.js → chunk-62PEOH4P.js} +8 -8
- package/dist/_node-chunks/{chunk-UAG3XK32.js → chunk-6DCYMQX2.js} +29 -29
- package/dist/_node-chunks/{chunk-JTLOSDYL.js → chunk-6DZY675E.js} +9 -9
- package/dist/_node-chunks/{chunk-MRWBN46D.js → chunk-6GBMB2E4.js} +8 -8
- package/dist/_node-chunks/{chunk-BQC6WCUS.js → chunk-6YDXCU32.js} +6 -6
- package/dist/_node-chunks/{chunk-ESZIQTUH.js → chunk-77YIWZPS.js} +7 -7
- package/dist/_node-chunks/{chunk-MF3AT3JQ.js → chunk-7GLNBVQO.js} +6 -6
- package/dist/_node-chunks/{chunk-Q6QRFKHB.js → chunk-7YBOQWWR.js} +8 -8
- package/dist/_node-chunks/{chunk-R6AKCXPH.js → chunk-A73YRJPA.js} +7 -7
- package/dist/_node-chunks/{chunk-NSZGBFPR.js → chunk-BLAPFOIX.js} +6 -6
- package/dist/_node-chunks/{chunk-Y6G64J5S.js → chunk-BPMXWGDX.js} +6 -6
- package/dist/_node-chunks/{chunk-BR4WDRY6.js → chunk-BY65FGKD.js} +8 -8
- package/dist/_node-chunks/{chunk-5PYQ573S.js → chunk-CHPKBTH7.js} +7 -7
- package/dist/_node-chunks/{chunk-O7VJA7SM.js → chunk-CL4T6DGA.js} +7 -7
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +20 -0
- package/dist/_node-chunks/{chunk-MJFMB4WD.js → chunk-CZDEJ7DD.js} +9 -9
- package/dist/_node-chunks/{chunk-F3SAYS4R.js → chunk-D4IL5V6A.js} +6 -6
- package/dist/_node-chunks/{chunk-WHOF2BJB.js → chunk-DADJTKJT.js} +7 -7
- package/dist/_node-chunks/{chunk-MF5BYASO.js → chunk-DGA2Q7TE.js} +6 -6
- package/dist/_node-chunks/{chunk-JDKYP7FW.js → chunk-DSWCMXKR.js} +10 -10
- package/dist/_node-chunks/{chunk-7V5AOV2J.js → chunk-DVSKRIH3.js} +7 -7
- package/dist/_node-chunks/{chunk-RCY7TLET.js → chunk-F2XPZVCK.js} +8 -8
- package/dist/_node-chunks/{chunk-FVFSSIGA.js → chunk-G3J2VAY4.js} +10 -10
- package/dist/_node-chunks/{chunk-6CB3XSQ2.js → chunk-G6UTEYYQ.js} +8 -8
- package/dist/_node-chunks/{chunk-ATX7SHS7.js → chunk-GUKZDREX.js} +8 -8
- package/dist/_node-chunks/{chunk-LJTP5PAJ.js → chunk-GXSB54NU.js} +6 -6
- package/dist/_node-chunks/{chunk-UF6Q6L5C.js → chunk-HF6FRLS6.js} +125 -144
- package/dist/_node-chunks/{chunk-J3Q56GX3.js → chunk-HNMHTOKI.js} +23 -23
- package/dist/_node-chunks/{chunk-G2AANC4A.js → chunk-I26RWAW3.js} +6 -6
- package/dist/_node-chunks/{chunk-P3GOMPP3.js → chunk-I5Y7NDAM.js} +7 -7
- package/dist/_node-chunks/{chunk-Y2GHAOKI.js → chunk-IAYHJZOR.js} +6 -6
- package/dist/_node-chunks/{chunk-NUYBFTOU.js → chunk-ICGRYYV7.js} +7 -7
- package/dist/_node-chunks/{chunk-OGJ7LDX3.js → chunk-IFF53QVX.js} +7 -7
- package/dist/_node-chunks/{chunk-JMS4H7QB.js → chunk-II4SIIJW.js} +7 -7
- package/dist/_node-chunks/{chunk-CDFQORVD.js → chunk-IVU4D6LF.js} +7 -7
- package/dist/_node-chunks/{chunk-KHWCZDIW.js → chunk-JB5Q4WGX.js} +7 -7
- package/dist/_node-chunks/{chunk-UVV24PG4.js → chunk-JCLP42A7.js} +7 -7
- package/dist/_node-chunks/{chunk-6QZ3PX5R.js → chunk-KQBTXUT5.js} +7 -7
- package/dist/_node-chunks/{chunk-QWRQXG2V.js → chunk-LF7EC235.js} +8 -8
- package/dist/_node-chunks/{chunk-64JPAW3T.js → chunk-LPLXO4HE.js} +6 -6
- package/dist/_node-chunks/{chunk-TOGDRW2W.js → chunk-LSKOVF6F.js} +6 -6
- package/dist/_node-chunks/{chunk-SZYMLCHF.js → chunk-LYMYDMEK.js} +6 -6
- package/dist/_node-chunks/{chunk-WME5NEJA.js → chunk-M3F5R2JO.js} +6 -6
- package/dist/_node-chunks/{chunk-QSP42ZBM.js → chunk-M74NU6PU.js} +6 -6
- package/dist/_node-chunks/{chunk-RZ7UEP4N.js → chunk-MGFH4KGP.js} +6 -6
- package/dist/_node-chunks/chunk-NORBEBNM.js +19 -0
- package/dist/_node-chunks/{chunk-WBB4NQ6H.js → chunk-NV6HM53D.js} +6 -6
- package/dist/_node-chunks/{chunk-DMDZPUHM.js → chunk-OFZX45ZR.js} +6 -6
- package/dist/_node-chunks/{chunk-NLPC2DDQ.js → chunk-OZBNKCKM.js} +6 -6
- package/dist/_node-chunks/{chunk-CENNLCU7.js → chunk-QEDRYWP7.js} +7 -7
- package/dist/_node-chunks/{chunk-MZQXEAI6.js → chunk-QQ7GEJNY.js} +9 -9
- package/dist/_node-chunks/{chunk-PQLXHVWK.js → chunk-QQKVXB5Q.js} +6 -6
- package/dist/_node-chunks/{chunk-RKKMQA6N.js → chunk-QVIC3UDL.js} +8 -8
- package/dist/_node-chunks/{chunk-ZIDIYSJQ.js → chunk-RR3WLRNQ.js} +7 -7
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +11 -0
- package/dist/_node-chunks/{chunk-HUMAXGH2.js → chunk-SNQKCFKN.js} +6 -6
- package/dist/_node-chunks/{chunk-JED5F3H2.js → chunk-T62LXT34.js} +6 -6
- package/dist/_node-chunks/{chunk-JPHSU5OI.js → chunk-TBLZESXE.js} +6 -6
- package/dist/_node-chunks/{chunk-CNMMDQC3.js → chunk-TLB2LNUO.js} +12 -14
- package/dist/_node-chunks/{chunk-SWHTDOB4.js → chunk-UBEILYLL.js} +7 -7
- package/dist/_node-chunks/{chunk-NQAFLS5U.js → chunk-UCBUYT7S.js} +7 -7
- package/dist/_node-chunks/{chunk-4HGC3G6B.js → chunk-UEWCGYSE.js} +8 -8
- package/dist/_node-chunks/{chunk-ESCZ2NSB.js → chunk-VPGX2PAB.js} +6 -6
- package/dist/_node-chunks/{chunk-OWT6AVWK.js → chunk-VQ2NW4OR.js} +8 -8
- package/dist/_node-chunks/{chunk-SHH7JROR.js → chunk-VTLGMRU5.js} +6 -6
- package/dist/_node-chunks/{chunk-FTUQ7T3V.js → chunk-VTVQ5TKB.js} +8 -8
- package/dist/_node-chunks/{chunk-6K3ZE4HN.js → chunk-VV6CPF3T.js} +6 -6
- package/dist/_node-chunks/{chunk-7PMQPS5E.js → chunk-WF7RDUU7.js} +10 -10
- package/dist/_node-chunks/{chunk-JOSJ64KD.js → chunk-X5IJ42Q2.js} +7 -7
- package/dist/_node-chunks/{chunk-S3HB4EWT.js → chunk-XGMO4SW2.js} +8 -8
- package/dist/_node-chunks/{chunk-MBIIJTGQ.js → chunk-XTCOGCTP.js} +7 -7
- package/dist/_node-chunks/{chunk-YZWUD7I5.js → chunk-Y2HWZ262.js} +50 -50
- package/dist/_node-chunks/{chunk-CBBFNVFZ.js → chunk-YBRV5FIK.js} +7 -7
- package/dist/_node-chunks/chunk-YHWOGAFM.js +20 -0
- package/dist/_node-chunks/{chunk-7HVDL6M3.js → chunk-YMVL55QY.js} +9 -9
- package/dist/_node-chunks/{chunk-JQICISDD.js → chunk-ZKS2H56J.js} +6 -6
- package/dist/_node-chunks/dist-GJ53PFWF.js +27 -0
- package/dist/_node-chunks/dist-TLMACGH6.js +16 -0
- package/dist/_node-chunks/{local-runtime-UN5QK2SE.js → local-runtime-Y6OH2SFM.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-6M6CMNL3.js → mdx-plugin-R6GNGQP2.js} +13 -13
- package/dist/_node-chunks/{monorepo-253VKW4B.js → monorepo-R2CLQIWG.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js} +11 -11
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-CCCJRMSL.js → pattern-copy-play-5VCD6ED3.js} +11 -11
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-LJTPLCGD.js → rehype-external-links-SKSQEDUP.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KQI7ULEZ.js → rehype-slug-27WNXM7U.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-MUE2NI7S.js → relaxed-limits-PDGCGDW4.js} +11 -11
- package/dist/_node-chunks/{run-SYLR25HA.js → run-BD52SWQC.js} +17 -17
- package/dist/_node-chunks/{run-PGZMPNMS.js → run-IKBDOUY2.js} +53 -26
- package/dist/_node-chunks/session-id-K7PM5ZGL.js +23 -0
- package/dist/_node-chunks/{setup-XZWSUYPG.js → setup-7ECNMG4A.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-T25YYRGV.js → vitest.config.4.template-J4YODMMP.js} +7 -7
- package/dist/addon-a11y/manager.js +5 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-docs/blocks.js +9 -9
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +10 -10
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +6 -8
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +3 -3
- 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 +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +15 -15
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +62 -62
- package/dist/bin/dispatcher.js +13 -16
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
- package/dist/{chunk-B_ZhEPlo.d.ts → chunk-CJY2njs4.d.ts} +1 -1
- package/dist/{chunk-LrH1y9J2.d.ts → chunk-DktrsDd6.d.ts} +8 -8
- package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
- package/dist/{chunk-CMaYrou5.d.ts → chunk-pFH9P91a.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +2 -2
- 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/common/index.d.ts +14 -27
- package/dist/common/index.js +36 -40
- package/dist/components/index.js +25 -25
- package/dist/core-server/index.d.ts +6 -6
- package/dist/core-server/index.js +69 -69
- package/dist/core-server/presets/common-manager.js +7 -7
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +39 -39
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-BKPOYSwp.js → globals-runtime-BKW-4ztO.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CI_p54Ha.js → globals-runtime-CIcNS9TG.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-CzEhVGVp.js → globals-runtime-DZN_3ZLm.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DMq1Phbl.js → globals-runtime-DgUeynuu.js} +66 -66
- package/dist/manager/_manager-chunks/{globals-runtime-BMIT8BJb.js → globals-runtime-WhJXr5R1.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CI-C7ncS.js → globals-runtime-z143vedu.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-ecY5qnmo.js → runtime-B_U-7omv.js} +124 -124
- package/dist/manager/_manager-chunks/{runtime-DvrwKw7z.js → runtime-BrlctLSK.js} +7 -7
- package/dist/manager/_manager-chunks/{runtime-D-nYLsdk.js → runtime-BrwmuSZ1.js} +20 -20
- package/dist/manager/_manager-chunks/{runtime-D09XMY6V.js → runtime-C-s1miBr.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DzxaTqVN.js → runtime-CHQZzIX6.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Cf0p9DUx.js → runtime-DEHcqyTM.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-BM30BmeT.js → runtime-Dtpc5s3G.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-B4U0u9p4.js → runtime-DuptfEhw.js} +2 -2
- 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-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.d.ts +2 -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.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +3 -3
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- 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/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +43 -43
- package/dist/types/index.d.ts +2 -2
- package/package.json +6 -8
- package/dist/_node-chunks/chunk-EFFWFE6W.js +0 -11
- package/dist/_node-chunks/chunk-KWER36VB.js +0 -20
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +0 -19
- package/dist/_node-chunks/chunk-UGXN7JTT.js +0 -18
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +0 -25
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +0 -20
- package/dist/_node-chunks/dist-5EG56KTF.js +0 -16
- package/dist/_node-chunks/dist-UEXSNGGQ.js +0 -27
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +0 -22
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +0 -20
- package/dist/_node-chunks/session-id-J4A25UQ6.js +0 -23
|
@@ -54,7 +54,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
54
54
|
let style = document.createElement("style");
|
|
55
55
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-NOTFvq-bar{justify-content:space-between;align-items:center;padding:6px 6px 6px 20px;display:flex}.fb-NOTFvq-actionBar{justify-content:space-between;align-items:center;display:flex}.fb-NOTFvq-title{font-size:var(--fb-size-s2);font-weight:var(--fb-weight-bold)}.fb-NOTFvq-stackTrace{white-space:pre-wrap;word-wrap:break-word;user-select:text;max-height:60vh;font-family:var(--fb-font-mono);border-top:1px solid var(--fb-app-border-color);border-radius:0;margin:0;padding:20px;font-size:12px;overflow:auto}.fb-NOTFvq-troubleshootLink{color:var(--fb-color-default-text)}", document.head.appendChild(style);
|
|
56
56
|
}
|
|
57
|
-
var GlobalErrorModal_default = {
|
|
57
|
+
var GlobalErrorModal_default = { troubleshootLink: "fb-NOTFvq-troubleshootLink", actionBar: "fb-NOTFvq-actionBar", bar: "fb-NOTFvq-bar", stackTrace: "fb-NOTFvq-stackTrace", title: "fb-NOTFvq-title" };
|
|
58
58
|
|
|
59
59
|
// src/addon-vitest/components/GlobalErrorModal.tsx
|
|
60
60
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -249,7 +249,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
|
|
|
249
249
|
let style = document.createElement("style");
|
|
250
250
|
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-eMLqba-wrapper{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fb-size-s1);color:var(--fb-text-muted-color);overflow:hidden}.fb-eMLqba-positiveText{color:var(--fb-color-positive-text)}", document.head.appendChild(style);
|
|
251
251
|
}
|
|
252
|
-
var Description_default = {
|
|
252
|
+
var Description_default = { positiveText: "fb-eMLqba-positiveText", wrapper: "fb-eMLqba-wrapper" };
|
|
253
253
|
|
|
254
254
|
// src/addon-vitest/components/Description.tsx
|
|
255
255
|
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -317,7 +317,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
|
|
|
317
317
|
let style = document.createElement("style");
|
|
318
318
|
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-wwCQYa-container{flex-direction:column;padding-bottom:1px;display:flex;&[data-in-context-menu]{padding-bottom:0}}.fb-wwCQYa-heading{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.fb-wwCQYa-info{flex-direction:column;min-width:0;margin-left:8px;display:flex}.fb-wwCQYa-title{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);font-weight:400;&[data-crashed]{color:var(--fb-color-negative-text);font-weight:700}}.fb-wwCQYa-actions{gap:4px;display:flex}.fb-wwCQYa-actionList{padding:0}.fb-wwCQYa-muted{color:var(--fb-text-muted-color)}.fb-wwCQYa-progress{margin:4px}.fb-wwCQYa-stopIcon{width:10px}", document.head.appendChild(style);
|
|
319
319
|
}
|
|
320
|
-
var TestProviderRender_default = {
|
|
320
|
+
var TestProviderRender_default = { progress: "fb-wwCQYa-progress", container: "fb-wwCQYa-container", actionList: "fb-wwCQYa-actionList", stopIcon: "fb-wwCQYa-stopIcon", info: "fb-wwCQYa-info", heading: "fb-wwCQYa-heading", title: "fb-wwCQYa-title", muted: "fb-wwCQYa-muted", actions: "fb-wwCQYa-actions" };
|
|
321
321
|
|
|
322
322
|
// src/addon-vitest/components/TestProviderRender.tsx
|
|
323
323
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.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
|
require_supports_color
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-2WPUJ7UM.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/make-dir/index.js
|
|
22
22
|
var require_make_dir = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike,
|
|
14
14
|
log
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-CZDEJ7DD.js";
|
|
16
16
|
import {
|
|
17
17
|
ADDON_ID2 as ADDON_ID,
|
|
18
18
|
COVERAGE_DIRECTORY,
|
|
@@ -21,24 +21,24 @@ import {
|
|
|
21
21
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
22
22
|
STORY_INDEX_CHANNEL_EVENT_NAME,
|
|
23
23
|
storeOptions
|
|
24
|
-
} from "../../_node-chunks/chunk-
|
|
24
|
+
} from "../../_node-chunks/chunk-D4IL5V6A.js";
|
|
25
25
|
import {
|
|
26
26
|
throttle
|
|
27
|
-
} from "../../_node-chunks/chunk-
|
|
27
|
+
} from "../../_node-chunks/chunk-X5IJ42Q2.js";
|
|
28
28
|
import {
|
|
29
29
|
escapeRegExp
|
|
30
|
-
} from "../../_node-chunks/chunk-
|
|
31
|
-
import "../../_node-chunks/chunk-
|
|
32
|
-
import "../../_node-chunks/chunk-
|
|
30
|
+
} from "../../_node-chunks/chunk-YHWOGAFM.js";
|
|
31
|
+
import "../../_node-chunks/chunk-VV6CPF3T.js";
|
|
32
|
+
import "../../_node-chunks/chunk-GXSB54NU.js";
|
|
33
33
|
import {
|
|
34
34
|
any,
|
|
35
35
|
up
|
|
36
|
-
} from "../../_node-chunks/chunk-
|
|
37
|
-
import "../../_node-chunks/chunk-
|
|
36
|
+
} from "../../_node-chunks/chunk-4U5ZQZJ4.js";
|
|
37
|
+
import "../../_node-chunks/chunk-27R37QFW.js";
|
|
38
38
|
import {
|
|
39
39
|
slash
|
|
40
|
-
} from "../../_node-chunks/chunk-
|
|
41
|
-
import "../../_node-chunks/chunk-
|
|
40
|
+
} from "../../_node-chunks/chunk-CT3L2NXZ.js";
|
|
41
|
+
import "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
42
42
|
|
|
43
43
|
// src/addon-vitest/node/vitest.ts
|
|
44
44
|
import process2 from "node:process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
getTemplateConfigDir,
|
|
14
14
|
isConfigAlreadySetup,
|
|
15
15
|
postInstall
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-6DZY675E.js";
|
|
17
|
+
import "../_node-chunks/chunk-D4IL5V6A.js";
|
|
18
|
+
import "../_node-chunks/chunk-4U5ZQZJ4.js";
|
|
19
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
20
20
|
export {
|
|
21
21
|
postInstall as default,
|
|
22
22
|
getTemplateConfigDir,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike,
|
|
14
14
|
log
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-CZDEJ7DD.js";
|
|
16
16
|
import {
|
|
17
17
|
ADDON_ID2 as ADDON_ID,
|
|
18
18
|
COVERAGE_DIRECTORY,
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
TRIGGER_TEST_RUN_REQUEST,
|
|
25
25
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
26
26
|
storeOptions
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-D4IL5V6A.js";
|
|
28
28
|
import {
|
|
29
29
|
isEqual
|
|
30
|
-
} from "../_node-chunks/chunk-
|
|
31
|
-
import "../_node-chunks/chunk-
|
|
30
|
+
} from "../_node-chunks/chunk-YBRV5FIK.js";
|
|
31
|
+
import "../_node-chunks/chunk-VV6CPF3T.js";
|
|
32
32
|
import {
|
|
33
33
|
importMetaResolve
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-UBEILYLL.js";
|
|
35
|
+
import "../_node-chunks/chunk-3KKSPEAE.js";
|
|
36
|
+
import "../_node-chunks/chunk-27R37QFW.js";
|
|
37
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
38
38
|
|
|
39
39
|
// src/addon-vitest/preset.ts
|
|
40
40
|
import { mkdir } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
15
15
|
__toESM
|
|
16
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
+
} from "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
17
17
|
|
|
18
18
|
// ../../node_modules/tree-kill/index.js
|
|
19
19
|
var require_tree_kill = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -14,25 +14,25 @@ import {
|
|
|
14
14
|
FORKBOOK_CORE_RENDER_ANALYSIS_PROVIDE_KEY,
|
|
15
15
|
FORKBOOK_TEST_FEATURES_PROVIDE_KEY,
|
|
16
16
|
FORKBOOK_TEST_INITIAL_GLOBALS_PROVIDE_KEY
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-D4IL5V6A.js";
|
|
18
18
|
import {
|
|
19
19
|
withoutVitePlugins
|
|
20
|
-
} from "../../_node-chunks/chunk-
|
|
20
|
+
} from "../../_node-chunks/chunk-MGFH4KGP.js";
|
|
21
21
|
import {
|
|
22
22
|
getAiSetupRunId
|
|
23
|
-
} from "../../_node-chunks/chunk-
|
|
23
|
+
} from "../../_node-chunks/chunk-I26RWAW3.js";
|
|
24
24
|
import {
|
|
25
25
|
require_build
|
|
26
|
-
} from "../../_node-chunks/chunk-
|
|
26
|
+
} from "../../_node-chunks/chunk-3KY2GA5X.js";
|
|
27
27
|
import {
|
|
28
28
|
require_picocolors
|
|
29
|
-
} from "../../_node-chunks/chunk-
|
|
29
|
+
} from "../../_node-chunks/chunk-27R37QFW.js";
|
|
30
30
|
import {
|
|
31
31
|
require_picomatch
|
|
32
|
-
} from "../../_node-chunks/chunk-
|
|
32
|
+
} from "../../_node-chunks/chunk-IVU4D6LF.js";
|
|
33
33
|
import {
|
|
34
34
|
__toESM
|
|
35
|
-
} from "../../_node-chunks/chunk-
|
|
35
|
+
} from "../../_node-chunks/chunk-OZBNKCKM.js";
|
|
36
36
|
|
|
37
37
|
// src/addon-vitest/vitest-plugin/index.ts
|
|
38
38
|
var import_picomatch = __toESM(require_picomatch(), 1), import_picocolors = __toESM(require_picocolors(), 1), import_sirv = __toESM(require_build(), 1);
|
|
@@ -152,7 +152,7 @@ function isStorybookInternalFrame(file) {
|
|
|
152
152
|
// src/addon-vitest/vitest-plugin/index.ts
|
|
153
153
|
var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
154
154
|
storybookScript: void 0,
|
|
155
|
-
configDir: resolve(join(WORKING_DIR, defaultConfigDir(
|
|
155
|
+
configDir: resolve(join(WORKING_DIR, defaultConfigDir())),
|
|
156
156
|
storybookUrl: "http://localhost:6006",
|
|
157
157
|
disableAddonDocs: !0,
|
|
158
158
|
initialGlobals: {}
|
|
@@ -387,7 +387,7 @@ var WORKING_DIR = process.cwd(), defaultOptions = {
|
|
|
387
387
|
)), config;
|
|
388
388
|
},
|
|
389
389
|
async configureVitest(context) {
|
|
390
|
-
if (context.vitest.config.coverage.exclude.push("
|
|
390
|
+
if (context.vitest.config.coverage.exclude.push("forkbook-static"), context.project.config.browser?.enabled === !0) {
|
|
391
391
|
let browserSetupFile = fileURLToPath(
|
|
392
392
|
import.meta.resolve("@aussieljk/forkbook/addon-vitest/internal/setup-file.browser.4")
|
|
393
393
|
);
|
package/dist/babel/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -28,11 +28,11 @@ import {
|
|
|
28
28
|
traverse,
|
|
29
29
|
types,
|
|
30
30
|
unwrapTSExpression
|
|
31
|
-
} from "../_node-chunks/chunk-
|
|
32
|
-
import "../_node-chunks/chunk-
|
|
33
|
-
import "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
31
|
+
} from "../_node-chunks/chunk-YMVL55QY.js";
|
|
32
|
+
import "../_node-chunks/chunk-F2XPZVCK.js";
|
|
33
|
+
import "../_node-chunks/chunk-2WPUJ7UM.js";
|
|
34
|
+
import "../_node-chunks/chunk-27R37QFW.js";
|
|
35
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
36
36
|
export {
|
|
37
37
|
babelParse,
|
|
38
38
|
babelParseExpression,
|
package/dist/bin/core.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,102 +12,102 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-LF7EC235.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-A73YRJPA.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-BY65FGKD.js";
|
|
22
22
|
import {
|
|
23
23
|
isReactProject
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-54WGE5OK.js";
|
|
25
|
+
import "../_node-chunks/chunk-M3F5R2JO.js";
|
|
26
|
+
import "../_node-chunks/chunk-VTLGMRU5.js";
|
|
27
|
+
import "../_node-chunks/chunk-SBNQ6YGM.js";
|
|
28
28
|
import {
|
|
29
29
|
createTools,
|
|
30
30
|
reportToolsCommandEvent,
|
|
31
31
|
sanitizeNamePart,
|
|
32
32
|
toCatalogEntry
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-3NXJBXBF.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-XGMO4SW2.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-77YIWZPS.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-NV6HM53D.js";
|
|
46
46
|
import {
|
|
47
47
|
isClaudePreviewLaunch,
|
|
48
48
|
resolveSkillInputs
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-G3J2VAY4.js";
|
|
50
|
+
import "../_node-chunks/chunk-NORBEBNM.js";
|
|
51
51
|
import {
|
|
52
52
|
frameworkToRendererMap
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-SNQKCFKN.js";
|
|
54
54
|
import {
|
|
55
55
|
getMonorepoType
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-OFZX45ZR.js";
|
|
57
57
|
import {
|
|
58
58
|
version
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-4XNKH2BY.js";
|
|
60
60
|
import {
|
|
61
61
|
detectAgent
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-27KT3BJI.js";
|
|
63
|
+
import "../_node-chunks/chunk-526SOV2Y.js";
|
|
64
|
+
import "../_node-chunks/chunk-62PEOH4P.js";
|
|
65
|
+
import "../_node-chunks/chunk-HF6FRLS6.js";
|
|
66
|
+
import "../_node-chunks/chunk-QEDRYWP7.js";
|
|
67
|
+
import "../_node-chunks/chunk-UEWCGYSE.js";
|
|
68
68
|
import {
|
|
69
69
|
globalSettings
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-JCLP42A7.js";
|
|
71
|
+
import "../_node-chunks/chunk-TBLZESXE.js";
|
|
72
72
|
import {
|
|
73
73
|
leven
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-M74NU6PU.js";
|
|
75
75
|
import {
|
|
76
76
|
getRegisteredToolsets
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-7YBOQWWR.js";
|
|
78
|
+
import "../_node-chunks/chunk-II4SIIJW.js";
|
|
79
79
|
import {
|
|
80
80
|
getToolName,
|
|
81
81
|
parseToolsetMethodId,
|
|
82
82
|
toCliMethodName
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-ICGRYYV7.js";
|
|
84
84
|
import {
|
|
85
85
|
escapeRegExp
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-YHWOGAFM.js";
|
|
87
87
|
import {
|
|
88
88
|
getService
|
|
89
|
-
} from "../_node-chunks/chunk-
|
|
90
|
-
import "../_node-chunks/chunk-
|
|
91
|
-
import "../_node-chunks/chunk-
|
|
92
|
-
import "../_node-chunks/chunk-
|
|
93
|
-
import "../_node-chunks/chunk-
|
|
94
|
-
import "../_node-chunks/chunk-
|
|
95
|
-
import "../_node-chunks/chunk-
|
|
96
|
-
import "../_node-chunks/chunk-
|
|
97
|
-
import "../_node-chunks/chunk-
|
|
98
|
-
import "../_node-chunks/chunk-
|
|
99
|
-
import "../_node-chunks/chunk-
|
|
100
|
-
import "../_node-chunks/chunk-
|
|
101
|
-
import "../_node-chunks/chunk-
|
|
89
|
+
} from "../_node-chunks/chunk-WF7RDUU7.js";
|
|
90
|
+
import "../_node-chunks/chunk-4CPTSXU6.js";
|
|
91
|
+
import "../_node-chunks/chunk-7GLNBVQO.js";
|
|
92
|
+
import "../_node-chunks/chunk-YBRV5FIK.js";
|
|
93
|
+
import "../_node-chunks/chunk-VV6CPF3T.js";
|
|
94
|
+
import "../_node-chunks/chunk-6YDXCU32.js";
|
|
95
|
+
import "../_node-chunks/chunk-GXSB54NU.js";
|
|
96
|
+
import "../_node-chunks/chunk-ZKS2H56J.js";
|
|
97
|
+
import "../_node-chunks/chunk-4U5ZQZJ4.js";
|
|
98
|
+
import "../_node-chunks/chunk-4T3WPVSQ.js";
|
|
99
|
+
import "../_node-chunks/chunk-UBEILYLL.js";
|
|
100
|
+
import "../_node-chunks/chunk-3KKSPEAE.js";
|
|
101
|
+
import "../_node-chunks/chunk-VQ2NW4OR.js";
|
|
102
102
|
import {
|
|
103
103
|
require_picocolors
|
|
104
|
-
} from "../_node-chunks/chunk-
|
|
105
|
-
import "../_node-chunks/chunk-
|
|
106
|
-
import "../_node-chunks/chunk-
|
|
107
|
-
import "../_node-chunks/chunk-
|
|
104
|
+
} from "../_node-chunks/chunk-27R37QFW.js";
|
|
105
|
+
import "../_node-chunks/chunk-CT3L2NXZ.js";
|
|
106
|
+
import "../_node-chunks/chunk-QVIC3UDL.js";
|
|
107
|
+
import "../_node-chunks/chunk-IVU4D6LF.js";
|
|
108
108
|
import {
|
|
109
109
|
__toESM
|
|
110
|
-
} from "../_node-chunks/chunk-
|
|
110
|
+
} from "../_node-chunks/chunk-OZBNKCKM.js";
|
|
111
111
|
|
|
112
112
|
// src/bin/core.ts
|
|
113
113
|
import {
|
|
@@ -152,12 +152,12 @@ function getProjectOverview(projectInfo) {
|
|
|
152
152
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
153
153
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
154
154
|
}, FORMERLY_USED_PROMPTS = {
|
|
155
|
-
monorepo: async () => (await import("../_node-chunks/monorepo-
|
|
156
|
-
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-
|
|
157
|
-
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-
|
|
158
|
-
setup: async () => (await import("../_node-chunks/setup-
|
|
159
|
-
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-
|
|
160
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
155
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-R2CLQIWG.js")).instructions,
|
|
156
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-DIPB4OM6.js")).instructions,
|
|
157
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-PDGCGDW4.js")).instructions,
|
|
158
|
+
setup: async () => (await import("../_node-chunks/setup-7ECNMG4A.js")).instructions,
|
|
159
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-5VCD6ED3.js")).instructions,
|
|
160
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js")).instructions
|
|
161
161
|
}, PROMPT_NAMES = [
|
|
162
162
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
163
163
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -892,7 +892,7 @@ function buildStoryInstructions({
|
|
|
892
892
|
|
|
893
893
|
This Forkbook exposes component documentation tools. Before creating or changing any UI, call **${ref2("docs.list")}** once to see what the design system already provides \u2014 build on existing components instead of hand-rolling duplicates \u2014 then call **${ref2("docs.show")}** with the \`id\` of each component you build on or get asked about, for its real props and usage examples. When multiple Forkbook sources are configured, pass the \`storybookId\` from **${ref2("docs.list")}** on follow-up calls. Do this instead of reading the library's source or type definitions out of \`node_modules\` \u2014 stories show intended usage, raw types don't \u2014 and answer props/usage questions from these tools too. Never assume or invent props.`, uiInstructions = storybook_story_instructions_default.replaceAll("{{FRAMEWORK}}", framework).replaceAll("{{RENDERER}}", resolvedRenderer).replace(
|
|
894
894
|
"{{RENDERER_REQUIREMENTS}}",
|
|
895
|
-
resolvedRenderer === "@storybook/react-native" ? "- React Native uses `.
|
|
895
|
+
resolvedRenderer === "@storybook/react-native" ? "- React Native uses `.rnforkbook` directory" : ""
|
|
896
896
|
).replace(`
|
|
897
897
|
{{DOCS_WORKFLOW_GUIDANCE}}`, docsEnabled ? docsWorkflowGuidance : "").replace("{{STORY_LINKING_WORKFLOW}}", storyLinkingWorkflow).replace("{{FINAL_LINKS_GUIDANCE}}", getFinalLinksGuidance(transport)).replace("{{PREVIEW_STORIES}}", ref2("stories.preview")).replace("{{CHANGED_STORY_FALLBACK_LINK_GUIDANCE}}", changedStoryFallbackLinkGuidance);
|
|
898
898
|
if (testSupported) {
|
|
@@ -1339,7 +1339,7 @@ function formatRequiresDevServer(commandPath, discovery, requestedMode) {
|
|
|
1339
1339
|
if (discovery.currentRecord)
|
|
1340
1340
|
return `Found your Forkbook running at ${discovery.currentRecord.url}, but \`${commandPath}\` could not attach to it. Start or restart that Forkbook, then re-run this command.`;
|
|
1341
1341
|
let lines = [
|
|
1342
|
-
`\`${commandPath}\` requires a running Forkbook dev server, and none was found for this project. Start it first (for example \`npm run
|
|
1342
|
+
`\`${commandPath}\` requires a running Forkbook dev server, and none was found for this project. Start it first (for example \`npm run forkbook\`), then re-run this command.`
|
|
1343
1343
|
];
|
|
1344
1344
|
if (discovery.records.length > 0) {
|
|
1345
1345
|
let candidates = discovery.records.map((record2) => `- ${record2.url} (cwd \`${record2.cwd}\`)`).join(`
|
|
@@ -1497,7 +1497,7 @@ var build = async (cliOptions) => {
|
|
|
1497
1497
|
let { default: packageJson } = await import("@aussieljk/forkbook/package.json", { with: { type: "json" } }), options = {
|
|
1498
1498
|
...cliOptions,
|
|
1499
1499
|
configDir: cliOptions.configDir || defaultConfigDir(),
|
|
1500
|
-
outputDir: cliOptions.outputDir || "./
|
|
1500
|
+
outputDir: cliOptions.outputDir || "./forkbook-static",
|
|
1501
1501
|
configType: "PRODUCTION",
|
|
1502
1502
|
cache: cache2,
|
|
1503
1503
|
packageJson
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,12 +13,12 @@ var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
|
13
13
|
import {
|
|
14
14
|
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
15
15
|
isNodeVersionSupported
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-VPGX2PAB.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-UBEILYLL.js";
|
|
20
|
+
import "../_node-chunks/chunk-3KKSPEAE.js";
|
|
21
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
|
@@ -33,16 +33,13 @@ isNodeVersionSupported(process.versions.node) || (logger.error(
|
|
|
33
33
|
async function run() {
|
|
34
34
|
Module.enableCompileCache();
|
|
35
35
|
let args = process.argv.slice(2);
|
|
36
|
-
args[0] === "
|
|
37
|
-
dedent`The \`storybook ai\` command was removed in Forkbook 11.
|
|
38
|
-
Run \`npx forkbook skills setup\` instead of \`storybook ai setup\`, and \`npx forkbook tools\` for the other \`ai\` subcommands.`
|
|
39
|
-
), process.exit(1)), args[0] === "tools" && !args.includes("--no-attach") && (process.env.FORKBOOK_ATTACHED_TOOLS = "true"), args[0] === "init" && args.includes("--pages") && (process.argv.splice(
|
|
36
|
+
args[0] === "tools" && !args.includes("--no-attach") && (process.env.FORKBOOK_ATTACHED_TOOLS = "true"), args[0] === "init" && args.includes("--pages") && (process.argv.splice(
|
|
40
37
|
2,
|
|
41
38
|
process.argv.length,
|
|
42
39
|
"pages",
|
|
43
40
|
...args.slice(1).filter((a) => a !== "--pages")
|
|
44
41
|
), args[0] = "pages");
|
|
45
|
-
let bin = ["dev", "build", "index", "tools", "skills"].includes(args[0]) ? "dist/bin/core.js" : args[0] === "init" ? "dist/create/bin/index.js" : "dist/cli-commands/bin/index.js";
|
|
46
|
-
args[0] === "init" && process.argv.splice(2, 1), await import(pathToFileURL(join(resolvePackageDir("@aussieljk/forkbook"), bin)).href);
|
|
42
|
+
let bin = ["dev", "build", "index", "tools", "skills"].includes(args[0]) ? "dist/bin/core.js" : args[0] === "init" ? "dist/create/bin/index.js" : args[0] === "rn-stories" ? "dist/react-native/bin/get-stories.js" : "dist/cli-commands/bin/index.js";
|
|
43
|
+
(args[0] === "init" || args[0] === "rn-stories") && process.argv.splice(2, 1), await import(pathToFileURL(join(resolvePackageDir("@aussieljk/forkbook"), bin)).href);
|
|
47
44
|
}
|
|
48
45
|
run();
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_b2whu6ooy6h from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_b2whu6ooy6h from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_b2whu6ooy6h from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_b2whu6ooy6h.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_b2whu6ooy6h.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_b2whu6ooy6h.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
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-IAYHJZOR.js";
|
|
15
|
+
import "../_node-chunks/chunk-OZBNKCKM.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|