You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esy.json is mainly for installation inside NPM, to tie the OCaml version to the OCaml BuckleScript version (4.06), so that the ASTs are compatible. For standalone esy usage, we should undo this.
There are three main ways:
Detect that we are running inside NPM, as opposed to being installed directly for another esy package, and run a configure script to determine the BuckleScript version and the corresponding OCaml version. I don't think this can work, because BuckleScript is a peer dependency, and NPM installs it after Bisect_ppx. It is fragile anyway.
esy.json
is mainly for installation inside NPM, to tie the OCaml version to the OCaml BuckleScript version (4.06), so that the ASTs are compatible. For standalone esy usage, we should undo this.There are three main ways:
Detect that we are running inside NPM, as opposed to being installed directly for another esy package, and run a configure script to determine the BuckleScript version and the corresponding OCaml version. I don't think this can work, because BuckleScript is a peer dependency, and NPM installs it after Bisect_ppx. It is fragile anyway.Distribute prebuilt binaries, and select the right one dynamically.esy.json
.The text was updated successfully, but these errors were encountered: