Skip to content

Commit

Permalink
[new release] reason-react and reason-react-ppx (0.12.0)
Browse files Browse the repository at this point in the history
CHANGES:

* Migrate the reason-react PPX and library to the [new React JSX
transform](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)
  (@anmonteiro in [reasonml/reason-react#714](reasonml/reason-react#714))
* Add `suppressHydrationWarning` to supported props (@davesnx in
[reasonml/reason-react#721](reasonml/reason-react#721))
* Rename `reactjs-jsx-ppx` to `reason-react-ppx` ([@davesnx in reasonml/reason-react#732](reasonml/reason-react#732))
* Fix locations for lower and uppercase components so that merlin / editor
  integration can get type defs on hover ([@jchavarri in reasonml/reason-react#748](reasonml/reason-react#748))
* Refine types for `key` attributes ([@anmonteiro in reasonml/reason-react#750](reasonml/reason-react#750))
* Bump React depext to v17-18 reasonml/reason-react#777 ([@jchavarri in reasonml/reason-react#777](https://github.com/reasonml/reason-react/pull/777/files))
* Make optional props optional properly
 ([@davesnx in reasonml/reason-react#776](reasonml/reason-react@0a98c07))
  • Loading branch information
davesnx committed Sep 13, 2023
1 parent a35c84f commit bdcf1ce
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 0 deletions.
47 changes: 47 additions & 0 deletions packages/reason-react-ppx/reason-react-ppx.0.12.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
opam-version: "2.0"
synopsis: "React.js JSX PPX"
description: "ReasonReact JSX PPX"
maintainer: [
"David Sancho <dsnxmoreno@gmail.com>"
"Antonio Monteiro <anmonteiro@gmail.com>"
]
authors: [
"Cheng Lou <chenglou92@gmail.com>" "Ricky Vetter <rickywvetter@gmail.com>"
]
license: "MIT"
homepage: "https://reasonml.github.io/reason-react"
doc: "https://reasonml.github.io/reason-react"
bug-reports: "https://github.com/reasonml/reason-react/issues"
depends: [
"dune" {>= "3.8"}
"ocaml" {>= "4.13.0"}
"reason" {>= "3.6.0" & < "3.10.0"}
"ppxlib" {>= "0.28.0"}
"merlin" {with-test}
"ocamlformat" {= "0.24.0" & with-dev-setup}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/reasonml/reason-react.git"
url {
src:
"https://github.com/reasonml/reason-react/releases/download/0.12.0/reason-react-0.12.0.tbz"
checksum: [
"sha256=8e2d62ea3d42896ef23928131cd70cd37870632a87481554269a7d0635da59b1"
"sha512=879f015ef57ef88d6cbc09b09e82b3f23a9ab1e481f34ba4987dec2a6a46ed903c48b69f7e2875ef24cde6bd873e3d8022b9018ec42004240572c61bc39e1921"
]
}
x-commit-hash: "d799f423342ffbfd609cedb027766814efd1e041"
57 changes: 57 additions & 0 deletions packages/reason-react/reason-react.0.12.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
opam-version: "2.0"
synopsis: "Reason bindings for React.js"
description: """
ReasonReact helps you use Reason to build React components with deeply integrated, strong, static type safety.

It is designed and built by people using Reason and React in large, mission critical production React codebases."""
maintainer: [
"David Sancho <dsnxmoreno@gmail.com>"
"Antonio Monteiro <anmonteiro@gmail.com>"
]
authors: [
"Cheng Lou <chenglou92@gmail.com>" "Ricky Vetter <rickywvetter@gmail.com>"
]
license: "MIT"
homepage: "https://reasonml.github.io/reason-react"
doc: "https://reasonml.github.io/reason-react"
bug-reports: "https://github.com/reasonml/reason-react/issues"
depends: [
"dune" {>= "3.8"}
"ocaml" {>= "4.13.0"}
"melange" {>= "1.0.0"}
"reason-react-ppx"
"reason" {>= "3.6.0" & < "3.10.0"}
"ocaml-lsp-server" {with-test}
"merlin" {= "4.10-414" & with-test}
"opam-check-npm-deps" {= "1.0.0" & with-dev-setup}
"ocamlformat" {= "0.24.0" & with-dev-setup}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/reasonml/reason-react.git"
depexts: [
["react"] {npm-version = "^17.0.0 || ^18.0.0"}
["react-dom"] {npm-version = "^17.0.0 || ^18.0.0"}
]
url {
src:
"https://github.com/reasonml/reason-react/releases/download/0.12.0/reason-react-0.12.0.tbz"
checksum: [
"sha256=8e2d62ea3d42896ef23928131cd70cd37870632a87481554269a7d0635da59b1"
"sha512=879f015ef57ef88d6cbc09b09e82b3f23a9ab1e481f34ba4987dec2a6a46ed903c48b69f7e2875ef24cde6bd873e3d8022b9018ec42004240572c61bc39e1921"
]
}
x-commit-hash: "d799f423342ffbfd609cedb027766814efd1e041"

0 comments on commit bdcf1ce

Please sign in to comment.