@tellahq/rescript 10.1.0-alpha.1 → 10.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/darwin/bsc.exe +0 -0
- package/darwinarm64/bsc.exe +0 -0
- package/lib/4.06.1/whole_compiler.ml +10 -1
- package/linux/bsc.exe +0 -0
- package/package.json +1 -1
- package/win32/bsb_helper.exe +0 -0
- package/win32/bsc.exe +0 -0
- package/win32/rescript.exe +0 -0
package/darwin/bsc.exe
CHANGED
|
Binary file
|
package/darwinarm64/bsc.exe
CHANGED
|
Binary file
|
|
@@ -178463,6 +178463,8 @@ val jsx_module: jsx_module ref
|
|
|
178463
178463
|
|
|
178464
178464
|
val jsx_mode: jsx_mode ref
|
|
178465
178465
|
|
|
178466
|
+
val refmt : string option ref
|
|
178467
|
+
|
|
178466
178468
|
val js_stdout : bool ref
|
|
178467
178469
|
|
|
178468
178470
|
val all_module_aliases : bool ref
|
|
@@ -178551,6 +178553,7 @@ let force_cmj = ref false
|
|
|
178551
178553
|
let jsx_version = ref None
|
|
178552
178554
|
let jsx_module = ref React
|
|
178553
178555
|
let jsx_mode = ref Classic
|
|
178556
|
+
let refmt = ref None
|
|
178554
178557
|
let js_stdout = ref true
|
|
178555
178558
|
let all_module_aliases = ref false
|
|
178556
178559
|
let no_stdlib = ref false
|
|
@@ -178587,6 +178590,7 @@ let customize_runtime : string option ref = ref None
|
|
|
178587
178590
|
let as_pp = ref false
|
|
178588
178591
|
let self_stack : string Stack.t = Stack.create ()
|
|
178589
178592
|
let modules = ref false
|
|
178593
|
+
|
|
178590
178594
|
end
|
|
178591
178595
|
module Ast_config : sig
|
|
178592
178596
|
#1 "ast_config.mli"
|
|
@@ -178996,7 +179000,9 @@ let pp (sourcefile : string) =
|
|
|
178996
179000
|
let tmpfile = Filename.temp_file "bspp" "" in
|
|
178997
179001
|
let pp =
|
|
178998
179002
|
(*TODO: check to avoid double quoting *)
|
|
178999
|
-
|
|
179003
|
+
match !Js_config.refmt with
|
|
179004
|
+
| None -> Filename.concat (Filename.dirname Sys.executable_name) "refmt.exe"
|
|
179005
|
+
| Some x -> x
|
|
179000
179006
|
in
|
|
179001
179007
|
let comm =
|
|
179002
179008
|
if Sys.win32 then cmd_windows_quote pp sourcefile tmpfile
|
|
@@ -306205,6 +306211,9 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array =
|
|
|
306205
306211
|
"-bs-ml-out", unit_call (fun _ -> Config.syntax_kind := `ml),
|
|
306206
306212
|
"*internal* Print compiler output in ML syntax";
|
|
306207
306213
|
|
|
306214
|
+
"-bs-refmt", string_optional_set Js_config.refmt,
|
|
306215
|
+
"*internal* set customized refmt path";
|
|
306216
|
+
|
|
306208
306217
|
"-bs-D", string_call define_variable,
|
|
306209
306218
|
"Define conditional variable e.g, -D DEBUG=true";
|
|
306210
306219
|
|
package/linux/bsc.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/win32/bsb_helper.exe
CHANGED
|
Binary file
|
package/win32/bsc.exe
CHANGED
|
Binary file
|
package/win32/rescript.exe
CHANGED
|
Binary file
|