Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Commit 91c9eca

Browse files
committed
Release 0.19.0
- Add support for nested modules: translation of nested types and values, as well as cross references. - [Remove deprecated way of wrapping JS components](9c38882). - [Use strict imports for wrapping JS values and components](81c6a7f). - [Generate opaque types corresponding to an existing Flow/TS type](#63).
1 parent 2a8744c commit 91c9eca

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed

Changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# master
1+
# 0.19.0
22
- Add support for nested modules: translation of nested types and values, as well as cross references.
33
- [Remove deprecated way of wrapping JS components](https://github.com/cristianoc/genType/commit/9c388826c43eb9507b07fd95a05eed3ce619297d).
44
- [Use strict imports for wrapping JS values and components](https://github.com/cristianoc/genType/commit/81c6a7f062c87c141b734dd1bb338faf1afc8f5a).

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reason genType 0.18.0
1+
# Reason genType 0.19.0
22

33
> **Disclosure:** This project used to be called `genFlow` but has been renamed to `genType`. To migrate from an earlier version, use `@genType` annotations, change the path to use `gentype.native`, and move the config inside `bsconfig.json`.
44
@@ -28,10 +28,10 @@ Wrappers for using ReasonReact components from JavaScript are generated when the
2828
# Will download and automatically untar the file in the current directory as gentype.native
2929
3030
# MacOS
31-
curl -L https://github.com/cristianoc/genType/releases/download/v0.18.0/gentype-macos.tar.gz | tar xz
31+
curl -L https://github.com/cristianoc/genType/releases/download/v0.19.0/gentype-macos.tar.gz | tar xz
3232
3333
# Linux
34-
curl -L https://github.com/cristianoc/genType/releases/download/v0.18.0/gentype-linux.tar.gz | tar xz
34+
curl -L https://github.com/cristianoc/genType/releases/download/v0.19.0/gentype-linux.tar.gz | tar xz
3535
```
3636

3737
# Quick Start: Set up genType in existing TypeScript / Flow / BuckleScript project
@@ -138,8 +138,6 @@ If a Reason type contains a type variable, the corresponding value is not conver
138138

139139
* **BuckleScript in-source = true**. Currently only supports bucklescript projects with [in-source generation](https://bucklescript.github.io/docs/en/build-configuration#package-specs) and `.bs.js` file suffix.
140140

141-
* **No nested modules**. Nested modules are not supported, and annotations will be ignored.
142-
143141
* **Limited JS wrappers**. There used to be a limited way to type check existing wrappers for JS components. This is now deprecated. A complete solution, which generates wrappers automatically for components as well as arbitrary values, is under development. For an early example, see [MyBannerWrapper.re](examples/typescript-react-example/src/MyBannerWrapper.re).
144142

145143
# Development

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gentype",
3-
"version": "0.18.0",
3+
"version": "0.19.0",
44
"description": "Use Reason values from Javascript: vanilla, or TypeScript/FlowType-annotated",
55
"license": "MIT",
66
"scripts": {

src/GenType.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
open GenTypeCommon;
66

7-
let version = "0.18.0";
7+
let version = "0.19.0";
88

99
let signFile = s => s;
1010

0 commit comments

Comments
 (0)