facebook / fbt

A JavaScript Internationalization Framework
https://facebook.github.io/fbt
MIT License
3.88k stars 178 forks source link

New release? #395

Closed TJ09 closed 4 months ago

TJ09 commented 1 year ago

💬 Questions and Help

372 was resolved back in September, but it is still not easily possible to use FBT with React 18 since there has not been a new release since v1.0.0 last April. I'm not sure what the state of the main branch is, but a new point release would be nice.

Alternatively I'm willing to backport #374 to the v1.0.0 branch to enable a v1.0.1.

richardDobron commented 1 year ago

You can now specify an overrides property in your package.json to override and enforce nested dependency versions.

{
  "dependencies": {
    // ...
    "fbt": "^1.0.0",
    "react": "^18.2.0"
    // ...
-  }
+  },
+  "overrides": {
+    "fbt@^1.0.0": {
+      "react": "^18.2.0"
+    }
+  }
}
voideanvalue commented 4 months ago

Closing as I published v1.0.2 to npm today: https://www.npmjs.com/package/fbt