@san-siva/blogkit-md-cli 0.1.26 → 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.
Files changed (34) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/cache/.previewinfo +1 -1
  4. package/.next/cache/.rscinfo +1 -1
  5. package/.next/cache/.tsbuildinfo +1 -1
  6. package/.next/fallback-build-manifest.json +3 -3
  7. package/.next/prerender-manifest.json +3 -3
  8. package/.next/server/app/_global-error.html +1 -1
  9. package/.next/server/app/_global-error.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/server/app/_not-found.html +1 -1
  16. package/.next/server/app/_not-found.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  18. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  22. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  23. package/.next/server/middleware-build-manifest.js +3 -3
  24. package/.next/server/pages/404.html +1 -1
  25. package/.next/server/pages/500.html +1 -1
  26. package/.next/server/server-reference-manifest.js +1 -1
  27. package/.next/server/server-reference-manifest.json +1 -1
  28. package/.next/trace +1 -1
  29. package/.next/trace-build +1 -1
  30. package/bin/blogkit-md.js +52 -0
  31. package/package.json +1 -1
  32. /package/.next/static/{Pez3tIqAK0d29mrIsZTJI → TR9szE1OBV4WnCY3N0LVf}/_buildManifest.js +0 -0
  33. /package/.next/static/{Pez3tIqAK0d29mrIsZTJI → TR9szE1OBV4WnCY3N0LVf}/_clientMiddlewareManifest.js +0 -0
  34. /package/.next/static/{Pez3tIqAK0d29mrIsZTJI → 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,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;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\":\"Pez3tIqAK0d29mrIsZTJI\"}\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
+ <!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,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;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\": \"kdfUg0GDnB9X4cYK5K5M5Cm2SY47YD5upY3bXpLUZP0=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"l+RAT3oMi/K7/l+6dP2QepZ5sGNZcc7FBXaEGY3l3OE=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "kdfUg0GDnB9X4cYK5K5M5Cm2SY47YD5upY3bXpLUZP0="
4
+ "encryptionKey": "l+RAT3oMi/K7/l+6dP2QepZ5sGNZcc7FBXaEGY3l3OE="
5
5
  }
