File tree Expand file tree Collapse file tree 9 files changed +21
-10
lines changed Expand file tree Collapse file tree 9 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 56
56
run : opam install . --deps-only
57
57
58
58
- name : Build and test the project
59
- run : ./ fake test
59
+ run : bash fake test
60
60
61
61
auto-merge :
62
62
name : Auto-Merge PRs by Dependabot
Original file line number Diff line number Diff line change 48
48
- name : Install OCaml Dependencies
49
49
run : opam install . --deps-only
50
50
51
- - name : Build the project
52
- run : ./ fake
51
+ - name : Build & test & publish the project
52
+ run : bash fake all
53
53
54
54
- name : Push js_of_ocaml standard library to jsoo-stdlib
55
55
if : success()
Original file line number Diff line number Diff line change @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 2.0.0-alpha.0]
10
+ - Upgrade TypeScript to v5.
11
+ - Added an explicit support of ambient modules.
12
+ - Topological sorting inside ambient modules now works as expected (#157 ).
13
+ - Perform various improvements over messages.
14
+ - Messages now come with color (warning: yellow, error: red).
15
+ - The error location is now shown with a code frame.
16
+ - Deprecate the ` --safe-arity ` option.
17
+ - Ts2ocaml now generates minimal arity-safe output by default.
18
+ - Perform massive internal refactoring.
19
+
9
20
## [ 1.4.6] - 2023-07-13
10
21
- Fix a bug which generated unnecessarily duplicated option type (#315 ).
11
22
Original file line number Diff line number Diff line change @@ -31,4 +31,4 @@ let typescript () =
31
31
|> File.writeString false dest
32
32
33
33
let run () =
34
- typescript ()
34
+ typescript ()
Original file line number Diff line number Diff line change 1
1
(lang dune 3 .0)
2
2
(name ts2ocaml-jsoo-stdlib)
3
- ( version 1 .4.6 )
3
+ ( version 2 .0.0-alpha.0 )
4
4
5
5
6
6
( authors
Original file line number Diff line number Diff line change 1
1
# This file is generated by dune, edit dune-project instead
2
2
opam-version: "2.0"
3
- version: "1.4.6 "
3
+ version: "2.0.0-alpha.0 "
4
4
synopsis:
5
5
"Standard library for ts2ocaml generated bindings (js_of_ocaml target)"
6
6
description:
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ set -o pipefail
6
6
echo " Restoring dotnet tools..."
7
7
dotnet tool restore
8
8
9
- if [ -z " $@ " ]; then
9
+ if [ -z " $@ " ]; then
10
10
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj
11
11
else
12
12
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj -- -t " $@ "
13
- fi
13
+ fi
Original file line number Diff line number Diff line change 1
1
echo Restoring dotnet tools...
2
2
dotnet tool restore
3
3
4
- dotnet run --project ./build/build.fsproj -- -t %*
4
+ dotnet run --project ./build/build.fsproj -- -t %*
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @ocsigen/ts2ocaml" ,
3
- "version" : " 1.4.6 " ,
3
+ "version" : " 2.0.0-alpha.0 " ,
4
4
"description" : " Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API" ,
5
5
"repository" : {
6
6
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments