Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidedaniel/npm-link-extra
npm or yarn link node modules between a project and a monorepo/multi-package dir
https://github.com/davidedaniel/npm-link-extra
Last synced: 20 days ago
JSON representation
npm or yarn link node modules between a project and a monorepo/multi-package dir
- Host: GitHub
- URL: https://github.com/davidedaniel/npm-link-extra
- Owner: DavideDaniel
- License: mit
- Created: 2017-10-24T10:43:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T20:12:35.000Z (over 2 years ago)
- Last Synced: 2024-10-13T00:05:19.236Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 81.1 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### npm-link-extra
---
###### v 3.1.0-beta.1Some useful things we wish npm/yarn link had. Inspired by fs-extra...
One issue currently is the inconsistency between npm's link behavior between the major versions. We have found link to be most stable with version 3.10.10 so that is our recommended npm version.
#### Install
```bash
$ npm install npm-link-extra --save-dev
```#### Docs
```bash
Usage
$ nlx - --
$ npx nlx - --
Commands
-h, --help show help menu
-l, --link link all dirs if present in dependencies
-u, --unlink unlink all linked dependencies
-s, --show show all shared and/or linked dependencies
-v, --version get npm-link-extra package version
Options
-d, --dir relative path to mononrepo/dir with many modules
--linked-only only select currently linked packages
--shared-only only select shared dependencies between project and target dir
```