Ionic cli and ionic ionic/angular

I hope you doing well,

Actually, I’m working on migrating an old ionic 3 project to 5,
so I chose to migrate from 3 to 4 then from 4 to 5,
I installed ionic cli version 4 but when I created the project and went to package.json
I found this line :
"@ionic/angular": "^5.0.0",

Does this mean that my project is in ionic 5 ?
because the version of the cli in my machine is 4


The CLI version can be different from the framework as mentioned in package.json