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
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"name": "@stanza/cli",
|
|
"version": "0.1.0",
|
|
"description": "Modular monorepo template CLI — shadcn for stacks.",
|
|
"keywords": [
|
|
"boilerplate",
|
|
"cli",
|
|
"monorepo",
|
|
"scaffold",
|
|
"shadcn",
|
|
"template"
|
|
],
|
|
"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": "apps/cli"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"publishConfig": {
|
|
"bin": {
|
|
"stanza": "./dist/bin.mjs"
|
|
},
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
},
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"check-types": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^1.4.0",
|
|
"kleur": "^4.1.5",
|
|
"mri": "^1.2.0",
|
|
"semver": "^7.8.1",
|
|
"ts-morph": "^28.0.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@stanza/codemods": "workspace:*",
|
|
"@stanza/registry": "workspace:*",
|
|
"@types/node": "^25.9.1",
|
|
"@types/semver": "^7.7.1",
|
|
"tsdown": "^0.22.0",
|
|
"typescript": "^6.0.3",
|
|
"vitest": "^4.1.7"
|
|
}
|
|
}
|