npm.io
0.0.8 • Published 4 years agoCLI

vlink-monorepo

Licence
MIT
Version
0.0.8
Deps
10
Size
5 kB
Vulns
0
Weekly
0
Stars
1

Besides the name, this tool also works if you have multiple repos of the same project on the root folder that you want to run vlink.

Install

npm i -g vlink-monorepo

Or

yarn add global vlink-monorepo

It's important that you have installed Yarn and globally installed version of 'concurrently' package to this tool to work.

Install Yarn

npm i -g yarn

Install concurrently

npm i -g concurrently

Usage

Commands:

  link [componentFolder]  Link VTEX IO components
  fix [componentFolder]   Unlink and Link VTEX IO components
  help [command]          display help for command
Examples:

vlink link -> Will run over all projects inside the current folder (basically sets the path like ".") and run vtex link if the manifest.json file exists on project.

vlink fix -> Same as link, but will unlink the project and then link again.

vlink link customComponent