vlink-monorepo

0.0.8 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vlink-monorepo

Weekly Downloads

0

Version

0.0.8

License

MIT

Unpacked Size

4.73 kB

Total Files

4

Last publish

Collaborators

  • coutodev