{"id":29814793,"url":"https://github.com/esthersoftwaredev/angular-v20-file-refactor","last_synced_at":"2025-07-31T23:02:24.498Z","repository":{"id":306450470,"uuid":"1026263603","full_name":"esthersoftwaredev/angular-v20-file-refactor","owner":"esthersoftwaredev","description":"🅰️ CLI tool to automate file renaming and content refactoring for Angular 20 projects. This tool updates file names and TypeScript file contents to align with Angular 20 conventions, handling patterns like .component, .service, .directive, and .model.","archived":false,"fork":false,"pushed_at":"2025-07-27T14:05:05.000Z","size":41018,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-07-30T22:48:41.022Z","etag":null,"topics":["angular","angular-update","angular-v20","file","file-rename","filesystem","migration-tool","npm-package","refractor","tool","v20"],"latest_commit_sha":null,"homepage":"","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/esthersoftwaredev.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,"zenodo":null}},"created_at":"2025-07-25T15:26:14.000Z","updated_at":"2025-07-27T14:05:09.000Z","dependencies_parsed_at":"2025-07-25T21:51:57.271Z","dependency_job_id":null,"html_url":"https://github.com/esthersoftwaredev/angular-v20-file-refactor","commit_stats":null,"previous_names":["esthersoftwaredev/angular-v20-file-refactor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/esthersoftwaredev/angular-v20-file-refactor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esthersoftwaredev%2Fangular-v20-file-refactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esthersoftwaredev%2Fangular-v20-file-refactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esthersoftwaredev%2Fangular-v20-file-refactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esthersoftwaredev%2Fangular-v20-file-refactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esthersoftwaredev","download_url":"https://codeload.github.com/esthersoftwaredev/angular-v20-file-refactor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esthersoftwaredev%2Fangular-v20-file-refactor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268133349,"owners_count":24201371,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","angular-update","angular-v20","file","file-rename","filesystem","migration-tool","npm-package","refractor","tool","v20"],"created_at":"2025-07-28T20:01:03.856Z","updated_at":"2025-07-31T23:02:24.399Z","avatar_url":"https://github.com/esthersoftwaredev.png","language":"JavaScript","readme":"# Angular v20 File Refactor\n\nA CLI tool to automate file renaming and content refactoring for Angular 20 projects. This tool updates file names and TypeScript file contents to align with Angular 20 conventions, handling patterns like `.component`, `.service`, `.directive`, and `.model`.\n\n## Installation\n\n### Global Installation\nInstall the tool globally to use it from any directory:\n\n```bash\nnpm install -g angular-v20-file-refactor\n```\n\nRun the tool directly:\n\n```bash\nangular-v20-file-refactor /path/to/your/angular/project\n```\n\n### Local Installation\nInstall the tool locally within a project:\n\n```bash\nnpm install angular-v20-file-refactor\n```\n\nRun the tool using `npx`:\n\n```bash\nnpx angular-v20-file-refactor /path/to/your/angular/project\n```\n\nAlternatively, add a script to your `package.json`:\n\n```json\n{\n  \"scripts\": {\n    \"refactor\": \"angular-v20-file-refactor\"\n  }\n}\n```\n\nThen run:\n\n```bash\nnpm run refactor -- /path/to/your/angular/project\n```\n\n## Usage\n\nRun the tool on your Angular project by specifying the project folder path. Use the global command or `npx` depending on your installation method.\n\n### Options\n\n- `--skip-dirs \u003cdirs\u003e`: Comma-separated list of directories to skip during processing.  \n  **Default**: `models,partials`  \n  **Example**: `--skip-dirs models,tests` skips the `models` and `tests` directories.\n\n- `--replace-file-name-segments \u003csegments\u003e`: Comma-separated list of file name segments to replace with a hyphenated version (e.g., `.service` becomes `-service` in the `services` folder).  \n  **Default**: `services,directives`  \n  **Example**: `--replace-file-name-segments services,pipes` replaces `.service` with `-service` in the `services` folder.\n\n- `--remove-file-name-segments \u003csegments\u003e`: Comma-separated list of file name segments to remove (e.g., `.model` is removed from file names in the `models` folder).  \n  **Default**: `models`  \n  **Example**: `--remove-file-name-segments models,utils` removes `.model` from file names in the `models` folder.\n\n- `--replace-import-segments \u003csegments\u003e`: Comma-separated list of import segments to replace (e.g., `.service` becomes `-service` in import statements).  \n  **Default**: `.service`  \n  **Example**: `--replace-import-segments .service` replaces `.service` with `-service` in imports.\n\n- `--remove-import-segments \u003csegments\u003e`: Comma-separated list of import segments to remove from import statements.  \n  **Default**: `.component,.directive,.model`  \n  **Example**: `--remove-import-segments .component,.directive` removes these segments from imports.\n\n### Example\n\nRun the tool on a specific Angular project folder with custom options:\n\n```bash\n# Global installation\nangular-v20-file-refactor D:\\\\Estee\\\\Programming\\\\My-Projects\\\\angular-app\\\\src\\\\app --skip-dirs models,tests --replace-file-name-segments services,pipes --remove-file-name-segments models,utils\n\n# Local installation with default options\nnpx angular-v20-file-refactor D:\\\\Estee\\\\Programming\\\\My-Projects\\\\angular-app\\\\src\\\\app --skip-dirs models,partials --replace-file-name-segments services,directives --remove-file-name-segments models --replace-import-segments .service --remove-import-segments .component,.directive,.model\n\n# Local installation with custom options\nnpx angular-v20-file-refactor D:\\\\Estee\\\\Programming\\\\My-Projects\\\\angular-app\\\\src\\\\app --skip-dirs models,tests --replace-file-name-segments services,pipes --remove-file-name-segments models,utils\n\n# Using package.json script\nnpm run refactor -- D:\\\\Estee\\\\Programming\\\\My-Projects\\\\angular-app\\\\src\\\\app --skip-dirs models,tests --replace-file-name-segments services,pipes --remove-file-name-segments models,utils\n```\n\n## Compatibility\n\nThis tool has been tested on Windows and works reliably. A Linux binary is included but hasn’t been fully tested yet. I’d love to hear how it performs on Linux or macOS! Please share your experience or report issues at [github.com/esthersoftwaredev/angular-v20-file-refactor/issues](github.com/esthersoftwaredev/angular-v20-file-refactor/issues).\n\n## License\n\nMIT License. See [LICENSE](./LICENSE) for details.\n\n## Author\n\nEsther White [esthersoftwaredev](https://github.com/esthersoftwaredev)\n\n## Repository\n\n[github.com/esthersoftwaredev/angular-v20-file-refactor](https://github.com/esthersoftwaredev/angular-v20-file-refactor)\n\n## Issues\n\nReport bugs or suggest improvements at [github.com/esthersoftwaredev/angular-v20-file-refactor/issues](https://github.com/esthersoftwaredev/angular-v20-file-refactor/issues).\n\n## Security Measures\n\nThis package includes several security features to protect users:\n- **SHA-256 Verification**: Each binary comes with a `.sha256` file containing a unique fingerprint that verifies the file hasn't been tampered with during download.\n- **GPG Signatures**: All binaries include `.asc` signature files that prove the software was created by the package author and not modified by third parties.\n- **Automated Builds**: All binaries are built using GitHub Actions automated workflows, ensuring consistent and reproducible builds without manual intervention.\n\nRead more at [keys/README.md](keys/README.md)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festhersoftwaredev%2Fangular-v20-file-refactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festhersoftwaredev%2Fangular-v20-file-refactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festhersoftwaredev%2Fangular-v20-file-refactor/lists"}