@san-siva/blogkit-md-cli 0.1.23 → 0.1.26

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 +55 -14
  31. package/package.json +1 -1
  32. /package/.next/static/{TULG9foEfAvYXsULIOI3C → Pez3tIqAK0d29mrIsZTJI}/_buildManifest.js +0 -0
  33. /package/.next/static/{TULG9foEfAvYXsULIOI3C → Pez3tIqAK0d29mrIsZTJI}/_clientMiddlewareManifest.js +0 -0
  34. /package/.next/static/{TULG9foEfAvYXsULIOI3C → Pez3tIqAK0d29mrIsZTJI}/_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\":\"TULG9foEfAvYXsULIOI3C\"}\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\":\"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 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"cVT+vtAFsfdxX+VrQP9amDc3hH6xTfha9NvNrKwJx2E=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"kdfUg0GDnB9X4cYK5K5M5Cm2SY47YD5upY3bXpLUZP0=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "cVT+vtAFsfdxX+VrQP9amDc3hH6xTfha9NvNrKwJx2E="
4
+ "encryptionKey": "kdfUg0GDnB9X4cYK5K5M5Cm2SY47YD5upY3bXpLUZP0="
5
5
  }
package/.next/trace CHANGED
@@ -1 +1 @@
1
- [{"name":"generate-buildid","duration":200,"timestamp":942383001073,"id":4,"parentId":1,"tags":{},"startTime":1780922706230,"traceId":"1b2062303698f4e6"},{"name":"load-custom-routes","duration":316,"timestamp":942383001360,"id":5,"parentId":1,"tags":{},"startTime":1780922706231,"traceId":"1b2062303698f4e6"},{"name":"create-dist-dir","duration":248,"timestamp":942383001697,"id":6,"parentId":1,"tags":{},"startTime":1780922706231,"traceId":"1b2062303698f4e6"},{"name":"clean","duration":137,"timestamp":942383002569,"id":7,"parentId":1,"tags":{},"startTime":1780922706232,"traceId":"1b2062303698f4e6"},{"name":"discover-routes","duration":2642,"timestamp":942383011252,"id":8,"parentId":1,"tags":{},"startTime":1780922706240,"traceId":"1b2062303698f4e6"},{"name":"create-root-mapping","duration":28,"timestamp":942383013915,"id":9,"parentId":1,"tags":{},"startTime":1780922706243,"traceId":"1b2062303698f4e6"},{"name":"generate-route-types","duration":13003,"timestamp":942383014541,"id":10,"parentId":1,"tags":{},"startTime":1780922706244,"traceId":"1b2062303698f4e6"},{"name":"public-dir-conflict-check","duration":37,"timestamp":942383027575,"id":11,"parentId":1,"tags":{},"startTime":1780922706257,"traceId":"1b2062303698f4e6"},{"name":"generate-routes-manifest","duration":870,"timestamp":942383027651,"id":12,"parentId":1,"tags":{},"startTime":1780922706257,"traceId":"1b2062303698f4e6"},{"name":"run-turbopack","duration":3877724,"timestamp":942383030188,"id":14,"parentId":1,"tags":{},"startTime":1780922706259,"traceId":"1b2062303698f4e6"},{"name":"turbopack-build-events","duration":27,"timestamp":942383116535,"id":15,"parentId":1,"tags":{},"startTime":1780922706346,"traceId":"1b2062303698f4e6"},{"name":"run-typescript","duration":730434,"timestamp":942386925572,"id":16,"parentId":1,"tags":{},"startTime":1780922710155,"traceId":"1b2062303698f4e6"},{"name":"generate-required-server-files","duration":386,"timestamp":942387656848,"id":18,"parentId":1,"tags":{},"startTime":1780922710886,"traceId":"1b2062303698f4e6"},{"name":"check-static-error-page","duration":1899,"timestamp":942387662402,"id":20,"parentId":19,"tags":{},"startTime":1780922710892,"traceId":"1b2062303698f4e6"},{"name":"is-page-static","duration":103826,"timestamp":942387664425,"id":27,"parentId":22,"tags":{},"startTime":1780922710894,"traceId":"1b2062303698f4e6"},{"name":"check-page","duration":105010,"timestamp":942387663297,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1780922710892,"traceId":"1b2062303698f4e6"},{"name":"is-page-static","duration":124971,"timestamp":942387664357,"id":26,"parentId":21,"tags":{},"startTime":1780922710894,"traceId":"1b2062303698f4e6"},{"name":"check-page","duration":126548,"timestamp":942387662809,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1780922710892,"traceId":"1b2062303698f4e6"},{"name":"is-page-static","duration":129105,"timestamp":942387665611,"id":28,"parentId":24,"tags":{},"startTime":1780922710895,"traceId":"1b2062303698f4e6"},{"name":"check-page","duration":130592,"timestamp":942387664145,"id":24,"parentId":19,"tags":{"page":"/api/sse"},"startTime":1780922710893,"traceId":"1b2062303698f4e6"},{"name":"is-page-static","duration":144133,"timestamp":942387666009,"id":29,"parentId":23,"tags":{},"startTime":1780922710895,"traceId":"1b2062303698f4e6"},{"name":"check-page","duration":146749,"timestamp":942387663423,"id":23,"parentId":19,"tags":{"page":"/[...slug]"},"startTime":1780922710893,"traceId":"1b2062303698f4e6"},{"name":"is-page-static","duration":146913,"timestamp":942387666031,"id":30,"parentId":25,"tags":{},"startTime":1780922710895,"traceId":"1b2062303698f4e6"},{"name":"check-page","duration":148734,"timestamp":942387664226,"id":25,"parentId":19,"tags":{"page":"/"},"startTime":1780922710893,"traceId":"1b2062303698f4e6"},{"name":"static-check","duration":150789,"timestamp":942387662183,"id":19,"parentId":1,"tags":{},"startTime":1780922710891,"traceId":"1b2062303698f4e6"},{"name":"write-routes-manifest","duration":277,"timestamp":942387813739,"id":32,"parentId":1,"tags":{},"startTime":1780922711043,"traceId":"1b2062303698f4e6"},{"name":"load-dotenv","duration":9,"timestamp":942387817186,"id":35,"parentId":34,"tags":{},"startTime":1780922711046,"traceId":"1b2062303698f4e6"},{"name":"run-export-path-map","duration":132,"timestamp":942387818078,"id":36,"parentId":34,"tags":{},"startTime":1780922711047,"traceId":"1b2062303698f4e6"},{"name":"next-export","duration":131112,"timestamp":942387816802,"id":34,"parentId":1,"tags":{},"startTime":1780922711046,"traceId":"1b2062303698f4e6"},{"name":"move-exported-app-not-found-","duration":586,"timestamp":942387948352,"id":37,"parentId":33,"tags":{},"startTime":1780922711178,"traceId":"1b2062303698f4e6"},{"name":"move-exported-app-global-error-","duration":319,"timestamp":942387948972,"id":38,"parentId":33,"tags":{},"startTime":1780922711178,"traceId":"1b2062303698f4e6"},{"name":"static-generation","duration":135051,"timestamp":942387814933,"id":33,"parentId":1,"tags":{},"startTime":1780922711044,"traceId":"1b2062303698f4e6"},{"name":"write-routes-manifest","duration":148,"timestamp":942387950028,"id":39,"parentId":1,"tags":{},"startTime":1780922711179,"traceId":"1b2062303698f4e6"},{"name":"print-tree-view","duration":929,"timestamp":942387952150,"id":40,"parentId":1,"tags":{},"startTime":1780922711181,"traceId":"1b2062303698f4e6"},{"name":"write-route-bundle-stats","duration":2513,"timestamp":942387953089,"id":41,"parentId":1,"tags":{},"startTime":1780922711182,"traceId":"1b2062303698f4e6"},{"name":"telemetry-flush","duration":498281,"timestamp":942387955614,"id":42,"parentId":1,"tags":{},"startTime":1780922711185,"traceId":"1b2062303698f4e6"},{"name":"next-build","duration":6626697,"timestamp":942381827232,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1780922705056,"traceId":"1b2062303698f4e6"}]
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"}]
package/.next/trace-build CHANGED
@@ -1 +1 @@
1
- [{"name":"run-turbopack","duration":3877724,"timestamp":942383030188,"id":14,"parentId":1,"tags":{},"startTime":1780922706259,"traceId":"1b2062303698f4e6"},{"name":"turbopack-build-events","duration":27,"timestamp":942383116535,"id":15,"parentId":1,"tags":{},"startTime":1780922706346,"traceId":"1b2062303698f4e6"},{"name":"run-typescript","duration":730434,"timestamp":942386925572,"id":16,"parentId":1,"tags":{},"startTime":1780922710155,"traceId":"1b2062303698f4e6"},{"name":"static-check","duration":150789,"timestamp":942387662183,"id":19,"parentId":1,"tags":{},"startTime":1780922710891,"traceId":"1b2062303698f4e6"},{"name":"static-generation","duration":135051,"timestamp":942387814933,"id":33,"parentId":1,"tags":{},"startTime":1780922711044,"traceId":"1b2062303698f4e6"},{"name":"telemetry-flush","duration":498281,"timestamp":942387955614,"id":42,"parentId":1,"tags":{},"startTime":1780922711185,"traceId":"1b2062303698f4e6"},{"name":"next-build","duration":6626697,"timestamp":942381827232,"id":1,"tags":{"buildMode":"default","version":"16.2.1","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1780922705056,"traceId":"1b2062303698f4e6"}]
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"}]
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 {
@@ -135,8 +135,18 @@ function printPlainList(instances) {
135
135
  instances.forEach((index) => tree(instanceLabel(index)));
136
136
  line();
137
137
  }
138
- async function listInstancesInteractive() {
138
+ function printScriptList(instances) {
139
+ for (const inst of instances) {
140
+ process.stdout.write(`${inst.port} ${inst.dir}
141
+ `);
142
+ }
143
+ }
144
+ async function listInstancesInteractive(nonInteractive = false) {
139
145
  let instances = pruneRegistry();
146
+ if (nonInteractive) {
147
+ printScriptList(instances);
148
+ return;
149
+ }
140
150
  if (instances.length === 0) {
141
151
  banner();
142
152
  line(c.yellow("No running blogkit-md instances."));
@@ -200,21 +210,19 @@ async function listInstancesInteractive() {
200
210
  }
201
211
  case "return": {
202
212
  openBrowser(`http://localhost:${target.port}`);
203
- render(
204
- c.green(INDENT + `\u25B8 Opened localhost:${target.port} in Chrome`)
205
- );
213
+ render(c.green(INDENT + `Opened localhost:${target.port} in Chrome`));
206
214
  finish();
207
215
  return;
208
216
  }
209
217
  case "x": {
210
218
  killInstance(target);
211
- render(c.green(INDENT + `\u2713 Stopped localhost:${target.port}.`));
219
+ render(c.green(INDENT + `Stopped localhost:${target.port}.`));
212
220
  finish();
213
221
  return;
214
222
  }
215
223
  default: {
216
224
  if (key.name === "q" || key.name === "escape" || key.ctrl && key.name === "c") {
217
- render(c.gray(INDENT + "Bye \u{1F44B}"));
225
+ render(c.gray(INDENT + "Ciao \u{1F44B}"));
218
226
  finish();
219
227
  }
220
228
  }
@@ -237,6 +245,9 @@ function parseArgs(argv) {
237
245
  wantList: flagNames.has("--list") || flagNames.has("-l") || flagNames.has("--list-instances"),
238
246
  // legacy alias
239
247
  wantTear: flagNames.has("--tear") || flagNames.has("-t"),
248
+ wantNoOpen: flagNames.has("--no-open") || flagNames.has("-n"),
249
+ wantStop: flagNames.has("--stop") || flagNames.has("-s"),
250
+ wantNonInteractive: flagNames.has("--non-interactive"),
240
251
  isDetachedChild: flagNames.has("--__detached"),
241
252
  // internal use only
242
253
  wantHelp: flagNames.has("--help") || flagNames.has("-h")
@@ -260,6 +271,15 @@ function printHelp() {
260
271
  tree(
261
272
  `${c.green("-l, --list")} interactively list & stop running instances`
262
273
  );
274
+ tree(
275
+ `${c.green("--non-interactive")} with -l, print a plain "<port>\\t<path>" list and exit`
276
+ );
277
+ tree(
278
+ `${c.green("-s, --stop")} stop the instance serving the given path, then exit`
279
+ );
280
+ tree(
281
+ `${c.green("-n, --no-open")} start the server without opening it in the browser`
282
+ );
263
283
  tree(`${c.green("-h, --help")} show this help`);
264
284
  line();
265
285
  line(
@@ -276,14 +296,35 @@ async function run(argv) {
276
296
  process.exit(0);
277
297
  }
278
298
  if (parsed.wantList) {
279
- await listInstancesInteractive();
299
+ await listInstancesInteractive(parsed.wantNonInteractive);
280
300
  process.exit(0);
281
301
  }
282
302
  if (!parsed.inputArg) {
303
+ if (parsed.wantStop) {
304
+ banner();
305
+ line(c.red("\u2717 --stop needs a path"));
306
+ tree(c.dim("blogkit-md --stop <file-or-directory>"));
307
+ line();
308
+ process.exit(1);
309
+ }
283
310
  printHelp();
284
311
  process.exit(1);
285
312
  }
286
313
  const inputPath = import_node_path.default.resolve(process.cwd(), parsed.inputArg);
314
+ if (parsed.wantStop) {
315
+ const existing = findByDir(inputPath);
316
+ banner();
317
+ if (existing) {
318
+ killInstance(existing);
319
+ line(c.green(`\u2713 Stopped localhost:${existing.port}`));
320
+ tree(c.dim(tilde(existing.dir)));
321
+ } else {
322
+ line(c.yellow("No running instance for that path"));
323
+ tree(c.dim(tilde(inputPath)));
324
+ }
325
+ line();
326
+ process.exit(0);
327
+ }
287
328
  let inputStat;
288
329
  try {
289
330
  inputStat = (0, import_node_fs.statSync)(inputPath);
@@ -300,7 +341,7 @@ async function run(argv) {
300
341
  if (existing) {
301
342
  if (parsed.wantTear) {
302
343
  banner();
303
- line(c.yellow("\u25B8 Tearing down the running instance"));
344
+ line(c.yellow("Tearing down the running instance"));
304
345
  tree(
305
346
  `${c.green("localhost:" + existing.port)} ${c.gray("pid " + existing.pid)} ${existing.background ? c.magenta("background") : c.gray("foreground")}`
306
347
  );
@@ -311,7 +352,7 @@ async function run(argv) {
311
352
  } else {
312
353
  const url = `http://localhost:${existing.port}`;
313
354
  banner();
314
- line(c.green("\u25B8 Already running \u2014 opening it in the browser"));
355
+ line(c.green("Already running \u2014 opening it in the browser"));
315
356
  tree(`${c.bold("URL")} ${c.blue(url)}`);
316
357
  tree(`${c.bold("Path")} ${c.dim(tilde(existing.dir))}`);
317
358
  line();
@@ -319,7 +360,7 @@ async function run(argv) {
319
360
  c.gray("Restart it with ") + c.blue("--tear") + c.gray(", or list with ") + c.blue("--list")
320
361
  );
321
362
  line();
322
- openBrowser(url);
363
+ openBrowser(url, parsed.wantNoOpen);
323
364
  process.exit(0);
324
365
  }
325
366
  }
@@ -340,7 +381,7 @@ async function run(argv) {
340
381
  );
341
382
  child.unref();
342
383
  banner();
343
- line(c.green("\u25B8 Started in the background"));
384
+ line(c.green("Started in the background"));
344
385
  tree(`${c.bold("URL")} ${c.blue("http://localhost:" + port)}`);
345
386
  tree(`${c.bold("Path")} ${c.dim(tilde(inputPath))}`);
346
387
  tree(`${c.bold("PID")} ${c.dim(String(child.pid))}`);
@@ -454,7 +495,7 @@ async function startServer(inputPath, isDirectory, parsed, paths) {
454
495
  line(c.gray("live reload on save \xB7 Ctrl-C to stop"));
455
496
  line();
456
497
  }
457
- openBrowser(url);
498
+ openBrowser(url, parsed.wantNoOpen);
458
499
  }
459
500
  }
460
501
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@san-siva/blogkit-md-cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.26",
4
4
  "description": "CLI tool to preview markdown files as blogkit-md blog posts",
5
5
  "bin": {
6
6
  "blogkit-md": "./bin/blogkit-md"