Skip to content

Commit 01055d9

Browse files
committed
Upgrade to jsoo 4 and dune 3
1 parent a942da8 commit 01055d9

File tree

8 files changed

+13
-14
lines changed

8 files changed

+13
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.4.0-beta.6]
8+
- Upgrade js\_of\_ocaml to 4.0 and dune to 3.0.
9+
710
## [1.4.0-beta.5]
811
- Changed the representation of untagged union types and intersection types to make it easier to use.
912
- `('a, 'b) and_` and `('a, 'b) or_` types are removed in this change.

dist_jsoo/dune-project

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
(lang dune 2.7)
1+
(lang dune 3.0)
22
(name ts2ocaml-jsoo-stdlib)
3-
(version 1.4.0-beta.5)
3+
(version 1.4.0-beta.6)
44

55
(maintainers "[email protected]")
66
(authors
@@ -18,4 +18,4 @@
1818
(description "You can choose not to use this standard library. See the documents in the repository.")
1919
(depends
2020
(ocaml (>= 4.08))
21-
(ojs (>= 1.1.0))))
21+
(ojs (>= 1.1.0))))

dist_jsoo/src/dune

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
(public_name ts2ocaml-jsoo-stdlib)
44
(libraries ojs)
55
(wrapped false)
6-
(modes byte)
7-
(js_of_ocaml
8-
(flags --pretty --enable deadcode --enable strict --enable inline)))
6+
(modes byte))

dist_jsoo/ts2ocaml-jsoo-stdlib.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "1.4.0-beta.5"
3+
version: "1.4.0-beta.6"
44
synopsis:
55
"Standard library for ts2ocaml generated bindings (js_of_ocaml target)"
66
description:
@@ -11,7 +11,7 @@ license: "Apache-2.0"
1111
homepage: "https://github.com/ocsigen/ts2ocaml"
1212
bug-reports: "https://github.com/ocsigen/ts2ocaml/issues"
1313
depends: [
14-
"dune" {>= "2.7"}
14+
"dune" {>= "3.0"}
1515
"ocaml" {>= "4.08"}
1616
"ojs" {>= "1.1.0"}
1717
"odoc" {with-doc}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ocsigen/ts2ocaml",
3-
"version": "1.4.0-beta.5",
3+
"version": "1.4.0-beta.6",
44
"description": "Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API",
55
"repository": {
66
"type": "git",

test/jsoo/dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(lang dune 2.9)
1+
(lang dune 3.0)

test/jsoo/src/dune

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
(executable
22
(name main)
33
(libraries gen_js_api)
4-
(link_flags -no-check-prims)
54
(preprocess (pps gen_js_api.ppx))
65
(modes js)
76
(js_of_ocaml
8-
(flags --pretty --enable deadcode --enable strict --enable inline)
97
(javascript_files stub.js))
108
)
119

ts2ocaml.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ homepage: "https://github.com/ocsigen/ts2ocaml"
88
doc: "https://github.com/ocsigen/ts2ocaml"
99
bug-reports: "https://github.com/ocsigen/ts2ocaml/issues"
1010
depends: [
11-
"dune" {>= "2.9"}
11+
"dune" {>= "3.0"}
1212
"ocaml" {>= "4.08"}
1313
"gen_js_api" {>= "1.1.0"}
14-
"js_of_ocaml-compiler"
14+
"js_of_ocaml-compiler" {>= "4.0.0"}
1515
]
1616
dev-repo: "git+https://github.com/ocsigen/ts2ocaml.git"

0 commit comments

Comments
 (0)