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.ts
andbin/server.ts
. You can find the source code for these files in theweb-starter-kit
repository. - We remove the old entrypoint files,
server.ts
andtest.ts
. - We also remove some of old files which are no longer required :
ace
,ace-manifest.json
andcommands/index.ts
. - We add a new
ace.js
file. Code for this file can be found here.