Files
Anthony ShewandGitHub c4be53cc57 chore: Move applications to apps/ directory (#11613)
## Summary

- Moves `docs/site` to `apps/docs`
- Moves `packages/coverage-reporter` to `apps/coverage-reporter`

These are applications (Next.js sites), not packages meant to be
consumed by other packages. Moving them to `apps/` follows monorepo
conventions and makes the distinction clear.

## Changes

- Created `apps/` directory
- Updated `pnpm-workspace.yaml` to include `apps/*`
- Updated path references in:
  - Root `package.json` (`docs:dev` script)
  - `.gitignore` and `.prettierignore`
  - `apps/docs/components/geistdocs/edit-source.tsx` (GitHub edit URL)
  - `apps/docs/package.json` (link-checker path)
  - `docs/link-checker/package.json` (path to docs content)
2026-01-31 20:48:07 -07:00

46 lines
1.2 KiB
TypeScript

import type { ReactElement } from "react";
import data from "../../content/examples-data.json";
export function ExamplesTable({
coreMaintained
}: {
coreMaintained?: boolean;
}): ReactElement {
return (
<div className="overflow-auto max-w-full">
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{data
.filter((meta) =>
coreMaintained
? meta.maintainedByCoreTeam
: !meta.maintainedByCoreTeam
)
.map((example) => {
return (
<tr key={example.slug}>
<td>
<a
href={`https://github.com/vercel/turborepo/tree/main/examples/${example.slug}`}
rel="noopener noreferrer"
target="_blank"
>
{example.name}
</a>
</td>
<td className="sm:text-wrap">{example.description}</td>
</tr>
);
})}
</tbody>
</table>
</div>
);
}