sopranopillow / fluentui-nextjs-appdir-plugin

Plugin for Fluent UI to work correctly with NextJS app router. This plugin essentially adds the "use client" directive to all Fluent UI files.
https://www.npmjs.com/package/fluentui-next-appdir-directive
11 stars 2 forks source link

Version in readme wrong? #3

Closed jitsatya closed 4 months ago

jitsatya commented 4 months ago

Version compat in readme says For versions < 14.1.2 please use 1.0.5 otherwise there wil be issues with the swc_core version causing rust to panic. when I do npm install fluentui-next-appdir-directive@1.0.5 It gives error npm error notarget No matching version found for fluentui-next-appdir-directive@1.0.5.

Is the version in readme wrong? how do I install a version that is compatible for "next": "^14.0.2"

jitsatya commented 4 months ago

Seems like the version is "fluentui-next-appdir-directive": "^0.1.5" for < 14.1.2, Please update it in readme @sopranopillow

sopranopillow commented 4 months ago

will do, thanks for the issue!

sopranopillow commented 4 months ago

@jitsatya, updated version!

### Version compat
- For versions `< 14.1.2` please use 0.1.5 otherwise there wil be issues with the swc_core version causing rust to panic.
- For version `>= 14.1.2` please use 0.1.7 for the same reason as above, 0.1.7 introduced version `0.90.*` of swc_core which makes it compatible with the versions used in `<= 14.1.2`.