0.0.8 • Published 2 years ago

vlink-monorepo v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

VLINK-MONOREPO

A CLI tool that helps you to link your VTEX IO Components/Apps

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

yarn add global 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.

You can also specify the project you want to link:

vlink link customComponent