@san-siva/blogkit-md-cli 0.1.24 → 0.1.27
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/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/cache/.previewinfo +1 -1
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/bin/blogkit-md.js +104 -9
- package/package.json +1 -1
- /package/.next/static/{mOlEpqUVmkbwE0J6u10f6 → TR9szE1OBV4WnCY3N0LVf}/_buildManifest.js +0 -0
- /package/.next/static/{mOlEpqUVmkbwE0J6u10f6 → TR9szE1OBV4WnCY3N0LVf}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{mOlEpqUVmkbwE0J6u10f6 → TR9szE1OBV4WnCY3N0LVf}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/061qfr813n13i.js"/><script src="/_next/static/chunks/022i5lxiq4.fw.js" async=""></script><script src="/_next/static/chunks/0s7gefbu__9bz.js" async=""></script><script src="/_next/static/chunks/0s_h50.6-5q6r.js" async=""></script><script src="/_next/static/chunks/turbopack-067_~051wvak1.js" async=""></script><script src="/_next/static/chunks/01xlw8hd842-c.js" async=""></script><script src="/_next/static/chunks/0n4z.7yu76je-.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/061qfr813n13i.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"
|
|
1
|
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/061qfr813n13i.js"/><script src="/_next/static/chunks/022i5lxiq4.fw.js" async=""></script><script src="/_next/static/chunks/0s7gefbu__9bz.js" async=""></script><script src="/_next/static/chunks/0s_h50.6-5q6r.js" async=""></script><script src="/_next/static/chunks/turbopack-067_~051wvak1.js" async=""></script><script src="/_next/static/chunks/01xlw8hd842-c.js" async=""></script><script src="/_next/static/chunks/0n4z.7yu76je-.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/03~yq9q893hmn.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script src="/_next/static/chunks/061qfr813n13i.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n8:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"ViewportBoundary\"]\na:I[97367,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"MetadataBoundary\"]\nc:I[68027,[\"/_next/static/chunks/01xlw8hd842-c.js\",\"/_next/static/chunks/0n4z.7yu76je-.js\"],\"default\",1]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,null]},null,false,\"$@7\"],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",[]],\"S\":true,\"h\":null,\"s\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"TR9szE1OBV4WnCY3N0LVf\"}\n"])</script><script>self.__next_f.push([1,"d:[]\n7:\"$Wd\"\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\nb:[]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"l+RAT3oMi/K7/l+6dP2QepZ5sGNZcc7FBXaEGY3l3OE=\"\n}"
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":242,"timestamp":89704448912,"id":4,"parentId":1,"tags":{},"startTime":1781086407708,"traceId":"0c0032e241b5a64e"},{"name":"load-custom-routes","duration":407,"timestamp":89704449265,"id":5,"parentId":1,"tags":{},"startTime":1781086407708,"traceId":"0c0032e241b5a64e"},{"name":"create-dist-dir","duration":325,"timestamp":89704449702,"id":6,"parentId":1,"tags":{},"startTime":1781086407709,"traceId":"0c0032e241b5a64e"},{"name":"clean","duration":220,"timestamp":89704450982,"id":7,"parentId":1,"tags":{},"startTime":1781086407710,"traceId":"0c0032e241b5a64e"},{"name":"discover-routes","duration":1957,"timestamp":89704460711,"id":8,"parentId":1,"tags":{},"startTime":1781086407720,"traceId":"0c0032e241b5a64e"},{"name":"create-root-mapping","duration":22,"timestamp":89704462685,"id":9,"parentId":1,"tags":{},"startTime":1781086407722,"traceId":"0c0032e241b5a64e"},{"name":"generate-route-types","duration":11809,"timestamp":89704463117,"id":10,"parentId":1,"tags":{},"startTime":1781086407722,"traceId":"0c0032e241b5a64e"},{"name":"public-dir-conflict-check","duration":39,"timestamp":89704474956,"id":11,"parentId":1,"tags":{},"startTime":1781086407734,"traceId":"0c0032e241b5a64e"},{"name":"generate-routes-manifest","duration":1129,"timestamp":89704475038,"id":12,"parentId":1,"tags":{},"startTime":1781086407734,"traceId":"0c0032e241b5a64e"},{"name":"run-turbopack","duration":3531820,"timestamp":89704478021,"id":14,"parentId":1,"tags":{},"startTime":1781086407737,"traceId":"0c0032e241b5a64e"},{"name":"turbopack-build-events","duration":28,"timestamp":89704560468,"id":15,"parentId":1,"tags":{},"startTime":1781086407820,"traceId":"0c0032e241b5a64e"},{"name":"run-typescript","duration":727260,"timestamp":89708026315,"id":16,"parentId":1,"tags":{},"startTime":1781086411285,"traceId":"0c0032e241b5a64e"},{"name":"generate-required-server-files","duration":373,"timestamp":89708754395,"id":18,"parentId":1,"tags":{},"startTime":1781086412014,"traceId":"0c0032e241b5a64e"},{"name":"check-static-error-page","duration":2824,"timestamp":89708759182,"id":20,"parentId":19,"tags":{},"startTime":1781086412018,"traceId":"0c0032e241b5a64e"},{"name":"is-page-static","duration":107497,"timestamp":89708762352,"id":27,"parentId":22,"tags":{},"startTime":1781086412021,"traceId":"0c0032e241b5a64e"},{"name":"check-page","duration":109741,"timestamp":89708760155,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1781086412019,"traceId":"0c0032e241b5a64e"},{"name":"is-page-static","duration":126402,"timestamp":89708763775,"id":28,"parentId":24,"tags":{},"startTime":1781086412023,"traceId":"0c0032e241b5a64e"},{"name":"check-page","duration":128511,"timestamp":89708761691,"id":24,"parentId":19,"tags":{"page":"/api/sse"},"startTime":1781086412021,"traceId":"0c0032e241b5a64e"},{"name":"is-page-static","duration":131274,"timestamp":89708762123,"id":26,"parentId":21,"tags":{},"startTime":1781086412021,"traceId":"0c0032e241b5a64e"},{"name":"check-page","duration":133885,"timestamp":89708759534,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1781086412019,"traceId":"0c0032e241b5a64e"},{"name":"is-page-static","duration":140899,"timestamp":89708764647,"id":29,"parentId":25,"tags":{},"startTime":1781086412024,"traceId":"0c0032e241b5a64e"},{"name":"check-page","duration":143651,"timestamp":89708761920,"id":25,"parentId":19,"tags":{"page":"/"},"startTime":1781086412021,"traceId":"0c0032e241b5a64e"},{"name":"is-page-static","duration":144179,"timestamp":89708764685,"id":30,"parentId":23,"tags":{},"startTime":1781086412024,"traceId":"0c0032e241b5a64e"},{"name":"check-page","duration":148596,"timestamp":89708760290,"id":23,"parentId":19,"tags":{"page":"/[...slug]"},"startTime":1781086412019,"traceId":"0c0032e241b5a64e"},{"name":"static-check","duration":149915,"timestamp":89708758985,"id":19,"parentId":1,"tags":{},"startTime":1781086412018,"traceId":"0c0032e241b5a64e"},{"name":"write-routes-manifest","duration":209,"timestamp":89708909605,"id":32,"parentId":1,"tags":{},"startTime":1781086412169,"traceId":"0c0032e241b5a64e"},{"name":"load-dotenv","duration":12,"timestamp":89708913847,"id":35,"parentId":34,"tags":{},"startTime":1781086412173,"traceId":"0c0032e241b5a64e"},{"name":"run-export-path-map","duration":135,"timestamp":89708914931,"id":36,"parentId":34,"tags":{},"startTime":1781086412174,"traceId":"0c0032e241b5a64e"},{"name":"next-export","duration":141200,"timestamp":89708913486,"id":34,"parentId":1,"tags":{},"startTime":1781086412173,"traceId":"0c0032e241b5a64e"},{"name":"move-exported-app-not-found-","duration":374,"timestamp":89709055106,"id":37,"parentId":33,"tags":{},"startTime":1781086412314,"traceId":"0c0032e241b5a64e"},{"name":"move-exported-app-global-error-","duration":252,"timestamp":89709055501,"id":38,"parentId":33,"tags":{},"startTime":1781086412315,"traceId":"0c0032e241b5a64e"},{"name":"static-generation","duration":145689,"timestamp":89708910704,"id":33,"parentId":1,"tags":{},"startTime":1781086412170,"traceId":"0c0032e241b5a64e"},{"name":"write-routes-manifest","duration":130,"timestamp":89709056438,"id":39,"parentId":1,"tags":{},"startTime":1781086412316,"traceId":"0c0032e241b5a64e"},{"name":"print-tree-view","duration":708,"timestamp":89709058632,"id":40,"parentId":1,"tags":{},"startTime":1781086412318,"traceId":"0c0032e241b5a64e"},{"name":"write-route-bundle-stats","duration":1715,"timestamp":89709059347,"id":41,"parentId":1,"tags":{},"startTime":1781086412318,"traceId":"0c0032e241b5a64e"},{"name":"telemetry-flush","duration":497708,"timestamp":89709061072,"id":42,"parentId":1,"tags":{},"startTime":1781086412320,"traceId":"0c0032e241b5a64e"},{"name":"next-build","duration":6213416,"timestamp":89703345432,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781086406605,"traceId":"0c0032e241b5a64e"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":3531820,"timestamp":89704478021,"id":14,"parentId":1,"tags":{},"startTime":1781086407737,"traceId":"0c0032e241b5a64e"},{"name":"turbopack-build-events","duration":28,"timestamp":89704560468,"id":15,"parentId":1,"tags":{},"startTime":1781086407820,"traceId":"0c0032e241b5a64e"},{"name":"run-typescript","duration":727260,"timestamp":89708026315,"id":16,"parentId":1,"tags":{},"startTime":1781086411285,"traceId":"0c0032e241b5a64e"},{"name":"static-check","duration":149915,"timestamp":89708758985,"id":19,"parentId":1,"tags":{},"startTime":1781086412018,"traceId":"0c0032e241b5a64e"},{"name":"static-generation","duration":145689,"timestamp":89708910704,"id":33,"parentId":1,"tags":{},"startTime":1781086412170,"traceId":"0c0032e241b5a64e"},{"name":"telemetry-flush","duration":497708,"timestamp":89709061072,"id":42,"parentId":1,"tags":{},"startTime":1781086412320,"traceId":"0c0032e241b5a64e"},{"name":"next-build","duration":6213416,"timestamp":89703345432,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781086406605,"traceId":"0c0032e241b5a64e"}]
|
package/bin/blogkit-md.js
CHANGED
|
@@ -67,8 +67,8 @@ function humanAge(iso) {
|
|
|
67
67
|
if (secs < 86400) return `${Math.floor(secs / 3600)}h`;
|
|
68
68
|
return `${Math.floor(secs / 86400)}d`;
|
|
69
69
|
}
|
|
70
|
-
function openBrowser(url) {
|
|
71
|
-
if (process.env.BLOGKIT_MD_NO_OPEN) return;
|
|
70
|
+
function openBrowser(url, skip = false) {
|
|
71
|
+
if (skip || process.env.BLOGKIT_MD_NO_OPEN) return;
|
|
72
72
|
try {
|
|
73
73
|
(0, import_node_child_process.exec)(`open -a "Google Chrome" ${url} || open ${url}`);
|
|
74
74
|
} catch {
|
|
@@ -117,6 +117,23 @@ function removeInstance(pid) {
|
|
|
117
117
|
function findByDir(dir) {
|
|
118
118
|
return pruneRegistry().find((index) => index.dir === dir);
|
|
119
119
|
}
|
|
120
|
+
function findContainingDir(filePath) {
|
|
121
|
+
const contains = (dir) => {
|
|
122
|
+
const relative = import_node_path.default.relative(dir, filePath);
|
|
123
|
+
return relative !== "" && !relative.startsWith("..") && !import_node_path.default.isAbsolute(relative);
|
|
124
|
+
};
|
|
125
|
+
return pruneRegistry().filter((index) => index.isDirectory && contains(index.dir)).toSorted((a, b) => b.dir.length - a.dir.length)[0];
|
|
126
|
+
}
|
|
127
|
+
function findInstancesUnder(dir) {
|
|
128
|
+
return pruneRegistry().filter((index) => {
|
|
129
|
+
const relative = import_node_path.default.relative(dir, index.dir);
|
|
130
|
+
return relative !== "" && !relative.startsWith("..") && !import_node_path.default.isAbsolute(relative);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
function fileUrlPath(dir, filePath) {
|
|
134
|
+
const relative = import_node_path.default.relative(dir, filePath);
|
|
135
|
+
return "/" + relative.replace(/\.md$/, "").split(import_node_path.default.sep).map(encodeURIComponent).join("/");
|
|
136
|
+
}
|
|
120
137
|
function killInstance(inst) {
|
|
121
138
|
try {
|
|
122
139
|
process.kill(inst.pid, "SIGTERM");
|
|
@@ -135,8 +152,18 @@ function printPlainList(instances) {
|
|
|
135
152
|
instances.forEach((index) => tree(instanceLabel(index)));
|
|
136
153
|
line();
|
|
137
154
|
}
|
|
138
|
-
|
|
155
|
+
function printScriptList(instances) {
|
|
156
|
+
for (const inst of instances) {
|
|
157
|
+
process.stdout.write(`${inst.port} ${inst.dir}
|
|
158
|
+
`);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
async function listInstancesInteractive(nonInteractive = false) {
|
|
139
162
|
let instances = pruneRegistry();
|
|
163
|
+
if (nonInteractive) {
|
|
164
|
+
printScriptList(instances);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
140
167
|
if (instances.length === 0) {
|
|
141
168
|
banner();
|
|
142
169
|
line(c.yellow("No running blogkit-md instances."));
|
|
@@ -235,6 +262,9 @@ function parseArgs(argv) {
|
|
|
235
262
|
wantList: flagNames.has("--list") || flagNames.has("-l") || flagNames.has("--list-instances"),
|
|
236
263
|
// legacy alias
|
|
237
264
|
wantTear: flagNames.has("--tear") || flagNames.has("-t"),
|
|
265
|
+
wantNoOpen: flagNames.has("--no-open") || flagNames.has("-n"),
|
|
266
|
+
wantStop: flagNames.has("--stop") || flagNames.has("-s"),
|
|
267
|
+
wantNonInteractive: flagNames.has("--non-interactive"),
|
|
238
268
|
isDetachedChild: flagNames.has("--__detached"),
|
|
239
269
|
// internal use only
|
|
240
270
|
wantHelp: flagNames.has("--help") || flagNames.has("-h")
|
|
@@ -258,6 +288,15 @@ function printHelp() {
|
|
|
258
288
|
tree(
|
|
259
289
|
`${c.green("-l, --list")} interactively list & stop running instances`
|
|
260
290
|
);
|
|
291
|
+
tree(
|
|
292
|
+
`${c.green("--non-interactive")} with -l, print a plain "<port>\\t<path>" list and exit`
|
|
293
|
+
);
|
|
294
|
+
tree(
|
|
295
|
+
`${c.green("-s, --stop")} stop the instance serving the given path, then exit`
|
|
296
|
+
);
|
|
297
|
+
tree(
|
|
298
|
+
`${c.green("-n, --no-open")} start the server without opening it in the browser`
|
|
299
|
+
);
|
|
261
300
|
tree(`${c.green("-h, --help")} show this help`);
|
|
262
301
|
line();
|
|
263
302
|
line(
|
|
@@ -265,6 +304,12 @@ function printHelp() {
|
|
|
265
304
|
"If a path is already being served, running it again just reopens it."
|
|
266
305
|
)
|
|
267
306
|
);
|
|
307
|
+
line(
|
|
308
|
+
c.gray(
|
|
309
|
+
"A file inside a served folder reuses that server; serving a folder"
|
|
310
|
+
)
|
|
311
|
+
);
|
|
312
|
+
line(c.gray("replaces any narrower instances already running inside it."));
|
|
268
313
|
line();
|
|
269
314
|
}
|
|
270
315
|
async function run(argv) {
|
|
@@ -274,14 +319,35 @@ async function run(argv) {
|
|
|
274
319
|
process.exit(0);
|
|
275
320
|
}
|
|
276
321
|
if (parsed.wantList) {
|
|
277
|
-
await listInstancesInteractive();
|
|
322
|
+
await listInstancesInteractive(parsed.wantNonInteractive);
|
|
278
323
|
process.exit(0);
|
|
279
324
|
}
|
|
280
325
|
if (!parsed.inputArg) {
|
|
326
|
+
if (parsed.wantStop) {
|
|
327
|
+
banner();
|
|
328
|
+
line(c.red("\u2717 --stop needs a path"));
|
|
329
|
+
tree(c.dim("blogkit-md --stop <file-or-directory>"));
|
|
330
|
+
line();
|
|
331
|
+
process.exit(1);
|
|
332
|
+
}
|
|
281
333
|
printHelp();
|
|
282
334
|
process.exit(1);
|
|
283
335
|
}
|
|
284
336
|
const inputPath = import_node_path.default.resolve(process.cwd(), parsed.inputArg);
|
|
337
|
+
if (parsed.wantStop) {
|
|
338
|
+
const existing = findByDir(inputPath);
|
|
339
|
+
banner();
|
|
340
|
+
if (existing) {
|
|
341
|
+
killInstance(existing);
|
|
342
|
+
line(c.green(`\u2713 Stopped localhost:${existing.port}`));
|
|
343
|
+
tree(c.dim(tilde(existing.dir)));
|
|
344
|
+
} else {
|
|
345
|
+
line(c.yellow("No running instance for that path"));
|
|
346
|
+
tree(c.dim(tilde(inputPath)));
|
|
347
|
+
}
|
|
348
|
+
line();
|
|
349
|
+
process.exit(0);
|
|
350
|
+
}
|
|
285
351
|
let inputStat;
|
|
286
352
|
try {
|
|
287
353
|
inputStat = (0, import_node_fs.statSync)(inputPath);
|
|
@@ -298,7 +364,7 @@ async function run(argv) {
|
|
|
298
364
|
if (existing) {
|
|
299
365
|
if (parsed.wantTear) {
|
|
300
366
|
banner();
|
|
301
|
-
line(c.yellow("
|
|
367
|
+
line(c.yellow("Tearing down the running instance"));
|
|
302
368
|
tree(
|
|
303
369
|
`${c.green("localhost:" + existing.port)} ${c.gray("pid " + existing.pid)} ${existing.background ? c.magenta("background") : c.gray("foreground")}`
|
|
304
370
|
);
|
|
@@ -309,7 +375,7 @@ async function run(argv) {
|
|
|
309
375
|
} else {
|
|
310
376
|
const url = `http://localhost:${existing.port}`;
|
|
311
377
|
banner();
|
|
312
|
-
line(c.green("
|
|
378
|
+
line(c.green("Already running \u2014 opening it in the browser"));
|
|
313
379
|
tree(`${c.bold("URL")} ${c.blue(url)}`);
|
|
314
380
|
tree(`${c.bold("Path")} ${c.dim(tilde(existing.dir))}`);
|
|
315
381
|
line();
|
|
@@ -317,10 +383,39 @@ async function run(argv) {
|
|
|
317
383
|
c.gray("Restart it with ") + c.blue("--tear") + c.gray(", or list with ") + c.blue("--list")
|
|
318
384
|
);
|
|
319
385
|
line();
|
|
320
|
-
openBrowser(url);
|
|
386
|
+
openBrowser(url, parsed.wantNoOpen);
|
|
387
|
+
process.exit(0);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
if (!isDirectory && !parsed.wantTear && inputPath.endsWith(".md")) {
|
|
391
|
+
const parent = findContainingDir(inputPath);
|
|
392
|
+
if (parent) {
|
|
393
|
+
const url = `http://localhost:${parent.port}${fileUrlPath(parent.dir, inputPath)}`;
|
|
394
|
+
banner();
|
|
395
|
+
line(c.green("Already serving this folder \u2014 opening the file"));
|
|
396
|
+
tree(`${c.bold("URL")} ${c.blue(url)}`);
|
|
397
|
+
tree(`${c.bold("File")} ${c.dim(tilde(inputPath))}`);
|
|
398
|
+
tree(`${c.bold("Folder")} ${c.dim(tilde(parent.dir))}`);
|
|
399
|
+
line();
|
|
400
|
+
openBrowser(url, parsed.wantNoOpen);
|
|
321
401
|
process.exit(0);
|
|
322
402
|
}
|
|
323
403
|
}
|
|
404
|
+
if (isDirectory) {
|
|
405
|
+
const contained = findInstancesUnder(inputPath);
|
|
406
|
+
if (contained.length > 0) {
|
|
407
|
+
banner();
|
|
408
|
+
line(c.yellow("Stopping narrower instances inside this folder"));
|
|
409
|
+
for (const inst of contained) {
|
|
410
|
+
killInstance(inst);
|
|
411
|
+
tree(
|
|
412
|
+
`${c.green("localhost:" + inst.port)} ${c.dim(tilde(inst.dir))}`
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
line();
|
|
416
|
+
await new Promise((r) => setTimeout(r, 400));
|
|
417
|
+
}
|
|
418
|
+
}
|
|
324
419
|
}
|
|
325
420
|
const scriptPath = process.argv[1];
|
|
326
421
|
const packageRoot = import_node_path.default.dirname(import_node_path.default.dirname(scriptPath));
|
|
@@ -338,7 +433,7 @@ async function run(argv) {
|
|
|
338
433
|
);
|
|
339
434
|
child.unref();
|
|
340
435
|
banner();
|
|
341
|
-
line(c.green("
|
|
436
|
+
line(c.green("Started in the background"));
|
|
342
437
|
tree(`${c.bold("URL")} ${c.blue("http://localhost:" + port)}`);
|
|
343
438
|
tree(`${c.bold("Path")} ${c.dim(tilde(inputPath))}`);
|
|
344
439
|
tree(`${c.bold("PID")} ${c.dim(String(child.pid))}`);
|
|
@@ -452,7 +547,7 @@ async function startServer(inputPath, isDirectory, parsed, paths) {
|
|
|
452
547
|
line(c.gray("live reload on save \xB7 Ctrl-C to stop"));
|
|
453
548
|
line();
|
|
454
549
|
}
|
|
455
|
-
openBrowser(url);
|
|
550
|
+
openBrowser(url, parsed.wantNoOpen);
|
|
456
551
|
}
|
|
457
552
|
}
|
|
458
553
|
});
|
package/package.json
CHANGED
|
File without changes
|
/package/.next/static/{mOlEpqUVmkbwE0J6u10f6 → TR9szE1OBV4WnCY3N0LVf}/_clientMiddlewareManifest.js
RENAMED
|
File without changes
|
|
File without changes
|