0.0.8 • Published 8 months ago
@daskis/ui-kit v0.0.8
How to work with starter
1. Clone current git repository via command
git clone https://github.com/skaziweb/react-ts-ui-kit-starter.git
2. Install all dependencies
yarn install
npm install
3. Create a new component in the folder, you can also add styles in this case as a module.
./src/components
See an examples in the source folder
4. Add import and export of created component to the main library file
import { Component } from "./Component/Component.tsx";
export {
Component
}
5. Build your library
yarn build
npm run build
6. Publish your library
For update fix version use
yarn bump
npm run bump
For update minor version use
yarn bump:minor
npm run bump:minor
For update major version use
yarn bump:major
npm run bump:major
If you want to work In simple way use git + http, this means you should remove the dist folder rule from .gitignore.
Add all files to commit and push changes to your git repository
git push origin main
git push origin master