Skip to content

Commit 9eb39cb

Browse files
committed
Release 2.0.0-alpha.0
1 parent 6733a6a commit 9eb39cb

File tree

9 files changed

+21
-10
lines changed

9 files changed

+21
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
run: opam install . --deps-only
5757

5858
- name: Build and test the project
59-
run: ./fake test
59+
run: bash fake test
6060

6161
auto-merge:
6262
name: Auto-Merge PRs by Dependabot

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
- name: Install OCaml Dependencies
4949
run: opam install . --deps-only
5050

51-
- name: Build the project
52-
run: ./fake
51+
- name: Build & test & publish the project
52+
run: bash fake all
5353

5454
- name: Push js_of_ocaml standard library to jsoo-stdlib
5555
if: success()

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

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+
920
## [1.4.6] - 2023-07-13
1021
- Fix a bug which generated unnecessarily duplicated option type (#315).
1122

build/BindingUpdater.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ let typescript () =
3131
|> File.writeString false dest
3232

3333
let run () =
34-
typescript ()
34+
typescript ()

dist_jsoo/dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(lang dune 3.0)
22
(name ts2ocaml-jsoo-stdlib)
3-
(version 1.4.6)
3+
(version 2.0.0-alpha.0)
44

55
(maintainers "[email protected]")
66
(authors

dist_jsoo/ts2ocaml-jsoo-stdlib.opam

Lines changed: 1 addition & 1 deletion
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.6"
3+
version: "2.0.0-alpha.0"
44
synopsis:
55
"Standard library for ts2ocaml generated bindings (js_of_ocaml target)"
66
description:

fake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ set -o pipefail
66
echo "Restoring dotnet tools..."
77
dotnet tool restore
88

9-
if [ -z "$@"]; then
9+
if [ -z "$@" ]; then
1010
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj
1111
else
1212
FAKE_DETAILED_ERRORS=true dotnet run --project ./build/build.fsproj -- -t "$@"
13-
fi
13+
fi

fake.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
echo Restoring dotnet tools...
22
dotnet tool restore
33

4-
dotnet run --project ./build/build.fsproj -- -t %*
4+
dotnet run --project ./build/build.fsproj -- -t %*

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.6",
3+
"version": "2.0.0-alpha.0",
44
"description": "Generate OCaml bindings from TypeScript definitions via the TypeScript compiler API",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)