{"id":19528897,"url":"https://github.com/adonisjs/upgrade-kit","last_synced_at":"2026-03-12T18:49:45.274Z","repository":{"id":218962959,"uuid":"661322880","full_name":"adonisjs/upgrade-kit","owner":"adonisjs","description":"CLI tool for migrating from Adonis.js 5 to Adonis.js 6","archived":false,"fork":false,"pushed_at":"2024-09-14T10:36:46.000Z","size":921,"stargazers_count":6,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"1.x","last_synced_at":"2025-06-14T11:02:51.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/adonisjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE.md","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},"funding":{"github":"thetutlage"}},"created_at":"2023-07-02T13:41:19.000Z","updated_at":"2025-04-04T03:46:06.000Z","dependencies_parsed_at":"2024-02-20T11:29:58.255Z","dependency_job_id":"20cb13a6-5b7d-481c-96eb-d5c9eb67ed06","html_url":"https://github.com/adonisjs/upgrade-kit","commit_stats":null,"previous_names":["adonisjs/upgrade-kit"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/adonisjs/upgrade-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fupgrade-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fupgrade-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fupgrade-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fupgrade-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adonisjs","download_url":"https://codeload.github.com/adonisjs/upgrade-kit/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fupgrade-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30438557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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":[],"created_at":"2024-11-11T01:20:38.749Z","updated_at":"2026-03-12T18:49:45.259Z","avatar_url":"https://github.com/adonisjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/thetutlage"],"categories":[],"sub_categories":[],"readme":"# Adonis.js upgrade kit\n\u003e CLI tool to upgrade Adonis.js v5 projects to v6\n\n[![github-actions-image]][github-actions-url] [![npm-image]][npm-url] [![license-image]][license-url] [![typescript-image]][typescript-url]\n\n![](./assets/upgrade-kit.png)\n\n`adonis-upgrade-kit` is a CLI tool to upgrade Adonis.js v5 projects to v6. It probably won't cover all the work and you'll still have some manual actions to do, but at least a lot of the boring work will be done by this tool.\n\nType `adonis-upgrade-kit` to see all the available commands. Also check the [Adonis.js v6 upgrade guide](https://github.com/adonisjs/v5_to_v6_upgrade_guide/tree/main) for more informations about the different commands and the manual actions to do.\n\n## Installation\n\n```bash\nnpm i -g @adonisjs/upgrade-kit\nadonis-upgrade-kit upgrade-packages --path ../path/to/your/project \n```\n\n## Flags\n\n| Flag | Description |\n|---|---|\n| `-p, --path` | Path to the project to upgrade. Defaults to the current directory. |\n\n## Order of commands\n\nThe commands should ideally be run in the following order:\n\n```sh\n# Upgrade the packages\n1. adonis-upgrade-kit upgrade-packages\n\n# Move to ESM by updating tsconfig.json and package.json\n2. adonis-upgrade-kit upgrade-module-system\n\n# Upgrade Eslint and prettier setup\n3. adonis-upgrade-kit upgrade-eslint-prettier\n\n# Move the the new Env API\n7. adonis-upgrade-kit upgrade-env-config\n\n# Move from the old aliases to Node.js subpaths imports\n4. adonis-upgrade-kit upgrade-aliases\n\n# Move from the old IoC container to the new one\n5. adonis-upgrade-kit migrate-ioc-imports\n\n# Fix relative imports and add .js extensions ( needed for ESM )\n6. adonis-upgrade-kit fix-relative-imports\n\n# Add new entrypoints needed for Adonis.js v6\n8. adonis-upgrade-kit upgrade-entrypoints\n\n# Update config/*.ts files to use their new APIs\n9. adonis-upgrade-kit upgrade-config-files\n\n# Update the command `options` property to use the new API\n10. adonis-upgrade-kit upgrade-command-options\n\n# Move from .adonisrc.json to adonisrc.ts\n11. adonis-upgrade-kit upgrade-rcfile\n```\n\n[github-actions-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/upgrade-kit/test.yml?style=for-the-badge \"github-actions\"\n\n[github-actions-url]: https://github.com/adonisjs/upgrade-kit/actions/workflows/test.yml\n\n[npm-image]: https://img.shields.io/npm/v/@adonisjs/upgrade-kit.svg?style=for-the-badge\u0026logo=npm\n[npm-url]: https://npmjs.org/package/@adonisjs/upgrade-kit \"npm\"\n\n[license-image]: https://img.shields.io/npm/l/@adonisjs/upgrade-kit?color=blueviolet\u0026style=for-the-badge\n[license-url]: LICENSE.md \"license\"\n\n[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge\u0026logo=typescript\n[typescript-url]:  \"typescript\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fupgrade-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadonisjs%2Fupgrade-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fupgrade-kit/lists"}