Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <sora@morimoto.io>
  • Loading branch information
smorimoto committed Jul 9, 2024
1 parent f32c195 commit 29f4b96
Showing 6 changed files with 184 additions and 1,792 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -17,7 +17,12 @@ bindings: pretty-bytes
.PHONY: build
build:
dune build @all --profile=release
tsup
esbuild _build/default/bin/main.bc.js \
--bundle \
--minify \
--outfile=dist/index.js \
--platform=node \
--analyze

.PHONY: fmt
fmt:
10 changes: 5 additions & 5 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 3.14)
(lang dune 3.16)

(name example)

@@ -9,7 +9,7 @@
(maintainers "dev@ocsigen.org")

(source
(github ocsigen/ts2ocaml))
(github ocsigen/ts2ocaml-example))

(generate_opam_files true)

@@ -22,8 +22,8 @@
ojs
gen_js_api
js_of_ocaml-compiler
(ocaml-lsp-server :with-dev-setup)
(ocamlformat
(and
(= 0.26.1)
:with-dev-setup))
(ocaml-lsp-server :with-dev-setup)))
:with-dev-setup
(= 0.26.1)))))
10 changes: 5 additions & 5 deletions example.opam
Original file line number Diff line number Diff line change
@@ -5,16 +5,16 @@ description: "Example use of ts2ocaml"
maintainer: ["dev@ocsigen.org"]
authors: ["The ocsigen team"]
license: "ISC"
homepage: "https://github.com/ocsigen/ts2ocaml"
bug-reports: "https://github.com/ocsigen/ts2ocaml/issues"
homepage: "https://github.com/ocsigen/ts2ocaml-example"
bug-reports: "https://github.com/ocsigen/ts2ocaml-example/issues"
depends: [
"dune" {>= "3.14"}
"dune" {>= "3.16"}
"ts2ocaml-jsoo-stdlib"
"ojs"
"gen_js_api"
"js_of_ocaml-compiler"
"ocamlformat" {= "0.26.1" & with-dev-setup}
"ocaml-lsp-server" {with-dev-setup}
"ocamlformat" {with-dev-setup & = "0.26.1"}
"odoc" {with-doc}
]
build: [
@@ -31,7 +31,7 @@ build: [
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ocsigen/ts2ocaml.git"
dev-repo: "git+https://github.com/ocsigen/ts2ocaml-example.git"
pin-depends: [
[ "ts2ocaml-jsoo-stdlib.dev" "git+https://github.com/ocsigen/ts2ocaml.git#jsoo-stdlib-v2.0.0-beta.3" ]
]
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "example",
"name": "@ocsigen/ts2ocaml-example",
"private": true,
"license": "ISC",
"sideEffects": false,
@@ -9,7 +9,7 @@
},
"devDependencies": {
"@ocsigen/ts2ocaml": "2.0.0-beta.3",
"tsup": "8.1.0"
"esbuild": "0.23.0"
},
"packageManager": "yarn@4.2.2"
"packageManager": "yarn@4.3.1"
}
12 changes: 0 additions & 12 deletions tsup.config.ts

This file was deleted.

Loading

0 comments on commit 29f4b96

Please sign in to comment.