Skip to content

bug: dependency to @ionic/core #26137

@TiBz0u

Description

@TiBz0u

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Hi,
We discover, due to the lot of fixes on the ion-datetime component (thanks by the way), that the @ionic/angular package depends on the @ionic/core version with a ^ (Compatible with version).

Due to this, even if we choose a specific version of the @ionic/angular, it will automatically download the last version of the @ionic/core package that contains all the components and thus the fix/new behavior.

Expected Behavior

@ionic/angular and @ionic/core use the same version or approximately equivalent version (~)

Steps to Reproduce

ionic start myApp tabs

Code Reproduction URL

No response

Ionic Info

Ionic:

Ionic CLI : 6.18.1 (/Users/mainsys/.nvm/versions/node/v12.22.6/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.3.1
@angular-devkit/build-angular : 14.2.6
@angular-devkit/schematics : 14.2.6
@angular/cli : 14.2.6
@ionic/angular-toolkit : 6.1.0

Capacitor:

Capacitor CLI : 4.3.0
@capacitor/android : not installed
@capacitor/core : 4.3.0
@capacitor/ios : not installed

Utility:

cordova-res (update available: 0.15.4) : 0.14.0
native-run : 1.7.1

System:

NodeJS : v12.22.6 (/Users/mainsys/.nvm/versions/node/v12.22.6/bin/node)
npm : 6.14.15
OS : macOS Catalina

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions