{"id":17274594,"url":"https://github.com/rip21/yarn-rush-issue-repro","last_synced_at":"2026-02-04T01:36:51.681Z","repository":{"id":145840437,"uuid":"242244253","full_name":"RIP21/yarn-rush-issue-repro","owner":"RIP21","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-22T18:47:17.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T15:11:14.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/RIP21.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-21T22:49:47.000Z","updated_at":"2020-02-22T18:47:19.000Z","dependencies_parsed_at":"2023-05-05T19:36:21.227Z","dependency_job_id":null,"html_url":"https://github.com/RIP21/yarn-rush-issue-repro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fyarn-rush-issue-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fyarn-rush-issue-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fyarn-rush-issue-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fyarn-rush-issue-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RIP21","download_url":"https://codeload.github.com/RIP21/yarn-rush-issue-repro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245666134,"owners_count":20652719,"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-10-15T08:54:17.337Z","updated_at":"2026-02-04T01:36:46.643Z","avatar_url":"https://github.com/RIP21.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Steps to reproduce multiple issues:\n\n1. Have yarn 1.22.0\n2. Have rush 5.20.0\n3. Run `rush update`\n4. All works as expected (check `node_modules` of all packages)\n5. Go to `already-added` module and add `@types/lodash` into `dependencies`\n6. `rush update` (check node_modules of `already-added`)\n7. Works as expected, `@types/lodash` is added \n8. Remove `@types/lodash` from `package.json`\n9. `rush update`\n10. It stays in `node_modules`\n11. `rush update --full`\n12. It's gone. Good.\n13. Go add `add-me` to `dependencies` of `add-to-me`\n14. Run `rush update`\n15. Check `node_modules` of `add-to-me` there is NO `add-me` package added. (same applies to `rush-link.json`)\n16. Run `rush update --full`\n17. Nothing changed, same issue.\n18. Add `@types/lodash` to `add-to-me` into `dependencies`\n19. Run `rush update` (check `node_modules` of `add-to-me`)\n20. `@types/lodash` is not added to `node_modules` nor to `yarn.lock`\n21. Run `rush update --full`\n22. Nothing changed. `@types/lodash` is not added to `node_modules` nor to `yarn.lock`\n23. Add `@types/node` to `already-added` into `dependencies`\n24. Run `rush update` (check node_modules of `already-added`)\n25. For some weird reason `@types/lodash` is added instead of `@types/node`\n26. Run `rush update --full` (check node_modules of `already-added`)\n27. `@types` folder got removed completely.\n28. Add `@types/lodash` to `already-added` into `dependencies`\n29. Run `rush update --full` (check node_modules of `already-added`)\n30. Same, nothing changed. Only `lodash` stays there. Meanwhile `yarn.lock` is untouched since our first update\n31. Add `@types/uuid` to `already-added` to `devDependencies` and run `rush update`\n32. It detects that something is have to be added! And adds only `@types/lodash` and nothing else.\n\nAny manual deletion  of `yarn.lock` of `rush-link.json` + `rush update`, or whatever commands like `unlink` `link` doesn't fix the issue\nOnly `rush update --full --purge` fixes it all. But it's too long for real projects to make this all the time.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frip21%2Fyarn-rush-issue-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frip21%2Fyarn-rush-issue-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frip21%2Fyarn-rush-issue-repro/lists"}