@drdex0101/water-design-system
v3.0.2
Published
A design system library for Water project
Maintainers
Readme
Water Design System
A modern React component library built with TypeScript and Vite.
Features
- 🚀 Built with Vite (Library Mode)
- 📝 TypeScript support out of the box
- 📦 Automatic publishing to npm via GitHub Actions
- 🛠️ Modern React (React 19+)
Installation
npm install @drdex0101/water-design-systemUsage
import { Button } from '@drdex0101/water-design-system';
const App = () => (
<Button label="Click Me" onClick={() => console.log('Hello!')} />
);Development
Install dependencies:
npm installBuild the library:
npm run build
Publishing
To publish a new version:
- Update the version in
package.json. - Push a new tag:
git tag v1.0.1 git push origin v1.0.1 - GitHub Actions will automatically build and publish to npm.
Note: You must set up an NPM_TOKEN secret in your GitHub repository to enable automatic publishing.
