optimize-yarn-lock
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

optimize-yarn-lock

A CLI to optimize yarn.lock

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads type-coverage

features

"@babel/runtime@^7.0.0", "@babel/runtime@^7.3.1":
  version "7.3.1"
  resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a"
  dependencies:
    regenerator-runtime "^0.12.0"
 
"@babel/runtime@^7.1.2", "@babel/runtime@^7.4.0":
  version "7.4.5"
  resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12"
  dependencies:
    regenerator-runtime "^0.13.2"
 
"@babel/runtime@^7.4.5":
  version "7.5.5"
  resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132"
  integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI=
  dependencies:
    regenerator-runtime "^0.13.2"

becomes:

"@babel/runtime@^7.0.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.5":
  version "7.5.5"
  resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132"
  integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI=
  dependencies:
    regenerator-runtime "^0.13.2"

install

yarn global add optimize-yarn-lock

usage

run optimize-yarn-lock

options

key description
-h,--help Print this message.
-v,--version Print the version
-p yarn lock dir path
--check only check

API

import { optimize } from 'optimize-yarn-lock'
 
await optimize({ yarnLockPath: './yarn.lock' })

Readme

Keywords

none

Package Sidebar

Install

npm i optimize-yarn-lock

Weekly Downloads

114

Version

1.5.0

License

MIT

Unpacked Size

11.4 kB

Total Files

8

Last publish

Collaborators

  • plantain_00