All Projects → OrKoN → Npm Link Shared

OrKoN / Npm Link Shared

Licence: mit
links a folder of local modules with inter-dependencies to the target directory

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Npm Link Shared

Zelda
Automatically `npm link` all your packages together!
Stars: ✭ 278 (+126.02%)
Mutual labels:  npm, link
React Use Localstorage
(seeking maintainers) ⚓ React hook for using local storage
Stars: ✭ 122 (-0.81%)
Mutual labels:  npm
Bundle Phobia Cli
📦 Cli for the node BundlePhobia Service 😱
Stars: ✭ 108 (-12.2%)
Mutual labels:  npm
Get Programming With Nodejs
Code samples for Get Programming with Node.js (See verhagen's VM setup for exercises in this book: https://github.com/verhagen/get-programming-with-nodejs)
Stars: ✭ 117 (-4.88%)
Mutual labels:  npm
Cheatsheets
A curated list of everything I look up more than twice
Stars: ✭ 109 (-11.38%)
Mutual labels:  npm
Php Sf Flex Webpack Encore Vuejs
A simple app skeleton to try to make every components work together : symfony 4 (latest stable at the date, but work with sf 3.3+ if you just change the versions in composer.json), symfony/flex, webpack-encore, vuejs 2.5.x, boostrap 4 sass
Stars: ✭ 118 (-4.07%)
Mutual labels:  npm
Cli
Get a programmable email address. Automate what happens when you receive emails. It's like Zapier for devs who hate emails.
Stars: ✭ 105 (-14.63%)
Mutual labels:  npm
Greenkeeper
🤖 🌴 Real-time automated dependency updates for npm and GitHub
Stars: ✭ 1,564 (+1171.54%)
Mutual labels:  npm
Kymsu
Keep Your macOs Stuff Updated (KYMSU)
Stars: ✭ 119 (-3.25%)
Mutual labels:  npm
Simple Boilerplate
A simple webpack boilerplate for your comfortable work with HTML, JS and CSS.
Stars: ✭ 116 (-5.69%)
Mutual labels:  npm
React Native In App Message
React Native in-app notification component
Stars: ✭ 114 (-7.32%)
Mutual labels:  npm
Discord.js Musicbot Addon
This DOES NOT WORK any more. This repo only serves as an archive for is anyone wants to pickup my work. You may still join the discord however.
Stars: ✭ 109 (-11.38%)
Mutual labels:  npm
Getme
CLI utility for everyday tasks. With getme you get weather, forecast, currency rate, upload files, IP address, word definitions, text translations, internet speed, do google searches, get inspirational quotes and get Chuck Norris jokes
Stars: ✭ 118 (-4.07%)
Mutual labels:  npm
Docusign Node Client
The Official DocuSign Node.js Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
Stars: ✭ 108 (-12.2%)
Mutual labels:  npm
Example Rollup React Component Npm Package
Example React Component, Published to npm
Stars: ✭ 122 (-0.81%)
Mutual labels:  npm
Nekos Dot Life
Nekos.life wrapper.
Stars: ✭ 108 (-12.2%)
Mutual labels:  npm
Rsmq
Redis Simple Message Queue
Stars: ✭ 1,556 (+1165.04%)
Mutual labels:  npm
Sdk Js
Directus JS SDK — JavaScript Software Development Kit for Node and Browser
Stars: ✭ 117 (-4.88%)
Mutual labels:  npm
Atbmarket
🎉 JUST FOR FUN :: npm package of ATB plastic bag
Stars: ✭ 123 (+0%)
Mutual labels:  npm
Create New Cli
Create your own CLI using a series of simple commands.
Stars: ✭ 122 (-0.81%)
Mutual labels:  npm

npm-link-shared

Version Build Status Downloads Dependencies

Installs a set of local node modules into a target folder using npm link. Links all dependencies of the local modules if they are listed in the source folder.

Blog post explaining this module.

Installation

npm install npm-link-shared -g

Changelog

v0.5.2 (2017-09-07) - Updated dependencies. Added package-lock.json.

v0.5.1 (2017-05-19) - Support for --include-peer which links peer dependencies if they are defined.

v0.5.0 (2017-03-29) - BREAKING CHANGES: The lib/api function's arguments have been revamped. The previously undocumented argument --includeDev is now --include-dev to be consistent with other arguments. We now print a warning and exit gracefully if either the shared or target directory do not exist.

v0.4.0 (2017-03-13) - Support for changing executable to yarn with --yarn. Use at your own risk! yarn link is not yet functionally equivalent to npm link.

v0.3.3 (2016-07-01) - Support for npm link options, removed hardcoded usage of --production.

v0.3.0 (2016-03-25) - Support for @scope packages. For example, @scope/my-package.

v0.2.1 (2016-01-12) - Thanks to @barroudjo, module folder names are now de-coupled from the names in the package.json. So any name can be used as a folder name.

v0.2.0 (2015-10-30) - Links using --production flag so that devDependencies should not be installed anymore. Tests added.

v0.1.6 (2015-04-20) - Removed unneeded npm dependency. Added a possibility to define which modules to install.

Usage

  npm-link-shared <shared-modules-dir> <target-installation-dir> [<module1..> [, <module2..>]] [--yarn] [--include-dev] [--include-peer] [--<npm-link-option> [--<npm-link-option>]]

For example:

  npm-link-shared /home/user/internal_modules/ /home/user/my-project

This links all modules located in the internal_modules directory to the my-project dir.

Define specific modules to install

  npm-link-shared /home/user/internal_modules/ /home/user/my-project my-module1 my-module2

This links modules my-module1 and my-module2 located in the internal_modules directory to the my-project dir. Only these two modules are installed but their dependencies are resolved against the entire internal_modules directory.

Define options passed to npm link

  npm-link-shared /home/user/internal_modules/ /home/user/my-project --production

This prevents installation of devDependencies of shared modules by passing the production option to npm link (npm link --production).

Use yarn instead

NOTE: yarn link is currently functionally different from npm link, and should not be considered stable. Use at your own risk until the yarn project has stabilized.

  npm-link-shared /home/user/internal_modules/ /home/user/my-project --yarn

This works in conjunction with all other options.

Also link devDependencies and/or peerDependencies

devDependencies:

  npm-link-shared /home/user/internal_modules/ /home/user/my-project --include-dev

peerDependencies:

  npm-link-shared /home/user/internal_modules/ /home/user/my-project --include-peer

Ordinarily, only packages found under the dependencies key in a project's package.json are linked. With this option, devDependencies and/or peerDependencies are also linked.

Developing

To run tests successfully, you must have both npm and yarn in your $PATH.

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].