{"id":18245054,"url":"https://github.com/edgeapp/updot","last_synced_at":"2025-04-08T18:49:46.368Z","repository":{"id":46941084,"uuid":"96861966","full_name":"EdgeApp/updot","owner":"EdgeApp","description":"Copy dependencies from repos in the ../ folder ","archived":false,"fork":false,"pushed_at":"2021-09-20T23:30:56.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-02-14T14:55:07.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdgeApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-11T07:04:58.000Z","updated_at":"2022-05-23T16:18:07.000Z","dependencies_parsed_at":"2022-09-05T18:20:59.767Z","dependency_job_id":null,"html_url":"https://github.com/EdgeApp/updot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fupdot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fupdot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fupdot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fupdot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/updot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909138,"owners_count":21016475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T09:18:44.635Z","updated_at":"2025-04-08T18:49:46.320Z","avatar_url":"https://github.com/EdgeApp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# updot\n\nCopy 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.\n\nScript 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:\n\n1. Files that match the `package.json` `files` array.\n or if there is no `files` array in `package.json`\n2. All files excluding\n\n   [ '/node_modules',\n  '.git',\n  '.idea',\n  '.vscode',\n  '.babelrc',\n  '.eslintrc.json',\n  '.flowconfig' ]\n\n## To use\n\n    npm install updot --save-dev\n\nThen add a line to your `scripts` section \n\n    \"updot\": \"updot\",\n\nTo update the node_modules\n\n    npm run updot\n\n## Options\n\nChange the source directory by passing a directory path as an argument after `-s`\n\n    \"updot\": \"updot -s ../../myotherfolder\",\n\nUpdot only a single dependency\n\n    npm run updot -- edge-currency-bitcoin","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fupdot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fupdot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fupdot/lists"}