mirror of
https://github.com/supabase/supabase.git
synced 2026-06-21 18:23:01 +08:00
This PR removes all extra deps from the `learn` app. The `learn` app was copy-pasted from `ui-library` so it had a lot of unneeded deps. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Streamlined project dependencies by removing unused packages, reducing the overall dependency surface for better performance and maintainability. * Enhanced build cleanup process to remove temporary TypeScript build artifacts alongside existing cleanup tasks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"name": "learn",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"dev": "next dev --port 3007",
|
|
"build": "pnpm run content:build && next build --turbopack",
|
|
"internal:sync": "tsx --tsconfig ./tsconfig.scripts.json ./scripts/sync-internal-content.mts",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"lint:mdx": "supa-mdx-lint content --config ../../supa-mdx-lint.config.toml",
|
|
"content:build": "contentlayer2 build",
|
|
"clean": "rimraf node_modules .next .turbo tsconfig.tsbuildinfo",
|
|
"typecheck": "contentlayer2 build && tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"common": "workspace:*",
|
|
"contentlayer2": "0.4.6",
|
|
"framer-motion": "^11.0.3",
|
|
"jotai": "^2.8.0",
|
|
"lucide-react": "*",
|
|
"next": "catalog:",
|
|
"next-contentlayer2": "0.4.6",
|
|
"next-themes": "^0.3.0",
|
|
"react": "catalog:",
|
|
"react-wrap-balancer": "^1.1.0",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-pretty-code": "^0.9.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark": "^14.0.3",
|
|
"remark-code-import": "^1.2.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"ui": "workspace:*",
|
|
"ui-patterns": "workspace:*",
|
|
"unist-util-visit": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@shikijs/compat": "^1.1.7",
|
|
"@supabase/supa-mdx-lint": "0.3.1",
|
|
"@types/react": "catalog:",
|
|
"config": "workspace:^",
|
|
"mdast-util-toc": "^6.1.1",
|
|
"tsconfig": "workspace:*",
|
|
"tsx": "catalog:",
|
|
"shiki": "^1.1.7"
|
|
}
|
|
}
|