{"id":15093063,"url":"https://github.com/angular/material-update-tool","last_synced_at":"2025-10-06T11:31:24.850Z","repository":{"id":57178724,"uuid":"104386832","full_name":"angular/material-update-tool","owner":"angular","description":"Standalone update tool for updating Angular CDK and Material","archived":true,"fork":false,"pushed_at":"2018-07-23T23:49:52.000Z","size":109,"stargazers_count":46,"open_issues_count":0,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-09-26T11:03:14.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"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/angular.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}},"created_at":"2017-09-21T18:56:24.000Z","updated_at":"2024-03-20T16:37:03.000Z","dependencies_parsed_at":"2022-09-09T19:00:20.173Z","dependency_job_id":null,"html_url":"https://github.com/angular/material-update-tool","commit_stats":null,"previous_names":["angular/material-prefix-updater"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fmaterial-update-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fmaterial-update-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fmaterial-update-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angular%2Fmaterial-update-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angular","download_url":"https://codeload.github.com/angular/material-update-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219877267,"owners_count":16554853,"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-09-25T11:03:24.154Z","updated_at":"2025-10-06T11:31:19.519Z","avatar_url":"https://github.com/angular.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Material 5.x to 6.0 updater tool\n\n**Outdated**: This repository won't be updated anymore. Future major releases for Angular Material will also have an upgrade tool that can be used in **Angular CLI** projects by running **`ng update @angular/material`**\n\n---\n\n## Installation\n```bash\nnpm i -g angular-material-updater\n```\n**Note**: Running this tool with Angular Material versions higher than `5.2.4` will not work. The\nupdater tool requires type information from the outdated `5.x` API. The upgrade to the latest\nversion of Angular Material should happen _after_ running the tool.\n\n## Usage\nRun the `mat-updater` command to update your project. The updater tool will attempt to automatically\nfix issues that it can and report issues that can't be automatically fixed. The tool may not catch\n100% of the issues, but it should help get most of the way there. The fixes applied by the tool also\nmay not be perfect. For example it may rename a symbol resulting in an invalid import. If you want\nto run the tool and just detect issues without trying to fix them, you can do so by specifying\n`--fix=false`.\n\n```bash\n# Show the help for the tool\nmat-updater --help\n\n# Run the tool to update prefixes\nmat-updater -p path/to/project/tsconfig.json\n\n# Run the tool to update prefixes with additional style\n# files not referenced by an Angular component, where --extra-css\n# accepts a glob pointing to the style files\nmat-updater -p path/to/project/tsconfig.json --extra-css 'custom/**/*.css' \n\n# Run the tool to but don't automatically change anything\nmat-updater -p path/to/project/tsconfig.json --fix=false\n```\n\n## After running the tool\n1. Update the packages below if you are using them:\n   ```bash\n   npm i @angular/cdk@latest\n   npm i @angular/material@latest\n   npm i @angular/material-moment-adapter@latest\n   ```\n2. Address any issues that were reported by `mat-updater` but unable to be\n   automatically fixed.\n3. Try to build your app and fix any issues that show up (e.g. bad imports).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fmaterial-update-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangular%2Fmaterial-update-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangular%2Fmaterial-update-tool/lists"}