@taujs/create-taujs 0.1.5 → 0.1.6

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 (2) hide show
  1. package/dist/index.js +10 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -317,8 +317,9 @@ export default defineConfig({
317
317
  }),
318
318
  // meta recommended for streaming routes for SEO/social and render timing
319
319
  meta: {
320
- title: '\u03C4js [taujs] - streaming',
321
- description: 'Streaming page description from route meta',
320
+ title: "\u03C4js \u2014 Streaming",
321
+ description:
322
+ "Streaming SSR route (Suspense progressively reveals content).",
322
323
  },
323
324
  },
324
325
  },
@@ -783,8 +784,13 @@ import { App } from './App';
783
784
 
784
785
  export const { renderSSR, renderStream } = createRenderer({
785
786
  appComponent: () => <App />,
786
- headContent: ({ data }) => \`
787
- <meta name="description" content="\${data?.message || "\u03C4js - Composing systems, not just apps"}">
787
+ headContent: ({ data, meta }) => \`
788
+ <title>\${meta?.title || "\u03C4js - Composing systems, not just apps"}</title>
789
+ <meta name="description" content="\${
790
+ meta?.description ||
791
+ data?.message ||
792
+ "\u03C4js - Composing systems, not just apps"
793
+ }">
788
794
  \`,
789
795
  enableDebug: process.env.NODE_ENV === "development",
790
796
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taujs/create-taujs",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Scaffold a new τjs application",
5
5
  "author": "Aoede <taujs@aoede.uk.net> (https://www.aoede.uk.net)",
6
6
  "homepage": "https://taujs.dev/",