tanstack_start_ts 1.0.0
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/.wrangler/deploy/config.json +1 -0
- package/bunfig.toml +6 -0
- package/components.json +22 -0
- package/config.json +0 -0
- package/dist/client/.assetsignore +2 -0
- package/dist/client/assets/ProductCard-DbIkJAE-.js +1 -0
- package/dist/client/assets/about-AskxOruL.js +1 -0
- package/dist/client/assets/admin-BZVcAQM3.js +1 -0
- package/dist/client/assets/admin.functions--RdVcuBx.js +1 -0
- package/dist/client/assets/admin.login-QgrF_9Fp.js +1 -0
- package/dist/client/assets/affiliate-disclosure-BIAsA-HO.js +1 -0
- package/dist/client/assets/categories-D0N418mK.js +1 -0
- package/dist/client/assets/category._slug-aCaQm14E.js +1 -0
- package/dist/client/assets/contact-PhvO-V15.js +1 -0
- package/dist/client/assets/faq-BsiHWPM8.js +1 -0
- package/dist/client/assets/hero-bg-BP2eVUIX.jpg +0 -0
- package/dist/client/assets/index-BU9rnkF3.js +1 -0
- package/dist/client/assets/index-BpJWZkva.js +1 -0
- package/dist/client/assets/index-vRX-zAyq.js +1 -0
- package/dist/client/assets/login-DteE0ZGp.js +1 -0
- package/dist/client/assets/logo-pSNfLJQk.png +0 -0
- package/dist/client/assets/privacy-B_Pu7040.js +1 -0
- package/dist/client/assets/product-links-BkZ41Gv3.js +1 -0
- package/dist/client/assets/product._id-BVUysCW-.js +1 -0
- package/dist/client/assets/products.functions-cGzRziKO.js +1 -0
- package/dist/client/assets/profile-CveRcKq2.js +1 -0
- package/dist/client/assets/reset-password-ySEjItX_.js +1 -0
- package/dist/client/assets/saved-CHtdQDJF.js +1 -0
- package/dist/client/assets/search-CXWfET1y.js +1 -0
- package/dist/client/assets/signup-CEx90iuV.js +1 -0
- package/dist/client/assets/styles-DrNJG0BO.css +1 -0
- package/dist/client/assets/terms-VqJ9kX9b.js +1 -0
- package/dist/client/assets/update-password-C-d0ix5e.js +1 -0
- package/dist/client/assets/vendor-aria-hidden-DvXkyWUv.js +1 -0
- package/dist/client/assets/vendor-class-variance-authority-5VPnzWs2.js +1 -0
- package/dist/client/assets/vendor-clsx-B-dksMZM.js +1 -0
- package/dist/client/assets/vendor-cookie-es-CS0aJGDi.js +1 -0
- package/dist/client/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
- package/dist/client/assets/vendor-floating-ui-core-BlUy28sp.js +1 -0
- package/dist/client/assets/vendor-floating-ui-dom-BxK0hn2R.js +1 -0
- package/dist/client/assets/vendor-floating-ui-react-dom-Bas3975S.js +1 -0
- package/dist/client/assets/vendor-floating-ui-utils-BfYUAVcw.js +1 -0
- package/dist/client/assets/vendor-framer-motion-BMdL-cuX.js +9 -0
- package/dist/client/assets/vendor-get-nonce-C-Z93AgS.js +1 -0
- package/dist/client/assets/vendor-iceberg-js-tWD4K6Lg.js +1 -0
- package/dist/client/assets/vendor-lovable.dev-cloud-auth-js-VuzqtJVg.js +1 -0
- package/dist/client/assets/vendor-lucide-react-b5K2fehp.js +1 -0
- package/dist/client/assets/vendor-motion-dom-BETJamZt.js +1 -0
- package/dist/client/assets/vendor-motion-utils-BuWewJbj.js +1 -0
- package/dist/client/assets/vendor-radix-ui-primitive-Dc_FVRD7.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-accordion-C22Rgxe9.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-arrow-DMHj2mKI.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-avatar-CVPBkFXg.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-collapsible-BvM-4sKX.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-collection-D9KtqmHm.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-compose-refs-Cvq0AS8Z.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-context-CAqqn5Nx.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dialog-DZ01vOLq.js +5 -0
- package/dist/client/assets/vendor-radix-ui-react-direction-DxZwNuei.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dismissable-layer-Dqgrs55Y.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-dropdown-menu-0uzvrqkn.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-focus-guards-DgWoZ-fP.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-focus-scope-BLIu5QaL.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-id-bpga_rLa.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-menu-D0qf2r6_.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-popper-BafIylxU.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-portal-BnAsfNCS.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-presence-C-f3UKQ2.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-primitive-zTHwXNoz.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-roving-focus-jyJB8K2E.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-slot-6LXHJrHl.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-callback-ref-E91aPc6s.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-controllable-state-Ca3eMtxa.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-effect-event-CPeX4A3c.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-escape-keydown-7n3YsXFo.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-is-hydrated-C1PY1qNv.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-layout-effect-B3AcGWPy.js +1 -0
- package/dist/client/assets/vendor-radix-ui-react-use-size-CXS04sct.js +1 -0
- package/dist/client/assets/vendor-react-dom-BnNs-kzm.js +9 -0
- package/dist/client/assets/vendor-react-gJPiVnX5.js +1 -0
- package/dist/client/assets/vendor-react-remove-scroll-DHKl-IMP.js +4 -0
- package/dist/client/assets/vendor-react-remove-scroll-bar-CSjdInc2.js +38 -0
- package/dist/client/assets/vendor-react-style-singleton-BqHpkgXn.js +1 -0
- package/dist/client/assets/vendor-scheduler-7OC5HNn7.js +1 -0
- package/dist/client/assets/vendor-seroval-B_Fur-nl.js +3 -0
- package/dist/client/assets/vendor-seroval-plugins-CBHnPkZJ.js +1 -0
- package/dist/client/assets/vendor-sonner-71-LdGG1.js +1 -0
- package/dist/client/assets/vendor-supabase-auth-js-DWrN-bIx.js +18 -0
- package/dist/client/assets/vendor-supabase-functions-js-uY_V-TxC.js +1 -0
- package/dist/client/assets/vendor-supabase-phoenix-BzEf37Ve.js +2 -0
- package/dist/client/assets/vendor-supabase-postgrest-js-C4rBWbCx.js +4 -0
- package/dist/client/assets/vendor-supabase-realtime-js-D6BlOYKE.js +23 -0
- package/dist/client/assets/vendor-supabase-storage-js-BG98L3Zz.js +1 -0
- package/dist/client/assets/vendor-supabase-supabase-js-DCCzdwBJ.js +1 -0
- package/dist/client/assets/vendor-tailwind-merge-Ct12j0u0.js +1 -0
- package/dist/client/assets/vendor-tanstack-history-C617CaxG.js +1 -0
- package/dist/client/assets/vendor-tanstack-query-core-7wuJJ5ZL.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-query-HImzo8sX.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-router-sIZLK-LU.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-start-client-GiYCfWmf.js +1 -0
- package/dist/client/assets/vendor-tanstack-react-store-EvTi3ahh.js +1 -0
- package/dist/client/assets/vendor-tanstack-router-core-Cr7bYUZv.js +1 -0
- package/dist/client/assets/vendor-tanstack-start-client-core-C-00BBOu.js +2 -0
- package/dist/client/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
- package/dist/client/assets/vendor-tanstack-store-BC7mA7pq.js +1 -0
- package/dist/client/assets/vendor-tslib-Du-meQkk.js +1 -0
- package/dist/client/assets/vendor-use-callback-ref-C_fIAtot.js +1 -0
- package/dist/client/assets/vendor-use-sidecar-Bh0DDN6h.js +1 -0
- package/dist/client/assets/vendor-use-sync-external-store-ZvKHXaIn.js +1 -0
- package/dist/client/assets/vendor-vercel-analytics-DwPM5BWs.js +1 -0
- package/dist/client/assets/vendor-zod-By9teAtI.js +1 -0
- package/dist/client/robots.txt +2 -0
- package/dist/server/.dev.vars +5 -0
- package/dist/server/.vite/manifest.json +2528 -0
- package/dist/server/assets/ProductCard-CUPXy5Eo.js +149 -0
- package/dist/server/assets/_tanstack-start-manifest_v-do7vTWFD.js +4 -0
- package/dist/server/assets/about-TfKQw0Ga.js +28 -0
- package/dist/server/assets/admin-DspfJOJk.js +578 -0
- package/dist/server/assets/admin.functions-B78ppWLR.js +645 -0
- package/dist/server/assets/admin.functions-BWlKBoTL.js +93 -0
- package/dist/server/assets/admin.login-CV7QfeA6.js +139 -0
- package/dist/server/assets/affiliate-disclosure-B1wI1cDb.js +86 -0
- package/dist/server/assets/auth-middleware-Cn49MidW.js +62 -0
- package/dist/server/assets/categories-Z7jnAYZP.js +108 -0
- package/dist/server/assets/category._slug-D0XY3FGK.js +112 -0
- package/dist/server/assets/contact-IzyONsXs.js +104 -0
- package/dist/server/assets/faq-aRhB_CR3.js +133 -0
- package/dist/server/assets/hero-bg-BP2eVUIX.jpg +0 -0
- package/dist/server/assets/index-BTPHbXw9.js +221 -0
- package/dist/server/assets/index-ByJkHkrU.js +30 -0
- package/dist/server/assets/login-Dvy5Dm0f.js +175 -0
- package/dist/server/assets/logo-pSNfLJQk.png +0 -0
- package/dist/server/assets/privacy-B6Wiez1P.js +93 -0
- package/dist/server/assets/product-links-CGYEPP56.js +16 -0
- package/dist/server/assets/product._id-BpRa-1z0.js +231 -0
- package/dist/server/assets/products.functions-DSlmibYN.js +209 -0
- package/dist/server/assets/products.functions-DlHkRiqi.js +24 -0
- package/dist/server/assets/profile-B0NWzVAZ.js +314 -0
- package/dist/server/assets/reset-password-CY-rmqMr.js +115 -0
- package/dist/server/assets/saved-7FA6Dbom.js +126 -0
- package/dist/server/assets/search-Yw5c_fZa.js +329 -0
- package/dist/server/assets/signup-UPzgZo4i.js +143 -0
- package/dist/server/assets/styles-DrNJG0BO.css +1 -0
- package/dist/server/assets/terms-CMnX95bP.js +89 -0
- package/dist/server/assets/update-password-Cr94ea8n.js +131 -0
- package/dist/server/assets/vendor-aria-hidden-DPa16MWu.js +122 -0
- package/dist/server/assets/vendor-class-variance-authority-0YxJPB9Y.js +44 -0
- package/dist/server/assets/vendor-cloudflare-unenv-preset-ya0VEFBz.js +250 -0
- package/dist/server/assets/vendor-clsx-DgYk2OaC.js +16 -0
- package/dist/server/assets/vendor-cookie-es-DAoofYiI.js +44 -0
- package/dist/server/assets/vendor-detect-node-es-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-floating-ui-core-3tkK0THV.js +726 -0
- package/dist/server/assets/vendor-floating-ui-dom-C-cPtgJv.js +626 -0
- package/dist/server/assets/vendor-floating-ui-react-dom-CRG6gBpH.js +319 -0
- package/dist/server/assets/vendor-floating-ui-utils-DmXANH-E.js +320 -0
- package/dist/server/assets/vendor-framer-motion-X4zAkX3J.js +1979 -0
- package/dist/server/assets/vendor-get-nonce-DiSj3EHl.js +9 -0
- package/dist/server/assets/vendor-h3-v2-CCobnLY5.js +287 -0
- package/dist/server/assets/vendor-iceberg-js-bHCkXyJn.js +534 -0
- package/dist/server/assets/vendor-isbot-CZ7WjwVs.js +21 -0
- package/dist/server/assets/vendor-lovable.dev-cloud-auth-js-BE03njZw.js +180 -0
- package/dist/server/assets/vendor-lucide-react-Ddew6HYb.js +458 -0
- package/dist/server/assets/vendor-motion-dom-D2MTwGIG.js +5983 -0
- package/dist/server/assets/vendor-motion-utils-LJlIFN6m.js +161 -0
- package/dist/server/assets/vendor-radix-ui-primitive-B-mNdDrH.js +11 -0
- package/dist/server/assets/vendor-radix-ui-react-accordion-1Izf6x00.js +308 -0
- package/dist/server/assets/vendor-radix-ui-react-arrow-B882lnFK.js +23 -0
- package/dist/server/assets/vendor-radix-ui-react-avatar-BVgZt2Ab.js +209 -0
- package/dist/server/assets/vendor-radix-ui-react-collapsible-DCBbMZiS.js +147 -0
- package/dist/server/assets/vendor-radix-ui-react-collection-BZ2srfgU.js +150 -0
- package/dist/server/assets/vendor-radix-ui-react-compose-refs-D3qsKVk1.js +39 -0
- package/dist/server/assets/vendor-radix-ui-react-context-BVoNDLue.js +78 -0
- package/dist/server/assets/vendor-radix-ui-react-dialog-DlxMaNYK.js +406 -0
- package/dist/server/assets/vendor-radix-ui-react-direction-Dt_WDL1t.js +9 -0
- package/dist/server/assets/vendor-radix-ui-react-dismissable-layer-CjsuPohV.js +210 -0
- package/dist/server/assets/vendor-radix-ui-react-dropdown-menu-DVxKumY8.js +263 -0
- package/dist/server/assets/vendor-radix-ui-react-focus-guards-D_6NoePE.js +29 -0
- package/dist/server/assets/vendor-radix-ui-react-focus-scope-DEIhTJJH.js +206 -0
- package/dist/server/assets/vendor-radix-ui-react-id-DFFpgh6m.js +14 -0
- package/dist/server/assets/vendor-radix-ui-react-menu-CiTMLwjT.js +893 -0
- package/dist/server/assets/vendor-radix-ui-react-popper-23Ye2Vyc.js +286 -0
- package/dist/server/assets/vendor-radix-ui-react-portal-CZCH5uPk.js +16 -0
- package/dist/server/assets/vendor-radix-ui-react-presence-CaAULlDU.js +128 -0
- package/dist/server/assets/vendor-radix-ui-react-primitive-BeOk3UYa.js +124 -0
- package/dist/server/assets/vendor-radix-ui-react-roving-focus-DES9GR8l.js +224 -0
- package/dist/server/assets/vendor-radix-ui-react-slot-DUhZbzoH.js +103 -0
- package/dist/server/assets/vendor-radix-ui-react-use-callback-ref-BynBgohw.js +11 -0
- package/dist/server/assets/vendor-radix-ui-react-use-controllable-state-C9KpT6DG.js +69 -0
- package/dist/server/assets/vendor-radix-ui-react-use-effect-event-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-radix-ui-react-use-escape-keydown-CcYRQ2pp.js +17 -0
- package/dist/server/assets/vendor-radix-ui-react-use-is-hydrated-D_LcBPXY.js +15 -0
- package/dist/server/assets/vendor-radix-ui-react-use-layout-effect-1LNLXAjr.js +6 -0
- package/dist/server/assets/vendor-radix-ui-react-use-size-D6fiKJQo.js +39 -0
- package/dist/server/assets/vendor-react-DvBrY0qp.js +511 -0
- package/dist/server/assets/vendor-react-dom-yvMLPM0j.js +10484 -0
- package/dist/server/assets/vendor-react-remove-scroll-BNtiEvVN.js +328 -0
- package/dist/server/assets/vendor-react-remove-scroll-bar-hLqRASRk.js +82 -0
- package/dist/server/assets/vendor-react-style-singleton-BXjcXskB.js +69 -0
- package/dist/server/assets/vendor-rou3-3NaGPdI8.js +8 -0
- package/dist/server/assets/vendor-seroval-dJyC-Zhz.js +1775 -0
- package/dist/server/assets/vendor-seroval-plugins-Pq_U2meB.js +58 -0
- package/dist/server/assets/vendor-sonner-CqbjhsRh.js +1086 -0
- package/dist/server/assets/vendor-srvx-BA-baEX9.js +6 -0
- package/dist/server/assets/vendor-supabase-auth-js-D4xjVprw.js +7602 -0
- package/dist/server/assets/vendor-supabase-functions-js-sWy4UYn1.js +322 -0
- package/dist/server/assets/vendor-supabase-phoenix-Bw3Uh2Nn.js +1777 -0
- package/dist/server/assets/vendor-supabase-postgrest-js-AO-BXa7I.js +4938 -0
- package/dist/server/assets/vendor-supabase-realtime-js-BtdNgJbm.js +2111 -0
- package/dist/server/assets/vendor-supabase-storage-js-Dk_MrPYO.js +2679 -0
- package/dist/server/assets/vendor-supabase-supabase-js-D1EEtG3j.js +697 -0
- package/dist/server/assets/vendor-tailwind-merge-BHb_obmC.js +3255 -0
- package/dist/server/assets/vendor-tanstack-history-C4pKJmkt.js +204 -0
- package/dist/server/assets/vendor-tanstack-query-core-PwwTR5ld.js +2552 -0
- package/dist/server/assets/vendor-tanstack-react-query-hhHzXAK1.js +190 -0
- package/dist/server/assets/vendor-tanstack-react-router-XzqpA65A.js +1120 -0
- package/dist/server/assets/vendor-tanstack-react-start-RvWUpvat.js +37 -0
- package/dist/server/assets/vendor-tanstack-react-start-client-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-tanstack-react-start-server-uj_Y9pEN.js +15 -0
- package/dist/server/assets/vendor-tanstack-react-store-gpNY2xjS.js +1 -0
- package/dist/server/assets/vendor-tanstack-router-core-6wywV3KN.js +4252 -0
- package/dist/server/assets/vendor-tanstack-start-client-core-DoOKV2pA.js +1741 -0
- package/dist/server/assets/vendor-tanstack-start-fn-stubs-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-tanstack-start-server-core-CsAstXv7.js +1421 -0
- package/dist/server/assets/vendor-tanstack-start-storage-context-DgH9hIJT.js +17 -0
- package/dist/server/assets/vendor-tanstack-store-l0sNRNKZ.js +1 -0
- package/dist/server/assets/vendor-tslib-_8ICaZ64.js +67 -0
- package/dist/server/assets/vendor-unenv-DUvF4YIF.js +544 -0
- package/dist/server/assets/vendor-use-callback-ref-DMFDRvmi.js +66 -0
- package/dist/server/assets/vendor-use-sidecar-DG1tHua4.js +106 -0
- package/dist/server/assets/vendor-use-sync-external-store-rZ8vi0It.js +64 -0
- package/dist/server/assets/vendor-vercel-analytics-oP8BDp0L.js +168 -0
- package/dist/server/assets/vendor-zod-BRyQdbC-.js +3580 -0
- package/dist/server/index.js +158 -0
- package/dist/server/wrangler.json +1 -0
- package/enable-powershell.ps1 +7 -0
- package/eslint.config.js +41 -0
- package/lint.bat +4 -0
- package/package.json +95 -0
- package/public/robots.txt +2 -0
- package/run-npm-build.cjs +20 -0
- package/run-npm-build.js +20 -0
- package/src/assets/hero-bg.jpg +0 -0
- package/src/assets/logo.png +0 -0
- package/src/components/scrollsy/Footer.tsx +68 -0
- package/src/components/scrollsy/LiveTicker.tsx +31 -0
- package/src/components/scrollsy/Logo.tsx +28 -0
- package/src/components/scrollsy/Nav.tsx +255 -0
- package/src/components/scrollsy/ProductCard.tsx +190 -0
- package/src/components/scrollsy/ProductFilters.tsx +226 -0
- package/src/components/scrollsy/SupportWidget.tsx +197 -0
- package/src/components/ui/accordion.tsx +51 -0
- package/src/components/ui/alert-dialog.tsx +115 -0
- package/src/components/ui/alert.tsx +49 -0
- package/src/components/ui/aspect-ratio.tsx +5 -0
- package/src/components/ui/avatar.tsx +47 -0
- package/src/components/ui/badge.tsx +32 -0
- package/src/components/ui/breadcrumb.tsx +101 -0
- package/src/components/ui/button.tsx +49 -0
- package/src/components/ui/calendar.tsx +177 -0
- package/src/components/ui/card.tsx +55 -0
- package/src/components/ui/carousel.tsx +240 -0
- package/src/components/ui/chart.tsx +331 -0
- package/src/components/ui/checkbox.tsx +26 -0
- package/src/components/ui/collapsible.tsx +11 -0
- package/src/components/ui/command.tsx +143 -0
- package/src/components/ui/context-menu.tsx +187 -0
- package/src/components/ui/dialog.tsx +104 -0
- package/src/components/ui/drawer.tsx +98 -0
- package/src/components/ui/dropdown-menu.tsx +188 -0
- package/src/components/ui/form.tsx +171 -0
- package/src/components/ui/hover-card.tsx +27 -0
- package/src/components/ui/input-otp.tsx +69 -0
- package/src/components/ui/input.tsx +22 -0
- package/src/components/ui/label.tsx +21 -0
- package/src/components/ui/menubar.tsx +229 -0
- package/src/components/ui/navigation-menu.tsx +120 -0
- package/src/components/ui/pagination.tsx +98 -0
- package/src/components/ui/popover.tsx +31 -0
- package/src/components/ui/progress.tsx +25 -0
- package/src/components/ui/radio-group.tsx +36 -0
- package/src/components/ui/resizable.tsx +37 -0
- package/src/components/ui/scroll-area.tsx +44 -0
- package/src/components/ui/select.tsx +152 -0
- package/src/components/ui/separator.tsx +24 -0
- package/src/components/ui/sheet.tsx +122 -0
- package/src/components/ui/sidebar.tsx +744 -0
- package/src/components/ui/skeleton.tsx +7 -0
- package/src/components/ui/slider.tsx +23 -0
- package/src/components/ui/sonner.tsx +23 -0
- package/src/components/ui/switch.tsx +27 -0
- package/src/components/ui/table.tsx +94 -0
- package/src/components/ui/tabs.tsx +53 -0
- package/src/components/ui/textarea.tsx +21 -0
- package/src/components/ui/toggle-group.tsx +57 -0
- package/src/components/ui/toggle.tsx +42 -0
- package/src/components/ui/tooltip.tsx +32 -0
- package/src/hooks/use-auth.ts +26 -0
- package/src/hooks/use-mobile.tsx +19 -0
- package/src/integrations/lovable/index.ts +41 -0
- package/src/lib/admin.functions.ts +564 -0
- package/src/lib/error-capture.ts +27 -0
- package/src/lib/error-page.ts +30 -0
- package/src/lib/product-links.ts +39 -0
- package/src/lib/products.functions.ts +101 -0
- package/src/lib/utils.ts +6 -0
- package/src/routeTree.gen.ts +480 -0
- package/src/router.tsx +16 -0
- package/src/routes/__root.tsx +177 -0
- package/src/routes/about.tsx +66 -0
- package/src/routes/admin.login.tsx +95 -0
- package/src/routes/admin.tsx +811 -0
- package/src/routes/affiliate-disclosure.tsx +35 -0
- package/src/routes/categories.tsx +57 -0
- package/src/routes/category.$slug.tsx +51 -0
- package/src/routes/contact.tsx +69 -0
- package/src/routes/faq.tsx +63 -0
- package/src/routes/index.tsx +269 -0
- package/src/routes/login.tsx +160 -0
- package/src/routes/privacy.tsx +39 -0
- package/src/routes/product.$id.tsx +212 -0
- package/src/routes/profile.tsx +393 -0
- package/src/routes/reset-password.tsx +71 -0
- package/src/routes/saved.tsx +83 -0
- package/src/routes/search.tsx +136 -0
- package/src/routes/signup.tsx +108 -0
- package/src/routes/sitemap[.]xml.ts +34 -0
- package/src/routes/terms.tsx +40 -0
- package/src/routes/update-password.tsx +91 -0
- package/src/server.ts +80 -0
- package/src/start.ts +24 -0
- package/src/styles.css +333 -0
- package/terminal-test-output.txt +1 -0
- package/tsconfig.json +27 -0
- package/vercel.json +26 -0
- package/vite.config.ts +38 -0
- package/wrangler.jsonc +7 -0
package/src/styles.css
ADDED
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
@import "tailwindcss" source(none);
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
|
|
4
|
+
@source "../src";
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* ─── Design Tokens ─────────────────────────────────────── */
|
|
9
|
+
@theme inline {
|
|
10
|
+
--font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
|
|
11
|
+
--font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
|
|
12
|
+
|
|
13
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
14
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
15
|
+
--radius-lg: var(--radius);
|
|
16
|
+
--radius-xl: calc(var(--radius) + 6px);
|
|
17
|
+
--radius-2xl: calc(var(--radius) + 12px);
|
|
18
|
+
--radius-3xl: calc(var(--radius) + 20px);
|
|
19
|
+
|
|
20
|
+
--color-background: var(--background);
|
|
21
|
+
--color-foreground: var(--foreground);
|
|
22
|
+
--color-surface: var(--surface);
|
|
23
|
+
--color-surface-elevated: var(--surface-elevated);
|
|
24
|
+
--color-card: var(--card);
|
|
25
|
+
--color-card-foreground: var(--card-foreground);
|
|
26
|
+
--color-popover: var(--popover);
|
|
27
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
28
|
+
--color-primary: var(--primary);
|
|
29
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
30
|
+
--color-secondary: var(--secondary);
|
|
31
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
32
|
+
--color-muted: var(--muted);
|
|
33
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
34
|
+
--color-accent: var(--accent);
|
|
35
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
36
|
+
--color-destructive: var(--destructive);
|
|
37
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
38
|
+
--color-border: var(--border);
|
|
39
|
+
--color-input: var(--input);
|
|
40
|
+
--color-ring: var(--ring);
|
|
41
|
+
|
|
42
|
+
--color-brand-orange: var(--brand-orange);
|
|
43
|
+
--color-brand-amber: var(--brand-amber);
|
|
44
|
+
--color-brand-magenta: var(--brand-magenta);
|
|
45
|
+
--color-brand-violet: var(--brand-violet);
|
|
46
|
+
|
|
47
|
+
--color-sidebar: var(--sidebar);
|
|
48
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
49
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
50
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
51
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
52
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
53
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
54
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:root {
|
|
58
|
+
--radius: 0.875rem;
|
|
59
|
+
|
|
60
|
+
/* Dark canvas */
|
|
61
|
+
--background: oklch(0.13 0.015 280);
|
|
62
|
+
--foreground: oklch(0.97 0.005 280);
|
|
63
|
+
|
|
64
|
+
--surface: oklch(0.16 0.018 280);
|
|
65
|
+
--surface-elevated: oklch(0.19 0.022 285);
|
|
66
|
+
|
|
67
|
+
--card: oklch(0.16 0.018 280);
|
|
68
|
+
--card-foreground: oklch(0.97 0.005 280);
|
|
69
|
+
--popover: oklch(0.17 0.02 282);
|
|
70
|
+
--popover-foreground: oklch(0.97 0.005 280);
|
|
71
|
+
|
|
72
|
+
/* Brand: Sunset Blaze */
|
|
73
|
+
--brand-orange: oklch(0.73 0.19 45); /* #ff6b35 */
|
|
74
|
+
--brand-amber: oklch(0.78 0.17 65); /* #f7931e */
|
|
75
|
+
--brand-magenta: oklch(0.65 0.25 5); /* #e84393 */
|
|
76
|
+
--brand-violet: oklch(0.58 0.22 290); /* #6c5ce7 */
|
|
77
|
+
|
|
78
|
+
--primary: oklch(0.65 0.25 5);
|
|
79
|
+
--primary-foreground: oklch(0.98 0.005 280);
|
|
80
|
+
|
|
81
|
+
--secondary: oklch(0.22 0.025 285);
|
|
82
|
+
--secondary-foreground: oklch(0.97 0.005 280);
|
|
83
|
+
|
|
84
|
+
--muted: oklch(0.22 0.022 285);
|
|
85
|
+
--muted-foreground: oklch(0.68 0.02 285);
|
|
86
|
+
|
|
87
|
+
--accent: oklch(0.58 0.22 290);
|
|
88
|
+
--accent-foreground: oklch(0.98 0.005 280);
|
|
89
|
+
|
|
90
|
+
--destructive: oklch(0.62 0.24 25);
|
|
91
|
+
--destructive-foreground: oklch(0.98 0.005 280);
|
|
92
|
+
|
|
93
|
+
--border: oklch(1 0 0 / 8%);
|
|
94
|
+
--input: oklch(1 0 0 / 10%);
|
|
95
|
+
--ring: oklch(0.65 0.25 5);
|
|
96
|
+
|
|
97
|
+
/* Gradients & effects */
|
|
98
|
+
--gradient-brand: linear-gradient(135deg, #ff6b35 0%, #e84393 50%, #6c5ce7 100%);
|
|
99
|
+
--gradient-brand-soft: linear-gradient(135deg, #ff6b3530 0%, #e8439330 50%, #6c5ce730 100%);
|
|
100
|
+
--gradient-radial: radial-gradient(ellipse at top, #6c5ce740 0%, transparent 60%);
|
|
101
|
+
--gradient-card: linear-gradient(
|
|
102
|
+
180deg,
|
|
103
|
+
oklch(0.18 0.02 285 / 0.7) 0%,
|
|
104
|
+
oklch(0.14 0.018 280 / 0.6) 100%
|
|
105
|
+
);
|
|
106
|
+
--gradient-text: linear-gradient(135deg, #ff6b35 0%, #e84393 60%, #a78bfa 100%);
|
|
107
|
+
|
|
108
|
+
--shadow-glow: 0 0 40px -10px #e8439360, 0 0 80px -30px #6c5ce740;
|
|
109
|
+
--shadow-card: 0 8px 30px -10px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
110
|
+
--shadow-elevated: 0 20px 60px -20px rgba(232, 67, 147, 0.25), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
|
|
111
|
+
|
|
112
|
+
--sidebar: oklch(0.15 0.018 282);
|
|
113
|
+
--sidebar-foreground: oklch(0.97 0.005 280);
|
|
114
|
+
--sidebar-primary: oklch(0.65 0.25 5);
|
|
115
|
+
--sidebar-primary-foreground: oklch(0.98 0.005 280);
|
|
116
|
+
--sidebar-accent: oklch(0.22 0.022 285);
|
|
117
|
+
--sidebar-accent-foreground: oklch(0.97 0.005 280);
|
|
118
|
+
--sidebar-border: oklch(1 0 0 / 8%);
|
|
119
|
+
--sidebar-ring: oklch(0.65 0.25 5);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* Site is dark-by-default; .light overrides if user opts in */
|
|
123
|
+
.light {
|
|
124
|
+
--background: oklch(0.99 0.005 280);
|
|
125
|
+
--foreground: oklch(0.15 0.02 280);
|
|
126
|
+
--surface: oklch(0.97 0.008 280);
|
|
127
|
+
--surface-elevated: oklch(1 0 0);
|
|
128
|
+
--card: oklch(1 0 0);
|
|
129
|
+
--card-foreground: oklch(0.15 0.02 280);
|
|
130
|
+
--popover: oklch(1 0 0);
|
|
131
|
+
--popover-foreground: oklch(0.15 0.02 280);
|
|
132
|
+
--secondary: oklch(0.95 0.008 280);
|
|
133
|
+
--secondary-foreground: oklch(0.2 0.02 280);
|
|
134
|
+
--muted: oklch(0.95 0.008 280);
|
|
135
|
+
--muted-foreground: oklch(0.45 0.02 280);
|
|
136
|
+
--border: oklch(0.15 0.02 280 / 10%);
|
|
137
|
+
--input: oklch(0.15 0.02 280 / 12%);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@layer base {
|
|
141
|
+
* {
|
|
142
|
+
border-color: var(--color-border);
|
|
143
|
+
}
|
|
144
|
+
html {
|
|
145
|
+
scroll-behavior: smooth;
|
|
146
|
+
}
|
|
147
|
+
body {
|
|
148
|
+
background-color: var(--color-background);
|
|
149
|
+
color: var(--color-foreground);
|
|
150
|
+
font-family: var(--font-sans);
|
|
151
|
+
-webkit-font-smoothing: antialiased;
|
|
152
|
+
background-image:
|
|
153
|
+
radial-gradient(ellipse 80% 50% at 50% -10%, oklch(0.58 0.22 290 / 0.18), transparent),
|
|
154
|
+
radial-gradient(ellipse 60% 40% at 90% 10%, oklch(0.65 0.25 5 / 0.12), transparent);
|
|
155
|
+
background-attachment: fixed;
|
|
156
|
+
}
|
|
157
|
+
h1,
|
|
158
|
+
h2,
|
|
159
|
+
h3,
|
|
160
|
+
h4,
|
|
161
|
+
h5 {
|
|
162
|
+
font-family: var(--font-display);
|
|
163
|
+
letter-spacing: -0.02em;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
::selection {
|
|
167
|
+
background: #e8439360;
|
|
168
|
+
color: white;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Custom scrollbar */
|
|
172
|
+
::-webkit-scrollbar {
|
|
173
|
+
width: 10px;
|
|
174
|
+
height: 10px;
|
|
175
|
+
}
|
|
176
|
+
::-webkit-scrollbar-track {
|
|
177
|
+
background: transparent;
|
|
178
|
+
}
|
|
179
|
+
::-webkit-scrollbar-thumb {
|
|
180
|
+
background: linear-gradient(180deg, #ff6b3580, #6c5ce780);
|
|
181
|
+
border-radius: 999px;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@layer components {
|
|
186
|
+
.text-gradient {
|
|
187
|
+
background: var(--gradient-text);
|
|
188
|
+
-webkit-background-clip: text;
|
|
189
|
+
background-clip: text;
|
|
190
|
+
color: transparent;
|
|
191
|
+
}
|
|
192
|
+
.bg-gradient-brand {
|
|
193
|
+
background: var(--gradient-brand);
|
|
194
|
+
}
|
|
195
|
+
.bg-gradient-card {
|
|
196
|
+
background: var(--gradient-card);
|
|
197
|
+
}
|
|
198
|
+
.glass {
|
|
199
|
+
background: oklch(0.18 0.02 285 / 0.55);
|
|
200
|
+
backdrop-filter: blur(20px) saturate(160%);
|
|
201
|
+
-webkit-backdrop-filter: blur(20px) saturate(160%);
|
|
202
|
+
border: 1px solid oklch(1 0 0 / 0.08);
|
|
203
|
+
}
|
|
204
|
+
.glass-strong {
|
|
205
|
+
background: oklch(0.14 0.018 282 / 0.78);
|
|
206
|
+
backdrop-filter: blur(24px) saturate(180%);
|
|
207
|
+
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
208
|
+
border: 1px solid oklch(1 0 0 / 0.08);
|
|
209
|
+
}
|
|
210
|
+
.glow-ring {
|
|
211
|
+
box-shadow: var(--shadow-glow);
|
|
212
|
+
}
|
|
213
|
+
.btn-glow {
|
|
214
|
+
background: var(--gradient-brand);
|
|
215
|
+
color: white;
|
|
216
|
+
box-shadow:
|
|
217
|
+
0 8px 24px -8px #e8439370,
|
|
218
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
|
219
|
+
transition:
|
|
220
|
+
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
|
221
|
+
box-shadow 0.25s;
|
|
222
|
+
}
|
|
223
|
+
.btn-glow:hover {
|
|
224
|
+
transform: translateY(-2px);
|
|
225
|
+
box-shadow:
|
|
226
|
+
0 14px 32px -8px #e84393a0,
|
|
227
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.25);
|
|
228
|
+
}
|
|
229
|
+
.card-tilt {
|
|
230
|
+
transition:
|
|
231
|
+
transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
|
|
232
|
+
box-shadow 0.4s;
|
|
233
|
+
}
|
|
234
|
+
.card-tilt:hover {
|
|
235
|
+
transform: translateY(-6px) scale(1.015);
|
|
236
|
+
box-shadow: var(--shadow-elevated);
|
|
237
|
+
}
|
|
238
|
+
.ring-brand {
|
|
239
|
+
box-shadow:
|
|
240
|
+
0 0 0 2px transparent,
|
|
241
|
+
0 0 0 4px var(--brand-magenta);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* Animations */
|
|
246
|
+
@keyframes float {
|
|
247
|
+
0%,
|
|
248
|
+
100% {
|
|
249
|
+
transform: translateY(0);
|
|
250
|
+
}
|
|
251
|
+
50% {
|
|
252
|
+
transform: translateY(-12px);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
@keyframes pulse-glow {
|
|
256
|
+
0%,
|
|
257
|
+
100% {
|
|
258
|
+
box-shadow: 0 0 0 0 #e8439350;
|
|
259
|
+
}
|
|
260
|
+
50% {
|
|
261
|
+
box-shadow: 0 0 0 16px transparent;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
@keyframes shimmer {
|
|
265
|
+
0% {
|
|
266
|
+
background-position: -200% 0;
|
|
267
|
+
}
|
|
268
|
+
100% {
|
|
269
|
+
background-position: 200% 0;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
@keyframes gradient-shift {
|
|
273
|
+
0%,
|
|
274
|
+
100% {
|
|
275
|
+
background-position: 0% 50%;
|
|
276
|
+
}
|
|
277
|
+
50% {
|
|
278
|
+
background-position: 100% 50%;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
@keyframes fade-up {
|
|
282
|
+
from {
|
|
283
|
+
opacity: 0;
|
|
284
|
+
transform: translateY(16px);
|
|
285
|
+
}
|
|
286
|
+
to {
|
|
287
|
+
opacity: 1;
|
|
288
|
+
transform: translateY(0);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
@keyframes scale-in {
|
|
292
|
+
from {
|
|
293
|
+
opacity: 0;
|
|
294
|
+
transform: scale(0.96);
|
|
295
|
+
}
|
|
296
|
+
to {
|
|
297
|
+
opacity: 1;
|
|
298
|
+
transform: scale(1);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
@keyframes marquee {
|
|
302
|
+
from {
|
|
303
|
+
transform: translateX(0);
|
|
304
|
+
}
|
|
305
|
+
to {
|
|
306
|
+
transform: translateX(-50%);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.animate-float {
|
|
311
|
+
animation: float 6s ease-in-out infinite;
|
|
312
|
+
}
|
|
313
|
+
.animate-pulse-glow {
|
|
314
|
+
animation: pulse-glow 2.4s ease-out infinite;
|
|
315
|
+
}
|
|
316
|
+
.animate-gradient {
|
|
317
|
+
background-size: 200% 200%;
|
|
318
|
+
animation: gradient-shift 10s ease infinite;
|
|
319
|
+
}
|
|
320
|
+
.animate-fade-up {
|
|
321
|
+
animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
322
|
+
}
|
|
323
|
+
.animate-scale-in {
|
|
324
|
+
animation: scale-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
|
|
325
|
+
}
|
|
326
|
+
.animate-marquee {
|
|
327
|
+
animation: marquee 30s linear infinite;
|
|
328
|
+
}
|
|
329
|
+
.shimmer {
|
|
330
|
+
background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.06), transparent);
|
|
331
|
+
background-size: 200% 100%;
|
|
332
|
+
animation: shimmer 1.6s linear infinite;
|
|
333
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ok
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"include": ["src/**/*.ts", "src/**/*.tsx", "vite.config.ts", "eslint.config.js"],
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES2022",
|
|
5
|
+
"jsx": "react-jsx",
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
8
|
+
"types": ["vite/client"],
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "Bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": false,
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
|
|
16
|
+
/* Linting */
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": false,
|
|
20
|
+
"noUnusedParameters": false,
|
|
21
|
+
"noFallthroughCasesInSwitch": true,
|
|
22
|
+
"noUncheckedSideEffectImports": true,
|
|
23
|
+
"paths": {
|
|
24
|
+
"@/*": ["./src/*"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
package/vercel.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"buildCommand": "npm run build",
|
|
3
|
+
"outputDirectory": "dist",
|
|
4
|
+
"installCommand": "npm install",
|
|
5
|
+
"framework": "other",
|
|
6
|
+
"env": {
|
|
7
|
+
"NODE_ENV": "production"
|
|
8
|
+
},
|
|
9
|
+
"headers": [
|
|
10
|
+
{
|
|
11
|
+
"source": "/assets/(.*)",
|
|
12
|
+
"headers": [
|
|
13
|
+
{
|
|
14
|
+
"key": "Cache-Control",
|
|
15
|
+
"value": "public, max-age=31536000, immutable"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"rewrites": [
|
|
21
|
+
{
|
|
22
|
+
"source": "/:path*",
|
|
23
|
+
"destination": "/index.html"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
package/vite.config.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @lovable.dev/vite-tanstack-config already includes the following — do NOT add them manually
|
|
2
|
+
// or the app will break with duplicate plugins:
|
|
3
|
+
// - tanstackStart, viteReact, tailwindcss, tsConfigPaths, cloudflare (build-only),
|
|
4
|
+
// componentTagger (dev-only), VITE_* env injection, @ path alias, React/TanStack dedupe,
|
|
5
|
+
// error logger plugins, and sandbox detection (port/host/strictPort).
|
|
6
|
+
// You can pass additional config via defineConfig({ vite: { ... } }) if needed.
|
|
7
|
+
import { defineConfig } from "@lovable.dev/vite-tanstack-config";
|
|
8
|
+
|
|
9
|
+
// Redirect TanStack Start's bundled server entry to src/server.ts (our SSR error wrapper).
|
|
10
|
+
// @cloudflare/vite-plugin builds from this — wrangler.jsonc main alone is insufficient.
|
|
11
|
+
export default defineConfig({
|
|
12
|
+
tanstackStart: {
|
|
13
|
+
server: { entry: "server" },
|
|
14
|
+
},
|
|
15
|
+
vite: {
|
|
16
|
+
build: {
|
|
17
|
+
chunkSizeWarningLimit: 800,
|
|
18
|
+
rollupOptions: {
|
|
19
|
+
output: {
|
|
20
|
+
manualChunks(id) {
|
|
21
|
+
if (!id.includes("node_modules")) return;
|
|
22
|
+
|
|
23
|
+
const normalizedId = id.replace(/\\/g, "/");
|
|
24
|
+
const parts = normalizedId.split("/node_modules/");
|
|
25
|
+
const pkgPath = parts[1];
|
|
26
|
+
if (!pkgPath) return;
|
|
27
|
+
|
|
28
|
+
const segments = pkgPath.split("/");
|
|
29
|
+
const pkgName = segments[0].startsWith("@")
|
|
30
|
+
? `${segments[0]}/${segments[1]}`
|
|
31
|
+
: segments[0];
|
|
32
|
+
return `vendor-${pkgName.replace("@", "").replace("/", "-")}`;
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
});
|