{"id":19384608,"url":"https://github.com/brunos3d/nx-rescope","last_synced_at":"2026-05-18T14:01:27.353Z","repository":{"id":168856480,"uuid":"644661757","full_name":"brunos3d/nx-rescope","owner":"brunos3d","description":"Update your Nx packages to use the new @nx scope (formerly @nrwl).","archived":false,"fork":false,"pushed_at":"2023-05-24T15:41:38.000Z","size":130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-09T12:43:09.393Z","etag":null,"topics":["cli","migrate","migration","monorepo","nx","packages","rescope","scope","update","workspace","zx"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/nx-rescope","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunos3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-24T01:59:09.000Z","updated_at":"2023-07-05T06:44:58.000Z","dependencies_parsed_at":"2023-08-18T13:35:07.493Z","dependency_job_id":null,"html_url":"https://github.com/brunos3d/nx-rescope","commit_stats":null,"previous_names":["brunos3d/nx-rescope"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brunos3d/nx-rescope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnx-rescope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnx-rescope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnx-rescope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnx-rescope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunos3d","download_url":"https://codeload.github.com/brunos3d/nx-rescope/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnx-rescope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","migrate","migration","monorepo","nx","packages","rescope","scope","update","workspace","zx"],"created_at":"2024-11-10T09:31:39.284Z","updated_at":"2026-05-18T14:01:27.320Z","avatar_url":"https://github.com/brunos3d.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nx-rescope\n\nThe `nx-rescope` tool is designed to assist you in migrating your workspace to the new scope format introduced in Nx version 16. This update involved transitioning the `@nrwl` packages to the `@nx` scope. To learn more about this change, refer to the [official documentation](https://nx.dev/recipes/other/rescope).\n\n## Usage\n\n```bash\nnpx nx-rescope\n```\n\n## Warning\n\nNx already has a built-in command to apply these migrations\n\n```bash\nnx migrate latest\nnpx nx migrate --run-migrations --create-commits\n```\n\n## What does it do?\n\nThe `nx-rescope` tool will do the following:\n\n- Update the `@nrwl` dependencies to `@nx`\n- Update the `@nrwl` devDependencies to `@nx`\n- Update the `@nrwl` peerDependencies to `@nx`\n- Update the `@nrwl` overrides to `@nx` (if the `--update-overrides` option is enabled)\n- Install the new dependencies using your preferred package manager\n\nYou can check the current supported rescope/rename packages [here](./src/nx-rescoped-plugins.mjs).\n\n## What does it NOT do?\n\nWhile the `nx-rescope` tool assists in migrating your workspace to the new scope format, it does not perform the following actions:\n\n- Update the version of the `@nrwl`/`@nx` packages. It focuses on updating the scope format rather than upgrading the package versions (use `nx migrate latest` instead).\n- Update the `package.json` files of your individual projects. Only the workspace's `package.json` file will be updated during the migration.\n- Modify other configuration files such as `tsconfig.json`, `jest.config.js`, etc. The tool solely focuses on updating the workspace's `package.json` file.\n\nIt's important to note that you may need to handle these aspects manually if necessary.\n\n## What is the recommended approach?\n\nThe recommended approach is to use the `nx-rescope` tool in conjunction with the `nx migrate latest` command. This will ensure that your workspace is up-to-date with the latest version of Nx and that the scope format is updated accordingly.\n\nTo make sure that your workspace is ready for the migration, you can run the following commands in sequence:\n\n```bash\nnx migrate latest\n```\n\nThen use your package manager of choice to install the new dependencies, and to make sure you are using the latest version of Nx or at least the version 16.0.0:\n\n```bash\nnpm install\n# or\nyarn install\n# or\npnpm install\n```\n\nFinally, run the `nx-rescope` tool to update the scope format:\n\n```bash\nnpx nx-rescope\n```\n\n## Options\n\n| Option               | Description                                                                                                                                                                            |\n| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--help`             | Display a help message                                                                                                                                                                 |\n| `--dry-run`          | By using this option, the tool will perform a dry run, meaning it will simulate the changes without modifying the package.json file or installing new dependencies.                    |\n| `--force`            | If you encounter any conditions that prevent the execution of the script, you can use the --force option to override these conditions and force the tool to proceed.                   |\n| `--update-overrides` | Enabling this option will update the overrides section of the package.json file, ensuring that it aligns with the new scope format.                                                    |\n| `--skip-install`     | If you don't want the tool to automatically install the new dependencies, you can utilize the --skip-install option. This is useful if you prefer to handle the installation manually. |\n\n##\n\nFeel free to modify and enhance this readme file according to your specific project requirements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunos3d%2Fnx-rescope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunos3d%2Fnx-rescope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunos3d%2Fnx-rescope/lists"}