create-next-mdx-blog-app 2.2.4 → 2.2.5
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/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ Scaffold the blog into an empty directory:
|
|
|
43
43
|
npx create-next-mdx-blog-app .
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
The installer ([`create-next-mdx-blog-app`](https://www.npmjs.com/package/create-next-mdx-blog-app/), v2.2.
|
|
46
|
+
The installer ([`create-next-mdx-blog-app`](https://www.npmjs.com/package/create-next-mdx-blog-app/), v2.2.5, MIT) clones the app, installs dependencies, and prints the environment setup steps.
|
|
47
47
|
|
|
48
48
|
### Option 2 — Manual clone
|
|
49
49
|
|
|
@@ -209,6 +209,7 @@ Wraps the Next.js `<Image>` component with `<figure>`/`<figcaption>` for seamles
|
|
|
209
209
|
| **Copy link** | `src/components/CopyLinkButton.tsx` | Article-header button; copies the page URL with a brief icon-swap confirmation |
|
|
210
210
|
| **Social share** | `src/components/SocialShareButtons.tsx` | Pre-filled share dialogs for X (Twitter), LinkedIn, and Reddit using the article title and URL |
|
|
211
211
|
| **View counter** | `src/components/ViewCounter.tsx` | Live per-article view count in a Supabase `view_counts` table, incremented atomically via the `increment_view_count` RPC. Dynamic pages increment server-side; static pages call the `/api/views/[slug]` route after hydration |
|
|
212
|
+
| **Related articles** | `src/components/RelatedArticles.tsx` | Shown at the bottom of every dynamic article; surfaces up to 5 other articles ranked by shared tags (then publish date) via `fetchRelatedArticles()` |
|
|
212
213
|
|
|
213
214
|
## 🤖 AI Features
|
|
214
215
|
|
package/package.json
CHANGED