How to use?
Create a build in the ui-components package
npm run build
To connect to your other project
type in the ui-components package:
pwd
so 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 patch
if we broke api:
npm version major
and at the end run:
npm publish
now you can go to projects and intsall the latest version of the package and use it
npm install @wolf/ui-components@latest
Components this ui-components package provides
import { Button } from '@wolf/ui-components'