create-rsc-kit 0.20.0 → 0.20.2

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/dist/templates.js CHANGED
@@ -308,14 +308,11 @@ export const metadata: Metadata = {
308
308
  }
309
309
 
310
310
  // The root layout owns <html>. Everything below it is a segment the router can
311
- // replace on its own without re-rendering this.
311
+ // replace on its own without re-rendering this. The charset and viewport meta
312
+ // are written into every document by the build; export const viewport changes it.
312
313
  export default function RootLayout({ children }: { children: ReactNode }) {
313
314
  return (
314
315
  <html lang="en">
315
- <head>
316
- <meta charSet="utf-8" />
317
- <meta name="viewport" content="width=device-width, initial-scale=1" />
318
- </head>
319
316
  <body${o.tailwind ? ' className="min-h-screen bg-white text-slate-900"' : ''}>
320
317
  <main${o.tailwind ? ' className="mx-auto max-w-2xl p-8"' : ''}>{children}</main>
321
318
  </body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rsc-kit",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "type": "module",
5
5
  "description": "Scaffold an RSC app on Bun, Hono, Elysia or Node.",
6
6
  "bin": {