Files
joelhooks__joelclaw/apps/web/package.json
joelclawgithub[bot] 0c458b4c94 Add remark/rehype plugin stack for MDX pipeline
Plugins added:
- remark-gfm: GFM tables, strikethrough, autolinks, task lists
- remark-smartypants: smart quotes, em dashes, ellipses
- rehype-pretty-code + shiki: build-time syntax highlighting (github-dark-default theme)
- rehype-slug: heading id attributes
- rehype-autolink-headings: clickable anchor links on headings
- rehype-external-links: target=_blank + rel=noopener on external links
- rehype-unwrap-images: removes <p> wrapper around images

Also updated MDX components:
- Added table/thead/tbody/tr/th/td components for GFM tables
- Added del and checkbox input components
- Updated code/pre/figure to handle rehype-pretty-code output
2026-02-14 15:39:17 -08:00

40 lines
1022 B
JSON

{
"name": "web",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "next dev --port 3000",
"build": "next build",
"start": "next start",
"check-types": "next typegen && tsc --noEmit"
},
"dependencies": {
"@repo/ui": "workspace:*",
"gray-matter": "^4.0.3",
"next": "16.1.5",
"next-mdx-remote": "^6.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-external-links": "^3.0.0",
"rehype-pretty-code": "^0.14.1",
"rehype-slug": "^6.0.0",
"rehype-unwrap-images": "^1.0.0",
"remark-gfm": "^4.0.1",
"remark-smartypants": "^3.0.2",
"shiki": "^3.22.0"
},
"devDependencies": {
"@repo/typescript-config": "workspace:*",
"@tailwindcss/postcss": "^4.1.18",
"@types/mdx": "^2.0.13",
"@types/node": "^22.15.3",
"@types/react": "19.2.2",
"@types/react-dom": "19.2.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
"typescript": "5.9.2"
}
}