8. Upgrade Entrypoints

Upgrade Entrypoints

The "Upgrade entrypoints" patch migrates your application entrypoints to use the new ones needed for running AdonisJS v6.

npx @adonisjs/upgrade-kit@latest upgrade-entrypoints
  • We will add 3 new entrypoints files, bin/console.ts, bin/test.ts and bin/server.ts. You can find the source code for these files in the web-starter-kit repository.
  • We remove the old entrypoint files, server.ts and test.ts.
  • We also remove some of old files which are no longer required : ace, ace-manifest.json and commands/index.ts.
  • We add a new ace.js file. Code for this file can be found here.