yarn-linkdeprecated

Global CLI tool for linking dependancies using yarn.

Usage no npm install needed!

<script type="module">
  import yarnLink from 'https://cdn.skypack.dev/yarn-link';
</script>

README

yarn-link

This is a CLI tool for quickly creating symbolic links between local node packages.

How it works

It activates all packages listed in the dependencies section of your yarn-link.json as a symbolic link and then applies all linked packages to any project listed in your projects section.

Getting Started

In the project you will be using the tool, create a file called yarn-link.json. This is what will be used to determine how to create the symbolic links. It supports explicit path definitions as well as wildcards (*).

note: wildcards will only look one layer deep.

{
    "dependencies" : [
        "./relative/package",
        "./relative/package/parent/*"
    ],
    "projects" : [
        "./relative/project",
        "./relative/project/parent/*"
    ]
}