Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- `packages/kindle-ui` holds the core React component library written in TypeScript; keep new components under `src/components` and export through `src/index.ts`.
Sign in to like and favorite skills
packages/kindle-ui holds the core React component library written in TypeScript; keep new components under src/components and export through src/index.ts.packages/kindle-fonts bundles embeddable Kindle font files referenced by the core package and docs.docs is the Next.js demo site (Turbopack in dev) and consumes the workspace packages; static assets live under docs/public.assets/, while test/utils provides Jest-DOM helpers for mocha; automation scripts live in scripts/.pnpm-workspace.yaml; prefer pnpm workspaces and workspace:* ranges when introducing internal dependencies.pnpm install — Restore the monorepo with the pinned pnpm version ([email protected]).pnpm dev — Run Turborepo pipelines; starts Rollup watch for the core package and the docs site in dev mode.pnpm build — Execute turbo run build to produce distributable artifacts (Rollup output and Next.js production build).pnpm build:packages / pnpm build:docs — Build only the package bundle or the documentation site.pnpm test:unit — Run mocha against packages/kindle-ui/**/*.test.{js,ts,tsx} and test/utils/**/*.test.{js,ts,tsx}..ts/.tsx) and default to React function components; export UI primitives via named exports in src/index.ts.styled-components definitions with their component files.index.tsx; colocate story/demo assets under the same folder when needed.@/utils for shared utilities, and prefer relative imports only within a feature folder.test/utils/setupBabel and jsdom in .mocharc.js.<Component>.test.tsx beside the component or inside test/utils for shared helpers; keep assertions focused on rendered behavior.pnpm test:unit locally before publishing; add regression tests when fixing bugs in packages/kindle-ui.feat:, fix:, build:, etc.) as seen in recent history; keep subject lines imperative and under 72 characters.pnpm build, pnpm test:unit) pass before requesting review and note any skipped steps explicitly.