oscartbeaumont / vite-plugin-relay

A vite plugin for Relay
MIT License
81 stars 14 forks source link

Upgrade babel-plugin-relay to v15 #477

Closed michaelmcneilnet closed 10 months ago

michaelmcneilnet commented 1 year ago

babel-plugin-relay v15 is available, but this library depends on v14.

ABC@workspace:. provides babel-plugin-relay@npm:15.0.0 with version 15.0.0, which doesn't satisfy the following requirements:
➤ YN0000: vite-plugin-relay@npm:2.0.0 [f5404] → ^14.1.0 ✘

Is it possible to upgrade this plugin to use v15? Is there another way to remove this warning from yarn?

artola commented 11 months ago

and 16 ?

would not be better in peerDependencies to define ^14.1.0 || ^15 || ^16?

artola commented 11 months ago

@oscartbeaumont do you accept a PR for such change?

oscartbeaumont commented 11 months ago

Go for it. I have been meaning to do another Vite Plugin Relay release. Will hopefully do it in the next couple of weeks.

artola commented 11 months ago

Go for it. I have been meaning to do another Vite Plugin Relay release. Will hopefully do it in the next couple of weeks.

The change was already done (6-months ago by @koistya) but he package never released since then:

https://github.com/artola/vite-plugin-relay/commit/bcdac052686d3a30eda07be6a55bf16aaaefe3a9

As soon as you release a package, the problem is gone. Looking forward the NPM release.

zeroliu commented 10 months ago

Hello! I'm glad to see this problem will be solved soon. Is there a timeline for the next release? Thanks for the support!

tobias-tengler commented 10 months ago

I forgot that I'm also a maintainer on this repository 🙈 I just triggered v2.1.0 which includes the requested change.

FYI @oscartbeaumont: I had to merge #496 & #497 in order to be able to trigger a release.