Design system for Logora made with React.
This package exposes a global public API:
import { Button, Modal, useAuth } from "@logora/debate";Use this style by default for developer experience and discoverability.
- JavaScript modules are tree-shakable with named ESM imports.
- Root imports are supported and expected to be tree-shaken by modern bundlers.
- Avoid namespace imports if tree-shaking matters:
// Avoid for bundle size-sensitive code
import * as Debate from "@logora/debate";- Components include their own styles (CSS Modules).
- Consumers should not need to import an extra global CSS file for standard component usage.
- Package
sideEffectsis limited to*.cssand*.scssto preserve JS tree-shaking.
- Breaking API changes are introduced only in major versions.
- Deprecated exports should be announced before removal.
pnpm installpnpm storybookpnpm testpnpm test:coveragepnpm build-storybookpnpm run build
npm version patch -m "chore(release): %s"
npm login
git push --follow-tags origin master
npm publish --access publicUse minor or major instead of patch when needed.