[rcr] Publish react-compiler-runtime to npm (#31146)
Updates our publishing scripts to also publish react-compiler-runtime.
lauren committed
Oct 7, 2024 at 18:50 UTC
f74f6cd945675158eb40402041305e7af4ce731c
2 files changed
+6
compiler/packages/react-compiler-runtime/README.md
new
+5
@@ -0,0 +1,5 @@
1
+# react-compiler-runtime
2
+
3
+Backwards compatible shim for runtime APIs used by React Compiler. Primarily meant for React versions prior to 19, but it will also work on > 19.
4
+
5
+See also https://github.com/reactwg/react-compiler/discussions/6.
compiler/scripts/release/shared/packages.js
+1
@@ -2,6 +2,7 @@ const PUBLISHABLE_PACKAGES = [
2
'babel-plugin-react-compiler',
3
'eslint-plugin-react-compiler',
4
'react-compiler-healthcheck',
5
+ 'react-compiler-runtime',
6
];
7
8
module.exports = {