pnpm install @nefty/useyarn add @nefty/useimport { ... } from '@nefty/use';see lib/README.md for all methodes
- Clone this repository
- Run
pnpm installto install dependencies - Run
pnpm buildto build the library and rebuild after a change, I don't have a nice setup for this yet - Run
pnpm devto start the development server
- Commit all changes (no need to push)
- Run
pnpm pubto publish the package
-
Open the
~/.zshrcfile in your preferred text editor. -
Next, add your alias to the end of the file, save the changes and close the editor.
alias p='pnpm'- Run the below source command, which does not provide output, but sources the
~/.zshrcfile to make the alias available in your current shell.source ~/.zshrc
source ~/.zshrc- Now you can use the alias to run the command.
p dev