🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

updot

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

updot

Update dependencies from the ../ of a repo into the repo's node_modules directory

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
287
226.14%
Maintainers
4
Weekly downloads
 
Created
Source

updot

Copy dependencies from repos in the ../ folder to the current repo's node_modules. This is useful for development on dependent modules in a React Native project as npm link is broken in React Native.

Script will search in all folders at the peer level to the current project that dotdotdep is installed in and compare the folder name to all the folders in node_modules. if any match, it will call npm run build in that peer level folder then copy its contents into the same folder name in node_modules. If will first rm -rf the destination folder in node_modules. The contents in the source folder that it will copy will be either:

  • Files that match the package.json files array. or if there is no files array in package.json

  • All files excluding

    [ '/node_modules', '.git', '.idea', '.vscode', '.babelrc', '.eslintrc.json', '.flowconfig' ]

To use

npm install updot --save-dev

Then add a line to your scripts section

"updot": "updot",

To update the node_modules

npm run updot

Options

Change the source directory by passing a directory path as an argument after -s

"updot": "updot -s ../../myotherfolder",

Updot only a single dependency

npm run updot -- edge-currency-bitcoin

FAQs

Package last updated on 13 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts