Skip to content

alexanderjeurissen/yarn-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yarn-bundle 📦

Bundler for global yarn packages. Heavily inspired by HomeBrew bundle.

image

Options

yarn-bundle comes with a --help command to list all the CLI options that can be passed. The options that yarn-bundle accepts are very similar to homebrew-bundle

image

Usage: yarn_bundle [options]

A CLI for bundling global node modules

Options:
  -V, --version   output the version number
  -d, --dump      Write all globally installed node_modules into a *yarnFile* file.
  -D, --describe  dump adds a description comment above each line, unless the dependency does not have a description.
  -i, --install   Install all dependencies from the *yarnFile* file
  -h, --help      display help for command

Examples

Several example yarnFile can be found in the public/assets folder:

  • yarnFile without descriptions (default)
  • yarnFile with descriptions (using --describe option)