1.0.1 • Published 2 years ago

yarnthisdir v1.0.1

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

yarnthisdir · CI GitHub issues license badge

Transform a project using npm to Yarn

You started a new project with npm but decided at some point to switch over to yarn?

This tool makes converting over easy

Install

npm install yarnthisdir

Usage

import yarnThisDir from 'yarnthisdir';

/* 
  you typically only need to do this once,
  call yarnThisDir from root which contains
  `package.json` and `package-lock.json`
*/
yarnThisDir();

API

yarnThisDir(wd?)

Transforms a project that uses npm to Yarn.

  • parameters

    • wd
      • Type: String
      • Default: process.cwd()
      • Description: The current working directory

Pull Requests are highly welcome.

1.0.1

2 years ago

1.0.0

2 years ago