@ahmedrowaihi/8n-starter 2.2.11 → 2.2.13
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/next.config.mjs
CHANGED
|
@@ -3,10 +3,8 @@ const config = {
|
|
|
3
3
|
reactStrictMode: true,
|
|
4
4
|
adapterPath: process.env.NEXT_ADAPTER_PATH,
|
|
5
5
|
|
|
6
|
-
// Prevent heavy server-only packages from being bundled into client chunks
|
|
7
6
|
serverExternalPackages: ["twoslash", "typescript", "gray-matter"],
|
|
8
7
|
|
|
9
|
-
// Static export requires unoptimized images
|
|
10
8
|
images: {
|
|
11
9
|
unoptimized: true,
|
|
12
10
|
},
|
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{
|
|
2
|
+
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{useRouter as r}from"next/navigation";import{useEffect as o,useState as t}from"react";export function DevRefresh(){let i=r(),[a,c]=t("connecting"),[l,s]=t(null);return o(()=>{let e=new EventSource("/api/dev/watch");return e.onopen=()=>{c("connected"),s(null)},e.onerror=()=>c("error"),e.onmessage=e=>{"change"===e.data&&i.refresh()},()=>e.close()},[i]),n("div",{style:{position:"fixed",bottom:12,insetInlineEnd:12,zIndex:9999,background:"#1e1e1e",color:"#fff",borderRadius:8,padding:"6px 10px",fontSize:11,fontFamily:"monospace",display:"flex",alignItems:"center",gap:6,boxShadow:"0 2px 8px rgba(0,0,0,0.4)"},children:[e("span",{style:{color:{connecting:"#f59e0b",connected:"#22c55e",error:"#ef4444"}[a]},children:"●"}),e("span",{children:"live"}),l&&e("span",{style:{color:"#f87171",marginInlineStart:4},children:l})]})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{localeConfig as o}from"@/locale.config";import{FeedbackBlockMDX as t}from"@/features/feedback";import*as a from"fumadocs-twoslash/ui";import
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{localeConfig as o}from"@/locale.config";import{FeedbackBlockMDX as t}from"@/features/feedback";import*as a from"fumadocs-twoslash/ui";import r from"@fumadocs/base-ui/mdx";import*as i from"./mdx/base-ui";import*as n from"./mdx/blocks";import*as s from"./mdx/openapi";import m from"fumadocs-core/link";let c=Object.keys(o);export function getMDXComponentsForLang(t,a,r,i){let n=(o[t]??o.en).translations;return getMDXComponents({feedbackTranslations:a?{question:n.feedbackQuestion,feedbackLabel:n.feedbackLabel,good:n.feedbackGood,bad:n.feedbackBad,placeholder:n.feedbackPlaceholder,submit:n.feedbackSubmit,thankYou:n.feedbackThankYou,viewOnGitHub:n.feedbackViewOnGitHub,submitAgain:n.feedbackSubmitAgain}:void 0,feedbackPageTitle:a,githubRepo:r},{a:({href:o,children:a,...r})=>{var i,n;return e(m,{href:o?(i=o,n=t,!i.startsWith("/")||c.some(e=>i===`/${e}`||i.startsWith(`/${e}/`))?i:`/${n}${i}`):"#",...r,children:a})},...i})}export function getMDXComponents(o,m){let{feedbackTranslations:c,feedbackPageTitle:f,githubRepo:d}=o??{};return{...r,...a,...i,...s,...n,FeedbackBlock:c&&f?o=>e(t,{...o,translations:c,pageTitle:f,githubRepo:d}):()=>null,...m}}export const useMDXComponents=getMDXComponents;
|
|
File without changes
|