Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexanderjeurissen/yarn-bundle
📦 Bundler for global yarn packages
https://github.com/alexanderjeurissen/yarn-bundle
bundle global node node-module node-modules yarn yarn-bundle yarnglobal yarnpkg
Last synced: 9 days ago
JSON representation
📦 Bundler for global yarn packages
- Host: GitHub
- URL: https://github.com/alexanderjeurissen/yarn-bundle
- Owner: alexanderjeurissen
- License: mit
- Created: 2020-07-18T13:26:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T11:01:14.000Z (almost 2 years ago)
- Last Synced: 2024-08-09T06:13:13.098Z (3 months ago)
- Topics: bundle, global, node, node-module, node-modules, yarn, yarn-bundle, yarnglobal, yarnpkg
- Language: JavaScript
- Homepage:
- Size: 2.86 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yarn-bundle 📦
Bundler for global yarn packages.
Heavily inspired by [HomeBrew bundle](https://github.com/Homebrew/homebrew-bundle).![image](https://github.com/alexanderjeurissen/yarn-bundle/blob/main/public/assets/yarn_bundle_dump.png)
### 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](https://github.com/alexanderjeurissen/yarn-bundle/blob/main/public/assets/yarn_bundle_help.png)
```conf
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](https://github.com/alexanderjeurissen/yarn-bundle/blob/main/public/assets/example_yarn_file) without descriptions (default)
- [yarnFile](https://github.com/alexanderjeurissen/yarn-bundle/blob/main/public/assets/example_yarn_file_with_describe) with descriptions (using --describe option)