vue-storefront icon indicating copy to clipboard operation
vue-storefront copied to clipboard

Update Composition API packages

Open sync-by-unito[bot] opened this issue 4 years ago • 1 comments
trafficstars

Currently, @vue/composition-api and @nuxtjs/composition-api packages are added as a dependency or peer dependency in few packages, making it harder for us to update them.

Additionally, we use the old beta version, which is a risky thing to use in production.

Finally, every time we update them, we must ensure that we require the same version of @vue/composition-api as @nuxtjs/composition-api requires. Otherwise, it throws a bunch of errors.

I propose that we:

  • remove @vue/composition-api from dependencies and peer dependencies of all packages, since it's already a dependency of @nuxtjs/composition-api;
  • update @nuxtjs/composition-api to the latest version;
  • add the following to all packages that depend on the CompositionAPI:
{
  "peerDependencies": {
    "@vue/composition-api": "*"
  }
}

sync-by-unito[bot] avatar Sep 03 '21 13:09 sync-by-unito[bot]

Any updates regarding this issue?

RWave88 avatar Sep 10 '21 14:09 RWave88

Issue is closed. Reason: Too Old (>6 months)


Sergii Kirianov

Developer Advocate

Vue Storefront

skirianov avatar Jan 18 '23 10:01 skirianov