mirror of
https://github.com/jakejarvis/stanza.git
synced 2026-10-16 07:25:43 -04:00
- Add `src/components/docs/docs-sidebar.tsx` — a bespoke sidebar that reads the Fumadocs page tree and renders a `<NavList>` of links using TanStack Router's `<Link>`; shows a `<details>` disclosure on mobile and a sticky `<aside>` rail on `md`+, active item highlighted via the site's `--accent` token - Add `src/components/docs/docs-toc.tsx` — a bespoke table of contents that wraps Fumadocs' `AnchorProvider`/`useActiveAnchor` in a plain `<ul>` with depth-based padding; hidden below `xl` - Replace `<DocsLayout>` / `<DocsPage>` / `<DocsTitle>` / `<DocsDescription>` in `docs.$.tsx` with the custom components and plain `<article>` markup so the docs page is fully owned by the site shell rather than Fumadocs' layout primitives; `baseOptions()` and `layout.shared.tsx` are deleted - Simplify the Fumadocs CSS token override in `styles.css` — the `#nd-sidebar` specificity hack is no longer needed now that Fumadocs renders no sidebar of its own - Move `bin` from the top-level field into `publishConfig` in both `apps/cli/package.json` and `packages/create-stanza/package.json` so the binary entries only apply to the published artifact, not local workspace resolution - Add a `tslib` → `tslib/tslib.es6.mjs` alias in `vite.config.ts` to avoid Rolldown's CJS interop issue with tslib's UMD bundle in Vite 8 - Set `[--trees-border-radius-override:0px]` on the file-tree in `FilePreview` so selected rows render as flush rectangles rather than rounded pills
45 lines
957 B
JSON
45 lines
957 B
JSON
{
|
|
"name": "create-stanza",
|
|
"version": "0.1.0",
|
|
"description": "`npm init stanza` — the canonical entry point to the stanza wizard.",
|
|
"keywords": [
|
|
"cli",
|
|
"create",
|
|
"monorepo",
|
|
"scaffold",
|
|
"shadcn"
|
|
],
|
|
"homepage": "https://stanza.tools",
|
|
"bugs": "https://github.com/jakejarvis/stanza/issues",
|
|
"license": "MIT",
|
|
"author": "Jake Jarvis <jake@jarv.is>",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/jakejarvis/stanza.git",
|
|
"directory": "packages/create-stanza"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"publishConfig": {
|
|
"bin": {
|
|
"create-stanza": "./dist/bin.mjs"
|
|
},
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"check-types": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@stanza/cli": "workspace:*",
|
|
"mri": "^1.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.1",
|
|
"tsdown": "^0.22.0",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|