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
pnpm dlx @adonisjs/upgrade-kit@latest upgrade-entrypoints
- We will add 3 new entrypoints files,
bin/console.ts,bin/test.tsandbin/server.ts. You can find the source code for these files in theweb-starter-kitrepository. - We remove the old entrypoint files,
server.tsandtest.ts. - We also remove some of old files which are no longer required :
ace,ace-manifest.jsonandcommands/index.ts. - We add a new
ace.jsfile. Code for this file can be found here.