Proper way of keeping your project up to date

I am working with the new Ionic 6 framework and love it (we’ve been creating multiple apps in the past with the framework)
I started with a clean ionic 6 project, but capacitor packages were “locked” added to the package.json.
I started a project with @ionic/angular: ^6.0.3 for example. But when you are on this version using the command
ionic capacitor add ios throws a dependency error. (capacitor core was at 3.3.3. (No ^ selector)
This “breaks” builds, I hardcoded the value upwards now to the new release and this works.
Is there something that I shouldve used, or is there a command to get the latest “release” version from the github? (without using the init ofc)

Kind regards,