How to use?
Create a build in the ui-components package
npm run buildTo connect to your other project
type in the ui-components package:
pwdso you get the path to the ui-components folder.
now copy the path and move to the other project and type:
npm install *the-path-you-copied*and you are ready to go!
To upload to npm after updates:
first you need to run the build command to build the package with your changes.
then to update the version of the package-
for a little fixes or additions:
npm version patchif we broke api:
npm version majorand at the end run:
npm publishnow you can go to projects and intsall the latest version of the package and use it
npm install @wolf/ui-components@latestComponents this ui-components package provides
import { Button } from '@wolf/ui-components'