/pnpm-link-example

A small example to test the pnpm linking behavoir.

Primary LanguageHTML

pnpm-link-example

Made with create-react-library

NPM JavaScript Style Guide

Small example on how to use pnpm linking to use a local library. Create with create-react-library.

Pnpm link

The pnpm linking command is similar to the npm link command the only thing that has to be added is the -g flag. To use the pnpm-link-example package in the example package, you must first run the pnpm link -g command from the workspace folder. Then cd into the example directory and run the pnpm link -g pnpm-link-example.

Pnpm peer dependency error

If you get a pnpm peer dependency error you have to run the npm cache clean -f command.

License

MIT © rickstaa