package/.next/trace CHANGED
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":111,"timestamp":88594046727,"id":4,"parentId":1,"tags":{},"startTime":1781085297291,"traceId":"a1535ce3fa11820d"},{"name":"load-custom-routes","duration":164,"timestamp":88594046884,"id":5,"parentId":1,"tags":{},"startTime":1781085297291,"traceId":"a1535ce3fa11820d"},{"name":"create-dist-dir","duration":330,"timestamp":88594047059,"id":6,"parentId":1,"tags":{},"startTime":1781085297291,"traceId":"a1535ce3fa11820d"},{"name":"clean","duration":257,"timestamp":88594048125,"id":7,"parentId":1,"tags":{},"startTime":1781085297292,"traceId":"a1535ce3fa11820d"},{"name":"discover-routes","duration":1933,"timestamp":88594058667,"id":8,"parentId":1,"tags":{},"startTime":1781085297303,"traceId":"a1535ce3fa11820d"},{"name":"create-root-mapping","duration":37,"timestamp":88594060636,"id":9,"parentId":1,"tags":{},"startTime":1781085297305,"traceId":"a1535ce3fa11820d"},{"name":"generate-route-types","duration":11125,"timestamp":88594061383,"id":10,"parentId":1,"tags":{},"startTime":1781085297305,"traceId":"a1535ce3fa11820d"},{"name":"public-dir-conflict-check","duration":49,"timestamp":88594072544,"id":11,"parentId":1,"tags":{},"startTime":1781085297316,"traceId":"a1535ce3fa11820d"},{"name":"generate-routes-manifest","duration":1122,"timestamp":88594072648,"id":12,"parentId":1,"tags":{},"startTime":1781085297317,"traceId":"a1535ce3fa11820d"},{"name":"run-turbopack","duration":4266590,"timestamp":88594075675,"id":14,"parentId":1,"tags":{},"startTime":1781085297320,"traceId":"a1535ce3fa11820d"},{"name":"turbopack-build-events","duration":27,"timestamp":88594160688,"id":15,"parentId":1,"tags":{},"startTime":1781085297405,"traceId":"a1535ce3fa11820d"},{"name":"run-typescript","duration":757227,"timestamp":88598361446,"id":16,"parentId":1,"tags":{},"startTime":1781085301606,"traceId":"a1535ce3fa11820d"},{"name":"generate-required-server-files","duration":373,"timestamp":88599119520,"id":18,"parentId":1,"tags":{},"startTime":1781085302364,"traceId":"a1535ce3fa11820d"},{"name":"check-static-error-page","duration":2824,"timestamp":88599124397,"id":20,"parentId":19,"tags":{},"startTime":1781085302369,"traceId":"a1535ce3fa11820d"},{"name":"is-page-static","duration":107219,"timestamp":88599127395,"id":27,"parentId":22,"tags":{},"startTime":1781085302372,"traceId":"a1535ce3fa11820d"},{"name":"check-page","duration":109148,"timestamp":88599125508,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1781085302370,"traceId":"a1535ce3fa11820d"},{"name":"is-page-static","duration":127115,"timestamp":88599127290,"id":26,"parentId":21,"tags":{},"startTime":1781085302371,"traceId":"a1535ce3fa11820d"},{"name":"check-page","duration":129642,"timestamp":88599124794,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1781085302369,"traceId":"a1535ce3fa11820d"},{"name":"is-page-static","duration":128962,"timestamp":88599128740,"id":28,"parentId":24,"tags":{},"startTime":1781085302373,"traceId":"a1535ce3fa11820d"},{"name":"check-page","duration":130724,"timestamp":88599127001,"id":24,"parentId":19,"tags":{"page":"/api/sse"},"startTime":1781085302371,"traceId":"a1535ce3fa11820d"},{"name":"is-page-static","duration":147269,"timestamp":88599129333,"id":30,"parentId":25,"tags":{},"startTime":1781085302373,"traceId":"a1535ce3fa11820d"},{"name":"check-page","duration":149488,"timestamp":88599127137,"id":25,"parentId":19,"tags":{"page":"/"},"startTime":1781085302371,"traceId":"a1535ce3fa11820d"},{"name":"is-page-static","duration":147931,"timestamp":88599129288,"id":29,"parentId":23,"tags":{},"startTime":1781085302373,"traceId":"a1535ce3fa11820d"},{"name":"check-page","duration":151570,"timestamp":88599125659,"id":23,"parentId":19,"tags":{"page":"/[...slug]"},"startTime":1781085302370,"traceId":"a1535ce3fa11820d"},{"name":"static-check","duration":153070,"timestamp":88599124169,"id":19,"parentId":1,"tags":{},"startTime":1781085302368,"traceId":"a1535ce3fa11820d"},{"name":"write-routes-manifest","duration":474,"timestamp":88599278917,"id":32,"parentId":1,"tags":{},"startTime":1781085302523,"traceId":"a1535ce3fa11820d"},{"name":"load-dotenv","duration":11,"timestamp":88599284815,"id":35,"parentId":34,"tags":{},"startTime":1781085302529,"traceId":"a1535ce3fa11820d"},{"name":"run-export-path-map","duration":123,"timestamp":88599285671,"id":36,"parentId":34,"tags":{},"startTime":1781085302530,"traceId":"a1535ce3fa11820d"},{"name":"next-export","duration":129247,"timestamp":88599284429,"id":34,"parentId":1,"tags":{},"startTime":1781085302529,"traceId":"a1535ce3fa11820d"},{"name":"move-exported-app-not-found-","duration":328,"timestamp":88599414135,"id":37,"parentId":33,"tags":{},"startTime":1781085302658,"traceId":"a1535ce3fa11820d"},{"name":"move-exported-app-global-error-","duration":239,"timestamp":88599414487,"id":38,"parentId":33,"tags":{},"startTime":1781085302659,"traceId":"a1535ce3fa11820d"},{"name":"static-generation","duration":133961,"timestamp":88599281494,"id":33,"parentId":1,"tags":{},"startTime":1781085302526,"traceId":"a1535ce3fa11820d"},{"name":"write-routes-manifest","duration":125,"timestamp":88599415509,"id":39,"parentId":1,"tags":{},"startTime":1781085302660,"traceId":"a1535ce3fa11820d"},{"name":"print-tree-view","duration":804,"timestamp":88599418378,"id":40,"parentId":1,"tags":{},"startTime":1781085302663,"traceId":"a1535ce3fa11820d"},{"name":"write-route-bundle-stats","duration":2699,"timestamp":88599419195,"id":41,"parentId":1,"tags":{},"startTime":1781085302663,"traceId":"a1535ce3fa11820d"},{"name":"telemetry-flush","duration":495122,"timestamp":88599421904,"id":42,"parentId":1,"tags":{},"startTime":1781085302666,"traceId":"a1535ce3fa11820d"},{"name":"next-build","duration":7040633,"timestamp":88592876438,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781085296120,"traceId":"a1535ce3fa11820d"}]
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":4266590,"timestamp":88594075675,"id":14,"parentId":1,"tags":{},"startTime":1781085297320,"traceId":"a1535ce3fa11820d"},{"name":"turbopack-build-events","duration":27,"timestamp":88594160688,"id":15,"parentId":1,"tags":{},"startTime":1781085297405,"traceId":"a1535ce3fa11820d"},{"name":"run-typescript","duration":757227,"timestamp":88598361446,"id":16,"parentId":1,"tags":{},"startTime":1781085301606,"traceId":"a1535ce3fa11820d"},{"name":"static-check","duration":153070,"timestamp":88599124169,"id":19,"parentId":1,"tags":{},"startTime":1781085302368,"traceId":"a1535ce3fa11820d"},{"name":"static-generation","duration":133961,"timestamp":88599281494,"id":33,"parentId":1,"tags":{},"startTime":1781085302526,"traceId":"a1535ce3fa11820d"},{"name":"telemetry-flush","duration":495122,"timestamp":88599421904,"id":42,"parentId":1,"tags":{},"startTime":1781085302666,"traceId":"a1535ce3fa11820d"},{"name":"next-build","duration":7040633,"timestamp":88592876438,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1781085296120,"traceId":"a1535ce3fa11820d"}]
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
@@ -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");
@@ -287,6 +304,12 @@ function printHelp() {
287
304
  "If a path is already being served, running it again just reopens it."
288
305
  )
289
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."));
290
313
  line();
291
314
  }
292
315
  async function run(argv) {
@@ -364,6 +387,35 @@ async function run(argv) {
364
387
  process.exit(0);
365
388
  }
366
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);
401
+ process.exit(0);
402
+ }
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
+ }
367
419
  }
368
420
  const scriptPath = process.argv[1];
369
421
  const packageRoot = import_node_path.default.dirname(import_node_path.default.dirname(scriptPath));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@san-siva/blogkit-md-cli",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "CLI tool to preview markdown files as blogkit-md blog posts",
5
5
  "bin": {
6
6
  "blogkit-md": "./bin/blogkit-md"