From 3f6234ad805644574abb303960e96467fdad2c0c Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 11:33:31 +0900 Subject: [PATCH 01/13] move minisocket.js --- cli/common/bsb.js | 2 +- {lib => cli/common}/minisocket.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib => cli/common}/minisocket.js (100%) diff --git a/cli/common/bsb.js b/cli/common/bsb.js index 8f229f1aa7..c52b9a648c 100644 --- a/cli/common/bsb.js +++ b/cli/common/bsb.js @@ -5,8 +5,8 @@ import * as fs from "node:fs"; import { createServer } from "node:http"; import * as os from "node:os"; import * as path from "node:path"; -import { WebSocket } from "#lib/minisocket"; +import { WebSocket } from "./minisocket.js"; import { rescript_exe } from "./bins.js"; const cwd = process.cwd(); diff --git a/lib/minisocket.js b/cli/common/minisocket.js similarity index 100% rename from lib/minisocket.js rename to cli/common/minisocket.js From 920164cc8da2e9d3a6ed3d9fea280d86707191ab Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 11:38:52 +0900 Subject: [PATCH 02/13] move runtime codes --- .../@rescript/runtime}/.gitignore | 0 .../@rescript/runtime}/Belt.res | 0 .../@rescript/runtime}/Belt_Array.res | 0 .../@rescript/runtime}/Belt_Array.resi | 0 .../@rescript/runtime}/Belt_Float.res | 0 .../@rescript/runtime}/Belt_Float.resi | 0 .../@rescript/runtime}/Belt_HashMap.res | 0 .../@rescript/runtime}/Belt_HashMap.resi | 0 .../@rescript/runtime}/Belt_HashMapInt.res | 0 .../@rescript/runtime}/Belt_HashMapInt.resi | 0 .../@rescript/runtime}/Belt_HashMapString.res | 0 .../runtime}/Belt_HashMapString.resi | 0 .../@rescript/runtime}/Belt_HashSet.res | 0 .../@rescript/runtime}/Belt_HashSet.resi | 0 .../@rescript/runtime}/Belt_HashSetInt.res | 0 .../@rescript/runtime}/Belt_HashSetInt.resi | 0 .../@rescript/runtime}/Belt_HashSetString.res | 0 .../runtime}/Belt_HashSetString.resi | 0 .../@rescript/runtime}/Belt_Id.res | 0 .../@rescript/runtime}/Belt_Id.resi | 0 .../@rescript/runtime}/Belt_Int.res | 0 .../@rescript/runtime}/Belt_Int.resi | 0 .../@rescript/runtime}/Belt_List.res | 0 .../@rescript/runtime}/Belt_List.resi | 0 .../@rescript/runtime}/Belt_Map.res | 0 .../@rescript/runtime}/Belt_Map.resi | 0 .../@rescript/runtime}/Belt_MapDict.res | 0 .../@rescript/runtime}/Belt_MapDict.resi | 0 .../@rescript/runtime}/Belt_MapInt.res | 0 .../@rescript/runtime}/Belt_MapInt.resi | 0 .../@rescript/runtime}/Belt_MapString.res | 0 .../@rescript/runtime}/Belt_MapString.resi | 0 .../@rescript/runtime}/Belt_MutableMap.res | 0 .../@rescript/runtime}/Belt_MutableMap.resi | 0 .../@rescript/runtime}/Belt_MutableMapInt.res | 0 .../runtime}/Belt_MutableMapInt.resi | 0 .../runtime}/Belt_MutableMapString.res | 0 .../runtime}/Belt_MutableMapString.resi | 0 .../@rescript/runtime}/Belt_MutableQueue.res | 0 .../@rescript/runtime}/Belt_MutableQueue.resi | 0 .../@rescript/runtime}/Belt_MutableSet.res | 0 .../@rescript/runtime}/Belt_MutableSet.resi | 0 .../@rescript/runtime}/Belt_MutableSetInt.res | 0 .../runtime}/Belt_MutableSetInt.resi | 0 .../runtime}/Belt_MutableSetString.res | 0 .../runtime}/Belt_MutableSetString.resi | 0 .../@rescript/runtime}/Belt_MutableStack.res | 0 .../@rescript/runtime}/Belt_MutableStack.resi | 0 .../@rescript/runtime}/Belt_Option.res | 0 .../@rescript/runtime}/Belt_Option.resi | 0 .../@rescript/runtime}/Belt_Range.res | 0 .../@rescript/runtime}/Belt_Range.resi | 0 .../@rescript/runtime}/Belt_Result.res | 0 .../@rescript/runtime}/Belt_Result.resi | 0 .../@rescript/runtime}/Belt_Set.res | 0 .../@rescript/runtime}/Belt_Set.resi | 0 .../@rescript/runtime}/Belt_SetDict.res | 0 .../@rescript/runtime}/Belt_SetDict.resi | 0 .../@rescript/runtime}/Belt_SetInt.res | 0 .../@rescript/runtime}/Belt_SetInt.resi | 0 .../@rescript/runtime}/Belt_SetString.res | 0 .../@rescript/runtime}/Belt_SetString.resi | 0 .../@rescript/runtime}/Belt_SortArray.res | 0 .../@rescript/runtime}/Belt_SortArray.resi | 0 .../@rescript/runtime}/Belt_SortArrayInt.res | 0 .../@rescript/runtime}/Belt_SortArrayInt.resi | 0 .../runtime}/Belt_SortArrayString.res | 0 .../runtime}/Belt_SortArrayString.resi | 0 .../runtime}/Belt_internalAVLset.res | 0 .../runtime}/Belt_internalAVLset.resi | 0 .../runtime}/Belt_internalAVLtree.res | 0 .../runtime}/Belt_internalAVLtree.resi | 0 .../runtime}/Belt_internalBuckets.res | 0 .../runtime}/Belt_internalBuckets.resi | 0 .../runtime}/Belt_internalBucketsType.res | 0 .../runtime}/Belt_internalBucketsType.resi | 0 .../runtime}/Belt_internalMapInt.res | 0 .../runtime}/Belt_internalMapString.res | 0 .../runtime}/Belt_internalSetBuckets.res | 0 .../runtime}/Belt_internalSetBuckets.resi | 0 .../runtime}/Belt_internalSetInt.res | 0 .../runtime}/Belt_internalSetString.res | 0 .../@rescript/runtime}/Char.res | 0 .../@rescript/runtime}/Char.resi | 0 .../@rescript/runtime}/Dom.res | 0 .../@rescript/runtime}/Dom_storage.res | 0 .../@rescript/runtime}/Dom_storage2.res | 0 .../@rescript/runtime}/Js.res | 0 .../@rescript/runtime}/Js_OO.res | 0 .../@rescript/runtime}/Js_array.res | 0 .../@rescript/runtime}/Js_array2.res | 0 .../@rescript/runtime}/Js_bigint.res | 0 .../@rescript/runtime}/Js_blob.res | 0 .../@rescript/runtime}/Js_console.res | 0 .../@rescript/runtime}/Js_date.res | 0 .../@rescript/runtime}/Js_dict.res | 0 .../@rescript/runtime}/Js_dict.resi | 0 .../@rescript/runtime}/Js_extern.res | 0 .../@rescript/runtime}/Js_file.res | 0 .../@rescript/runtime}/Js_float.res | 0 .../@rescript/runtime}/Js_global.res | 0 .../@rescript/runtime}/Js_int.res | 0 .../@rescript/runtime}/Js_json.res | 0 .../@rescript/runtime}/Js_json.resi | 0 .../@rescript/runtime}/Js_map.res | 0 .../@rescript/runtime}/Js_math.res | 0 .../@rescript/runtime}/Js_null.res | 0 .../@rescript/runtime}/Js_null.resi | 0 .../@rescript/runtime}/Js_null_undefined.res | 0 .../@rescript/runtime}/Js_null_undefined.resi | 0 .../@rescript/runtime}/Js_obj.res | 0 .../@rescript/runtime}/Js_option.res | 0 .../@rescript/runtime}/Js_option.resi | 0 .../@rescript/runtime}/Js_promise.res | 0 .../@rescript/runtime}/Js_promise2.res | 0 .../@rescript/runtime}/Js_re.res | 0 .../@rescript/runtime}/Js_result.res | 0 .../@rescript/runtime}/Js_result.resi | 0 .../@rescript/runtime}/Js_set.res | 0 .../@rescript/runtime}/Js_string.res | 0 .../@rescript/runtime}/Js_string2.res | 0 .../@rescript/runtime}/Js_typed_array.res | 0 .../@rescript/runtime}/Js_typed_array2.res | 0 .../@rescript/runtime}/Js_types.res | 0 .../@rescript/runtime}/Js_types.resi | 0 .../@rescript/runtime}/Js_undefined.res | 0 .../@rescript/runtime}/Js_undefined.resi | 0 .../@rescript/runtime}/Js_weakmap.res | 0 .../@rescript/runtime}/Js_weakset.res | 0 .../@rescript/runtime}/Jsx.res | 0 .../@rescript/runtime}/JsxDOM.res | 0 .../@rescript/runtime}/JsxDOMStyle.res | 0 .../@rescript/runtime}/JsxEvent.res | 0 .../@rescript/runtime}/Obj.res | 0 .../@rescript/runtime}/Pervasives.res | 0 .../@rescript/runtime}/Primitive_array.res | 0 .../runtime}/Primitive_array_extern.res | 0 .../@rescript/runtime}/Primitive_bigint.res | 0 .../@rescript/runtime}/Primitive_bool.res | 0 .../runtime}/Primitive_char_extern.res | 0 .../@rescript/runtime}/Primitive_curry.res | 0 .../@rescript/runtime}/Primitive_curry.resi | 0 .../@rescript/runtime}/Primitive_dict.res | 0 .../runtime}/Primitive_exceptions.res | 0 .../runtime}/Primitive_exceptions.resi | 0 .../@rescript/runtime}/Primitive_float.res | 0 .../runtime}/Primitive_float_extern.res | 0 .../@rescript/runtime}/Primitive_hash.res | 0 .../@rescript/runtime}/Primitive_hash.resi | 0 .../@rescript/runtime}/Primitive_int.res | 0 .../runtime}/Primitive_int_extern.res | 0 .../runtime}/Primitive_js_extern.res | 0 .../@rescript/runtime}/Primitive_lazy.res | 0 .../@rescript/runtime}/Primitive_lazy.resi | 0 .../@rescript/runtime}/Primitive_module.res | 0 .../@rescript/runtime}/Primitive_module.resi | 0 .../@rescript/runtime}/Primitive_object.res | 0 .../@rescript/runtime}/Primitive_object.resi | 0 .../runtime}/Primitive_object_extern.res | 0 .../@rescript/runtime}/Primitive_option.res | 0 .../@rescript/runtime}/Primitive_option.resi | 0 .../@rescript/runtime}/Primitive_promise.res | 0 .../@rescript/runtime}/Primitive_string.res | 0 .../runtime}/Primitive_string_extern.res | 0 .../@rescript/runtime}/Primitive_util.res | 0 .../@rescript/runtime}/RescriptTools.res | 0 .../runtime}/RescriptTools_Docgen.res | 0 .../runtime}/RescriptTools_Docgen.resi | 0 .../@rescript/runtime}/Stdlib.res | 0 .../@rescript/runtime}/Stdlib_Array.res | 0 .../@rescript/runtime}/Stdlib_Array.resi | 0 .../@rescript/runtime}/Stdlib_ArrayBuffer.res | 0 .../runtime}/Stdlib_AsyncIterator.res | 0 .../runtime}/Stdlib_AsyncIterator.resi | 0 .../@rescript/runtime}/Stdlib_BigInt.res | 0 .../runtime}/Stdlib_BigInt64Array.res | 0 .../runtime}/Stdlib_BigUint64Array.res | 0 .../@rescript/runtime}/Stdlib_Bool.res | 0 .../@rescript/runtime}/Stdlib_Bool.resi | 0 .../@rescript/runtime}/Stdlib_Console.res | 0 .../@rescript/runtime}/Stdlib_Console.resi | 0 .../@rescript/runtime}/Stdlib_DataView.res | 0 .../@rescript/runtime}/Stdlib_Date.res | 0 .../@rescript/runtime}/Stdlib_Date.resi | 0 .../@rescript/runtime}/Stdlib_Dict.res | 0 .../@rescript/runtime}/Stdlib_Dict.resi | 0 .../@rescript/runtime}/Stdlib_Error.res | 0 .../@rescript/runtime}/Stdlib_Error.resi | 0 .../@rescript/runtime}/Stdlib_Exn.res | 0 .../@rescript/runtime}/Stdlib_Exn.resi | 0 .../@rescript/runtime}/Stdlib_Float.res | 0 .../@rescript/runtime}/Stdlib_Float.resi | 0 .../runtime}/Stdlib_Float32Array.res | 0 .../runtime}/Stdlib_Float64Array.res | 0 .../@rescript/runtime}/Stdlib_Global.res | 0 .../@rescript/runtime}/Stdlib_Global.resi | 0 .../@rescript/runtime}/Stdlib_Int.res | 0 .../@rescript/runtime}/Stdlib_Int.resi | 0 .../@rescript/runtime}/Stdlib_Int16Array.res | 0 .../@rescript/runtime}/Stdlib_Int32Array.res | 0 .../@rescript/runtime}/Stdlib_Int8Array.res | 0 .../@rescript/runtime}/Stdlib_Intl.res | 0 .../runtime}/Stdlib_Intl_Collator.res | 0 .../@rescript/runtime}/Stdlib_Intl_Common.res | 0 .../runtime}/Stdlib_Intl_DateTimeFormat.res | 0 .../runtime}/Stdlib_Intl_ListFormat.res | 0 .../@rescript/runtime}/Stdlib_Intl_Locale.res | 0 .../runtime}/Stdlib_Intl_NumberFormat.res | 0 .../Stdlib_Intl_NumberFormat_Grouping.res | 0 .../runtime}/Stdlib_Intl_PluralRules.res | 0 .../Stdlib_Intl_RelativeTimeFormat.res | 0 .../runtime}/Stdlib_Intl_Segmenter.res | 0 .../runtime}/Stdlib_Intl_Segments.res | 0 .../@rescript/runtime}/Stdlib_Iterator.res | 0 .../@rescript/runtime}/Stdlib_Iterator.resi | 0 .../@rescript/runtime}/Stdlib_JSON.res | 0 .../@rescript/runtime}/Stdlib_JSON.resi | 0 .../@rescript/runtime}/Stdlib_JsError.res | 0 .../@rescript/runtime}/Stdlib_JsError.resi | 0 .../@rescript/runtime}/Stdlib_JsExn.res | 0 .../@rescript/runtime}/Stdlib_JsExn.resi | 0 .../@rescript/runtime}/Stdlib_Lazy.res | 0 .../@rescript/runtime}/Stdlib_Lazy.resi | 0 .../@rescript/runtime}/Stdlib_List.res | 0 .../@rescript/runtime}/Stdlib_List.resi | 0 .../@rescript/runtime}/Stdlib_Map.res | 0 .../@rescript/runtime}/Stdlib_Map.resi | 0 .../@rescript/runtime}/Stdlib_Math.res | 0 .../@rescript/runtime}/Stdlib_Math.resi | 0 .../@rescript/runtime}/Stdlib_Null.res | 0 .../@rescript/runtime}/Stdlib_Null.resi | 0 .../@rescript/runtime}/Stdlib_Nullable.res | 0 .../@rescript/runtime}/Stdlib_Nullable.resi | 0 .../@rescript/runtime}/Stdlib_Object.res | 0 .../@rescript/runtime}/Stdlib_Option.res | 0 .../@rescript/runtime}/Stdlib_Option.resi | 0 .../@rescript/runtime}/Stdlib_Ordering.res | 0 .../@rescript/runtime}/Stdlib_Pair.res | 0 .../@rescript/runtime}/Stdlib_Promise.res | 0 .../@rescript/runtime}/Stdlib_Promise.resi | 0 .../@rescript/runtime}/Stdlib_RegExp.res | 0 .../@rescript/runtime}/Stdlib_RegExp.resi | 0 .../@rescript/runtime}/Stdlib_Result.res | 0 .../@rescript/runtime}/Stdlib_Result.resi | 0 .../@rescript/runtime}/Stdlib_Set.res | 0 .../@rescript/runtime}/Stdlib_Set.resi | 0 .../@rescript/runtime}/Stdlib_String.res | 0 .../@rescript/runtime}/Stdlib_String.resi | 0 .../@rescript/runtime}/Stdlib_Symbol.res | 0 .../@rescript/runtime}/Stdlib_Symbol.resi | 0 .../@rescript/runtime}/Stdlib_Type.res | 0 .../@rescript/runtime}/Stdlib_Type.resi | 0 .../@rescript/runtime}/Stdlib_TypedArray.res | 0 .../@rescript/runtime}/Stdlib_Uint16Array.res | 0 .../@rescript/runtime}/Stdlib_Uint32Array.res | 0 .../@rescript/runtime}/Stdlib_Uint8Array.res | 0 .../runtime}/Stdlib_Uint8ClampedArray.res | 0 .../@rescript/runtime}/Stdlib_WeakMap.res | 0 .../@rescript/runtime}/Stdlib_WeakSet.res | 0 .../@rescript/runtime}/cppo/belt_Set.res.cppo | 0 .../runtime}/cppo/belt_Set.resi.cppo | 0 .../@rescript/runtime}/cppo/hashmap.res.cppo | 0 .../@rescript/runtime}/cppo/hashmap.resi.cppo | 0 .../@rescript/runtime}/cppo/hashset.res.cppo | 0 .../@rescript/runtime}/cppo/hashset.resi.cppo | 0 .../runtime}/cppo/internal_map.res.cppo | 0 .../runtime}/cppo/internal_set.res.cppo | 0 .../@rescript/runtime}/cppo/map.res.cppo | 0 .../@rescript/runtime}/cppo/map.resi.cppo | 0 .../@rescript/runtime}/cppo/mapm.res.cppo | 0 .../@rescript/runtime}/cppo/mapm.resi.cppo | 0 .../@rescript/runtime}/cppo/setm.res.cppo | 0 .../@rescript/runtime}/cppo/setm.resi.cppo | 0 .../@rescript/runtime}/cppo/sort.res.cppo | 0 .../@rescript/runtime}/cppo/sort.resi.cppo | 0 packages/@rescript/runtime/package.json | 20 +++++++++++++++++++ .../@rescript/runtime}/rescript.json | 2 +- runtime/package.json | 5 ----- yarn.lock | 8 ++++++++ 279 files changed, 29 insertions(+), 6 deletions(-) rename {runtime => packages/@rescript/runtime}/.gitignore (100%) rename {runtime => packages/@rescript/runtime}/Belt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Array.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Array.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Float.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Float.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMap.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMap.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMapInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMapInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMapString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashMapString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSet.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSet.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSetInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSetInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSetString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_HashSetString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Id.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Id.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Int.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Int.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_List.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_List.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Map.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Map.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapDict.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapDict.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MapString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMap.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMap.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMapInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMapInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMapString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableMapString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableQueue.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableQueue.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSet.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSet.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSetInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSetInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSetString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableSetString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableStack.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_MutableStack.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Option.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Option.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Range.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Range.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Result.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Result.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_Set.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_Set.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetDict.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetDict.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SetString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArray.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArray.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArrayInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArrayInt.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArrayString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_SortArrayString.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalAVLset.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalAVLset.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalAVLtree.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalAVLtree.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalBuckets.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalBuckets.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalBucketsType.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalBucketsType.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalMapInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalMapString.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalSetBuckets.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalSetBuckets.resi (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalSetInt.res (100%) rename {runtime => packages/@rescript/runtime}/Belt_internalSetString.res (100%) rename {runtime => packages/@rescript/runtime}/Char.res (100%) rename {runtime => packages/@rescript/runtime}/Char.resi (100%) rename {runtime => packages/@rescript/runtime}/Dom.res (100%) rename {runtime => packages/@rescript/runtime}/Dom_storage.res (100%) rename {runtime => packages/@rescript/runtime}/Dom_storage2.res (100%) rename {runtime => packages/@rescript/runtime}/Js.res (100%) rename {runtime => packages/@rescript/runtime}/Js_OO.res (100%) rename {runtime => packages/@rescript/runtime}/Js_array.res (100%) rename {runtime => packages/@rescript/runtime}/Js_array2.res (100%) rename {runtime => packages/@rescript/runtime}/Js_bigint.res (100%) rename {runtime => packages/@rescript/runtime}/Js_blob.res (100%) rename {runtime => packages/@rescript/runtime}/Js_console.res (100%) rename {runtime => packages/@rescript/runtime}/Js_date.res (100%) rename {runtime => packages/@rescript/runtime}/Js_dict.res (100%) rename {runtime => packages/@rescript/runtime}/Js_dict.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Js_file.res (100%) rename {runtime => packages/@rescript/runtime}/Js_float.res (100%) rename {runtime => packages/@rescript/runtime}/Js_global.res (100%) rename {runtime => packages/@rescript/runtime}/Js_int.res (100%) rename {runtime => packages/@rescript/runtime}/Js_json.res (100%) rename {runtime => packages/@rescript/runtime}/Js_json.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_map.res (100%) rename {runtime => packages/@rescript/runtime}/Js_math.res (100%) rename {runtime => packages/@rescript/runtime}/Js_null.res (100%) rename {runtime => packages/@rescript/runtime}/Js_null.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_null_undefined.res (100%) rename {runtime => packages/@rescript/runtime}/Js_null_undefined.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_obj.res (100%) rename {runtime => packages/@rescript/runtime}/Js_option.res (100%) rename {runtime => packages/@rescript/runtime}/Js_option.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_promise.res (100%) rename {runtime => packages/@rescript/runtime}/Js_promise2.res (100%) rename {runtime => packages/@rescript/runtime}/Js_re.res (100%) rename {runtime => packages/@rescript/runtime}/Js_result.res (100%) rename {runtime => packages/@rescript/runtime}/Js_result.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_set.res (100%) rename {runtime => packages/@rescript/runtime}/Js_string.res (100%) rename {runtime => packages/@rescript/runtime}/Js_string2.res (100%) rename {runtime => packages/@rescript/runtime}/Js_typed_array.res (100%) rename {runtime => packages/@rescript/runtime}/Js_typed_array2.res (100%) rename {runtime => packages/@rescript/runtime}/Js_types.res (100%) rename {runtime => packages/@rescript/runtime}/Js_types.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_undefined.res (100%) rename {runtime => packages/@rescript/runtime}/Js_undefined.resi (100%) rename {runtime => packages/@rescript/runtime}/Js_weakmap.res (100%) rename {runtime => packages/@rescript/runtime}/Js_weakset.res (100%) rename {runtime => packages/@rescript/runtime}/Jsx.res (100%) rename {runtime => packages/@rescript/runtime}/JsxDOM.res (100%) rename {runtime => packages/@rescript/runtime}/JsxDOMStyle.res (100%) rename {runtime => packages/@rescript/runtime}/JsxEvent.res (100%) rename {runtime => packages/@rescript/runtime}/Obj.res (100%) rename {runtime => packages/@rescript/runtime}/Pervasives.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_array.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_array_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_bigint.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_bool.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_char_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_curry.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_curry.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_dict.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_exceptions.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_exceptions.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_float.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_float_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_hash.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_hash.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_int.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_int_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_js_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_lazy.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_lazy.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_module.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_module.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_object.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_object.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_object_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_option.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_option.resi (100%) rename {runtime => packages/@rescript/runtime}/Primitive_promise.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_string.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_string_extern.res (100%) rename {runtime => packages/@rescript/runtime}/Primitive_util.res (100%) rename {runtime => packages/@rescript/runtime}/RescriptTools.res (100%) rename {runtime => packages/@rescript/runtime}/RescriptTools_Docgen.res (100%) rename {runtime => packages/@rescript/runtime}/RescriptTools_Docgen.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Array.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_ArrayBuffer.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_AsyncIterator.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_AsyncIterator.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_BigInt.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_BigInt64Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_BigUint64Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Bool.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Bool.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Console.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Console.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_DataView.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Date.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Date.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Dict.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Dict.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Error.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Error.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Exn.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Exn.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Float.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Float.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Float32Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Float64Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Global.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Global.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Int.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Int.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Int16Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Int32Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Int8Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_Collator.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_Common.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_DateTimeFormat.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_ListFormat.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_Locale.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_NumberFormat.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_NumberFormat_Grouping.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_PluralRules.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_RelativeTimeFormat.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_Segmenter.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Intl_Segments.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Iterator.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Iterator.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JSON.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JSON.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JsError.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JsError.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JsExn.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_JsExn.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Lazy.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Lazy.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_List.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_List.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Map.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Map.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Math.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Math.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Null.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Null.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Nullable.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Nullable.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Object.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Option.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Option.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Ordering.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Pair.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Promise.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Promise.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_RegExp.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_RegExp.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Result.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Result.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Set.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Set.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_String.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_String.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Symbol.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Symbol.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Type.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Type.resi (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_TypedArray.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Uint16Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Uint32Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Uint8Array.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_Uint8ClampedArray.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_WeakMap.res (100%) rename {runtime => packages/@rescript/runtime}/Stdlib_WeakSet.res (100%) rename {runtime => packages/@rescript/runtime}/cppo/belt_Set.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/belt_Set.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/hashmap.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/hashmap.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/hashset.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/hashset.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/internal_map.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/internal_set.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/map.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/map.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/mapm.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/mapm.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/setm.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/setm.resi.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/sort.res.cppo (100%) rename {runtime => packages/@rescript/runtime}/cppo/sort.resi.cppo (100%) create mode 100644 packages/@rescript/runtime/package.json rename {runtime => packages/@rescript/runtime}/rescript.json (94%) delete mode 100644 runtime/package.json diff --git a/runtime/.gitignore b/packages/@rescript/runtime/.gitignore similarity index 100% rename from runtime/.gitignore rename to packages/@rescript/runtime/.gitignore diff --git a/runtime/Belt.res b/packages/@rescript/runtime/Belt.res similarity index 100% rename from runtime/Belt.res rename to packages/@rescript/runtime/Belt.res diff --git a/runtime/Belt_Array.res b/packages/@rescript/runtime/Belt_Array.res similarity index 100% rename from runtime/Belt_Array.res rename to packages/@rescript/runtime/Belt_Array.res diff --git a/runtime/Belt_Array.resi b/packages/@rescript/runtime/Belt_Array.resi similarity index 100% rename from runtime/Belt_Array.resi rename to packages/@rescript/runtime/Belt_Array.resi diff --git a/runtime/Belt_Float.res b/packages/@rescript/runtime/Belt_Float.res similarity index 100% rename from runtime/Belt_Float.res rename to packages/@rescript/runtime/Belt_Float.res diff --git a/runtime/Belt_Float.resi b/packages/@rescript/runtime/Belt_Float.resi similarity index 100% rename from runtime/Belt_Float.resi rename to packages/@rescript/runtime/Belt_Float.resi diff --git a/runtime/Belt_HashMap.res b/packages/@rescript/runtime/Belt_HashMap.res similarity index 100% rename from runtime/Belt_HashMap.res rename to packages/@rescript/runtime/Belt_HashMap.res diff --git a/runtime/Belt_HashMap.resi b/packages/@rescript/runtime/Belt_HashMap.resi similarity index 100% rename from runtime/Belt_HashMap.resi rename to packages/@rescript/runtime/Belt_HashMap.resi diff --git a/runtime/Belt_HashMapInt.res b/packages/@rescript/runtime/Belt_HashMapInt.res similarity index 100% rename from runtime/Belt_HashMapInt.res rename to packages/@rescript/runtime/Belt_HashMapInt.res diff --git a/runtime/Belt_HashMapInt.resi b/packages/@rescript/runtime/Belt_HashMapInt.resi similarity index 100% rename from runtime/Belt_HashMapInt.resi rename to packages/@rescript/runtime/Belt_HashMapInt.resi diff --git a/runtime/Belt_HashMapString.res b/packages/@rescript/runtime/Belt_HashMapString.res similarity index 100% rename from runtime/Belt_HashMapString.res rename to packages/@rescript/runtime/Belt_HashMapString.res diff --git a/runtime/Belt_HashMapString.resi b/packages/@rescript/runtime/Belt_HashMapString.resi similarity index 100% rename from runtime/Belt_HashMapString.resi rename to packages/@rescript/runtime/Belt_HashMapString.resi diff --git a/runtime/Belt_HashSet.res b/packages/@rescript/runtime/Belt_HashSet.res similarity index 100% rename from runtime/Belt_HashSet.res rename to packages/@rescript/runtime/Belt_HashSet.res diff --git a/runtime/Belt_HashSet.resi b/packages/@rescript/runtime/Belt_HashSet.resi similarity index 100% rename from runtime/Belt_HashSet.resi rename to packages/@rescript/runtime/Belt_HashSet.resi diff --git a/runtime/Belt_HashSetInt.res b/packages/@rescript/runtime/Belt_HashSetInt.res similarity index 100% rename from runtime/Belt_HashSetInt.res rename to packages/@rescript/runtime/Belt_HashSetInt.res diff --git a/runtime/Belt_HashSetInt.resi b/packages/@rescript/runtime/Belt_HashSetInt.resi similarity index 100% rename from runtime/Belt_HashSetInt.resi rename to packages/@rescript/runtime/Belt_HashSetInt.resi diff --git a/runtime/Belt_HashSetString.res b/packages/@rescript/runtime/Belt_HashSetString.res similarity index 100% rename from runtime/Belt_HashSetString.res rename to packages/@rescript/runtime/Belt_HashSetString.res diff --git a/runtime/Belt_HashSetString.resi b/packages/@rescript/runtime/Belt_HashSetString.resi similarity index 100% rename from runtime/Belt_HashSetString.resi rename to packages/@rescript/runtime/Belt_HashSetString.resi diff --git a/runtime/Belt_Id.res b/packages/@rescript/runtime/Belt_Id.res similarity index 100% rename from runtime/Belt_Id.res rename to packages/@rescript/runtime/Belt_Id.res diff --git a/runtime/Belt_Id.resi b/packages/@rescript/runtime/Belt_Id.resi similarity index 100% rename from runtime/Belt_Id.resi rename to packages/@rescript/runtime/Belt_Id.resi diff --git a/runtime/Belt_Int.res b/packages/@rescript/runtime/Belt_Int.res similarity index 100% rename from runtime/Belt_Int.res rename to packages/@rescript/runtime/Belt_Int.res diff --git a/runtime/Belt_Int.resi b/packages/@rescript/runtime/Belt_Int.resi similarity index 100% rename from runtime/Belt_Int.resi rename to packages/@rescript/runtime/Belt_Int.resi diff --git a/runtime/Belt_List.res b/packages/@rescript/runtime/Belt_List.res similarity index 100% rename from runtime/Belt_List.res rename to packages/@rescript/runtime/Belt_List.res diff --git a/runtime/Belt_List.resi b/packages/@rescript/runtime/Belt_List.resi similarity index 100% rename from runtime/Belt_List.resi rename to packages/@rescript/runtime/Belt_List.resi diff --git a/runtime/Belt_Map.res b/packages/@rescript/runtime/Belt_Map.res similarity index 100% rename from runtime/Belt_Map.res rename to packages/@rescript/runtime/Belt_Map.res diff --git a/runtime/Belt_Map.resi b/packages/@rescript/runtime/Belt_Map.resi similarity index 100% rename from runtime/Belt_Map.resi rename to packages/@rescript/runtime/Belt_Map.resi diff --git a/runtime/Belt_MapDict.res b/packages/@rescript/runtime/Belt_MapDict.res similarity index 100% rename from runtime/Belt_MapDict.res rename to packages/@rescript/runtime/Belt_MapDict.res diff --git a/runtime/Belt_MapDict.resi b/packages/@rescript/runtime/Belt_MapDict.resi similarity index 100% rename from runtime/Belt_MapDict.resi rename to packages/@rescript/runtime/Belt_MapDict.resi diff --git a/runtime/Belt_MapInt.res b/packages/@rescript/runtime/Belt_MapInt.res similarity index 100% rename from runtime/Belt_MapInt.res rename to packages/@rescript/runtime/Belt_MapInt.res diff --git a/runtime/Belt_MapInt.resi b/packages/@rescript/runtime/Belt_MapInt.resi similarity index 100% rename from runtime/Belt_MapInt.resi rename to packages/@rescript/runtime/Belt_MapInt.resi diff --git a/runtime/Belt_MapString.res b/packages/@rescript/runtime/Belt_MapString.res similarity index 100% rename from runtime/Belt_MapString.res rename to packages/@rescript/runtime/Belt_MapString.res diff --git a/runtime/Belt_MapString.resi b/packages/@rescript/runtime/Belt_MapString.resi similarity index 100% rename from runtime/Belt_MapString.resi rename to packages/@rescript/runtime/Belt_MapString.resi diff --git a/runtime/Belt_MutableMap.res b/packages/@rescript/runtime/Belt_MutableMap.res similarity index 100% rename from runtime/Belt_MutableMap.res rename to packages/@rescript/runtime/Belt_MutableMap.res diff --git a/runtime/Belt_MutableMap.resi b/packages/@rescript/runtime/Belt_MutableMap.resi similarity index 100% rename from runtime/Belt_MutableMap.resi rename to packages/@rescript/runtime/Belt_MutableMap.resi diff --git a/runtime/Belt_MutableMapInt.res b/packages/@rescript/runtime/Belt_MutableMapInt.res similarity index 100% rename from runtime/Belt_MutableMapInt.res rename to packages/@rescript/runtime/Belt_MutableMapInt.res diff --git a/runtime/Belt_MutableMapInt.resi b/packages/@rescript/runtime/Belt_MutableMapInt.resi similarity index 100% rename from runtime/Belt_MutableMapInt.resi rename to packages/@rescript/runtime/Belt_MutableMapInt.resi diff --git a/runtime/Belt_MutableMapString.res b/packages/@rescript/runtime/Belt_MutableMapString.res similarity index 100% rename from runtime/Belt_MutableMapString.res rename to packages/@rescript/runtime/Belt_MutableMapString.res diff --git a/runtime/Belt_MutableMapString.resi b/packages/@rescript/runtime/Belt_MutableMapString.resi similarity index 100% rename from runtime/Belt_MutableMapString.resi rename to packages/@rescript/runtime/Belt_MutableMapString.resi diff --git a/runtime/Belt_MutableQueue.res b/packages/@rescript/runtime/Belt_MutableQueue.res similarity index 100% rename from runtime/Belt_MutableQueue.res rename to packages/@rescript/runtime/Belt_MutableQueue.res diff --git a/runtime/Belt_MutableQueue.resi b/packages/@rescript/runtime/Belt_MutableQueue.resi similarity index 100% rename from runtime/Belt_MutableQueue.resi rename to packages/@rescript/runtime/Belt_MutableQueue.resi diff --git a/runtime/Belt_MutableSet.res b/packages/@rescript/runtime/Belt_MutableSet.res similarity index 100% rename from runtime/Belt_MutableSet.res rename to packages/@rescript/runtime/Belt_MutableSet.res diff --git a/runtime/Belt_MutableSet.resi b/packages/@rescript/runtime/Belt_MutableSet.resi similarity index 100% rename from runtime/Belt_MutableSet.resi rename to packages/@rescript/runtime/Belt_MutableSet.resi diff --git a/runtime/Belt_MutableSetInt.res b/packages/@rescript/runtime/Belt_MutableSetInt.res similarity index 100% rename from runtime/Belt_MutableSetInt.res rename to packages/@rescript/runtime/Belt_MutableSetInt.res diff --git a/runtime/Belt_MutableSetInt.resi b/packages/@rescript/runtime/Belt_MutableSetInt.resi similarity index 100% rename from runtime/Belt_MutableSetInt.resi rename to packages/@rescript/runtime/Belt_MutableSetInt.resi diff --git a/runtime/Belt_MutableSetString.res b/packages/@rescript/runtime/Belt_MutableSetString.res similarity index 100% rename from runtime/Belt_MutableSetString.res rename to packages/@rescript/runtime/Belt_MutableSetString.res diff --git a/runtime/Belt_MutableSetString.resi b/packages/@rescript/runtime/Belt_MutableSetString.resi similarity index 100% rename from runtime/Belt_MutableSetString.resi rename to packages/@rescript/runtime/Belt_MutableSetString.resi diff --git a/runtime/Belt_MutableStack.res b/packages/@rescript/runtime/Belt_MutableStack.res similarity index 100% rename from runtime/Belt_MutableStack.res rename to packages/@rescript/runtime/Belt_MutableStack.res diff --git a/runtime/Belt_MutableStack.resi b/packages/@rescript/runtime/Belt_MutableStack.resi similarity index 100% rename from runtime/Belt_MutableStack.resi rename to packages/@rescript/runtime/Belt_MutableStack.resi diff --git a/runtime/Belt_Option.res b/packages/@rescript/runtime/Belt_Option.res similarity index 100% rename from runtime/Belt_Option.res rename to packages/@rescript/runtime/Belt_Option.res diff --git a/runtime/Belt_Option.resi b/packages/@rescript/runtime/Belt_Option.resi similarity index 100% rename from runtime/Belt_Option.resi rename to packages/@rescript/runtime/Belt_Option.resi diff --git a/runtime/Belt_Range.res b/packages/@rescript/runtime/Belt_Range.res similarity index 100% rename from runtime/Belt_Range.res rename to packages/@rescript/runtime/Belt_Range.res diff --git a/runtime/Belt_Range.resi b/packages/@rescript/runtime/Belt_Range.resi similarity index 100% rename from runtime/Belt_Range.resi rename to packages/@rescript/runtime/Belt_Range.resi diff --git a/runtime/Belt_Result.res b/packages/@rescript/runtime/Belt_Result.res similarity index 100% rename from runtime/Belt_Result.res rename to packages/@rescript/runtime/Belt_Result.res diff --git a/runtime/Belt_Result.resi b/packages/@rescript/runtime/Belt_Result.resi similarity index 100% rename from runtime/Belt_Result.resi rename to packages/@rescript/runtime/Belt_Result.resi diff --git a/runtime/Belt_Set.res b/packages/@rescript/runtime/Belt_Set.res similarity index 100% rename from runtime/Belt_Set.res rename to packages/@rescript/runtime/Belt_Set.res diff --git a/runtime/Belt_Set.resi b/packages/@rescript/runtime/Belt_Set.resi similarity index 100% rename from runtime/Belt_Set.resi rename to packages/@rescript/runtime/Belt_Set.resi diff --git a/runtime/Belt_SetDict.res b/packages/@rescript/runtime/Belt_SetDict.res similarity index 100% rename from runtime/Belt_SetDict.res rename to packages/@rescript/runtime/Belt_SetDict.res diff --git a/runtime/Belt_SetDict.resi b/packages/@rescript/runtime/Belt_SetDict.resi similarity index 100% rename from runtime/Belt_SetDict.resi rename to packages/@rescript/runtime/Belt_SetDict.resi diff --git a/runtime/Belt_SetInt.res b/packages/@rescript/runtime/Belt_SetInt.res similarity index 100% rename from runtime/Belt_SetInt.res rename to packages/@rescript/runtime/Belt_SetInt.res diff --git a/runtime/Belt_SetInt.resi b/packages/@rescript/runtime/Belt_SetInt.resi similarity index 100% rename from runtime/Belt_SetInt.resi rename to packages/@rescript/runtime/Belt_SetInt.resi diff --git a/runtime/Belt_SetString.res b/packages/@rescript/runtime/Belt_SetString.res similarity index 100% rename from runtime/Belt_SetString.res rename to packages/@rescript/runtime/Belt_SetString.res diff --git a/runtime/Belt_SetString.resi b/packages/@rescript/runtime/Belt_SetString.resi similarity index 100% rename from runtime/Belt_SetString.resi rename to packages/@rescript/runtime/Belt_SetString.resi diff --git a/runtime/Belt_SortArray.res b/packages/@rescript/runtime/Belt_SortArray.res similarity index 100% rename from runtime/Belt_SortArray.res rename to packages/@rescript/runtime/Belt_SortArray.res diff --git a/runtime/Belt_SortArray.resi b/packages/@rescript/runtime/Belt_SortArray.resi similarity index 100% rename from runtime/Belt_SortArray.resi rename to packages/@rescript/runtime/Belt_SortArray.resi diff --git a/runtime/Belt_SortArrayInt.res b/packages/@rescript/runtime/Belt_SortArrayInt.res similarity index 100% rename from runtime/Belt_SortArrayInt.res rename to packages/@rescript/runtime/Belt_SortArrayInt.res diff --git a/runtime/Belt_SortArrayInt.resi b/packages/@rescript/runtime/Belt_SortArrayInt.resi similarity index 100% rename from runtime/Belt_SortArrayInt.resi rename to packages/@rescript/runtime/Belt_SortArrayInt.resi diff --git a/runtime/Belt_SortArrayString.res b/packages/@rescript/runtime/Belt_SortArrayString.res similarity index 100% rename from runtime/Belt_SortArrayString.res rename to packages/@rescript/runtime/Belt_SortArrayString.res diff --git a/runtime/Belt_SortArrayString.resi b/packages/@rescript/runtime/Belt_SortArrayString.resi similarity index 100% rename from runtime/Belt_SortArrayString.resi rename to packages/@rescript/runtime/Belt_SortArrayString.resi diff --git a/runtime/Belt_internalAVLset.res b/packages/@rescript/runtime/Belt_internalAVLset.res similarity index 100% rename from runtime/Belt_internalAVLset.res rename to packages/@rescript/runtime/Belt_internalAVLset.res diff --git a/runtime/Belt_internalAVLset.resi b/packages/@rescript/runtime/Belt_internalAVLset.resi similarity index 100% rename from runtime/Belt_internalAVLset.resi rename to packages/@rescript/runtime/Belt_internalAVLset.resi diff --git a/runtime/Belt_internalAVLtree.res b/packages/@rescript/runtime/Belt_internalAVLtree.res similarity index 100% rename from runtime/Belt_internalAVLtree.res rename to packages/@rescript/runtime/Belt_internalAVLtree.res diff --git a/runtime/Belt_internalAVLtree.resi b/packages/@rescript/runtime/Belt_internalAVLtree.resi similarity index 100% rename from runtime/Belt_internalAVLtree.resi rename to packages/@rescript/runtime/Belt_internalAVLtree.resi diff --git a/runtime/Belt_internalBuckets.res b/packages/@rescript/runtime/Belt_internalBuckets.res similarity index 100% rename from runtime/Belt_internalBuckets.res rename to packages/@rescript/runtime/Belt_internalBuckets.res diff --git a/runtime/Belt_internalBuckets.resi b/packages/@rescript/runtime/Belt_internalBuckets.resi similarity index 100% rename from runtime/Belt_internalBuckets.resi rename to packages/@rescript/runtime/Belt_internalBuckets.resi diff --git a/runtime/Belt_internalBucketsType.res b/packages/@rescript/runtime/Belt_internalBucketsType.res similarity index 100% rename from runtime/Belt_internalBucketsType.res rename to packages/@rescript/runtime/Belt_internalBucketsType.res diff --git a/runtime/Belt_internalBucketsType.resi b/packages/@rescript/runtime/Belt_internalBucketsType.resi similarity index 100% rename from runtime/Belt_internalBucketsType.resi rename to packages/@rescript/runtime/Belt_internalBucketsType.resi diff --git a/runtime/Belt_internalMapInt.res b/packages/@rescript/runtime/Belt_internalMapInt.res similarity index 100% rename from runtime/Belt_internalMapInt.res rename to packages/@rescript/runtime/Belt_internalMapInt.res diff --git a/runtime/Belt_internalMapString.res b/packages/@rescript/runtime/Belt_internalMapString.res similarity index 100% rename from runtime/Belt_internalMapString.res rename to packages/@rescript/runtime/Belt_internalMapString.res diff --git a/runtime/Belt_internalSetBuckets.res b/packages/@rescript/runtime/Belt_internalSetBuckets.res similarity index 100% rename from runtime/Belt_internalSetBuckets.res rename to packages/@rescript/runtime/Belt_internalSetBuckets.res diff --git a/runtime/Belt_internalSetBuckets.resi b/packages/@rescript/runtime/Belt_internalSetBuckets.resi similarity index 100% rename from runtime/Belt_internalSetBuckets.resi rename to packages/@rescript/runtime/Belt_internalSetBuckets.resi diff --git a/runtime/Belt_internalSetInt.res b/packages/@rescript/runtime/Belt_internalSetInt.res similarity index 100% rename from runtime/Belt_internalSetInt.res rename to packages/@rescript/runtime/Belt_internalSetInt.res diff --git a/runtime/Belt_internalSetString.res b/packages/@rescript/runtime/Belt_internalSetString.res similarity index 100% rename from runtime/Belt_internalSetString.res rename to packages/@rescript/runtime/Belt_internalSetString.res diff --git a/runtime/Char.res b/packages/@rescript/runtime/Char.res similarity index 100% rename from runtime/Char.res rename to packages/@rescript/runtime/Char.res diff --git a/runtime/Char.resi b/packages/@rescript/runtime/Char.resi similarity index 100% rename from runtime/Char.resi rename to packages/@rescript/runtime/Char.resi diff --git a/runtime/Dom.res b/packages/@rescript/runtime/Dom.res similarity index 100% rename from runtime/Dom.res rename to packages/@rescript/runtime/Dom.res diff --git a/runtime/Dom_storage.res b/packages/@rescript/runtime/Dom_storage.res similarity index 100% rename from runtime/Dom_storage.res rename to packages/@rescript/runtime/Dom_storage.res diff --git a/runtime/Dom_storage2.res b/packages/@rescript/runtime/Dom_storage2.res similarity index 100% rename from runtime/Dom_storage2.res rename to packages/@rescript/runtime/Dom_storage2.res diff --git a/runtime/Js.res b/packages/@rescript/runtime/Js.res similarity index 100% rename from runtime/Js.res rename to packages/@rescript/runtime/Js.res diff --git a/runtime/Js_OO.res b/packages/@rescript/runtime/Js_OO.res similarity index 100% rename from runtime/Js_OO.res rename to packages/@rescript/runtime/Js_OO.res diff --git a/runtime/Js_array.res b/packages/@rescript/runtime/Js_array.res similarity index 100% rename from runtime/Js_array.res rename to packages/@rescript/runtime/Js_array.res diff --git a/runtime/Js_array2.res b/packages/@rescript/runtime/Js_array2.res similarity index 100% rename from runtime/Js_array2.res rename to packages/@rescript/runtime/Js_array2.res diff --git a/runtime/Js_bigint.res b/packages/@rescript/runtime/Js_bigint.res similarity index 100% rename from runtime/Js_bigint.res rename to packages/@rescript/runtime/Js_bigint.res diff --git a/runtime/Js_blob.res b/packages/@rescript/runtime/Js_blob.res similarity index 100% rename from runtime/Js_blob.res rename to packages/@rescript/runtime/Js_blob.res diff --git a/runtime/Js_console.res b/packages/@rescript/runtime/Js_console.res similarity index 100% rename from runtime/Js_console.res rename to packages/@rescript/runtime/Js_console.res diff --git a/runtime/Js_date.res b/packages/@rescript/runtime/Js_date.res similarity index 100% rename from runtime/Js_date.res rename to packages/@rescript/runtime/Js_date.res diff --git a/runtime/Js_dict.res b/packages/@rescript/runtime/Js_dict.res similarity index 100% rename from runtime/Js_dict.res rename to packages/@rescript/runtime/Js_dict.res diff --git a/runtime/Js_dict.resi b/packages/@rescript/runtime/Js_dict.resi similarity index 100% rename from runtime/Js_dict.resi rename to packages/@rescript/runtime/Js_dict.resi diff --git a/runtime/Js_extern.res b/packages/@rescript/runtime/Js_extern.res similarity index 100% rename from runtime/Js_extern.res rename to packages/@rescript/runtime/Js_extern.res diff --git a/runtime/Js_file.res b/packages/@rescript/runtime/Js_file.res similarity index 100% rename from runtime/Js_file.res rename to packages/@rescript/runtime/Js_file.res diff --git a/runtime/Js_float.res b/packages/@rescript/runtime/Js_float.res similarity index 100% rename from runtime/Js_float.res rename to packages/@rescript/runtime/Js_float.res diff --git a/runtime/Js_global.res b/packages/@rescript/runtime/Js_global.res similarity index 100% rename from runtime/Js_global.res rename to packages/@rescript/runtime/Js_global.res diff --git a/runtime/Js_int.res b/packages/@rescript/runtime/Js_int.res similarity index 100% rename from runtime/Js_int.res rename to packages/@rescript/runtime/Js_int.res diff --git a/runtime/Js_json.res b/packages/@rescript/runtime/Js_json.res similarity index 100% rename from runtime/Js_json.res rename to packages/@rescript/runtime/Js_json.res diff --git a/runtime/Js_json.resi b/packages/@rescript/runtime/Js_json.resi similarity index 100% rename from runtime/Js_json.resi rename to packages/@rescript/runtime/Js_json.resi diff --git a/runtime/Js_map.res b/packages/@rescript/runtime/Js_map.res similarity index 100% rename from runtime/Js_map.res rename to packages/@rescript/runtime/Js_map.res diff --git a/runtime/Js_math.res b/packages/@rescript/runtime/Js_math.res similarity index 100% rename from runtime/Js_math.res rename to packages/@rescript/runtime/Js_math.res diff --git a/runtime/Js_null.res b/packages/@rescript/runtime/Js_null.res similarity index 100% rename from runtime/Js_null.res rename to packages/@rescript/runtime/Js_null.res diff --git a/runtime/Js_null.resi b/packages/@rescript/runtime/Js_null.resi similarity index 100% rename from runtime/Js_null.resi rename to packages/@rescript/runtime/Js_null.resi diff --git a/runtime/Js_null_undefined.res b/packages/@rescript/runtime/Js_null_undefined.res similarity index 100% rename from runtime/Js_null_undefined.res rename to packages/@rescript/runtime/Js_null_undefined.res diff --git a/runtime/Js_null_undefined.resi b/packages/@rescript/runtime/Js_null_undefined.resi similarity index 100% rename from runtime/Js_null_undefined.resi rename to packages/@rescript/runtime/Js_null_undefined.resi diff --git a/runtime/Js_obj.res b/packages/@rescript/runtime/Js_obj.res similarity index 100% rename from runtime/Js_obj.res rename to packages/@rescript/runtime/Js_obj.res diff --git a/runtime/Js_option.res b/packages/@rescript/runtime/Js_option.res similarity index 100% rename from runtime/Js_option.res rename to packages/@rescript/runtime/Js_option.res diff --git a/runtime/Js_option.resi b/packages/@rescript/runtime/Js_option.resi similarity index 100% rename from runtime/Js_option.resi rename to packages/@rescript/runtime/Js_option.resi diff --git a/runtime/Js_promise.res b/packages/@rescript/runtime/Js_promise.res similarity index 100% rename from runtime/Js_promise.res rename to packages/@rescript/runtime/Js_promise.res diff --git a/runtime/Js_promise2.res b/packages/@rescript/runtime/Js_promise2.res similarity index 100% rename from runtime/Js_promise2.res rename to packages/@rescript/runtime/Js_promise2.res diff --git a/runtime/Js_re.res b/packages/@rescript/runtime/Js_re.res similarity index 100% rename from runtime/Js_re.res rename to packages/@rescript/runtime/Js_re.res diff --git a/runtime/Js_result.res b/packages/@rescript/runtime/Js_result.res similarity index 100% rename from runtime/Js_result.res rename to packages/@rescript/runtime/Js_result.res diff --git a/runtime/Js_result.resi b/packages/@rescript/runtime/Js_result.resi similarity index 100% rename from runtime/Js_result.resi rename to packages/@rescript/runtime/Js_result.resi diff --git a/runtime/Js_set.res b/packages/@rescript/runtime/Js_set.res similarity index 100% rename from runtime/Js_set.res rename to packages/@rescript/runtime/Js_set.res diff --git a/runtime/Js_string.res b/packages/@rescript/runtime/Js_string.res similarity index 100% rename from runtime/Js_string.res rename to packages/@rescript/runtime/Js_string.res diff --git a/runtime/Js_string2.res b/packages/@rescript/runtime/Js_string2.res similarity index 100% rename from runtime/Js_string2.res rename to packages/@rescript/runtime/Js_string2.res diff --git a/runtime/Js_typed_array.res b/packages/@rescript/runtime/Js_typed_array.res similarity index 100% rename from runtime/Js_typed_array.res rename to packages/@rescript/runtime/Js_typed_array.res diff --git a/runtime/Js_typed_array2.res b/packages/@rescript/runtime/Js_typed_array2.res similarity index 100% rename from runtime/Js_typed_array2.res rename to packages/@rescript/runtime/Js_typed_array2.res diff --git a/runtime/Js_types.res b/packages/@rescript/runtime/Js_types.res similarity index 100% rename from runtime/Js_types.res rename to packages/@rescript/runtime/Js_types.res diff --git a/runtime/Js_types.resi b/packages/@rescript/runtime/Js_types.resi similarity index 100% rename from runtime/Js_types.resi rename to packages/@rescript/runtime/Js_types.resi diff --git a/runtime/Js_undefined.res b/packages/@rescript/runtime/Js_undefined.res similarity index 100% rename from runtime/Js_undefined.res rename to packages/@rescript/runtime/Js_undefined.res diff --git a/runtime/Js_undefined.resi b/packages/@rescript/runtime/Js_undefined.resi similarity index 100% rename from runtime/Js_undefined.resi rename to packages/@rescript/runtime/Js_undefined.resi diff --git a/runtime/Js_weakmap.res b/packages/@rescript/runtime/Js_weakmap.res similarity index 100% rename from runtime/Js_weakmap.res rename to packages/@rescript/runtime/Js_weakmap.res diff --git a/runtime/Js_weakset.res b/packages/@rescript/runtime/Js_weakset.res similarity index 100% rename from runtime/Js_weakset.res rename to packages/@rescript/runtime/Js_weakset.res diff --git a/runtime/Jsx.res b/packages/@rescript/runtime/Jsx.res similarity index 100% rename from runtime/Jsx.res rename to packages/@rescript/runtime/Jsx.res diff --git a/runtime/JsxDOM.res b/packages/@rescript/runtime/JsxDOM.res similarity index 100% rename from runtime/JsxDOM.res rename to packages/@rescript/runtime/JsxDOM.res diff --git a/runtime/JsxDOMStyle.res b/packages/@rescript/runtime/JsxDOMStyle.res similarity index 100% rename from runtime/JsxDOMStyle.res rename to packages/@rescript/runtime/JsxDOMStyle.res diff --git a/runtime/JsxEvent.res b/packages/@rescript/runtime/JsxEvent.res similarity index 100% rename from runtime/JsxEvent.res rename to packages/@rescript/runtime/JsxEvent.res diff --git a/runtime/Obj.res b/packages/@rescript/runtime/Obj.res similarity index 100% rename from runtime/Obj.res rename to packages/@rescript/runtime/Obj.res diff --git a/runtime/Pervasives.res b/packages/@rescript/runtime/Pervasives.res similarity index 100% rename from runtime/Pervasives.res rename to packages/@rescript/runtime/Pervasives.res diff --git a/runtime/Primitive_array.res b/packages/@rescript/runtime/Primitive_array.res similarity index 100% rename from runtime/Primitive_array.res rename to packages/@rescript/runtime/Primitive_array.res diff --git a/runtime/Primitive_array_extern.res b/packages/@rescript/runtime/Primitive_array_extern.res similarity index 100% rename from runtime/Primitive_array_extern.res rename to packages/@rescript/runtime/Primitive_array_extern.res diff --git a/runtime/Primitive_bigint.res b/packages/@rescript/runtime/Primitive_bigint.res similarity index 100% rename from runtime/Primitive_bigint.res rename to packages/@rescript/runtime/Primitive_bigint.res diff --git a/runtime/Primitive_bool.res b/packages/@rescript/runtime/Primitive_bool.res similarity index 100% rename from runtime/Primitive_bool.res rename to packages/@rescript/runtime/Primitive_bool.res diff --git a/runtime/Primitive_char_extern.res b/packages/@rescript/runtime/Primitive_char_extern.res similarity index 100% rename from runtime/Primitive_char_extern.res rename to packages/@rescript/runtime/Primitive_char_extern.res diff --git a/runtime/Primitive_curry.res b/packages/@rescript/runtime/Primitive_curry.res similarity index 100% rename from runtime/Primitive_curry.res rename to packages/@rescript/runtime/Primitive_curry.res diff --git a/runtime/Primitive_curry.resi b/packages/@rescript/runtime/Primitive_curry.resi similarity index 100% rename from runtime/Primitive_curry.resi rename to packages/@rescript/runtime/Primitive_curry.resi diff --git a/runtime/Primitive_dict.res b/packages/@rescript/runtime/Primitive_dict.res similarity index 100% rename from runtime/Primitive_dict.res rename to packages/@rescript/runtime/Primitive_dict.res diff --git a/runtime/Primitive_exceptions.res b/packages/@rescript/runtime/Primitive_exceptions.res similarity index 100% rename from runtime/Primitive_exceptions.res rename to packages/@rescript/runtime/Primitive_exceptions.res diff --git a/runtime/Primitive_exceptions.resi b/packages/@rescript/runtime/Primitive_exceptions.resi similarity index 100% rename from runtime/Primitive_exceptions.resi rename to packages/@rescript/runtime/Primitive_exceptions.resi diff --git a/runtime/Primitive_float.res b/packages/@rescript/runtime/Primitive_float.res similarity index 100% rename from runtime/Primitive_float.res rename to packages/@rescript/runtime/Primitive_float.res diff --git a/runtime/Primitive_float_extern.res b/packages/@rescript/runtime/Primitive_float_extern.res similarity index 100% rename from runtime/Primitive_float_extern.res rename to packages/@rescript/runtime/Primitive_float_extern.res diff --git a/runtime/Primitive_hash.res b/packages/@rescript/runtime/Primitive_hash.res similarity index 100% rename from runtime/Primitive_hash.res rename to packages/@rescript/runtime/Primitive_hash.res diff --git a/runtime/Primitive_hash.resi b/packages/@rescript/runtime/Primitive_hash.resi similarity index 100% rename from runtime/Primitive_hash.resi rename to packages/@rescript/runtime/Primitive_hash.resi diff --git a/runtime/Primitive_int.res b/packages/@rescript/runtime/Primitive_int.res similarity index 100% rename from runtime/Primitive_int.res rename to packages/@rescript/runtime/Primitive_int.res diff --git a/runtime/Primitive_int_extern.res b/packages/@rescript/runtime/Primitive_int_extern.res similarity index 100% rename from runtime/Primitive_int_extern.res rename to packages/@rescript/runtime/Primitive_int_extern.res diff --git a/runtime/Primitive_js_extern.res b/packages/@rescript/runtime/Primitive_js_extern.res similarity index 100% rename from runtime/Primitive_js_extern.res rename to packages/@rescript/runtime/Primitive_js_extern.res diff --git a/runtime/Primitive_lazy.res b/packages/@rescript/runtime/Primitive_lazy.res similarity index 100% rename from runtime/Primitive_lazy.res rename to packages/@rescript/runtime/Primitive_lazy.res diff --git a/runtime/Primitive_lazy.resi b/packages/@rescript/runtime/Primitive_lazy.resi similarity index 100% rename from runtime/Primitive_lazy.resi rename to packages/@rescript/runtime/Primitive_lazy.resi diff --git a/runtime/Primitive_module.res b/packages/@rescript/runtime/Primitive_module.res similarity index 100% rename from runtime/Primitive_module.res rename to packages/@rescript/runtime/Primitive_module.res diff --git a/runtime/Primitive_module.resi b/packages/@rescript/runtime/Primitive_module.resi similarity index 100% rename from runtime/Primitive_module.resi rename to packages/@rescript/runtime/Primitive_module.resi diff --git a/runtime/Primitive_object.res b/packages/@rescript/runtime/Primitive_object.res similarity index 100% rename from runtime/Primitive_object.res rename to packages/@rescript/runtime/Primitive_object.res diff --git a/runtime/Primitive_object.resi b/packages/@rescript/runtime/Primitive_object.resi similarity index 100% rename from runtime/Primitive_object.resi rename to packages/@rescript/runtime/Primitive_object.resi diff --git a/runtime/Primitive_object_extern.res b/packages/@rescript/runtime/Primitive_object_extern.res similarity index 100% rename from runtime/Primitive_object_extern.res rename to packages/@rescript/runtime/Primitive_object_extern.res diff --git a/runtime/Primitive_option.res b/packages/@rescript/runtime/Primitive_option.res similarity index 100% rename from runtime/Primitive_option.res rename to packages/@rescript/runtime/Primitive_option.res diff --git a/runtime/Primitive_option.resi b/packages/@rescript/runtime/Primitive_option.resi similarity index 100% rename from runtime/Primitive_option.resi rename to packages/@rescript/runtime/Primitive_option.resi diff --git a/runtime/Primitive_promise.res b/packages/@rescript/runtime/Primitive_promise.res similarity index 100% rename from runtime/Primitive_promise.res rename to packages/@rescript/runtime/Primitive_promise.res diff --git a/runtime/Primitive_string.res b/packages/@rescript/runtime/Primitive_string.res similarity index 100% rename from runtime/Primitive_string.res rename to packages/@rescript/runtime/Primitive_string.res diff --git a/runtime/Primitive_string_extern.res b/packages/@rescript/runtime/Primitive_string_extern.res similarity index 100% rename from runtime/Primitive_string_extern.res rename to packages/@rescript/runtime/Primitive_string_extern.res diff --git a/runtime/Primitive_util.res b/packages/@rescript/runtime/Primitive_util.res similarity index 100% rename from runtime/Primitive_util.res rename to packages/@rescript/runtime/Primitive_util.res diff --git a/runtime/RescriptTools.res b/packages/@rescript/runtime/RescriptTools.res similarity index 100% rename from runtime/RescriptTools.res rename to packages/@rescript/runtime/RescriptTools.res diff --git a/runtime/RescriptTools_Docgen.res b/packages/@rescript/runtime/RescriptTools_Docgen.res similarity index 100% rename from runtime/RescriptTools_Docgen.res rename to packages/@rescript/runtime/RescriptTools_Docgen.res diff --git a/runtime/RescriptTools_Docgen.resi b/packages/@rescript/runtime/RescriptTools_Docgen.resi similarity index 100% rename from runtime/RescriptTools_Docgen.resi rename to packages/@rescript/runtime/RescriptTools_Docgen.resi diff --git a/runtime/Stdlib.res b/packages/@rescript/runtime/Stdlib.res similarity index 100% rename from runtime/Stdlib.res rename to packages/@rescript/runtime/Stdlib.res diff --git a/runtime/Stdlib_Array.res b/packages/@rescript/runtime/Stdlib_Array.res similarity index 100% rename from runtime/Stdlib_Array.res rename to packages/@rescript/runtime/Stdlib_Array.res diff --git a/runtime/Stdlib_Array.resi b/packages/@rescript/runtime/Stdlib_Array.resi similarity index 100% rename from runtime/Stdlib_Array.resi rename to packages/@rescript/runtime/Stdlib_Array.resi diff --git a/runtime/Stdlib_ArrayBuffer.res b/packages/@rescript/runtime/Stdlib_ArrayBuffer.res similarity index 100% rename from runtime/Stdlib_ArrayBuffer.res rename to packages/@rescript/runtime/Stdlib_ArrayBuffer.res diff --git a/runtime/Stdlib_AsyncIterator.res b/packages/@rescript/runtime/Stdlib_AsyncIterator.res similarity index 100% rename from runtime/Stdlib_AsyncIterator.res rename to packages/@rescript/runtime/Stdlib_AsyncIterator.res diff --git a/runtime/Stdlib_AsyncIterator.resi b/packages/@rescript/runtime/Stdlib_AsyncIterator.resi similarity index 100% rename from runtime/Stdlib_AsyncIterator.resi rename to packages/@rescript/runtime/Stdlib_AsyncIterator.resi diff --git a/runtime/Stdlib_BigInt.res b/packages/@rescript/runtime/Stdlib_BigInt.res similarity index 100% rename from runtime/Stdlib_BigInt.res rename to packages/@rescript/runtime/Stdlib_BigInt.res diff --git a/runtime/Stdlib_BigInt64Array.res b/packages/@rescript/runtime/Stdlib_BigInt64Array.res similarity index 100% rename from runtime/Stdlib_BigInt64Array.res rename to packages/@rescript/runtime/Stdlib_BigInt64Array.res diff --git a/runtime/Stdlib_BigUint64Array.res b/packages/@rescript/runtime/Stdlib_BigUint64Array.res similarity index 100% rename from runtime/Stdlib_BigUint64Array.res rename to packages/@rescript/runtime/Stdlib_BigUint64Array.res diff --git a/runtime/Stdlib_Bool.res b/packages/@rescript/runtime/Stdlib_Bool.res similarity index 100% rename from runtime/Stdlib_Bool.res rename to packages/@rescript/runtime/Stdlib_Bool.res diff --git a/runtime/Stdlib_Bool.resi b/packages/@rescript/runtime/Stdlib_Bool.resi similarity index 100% rename from runtime/Stdlib_Bool.resi rename to packages/@rescript/runtime/Stdlib_Bool.resi diff --git a/runtime/Stdlib_Console.res b/packages/@rescript/runtime/Stdlib_Console.res similarity index 100% rename from runtime/Stdlib_Console.res rename to packages/@rescript/runtime/Stdlib_Console.res diff --git a/runtime/Stdlib_Console.resi b/packages/@rescript/runtime/Stdlib_Console.resi similarity index 100% rename from runtime/Stdlib_Console.resi rename to packages/@rescript/runtime/Stdlib_Console.resi diff --git a/runtime/Stdlib_DataView.res b/packages/@rescript/runtime/Stdlib_DataView.res similarity index 100% rename from runtime/Stdlib_DataView.res rename to packages/@rescript/runtime/Stdlib_DataView.res diff --git a/runtime/Stdlib_Date.res b/packages/@rescript/runtime/Stdlib_Date.res similarity index 100% rename from runtime/Stdlib_Date.res rename to packages/@rescript/runtime/Stdlib_Date.res diff --git a/runtime/Stdlib_Date.resi b/packages/@rescript/runtime/Stdlib_Date.resi similarity index 100% rename from runtime/Stdlib_Date.resi rename to packages/@rescript/runtime/Stdlib_Date.resi diff --git a/runtime/Stdlib_Dict.res b/packages/@rescript/runtime/Stdlib_Dict.res similarity index 100% rename from runtime/Stdlib_Dict.res rename to packages/@rescript/runtime/Stdlib_Dict.res diff --git a/runtime/Stdlib_Dict.resi b/packages/@rescript/runtime/Stdlib_Dict.resi similarity index 100% rename from runtime/Stdlib_Dict.resi rename to packages/@rescript/runtime/Stdlib_Dict.resi diff --git a/runtime/Stdlib_Error.res b/packages/@rescript/runtime/Stdlib_Error.res similarity index 100% rename from runtime/Stdlib_Error.res rename to packages/@rescript/runtime/Stdlib_Error.res diff --git a/runtime/Stdlib_Error.resi b/packages/@rescript/runtime/Stdlib_Error.resi similarity index 100% rename from runtime/Stdlib_Error.resi rename to packages/@rescript/runtime/Stdlib_Error.resi diff --git a/runtime/Stdlib_Exn.res b/packages/@rescript/runtime/Stdlib_Exn.res similarity index 100% rename from runtime/Stdlib_Exn.res rename to packages/@rescript/runtime/Stdlib_Exn.res diff --git a/runtime/Stdlib_Exn.resi b/packages/@rescript/runtime/Stdlib_Exn.resi similarity index 100% rename from runtime/Stdlib_Exn.resi rename to packages/@rescript/runtime/Stdlib_Exn.resi diff --git a/runtime/Stdlib_Float.res b/packages/@rescript/runtime/Stdlib_Float.res similarity index 100% rename from runtime/Stdlib_Float.res rename to packages/@rescript/runtime/Stdlib_Float.res diff --git a/runtime/Stdlib_Float.resi b/packages/@rescript/runtime/Stdlib_Float.resi similarity index 100% rename from runtime/Stdlib_Float.resi rename to packages/@rescript/runtime/Stdlib_Float.resi diff --git a/runtime/Stdlib_Float32Array.res b/packages/@rescript/runtime/Stdlib_Float32Array.res similarity index 100% rename from runtime/Stdlib_Float32Array.res rename to packages/@rescript/runtime/Stdlib_Float32Array.res diff --git a/runtime/Stdlib_Float64Array.res b/packages/@rescript/runtime/Stdlib_Float64Array.res similarity index 100% rename from runtime/Stdlib_Float64Array.res rename to packages/@rescript/runtime/Stdlib_Float64Array.res diff --git a/runtime/Stdlib_Global.res b/packages/@rescript/runtime/Stdlib_Global.res similarity index 100% rename from runtime/Stdlib_Global.res rename to packages/@rescript/runtime/Stdlib_Global.res diff --git a/runtime/Stdlib_Global.resi b/packages/@rescript/runtime/Stdlib_Global.resi similarity index 100% rename from runtime/Stdlib_Global.resi rename to packages/@rescript/runtime/Stdlib_Global.resi diff --git a/runtime/Stdlib_Int.res b/packages/@rescript/runtime/Stdlib_Int.res similarity index 100% rename from runtime/Stdlib_Int.res rename to packages/@rescript/runtime/Stdlib_Int.res diff --git a/runtime/Stdlib_Int.resi b/packages/@rescript/runtime/Stdlib_Int.resi similarity index 100% rename from runtime/Stdlib_Int.resi rename to packages/@rescript/runtime/Stdlib_Int.resi diff --git a/runtime/Stdlib_Int16Array.res b/packages/@rescript/runtime/Stdlib_Int16Array.res similarity index 100% rename from runtime/Stdlib_Int16Array.res rename to packages/@rescript/runtime/Stdlib_Int16Array.res diff --git a/runtime/Stdlib_Int32Array.res b/packages/@rescript/runtime/Stdlib_Int32Array.res similarity index 100% rename from runtime/Stdlib_Int32Array.res rename to packages/@rescript/runtime/Stdlib_Int32Array.res diff --git a/runtime/Stdlib_Int8Array.res b/packages/@rescript/runtime/Stdlib_Int8Array.res similarity index 100% rename from runtime/Stdlib_Int8Array.res rename to packages/@rescript/runtime/Stdlib_Int8Array.res diff --git a/runtime/Stdlib_Intl.res b/packages/@rescript/runtime/Stdlib_Intl.res similarity index 100% rename from runtime/Stdlib_Intl.res rename to packages/@rescript/runtime/Stdlib_Intl.res diff --git a/runtime/Stdlib_Intl_Collator.res b/packages/@rescript/runtime/Stdlib_Intl_Collator.res similarity index 100% rename from runtime/Stdlib_Intl_Collator.res rename to packages/@rescript/runtime/Stdlib_Intl_Collator.res diff --git a/runtime/Stdlib_Intl_Common.res b/packages/@rescript/runtime/Stdlib_Intl_Common.res similarity index 100% rename from runtime/Stdlib_Intl_Common.res rename to packages/@rescript/runtime/Stdlib_Intl_Common.res diff --git a/runtime/Stdlib_Intl_DateTimeFormat.res b/packages/@rescript/runtime/Stdlib_Intl_DateTimeFormat.res similarity index 100% rename from runtime/Stdlib_Intl_DateTimeFormat.res rename to packages/@rescript/runtime/Stdlib_Intl_DateTimeFormat.res diff --git a/runtime/Stdlib_Intl_ListFormat.res b/packages/@rescript/runtime/Stdlib_Intl_ListFormat.res similarity index 100% rename from runtime/Stdlib_Intl_ListFormat.res rename to packages/@rescript/runtime/Stdlib_Intl_ListFormat.res diff --git a/runtime/Stdlib_Intl_Locale.res b/packages/@rescript/runtime/Stdlib_Intl_Locale.res similarity index 100% rename from runtime/Stdlib_Intl_Locale.res rename to packages/@rescript/runtime/Stdlib_Intl_Locale.res diff --git a/runtime/Stdlib_Intl_NumberFormat.res b/packages/@rescript/runtime/Stdlib_Intl_NumberFormat.res similarity index 100% rename from runtime/Stdlib_Intl_NumberFormat.res rename to packages/@rescript/runtime/Stdlib_Intl_NumberFormat.res diff --git a/runtime/Stdlib_Intl_NumberFormat_Grouping.res b/packages/@rescript/runtime/Stdlib_Intl_NumberFormat_Grouping.res similarity index 100% rename from runtime/Stdlib_Intl_NumberFormat_Grouping.res rename to packages/@rescript/runtime/Stdlib_Intl_NumberFormat_Grouping.res diff --git a/runtime/Stdlib_Intl_PluralRules.res b/packages/@rescript/runtime/Stdlib_Intl_PluralRules.res similarity index 100% rename from runtime/Stdlib_Intl_PluralRules.res rename to packages/@rescript/runtime/Stdlib_Intl_PluralRules.res diff --git a/runtime/Stdlib_Intl_RelativeTimeFormat.res b/packages/@rescript/runtime/Stdlib_Intl_RelativeTimeFormat.res similarity index 100% rename from runtime/Stdlib_Intl_RelativeTimeFormat.res rename to packages/@rescript/runtime/Stdlib_Intl_RelativeTimeFormat.res diff --git a/runtime/Stdlib_Intl_Segmenter.res b/packages/@rescript/runtime/Stdlib_Intl_Segmenter.res similarity index 100% rename from runtime/Stdlib_Intl_Segmenter.res rename to packages/@rescript/runtime/Stdlib_Intl_Segmenter.res diff --git a/runtime/Stdlib_Intl_Segments.res b/packages/@rescript/runtime/Stdlib_Intl_Segments.res similarity index 100% rename from runtime/Stdlib_Intl_Segments.res rename to packages/@rescript/runtime/Stdlib_Intl_Segments.res diff --git a/runtime/Stdlib_Iterator.res b/packages/@rescript/runtime/Stdlib_Iterator.res similarity index 100% rename from runtime/Stdlib_Iterator.res rename to packages/@rescript/runtime/Stdlib_Iterator.res diff --git a/runtime/Stdlib_Iterator.resi b/packages/@rescript/runtime/Stdlib_Iterator.resi similarity index 100% rename from runtime/Stdlib_Iterator.resi rename to packages/@rescript/runtime/Stdlib_Iterator.resi diff --git a/runtime/Stdlib_JSON.res b/packages/@rescript/runtime/Stdlib_JSON.res similarity index 100% rename from runtime/Stdlib_JSON.res rename to packages/@rescript/runtime/Stdlib_JSON.res diff --git a/runtime/Stdlib_JSON.resi b/packages/@rescript/runtime/Stdlib_JSON.resi similarity index 100% rename from runtime/Stdlib_JSON.resi rename to packages/@rescript/runtime/Stdlib_JSON.resi diff --git a/runtime/Stdlib_JsError.res b/packages/@rescript/runtime/Stdlib_JsError.res similarity index 100% rename from runtime/Stdlib_JsError.res rename to packages/@rescript/runtime/Stdlib_JsError.res diff --git a/runtime/Stdlib_JsError.resi b/packages/@rescript/runtime/Stdlib_JsError.resi similarity index 100% rename from runtime/Stdlib_JsError.resi rename to packages/@rescript/runtime/Stdlib_JsError.resi diff --git a/runtime/Stdlib_JsExn.res b/packages/@rescript/runtime/Stdlib_JsExn.res similarity index 100% rename from runtime/Stdlib_JsExn.res rename to packages/@rescript/runtime/Stdlib_JsExn.res diff --git a/runtime/Stdlib_JsExn.resi b/packages/@rescript/runtime/Stdlib_JsExn.resi similarity index 100% rename from runtime/Stdlib_JsExn.resi rename to packages/@rescript/runtime/Stdlib_JsExn.resi diff --git a/runtime/Stdlib_Lazy.res b/packages/@rescript/runtime/Stdlib_Lazy.res similarity index 100% rename from runtime/Stdlib_Lazy.res rename to packages/@rescript/runtime/Stdlib_Lazy.res diff --git a/runtime/Stdlib_Lazy.resi b/packages/@rescript/runtime/Stdlib_Lazy.resi similarity index 100% rename from runtime/Stdlib_Lazy.resi rename to packages/@rescript/runtime/Stdlib_Lazy.resi diff --git a/runtime/Stdlib_List.res b/packages/@rescript/runtime/Stdlib_List.res similarity index 100% rename from runtime/Stdlib_List.res rename to packages/@rescript/runtime/Stdlib_List.res diff --git a/runtime/Stdlib_List.resi b/packages/@rescript/runtime/Stdlib_List.resi similarity index 100% rename from runtime/Stdlib_List.resi rename to packages/@rescript/runtime/Stdlib_List.resi diff --git a/runtime/Stdlib_Map.res b/packages/@rescript/runtime/Stdlib_Map.res similarity index 100% rename from runtime/Stdlib_Map.res rename to packages/@rescript/runtime/Stdlib_Map.res diff --git a/runtime/Stdlib_Map.resi b/packages/@rescript/runtime/Stdlib_Map.resi similarity index 100% rename from runtime/Stdlib_Map.resi rename to packages/@rescript/runtime/Stdlib_Map.resi diff --git a/runtime/Stdlib_Math.res b/packages/@rescript/runtime/Stdlib_Math.res similarity index 100% rename from runtime/Stdlib_Math.res rename to packages/@rescript/runtime/Stdlib_Math.res diff --git a/runtime/Stdlib_Math.resi b/packages/@rescript/runtime/Stdlib_Math.resi similarity index 100% rename from runtime/Stdlib_Math.resi rename to packages/@rescript/runtime/Stdlib_Math.resi diff --git a/runtime/Stdlib_Null.res b/packages/@rescript/runtime/Stdlib_Null.res similarity index 100% rename from runtime/Stdlib_Null.res rename to packages/@rescript/runtime/Stdlib_Null.res diff --git a/runtime/Stdlib_Null.resi b/packages/@rescript/runtime/Stdlib_Null.resi similarity index 100% rename from runtime/Stdlib_Null.resi rename to packages/@rescript/runtime/Stdlib_Null.resi diff --git a/runtime/Stdlib_Nullable.res b/packages/@rescript/runtime/Stdlib_Nullable.res similarity index 100% rename from runtime/Stdlib_Nullable.res rename to packages/@rescript/runtime/Stdlib_Nullable.res diff --git a/runtime/Stdlib_Nullable.resi b/packages/@rescript/runtime/Stdlib_Nullable.resi similarity index 100% rename from runtime/Stdlib_Nullable.resi rename to packages/@rescript/runtime/Stdlib_Nullable.resi diff --git a/runtime/Stdlib_Object.res b/packages/@rescript/runtime/Stdlib_Object.res similarity index 100% rename from runtime/Stdlib_Object.res rename to packages/@rescript/runtime/Stdlib_Object.res diff --git a/runtime/Stdlib_Option.res b/packages/@rescript/runtime/Stdlib_Option.res similarity index 100% rename from runtime/Stdlib_Option.res rename to packages/@rescript/runtime/Stdlib_Option.res diff --git a/runtime/Stdlib_Option.resi b/packages/@rescript/runtime/Stdlib_Option.resi similarity index 100% rename from runtime/Stdlib_Option.resi rename to packages/@rescript/runtime/Stdlib_Option.resi diff --git a/runtime/Stdlib_Ordering.res b/packages/@rescript/runtime/Stdlib_Ordering.res similarity index 100% rename from runtime/Stdlib_Ordering.res rename to packages/@rescript/runtime/Stdlib_Ordering.res diff --git a/runtime/Stdlib_Pair.res b/packages/@rescript/runtime/Stdlib_Pair.res similarity index 100% rename from runtime/Stdlib_Pair.res rename to packages/@rescript/runtime/Stdlib_Pair.res diff --git a/runtime/Stdlib_Promise.res b/packages/@rescript/runtime/Stdlib_Promise.res similarity index 100% rename from runtime/Stdlib_Promise.res rename to packages/@rescript/runtime/Stdlib_Promise.res diff --git a/runtime/Stdlib_Promise.resi b/packages/@rescript/runtime/Stdlib_Promise.resi similarity index 100% rename from runtime/Stdlib_Promise.resi rename to packages/@rescript/runtime/Stdlib_Promise.resi diff --git a/runtime/Stdlib_RegExp.res b/packages/@rescript/runtime/Stdlib_RegExp.res similarity index 100% rename from runtime/Stdlib_RegExp.res rename to packages/@rescript/runtime/Stdlib_RegExp.res diff --git a/runtime/Stdlib_RegExp.resi b/packages/@rescript/runtime/Stdlib_RegExp.resi similarity index 100% rename from runtime/Stdlib_RegExp.resi rename to packages/@rescript/runtime/Stdlib_RegExp.resi diff --git a/runtime/Stdlib_Result.res b/packages/@rescript/runtime/Stdlib_Result.res similarity index 100% rename from runtime/Stdlib_Result.res rename to packages/@rescript/runtime/Stdlib_Result.res diff --git a/runtime/Stdlib_Result.resi b/packages/@rescript/runtime/Stdlib_Result.resi similarity index 100% rename from runtime/Stdlib_Result.resi rename to packages/@rescript/runtime/Stdlib_Result.resi diff --git a/runtime/Stdlib_Set.res b/packages/@rescript/runtime/Stdlib_Set.res similarity index 100% rename from runtime/Stdlib_Set.res rename to packages/@rescript/runtime/Stdlib_Set.res diff --git a/runtime/Stdlib_Set.resi b/packages/@rescript/runtime/Stdlib_Set.resi similarity index 100% rename from runtime/Stdlib_Set.resi rename to packages/@rescript/runtime/Stdlib_Set.resi diff --git a/runtime/Stdlib_String.res b/packages/@rescript/runtime/Stdlib_String.res similarity index 100% rename from runtime/Stdlib_String.res rename to packages/@rescript/runtime/Stdlib_String.res diff --git a/runtime/Stdlib_String.resi b/packages/@rescript/runtime/Stdlib_String.resi similarity index 100% rename from runtime/Stdlib_String.resi rename to packages/@rescript/runtime/Stdlib_String.resi diff --git a/runtime/Stdlib_Symbol.res b/packages/@rescript/runtime/Stdlib_Symbol.res similarity index 100% rename from runtime/Stdlib_Symbol.res rename to packages/@rescript/runtime/Stdlib_Symbol.res diff --git a/runtime/Stdlib_Symbol.resi b/packages/@rescript/runtime/Stdlib_Symbol.resi similarity index 100% rename from runtime/Stdlib_Symbol.resi rename to packages/@rescript/runtime/Stdlib_Symbol.resi diff --git a/runtime/Stdlib_Type.res b/packages/@rescript/runtime/Stdlib_Type.res similarity index 100% rename from runtime/Stdlib_Type.res rename to packages/@rescript/runtime/Stdlib_Type.res diff --git a/runtime/Stdlib_Type.resi b/packages/@rescript/runtime/Stdlib_Type.resi similarity index 100% rename from runtime/Stdlib_Type.resi rename to packages/@rescript/runtime/Stdlib_Type.resi diff --git a/runtime/Stdlib_TypedArray.res b/packages/@rescript/runtime/Stdlib_TypedArray.res similarity index 100% rename from runtime/Stdlib_TypedArray.res rename to packages/@rescript/runtime/Stdlib_TypedArray.res diff --git a/runtime/Stdlib_Uint16Array.res b/packages/@rescript/runtime/Stdlib_Uint16Array.res similarity index 100% rename from runtime/Stdlib_Uint16Array.res rename to packages/@rescript/runtime/Stdlib_Uint16Array.res diff --git a/runtime/Stdlib_Uint32Array.res b/packages/@rescript/runtime/Stdlib_Uint32Array.res similarity index 100% rename from runtime/Stdlib_Uint32Array.res rename to packages/@rescript/runtime/Stdlib_Uint32Array.res diff --git a/runtime/Stdlib_Uint8Array.res b/packages/@rescript/runtime/Stdlib_Uint8Array.res similarity index 100% rename from runtime/Stdlib_Uint8Array.res rename to packages/@rescript/runtime/Stdlib_Uint8Array.res diff --git a/runtime/Stdlib_Uint8ClampedArray.res b/packages/@rescript/runtime/Stdlib_Uint8ClampedArray.res similarity index 100% rename from runtime/Stdlib_Uint8ClampedArray.res rename to packages/@rescript/runtime/Stdlib_Uint8ClampedArray.res diff --git a/runtime/Stdlib_WeakMap.res b/packages/@rescript/runtime/Stdlib_WeakMap.res similarity index 100% rename from runtime/Stdlib_WeakMap.res rename to packages/@rescript/runtime/Stdlib_WeakMap.res diff --git a/runtime/Stdlib_WeakSet.res b/packages/@rescript/runtime/Stdlib_WeakSet.res similarity index 100% rename from runtime/Stdlib_WeakSet.res rename to packages/@rescript/runtime/Stdlib_WeakSet.res diff --git a/runtime/cppo/belt_Set.res.cppo b/packages/@rescript/runtime/cppo/belt_Set.res.cppo similarity index 100% rename from runtime/cppo/belt_Set.res.cppo rename to packages/@rescript/runtime/cppo/belt_Set.res.cppo diff --git a/runtime/cppo/belt_Set.resi.cppo b/packages/@rescript/runtime/cppo/belt_Set.resi.cppo similarity index 100% rename from runtime/cppo/belt_Set.resi.cppo rename to packages/@rescript/runtime/cppo/belt_Set.resi.cppo diff --git a/runtime/cppo/hashmap.res.cppo b/packages/@rescript/runtime/cppo/hashmap.res.cppo similarity index 100% rename from runtime/cppo/hashmap.res.cppo rename to packages/@rescript/runtime/cppo/hashmap.res.cppo diff --git a/runtime/cppo/hashmap.resi.cppo b/packages/@rescript/runtime/cppo/hashmap.resi.cppo similarity index 100% rename from runtime/cppo/hashmap.resi.cppo rename to packages/@rescript/runtime/cppo/hashmap.resi.cppo diff --git a/runtime/cppo/hashset.res.cppo b/packages/@rescript/runtime/cppo/hashset.res.cppo similarity index 100% rename from runtime/cppo/hashset.res.cppo rename to packages/@rescript/runtime/cppo/hashset.res.cppo diff --git a/runtime/cppo/hashset.resi.cppo b/packages/@rescript/runtime/cppo/hashset.resi.cppo similarity index 100% rename from runtime/cppo/hashset.resi.cppo rename to packages/@rescript/runtime/cppo/hashset.resi.cppo diff --git a/runtime/cppo/internal_map.res.cppo b/packages/@rescript/runtime/cppo/internal_map.res.cppo similarity index 100% rename from runtime/cppo/internal_map.res.cppo rename to packages/@rescript/runtime/cppo/internal_map.res.cppo diff --git a/runtime/cppo/internal_set.res.cppo b/packages/@rescript/runtime/cppo/internal_set.res.cppo similarity index 100% rename from runtime/cppo/internal_set.res.cppo rename to packages/@rescript/runtime/cppo/internal_set.res.cppo diff --git a/runtime/cppo/map.res.cppo b/packages/@rescript/runtime/cppo/map.res.cppo similarity index 100% rename from runtime/cppo/map.res.cppo rename to packages/@rescript/runtime/cppo/map.res.cppo diff --git a/runtime/cppo/map.resi.cppo b/packages/@rescript/runtime/cppo/map.resi.cppo similarity index 100% rename from runtime/cppo/map.resi.cppo rename to packages/@rescript/runtime/cppo/map.resi.cppo diff --git a/runtime/cppo/mapm.res.cppo b/packages/@rescript/runtime/cppo/mapm.res.cppo similarity index 100% rename from runtime/cppo/mapm.res.cppo rename to packages/@rescript/runtime/cppo/mapm.res.cppo diff --git a/runtime/cppo/mapm.resi.cppo b/packages/@rescript/runtime/cppo/mapm.resi.cppo similarity index 100% rename from runtime/cppo/mapm.resi.cppo rename to packages/@rescript/runtime/cppo/mapm.resi.cppo diff --git a/runtime/cppo/setm.res.cppo b/packages/@rescript/runtime/cppo/setm.res.cppo similarity index 100% rename from runtime/cppo/setm.res.cppo rename to packages/@rescript/runtime/cppo/setm.res.cppo diff --git a/runtime/cppo/setm.resi.cppo b/packages/@rescript/runtime/cppo/setm.resi.cppo similarity index 100% rename from runtime/cppo/setm.resi.cppo rename to packages/@rescript/runtime/cppo/setm.resi.cppo diff --git a/runtime/cppo/sort.res.cppo b/packages/@rescript/runtime/cppo/sort.res.cppo similarity index 100% rename from runtime/cppo/sort.res.cppo rename to packages/@rescript/runtime/cppo/sort.res.cppo diff --git a/runtime/cppo/sort.resi.cppo b/packages/@rescript/runtime/cppo/sort.resi.cppo similarity index 100% rename from runtime/cppo/sort.resi.cppo rename to packages/@rescript/runtime/cppo/sort.resi.cppo diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json new file mode 100644 index 0000000000..95649e4014 --- /dev/null +++ b/packages/@rescript/runtime/package.json @@ -0,0 +1,20 @@ +{ + "name": "@rescript/runtime", + "version": "12.0.0-alpha.13", + "description": "ReScript runtime modules", + "type": "module", + "repository": { + "type": "git", + "url": "git+https://github.com/rescript-lang/rescript.git" + }, + "publishConfig": { + "access": "public" + }, + "files": [ + "lib" + ], + "devDependencies": { + "rescript": "workspace:^" + }, + "preferUnplugged": true +} diff --git a/runtime/rescript.json b/packages/@rescript/runtime/rescript.json similarity index 94% rename from runtime/rescript.json rename to packages/@rescript/runtime/rescript.json index 0d7134657b..c84959673f 100644 --- a/runtime/rescript.json +++ b/packages/@rescript/runtime/rescript.json @@ -1,5 +1,5 @@ { - "name": "rescript-runtime", + "name": "@rescript/runtime", "sources": [ { "dir": "." diff --git a/runtime/package.json b/runtime/package.json deleted file mode 100644 index 431e023703..0000000000 --- a/runtime/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "rescript-runtime", - "version": "0.0.0", - "private": true -} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 3749dcd9a2..42bb10ca92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -440,6 +440,14 @@ __metadata: languageName: node linkType: hard +"@rescript/runtime@workspace:packages/@rescript/runtime": + version: 0.0.0-use.local + resolution: "@rescript/runtime@workspace:packages/@rescript/runtime" + dependencies: + rescript: "workspace:^" + languageName: unknown + linkType: soft + "@rescript/std@workspace:packages/std": version: 0.0.0-use.local resolution: "@rescript/std@workspace:packages/std" From a840b0daf956bd9133c7422769c44e90843e85a6 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 12:25:18 +0900 Subject: [PATCH 03/13] move runtime artifacts --- lib/es6/package.json | 1 - packages/@rescript/runtime/.gitignore | 4 +++- {lib => packages/@rescript/runtime/lib}/es6/Belt.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Array.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Float.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_HashMap.js | 0 .../@rescript/runtime/lib}/es6/Belt_HashMapInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_HashMapString.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_HashSet.js | 0 .../@rescript/runtime/lib}/es6/Belt_HashSetInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_HashSetString.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Id.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Int.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_List.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Map.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_MapDict.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_MapInt.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_MapString.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableMap.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableMapInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableMapString.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableQueue.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableSet.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableSetInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableSetString.js | 0 .../@rescript/runtime/lib}/es6/Belt_MutableStack.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Option.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Range.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Result.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_Set.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_SetDict.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_SetInt.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_SetString.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Belt_SortArray.js | 0 .../@rescript/runtime/lib}/es6/Belt_SortArrayInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_SortArrayString.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalAVLset.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalAVLtree.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalBuckets.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalBucketsType.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalMapInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalMapString.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalSetBuckets.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalSetInt.js | 0 .../@rescript/runtime/lib}/es6/Belt_internalSetString.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Char.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Dom.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Dom_storage.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Dom_storage2.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_OO.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_array.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_array2.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_bigint.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_blob.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_console.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_date.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_dict.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_extern.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_file.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_float.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_global.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_int.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_json.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_map.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_math.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_null.js | 0 .../@rescript/runtime/lib}/es6/Js_null_undefined.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_obj.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_option.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_promise.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_promise2.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_re.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_result.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_set.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_string.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_string2.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_typed_array.js | 0 .../@rescript/runtime/lib}/es6/Js_typed_array2.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_types.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_undefined.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_weakmap.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Js_weakset.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Jsx.js | 0 {lib => packages/@rescript/runtime/lib}/es6/JsxDOM.js | 0 {lib => packages/@rescript/runtime/lib}/es6/JsxDOMStyle.js | 0 {lib => packages/@rescript/runtime/lib}/es6/JsxEvent.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Obj.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Pervasives.js | 0 .../@rescript/runtime/lib}/es6/Primitive_array.js | 0 .../@rescript/runtime/lib}/es6/Primitive_array_extern.js | 0 .../@rescript/runtime/lib}/es6/Primitive_bigint.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_bool.js | 0 .../@rescript/runtime/lib}/es6/Primitive_char_extern.js | 0 .../@rescript/runtime/lib}/es6/Primitive_curry.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_dict.js | 0 .../@rescript/runtime/lib}/es6/Primitive_exceptions.js | 0 .../@rescript/runtime/lib}/es6/Primitive_float.js | 0 .../@rescript/runtime/lib}/es6/Primitive_float_extern.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_hash.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_int.js | 0 .../@rescript/runtime/lib}/es6/Primitive_int_extern.js | 0 .../@rescript/runtime/lib}/es6/Primitive_js_extern.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_lazy.js | 0 .../@rescript/runtime/lib}/es6/Primitive_module.js | 0 .../@rescript/runtime/lib}/es6/Primitive_object.js | 0 .../@rescript/runtime/lib}/es6/Primitive_object_extern.js | 0 .../@rescript/runtime/lib}/es6/Primitive_option.js | 0 .../@rescript/runtime/lib}/es6/Primitive_promise.js | 0 .../@rescript/runtime/lib}/es6/Primitive_string.js | 0 .../@rescript/runtime/lib}/es6/Primitive_string_extern.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Primitive_util.js | 0 {lib => packages/@rescript/runtime/lib}/es6/RescriptTools.js | 0 .../@rescript/runtime/lib}/es6/RescriptTools_Docgen.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_ArrayBuffer.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_AsyncIterator.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_BigInt.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_BigInt64Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_BigUint64Array.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Bool.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Console.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_DataView.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Date.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Dict.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Error.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Exn.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Float.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Float32Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Float64Array.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Global.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Int.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Int16Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Int32Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Int8Array.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_Collator.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_Common.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_DateTimeFormat.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_ListFormat.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_Locale.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_NumberFormat.js | 0 .../runtime/lib}/es6/Stdlib_Intl_NumberFormat_Grouping.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_PluralRules.js | 0 .../runtime/lib}/es6/Stdlib_Intl_RelativeTimeFormat.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_Segmenter.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Intl_Segments.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Iterator.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JSON.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JsError.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JsExn.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Lazy.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_List.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Map.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Math.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Null.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Nullable.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Object.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Option.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Ordering.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Pair.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Promise.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_RegExp.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Result.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Set.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_String.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Symbol.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Type.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_TypedArray.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Uint16Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Uint32Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Uint8Array.js | 0 .../@rescript/runtime/lib}/es6/Stdlib_Uint8ClampedArray.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_WeakMap.js | 0 {lib => packages/@rescript/runtime/lib}/es6/Stdlib_WeakSet.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Float.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_HashMap.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_HashMapInt.js | 0 .../@rescript/runtime/lib}/js/Belt_HashMapString.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_HashSet.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_HashSetInt.js | 0 .../@rescript/runtime/lib}/js/Belt_HashSetString.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Id.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Int.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_List.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Map.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_MapDict.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_MapInt.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_MapString.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_MutableMap.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableMapInt.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableMapString.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableQueue.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_MutableSet.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableSetInt.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableSetString.js | 0 .../@rescript/runtime/lib}/js/Belt_MutableStack.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Option.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Range.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Result.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_Set.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_SetDict.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_SetInt.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_SetString.js | 0 {lib => packages/@rescript/runtime/lib}/js/Belt_SortArray.js | 0 .../@rescript/runtime/lib}/js/Belt_SortArrayInt.js | 0 .../@rescript/runtime/lib}/js/Belt_SortArrayString.js | 0 .../@rescript/runtime/lib}/js/Belt_internalAVLset.js | 0 .../@rescript/runtime/lib}/js/Belt_internalAVLtree.js | 0 .../@rescript/runtime/lib}/js/Belt_internalBuckets.js | 0 .../@rescript/runtime/lib}/js/Belt_internalBucketsType.js | 0 .../@rescript/runtime/lib}/js/Belt_internalMapInt.js | 0 .../@rescript/runtime/lib}/js/Belt_internalMapString.js | 0 .../@rescript/runtime/lib}/js/Belt_internalSetBuckets.js | 0 .../@rescript/runtime/lib}/js/Belt_internalSetInt.js | 0 .../@rescript/runtime/lib}/js/Belt_internalSetString.js | 0 {lib => packages/@rescript/runtime/lib}/js/Char.js | 0 {lib => packages/@rescript/runtime/lib}/js/Dom.js | 0 {lib => packages/@rescript/runtime/lib}/js/Dom_storage.js | 0 {lib => packages/@rescript/runtime/lib}/js/Dom_storage2.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_OO.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_array2.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_bigint.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_blob.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_console.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_date.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_dict.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_extern.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_file.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_float.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_global.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_int.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_json.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_map.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_math.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_null.js | 0 .../@rescript/runtime/lib}/js/Js_null_undefined.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_obj.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_option.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_promise.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_promise2.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_re.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_result.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_set.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_string.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_string2.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_typed_array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_typed_array2.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_types.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_undefined.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_weakmap.js | 0 {lib => packages/@rescript/runtime/lib}/js/Js_weakset.js | 0 {lib => packages/@rescript/runtime/lib}/js/Jsx.js | 0 {lib => packages/@rescript/runtime/lib}/js/JsxDOM.js | 0 {lib => packages/@rescript/runtime/lib}/js/JsxDOMStyle.js | 0 {lib => packages/@rescript/runtime/lib}/js/JsxEvent.js | 0 {lib => packages/@rescript/runtime/lib}/js/Obj.js | 0 {lib => packages/@rescript/runtime/lib}/js/Pervasives.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_array.js | 0 .../@rescript/runtime/lib}/js/Primitive_array_extern.js | 0 .../@rescript/runtime/lib}/js/Primitive_bigint.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_bool.js | 0 .../@rescript/runtime/lib}/js/Primitive_char_extern.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_curry.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_dict.js | 0 .../@rescript/runtime/lib}/js/Primitive_exceptions.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_float.js | 0 .../@rescript/runtime/lib}/js/Primitive_float_extern.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_hash.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_int.js | 0 .../@rescript/runtime/lib}/js/Primitive_int_extern.js | 0 .../@rescript/runtime/lib}/js/Primitive_js_extern.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_lazy.js | 0 .../@rescript/runtime/lib}/js/Primitive_module.js | 0 .../@rescript/runtime/lib}/js/Primitive_object.js | 0 .../@rescript/runtime/lib}/js/Primitive_object_extern.js | 0 .../@rescript/runtime/lib}/js/Primitive_option.js | 0 .../@rescript/runtime/lib}/js/Primitive_promise.js | 0 .../@rescript/runtime/lib}/js/Primitive_string.js | 0 .../@rescript/runtime/lib}/js/Primitive_string_extern.js | 0 {lib => packages/@rescript/runtime/lib}/js/Primitive_util.js | 0 {lib => packages/@rescript/runtime/lib}/js/RescriptTools.js | 0 .../@rescript/runtime/lib}/js/RescriptTools_Docgen.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_ArrayBuffer.js | 0 .../@rescript/runtime/lib}/js/Stdlib_AsyncIterator.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_BigInt.js | 0 .../@rescript/runtime/lib}/js/Stdlib_BigInt64Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_BigUint64Array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Bool.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Console.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_DataView.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Date.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Dict.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Error.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Exn.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Float.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Float32Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Float64Array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Global.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Int.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Int16Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Int32Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Int8Array.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_Collator.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_Common.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_DateTimeFormat.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_ListFormat.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_Locale.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_NumberFormat.js | 0 .../runtime/lib}/js/Stdlib_Intl_NumberFormat_Grouping.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_PluralRules.js | 0 .../runtime/lib}/js/Stdlib_Intl_RelativeTimeFormat.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_Segmenter.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Intl_Segments.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Iterator.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_JSON.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_JsError.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_JsExn.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Lazy.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_List.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Map.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Math.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Null.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Nullable.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Object.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Option.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Ordering.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Pair.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Promise.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_RegExp.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Result.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Set.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_String.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Symbol.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_Type.js | 0 .../@rescript/runtime/lib}/js/Stdlib_TypedArray.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Uint16Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Uint32Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Uint8Array.js | 0 .../@rescript/runtime/lib}/js/Stdlib_Uint8ClampedArray.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_WeakMap.js | 0 {lib => packages/@rescript/runtime/lib}/js/Stdlib_WeakSet.js | 0 packages/@rescript/runtime/package.json | 4 ++++ 351 files changed, 7 insertions(+), 2 deletions(-) delete mode 100644 lib/es6/package.json rename {lib => packages/@rescript/runtime/lib}/es6/Belt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Float.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashSet.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_HashSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Id.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Int.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_List.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Map.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MapDict.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableQueue.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableSet.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_MutableStack.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Option.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Range.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Result.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_Set.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SetDict.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SortArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SortArrayInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_SortArrayString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalAVLset.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalAVLtree.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalBuckets.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalBucketsType.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalSetBuckets.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Belt_internalSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Char.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Dom.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Dom_storage.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Dom_storage2.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_OO.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_array2.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_bigint.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_blob.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_console.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_date.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_file.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_float.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_global.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_int.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_json.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_map.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_math.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_null.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_null_undefined.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_obj.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_option.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_promise2.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_re.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_result.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_set.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_string.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_string2.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_typed_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_typed_array2.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_types.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_undefined.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_weakmap.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Js_weakset.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Jsx.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/JsxDOM.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/JsxDOMStyle.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/JsxEvent.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Obj.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Pervasives.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_array_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_bigint.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_bool.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_char_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_curry.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_exceptions.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_float.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_float_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_hash.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_int.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_int_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_js_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_lazy.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_module.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_object.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_object_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_option.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_string.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_string_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Primitive_util.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/RescriptTools.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/RescriptTools_Docgen.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_ArrayBuffer.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_AsyncIterator.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_BigInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_BigInt64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_BigUint64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Bool.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Console.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_DataView.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Date.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Error.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Exn.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Float.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Float32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Float64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Global.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Int.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Int16Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Int32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Int8Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_Collator.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_Common.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_DateTimeFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_ListFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_Locale.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_NumberFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_NumberFormat_Grouping.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_PluralRules.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_RelativeTimeFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_Segmenter.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Intl_Segments.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Iterator.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JSON.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JsError.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_JsExn.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Lazy.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_List.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Map.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Math.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Null.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Nullable.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Object.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Option.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Ordering.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Pair.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_RegExp.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Result.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Set.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_String.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Symbol.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Type.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_TypedArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Uint16Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Uint32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Uint8Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_Uint8ClampedArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_WeakMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/es6/Stdlib_WeakSet.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Float.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashSet.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_HashSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Id.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Int.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_List.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Map.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MapDict.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableQueue.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableSet.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_MutableStack.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Option.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Range.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Result.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_Set.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SetDict.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SortArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SortArrayInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_SortArrayString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalAVLset.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalAVLtree.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalBuckets.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalBucketsType.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalMapInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalMapString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalSetBuckets.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalSetInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Belt_internalSetString.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Char.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Dom.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Dom_storage.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Dom_storage2.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_OO.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_array2.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_bigint.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_blob.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_console.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_date.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_file.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_float.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_global.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_int.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_json.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_map.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_math.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_null.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_null_undefined.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_obj.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_option.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_promise2.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_re.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_result.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_set.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_string.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_string2.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_typed_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_typed_array2.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_types.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_undefined.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_weakmap.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Js_weakset.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Jsx.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/JsxDOM.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/JsxDOMStyle.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/JsxEvent.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Obj.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Pervasives.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_array_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_bigint.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_bool.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_char_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_curry.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_exceptions.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_float.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_float_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_hash.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_int.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_int_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_js_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_lazy.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_module.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_object.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_object_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_option.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_string.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_string_extern.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Primitive_util.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/RescriptTools.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/RescriptTools_Docgen.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_ArrayBuffer.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_AsyncIterator.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_BigInt.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_BigInt64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_BigUint64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Bool.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Console.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_DataView.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Date.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Dict.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Error.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Exn.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Float.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Float32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Float64Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Global.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Int.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Int16Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Int32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Int8Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_Collator.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_Common.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_DateTimeFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_ListFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_Locale.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_NumberFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_NumberFormat_Grouping.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_PluralRules.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_RelativeTimeFormat.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_Segmenter.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Intl_Segments.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Iterator.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_JSON.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_JsError.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_JsExn.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Lazy.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_List.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Map.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Math.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Null.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Nullable.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Object.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Option.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Ordering.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Pair.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Promise.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_RegExp.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Result.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Set.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_String.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Symbol.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Type.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_TypedArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Uint16Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Uint32Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Uint8Array.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_Uint8ClampedArray.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_WeakMap.js (100%) rename {lib => packages/@rescript/runtime/lib}/js/Stdlib_WeakSet.js (100%) diff --git a/lib/es6/package.json b/lib/es6/package.json deleted file mode 100644 index 658eb9d163..0000000000 --- a/lib/es6/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type" : "module"} \ No newline at end of file diff --git a/packages/@rescript/runtime/.gitignore b/packages/@rescript/runtime/.gitignore index c3af857904..bc9f0fd609 100644 --- a/packages/@rescript/runtime/.gitignore +++ b/packages/@rescript/runtime/.gitignore @@ -1 +1,3 @@ -lib/ +lib/bs +lib/ocaml +*.lock diff --git a/lib/es6/Belt.js b/packages/@rescript/runtime/lib/es6/Belt.js similarity index 100% rename from lib/es6/Belt.js rename to packages/@rescript/runtime/lib/es6/Belt.js diff --git a/lib/es6/Belt_Array.js b/packages/@rescript/runtime/lib/es6/Belt_Array.js similarity index 100% rename from lib/es6/Belt_Array.js rename to packages/@rescript/runtime/lib/es6/Belt_Array.js diff --git a/lib/es6/Belt_Float.js b/packages/@rescript/runtime/lib/es6/Belt_Float.js similarity index 100% rename from lib/es6/Belt_Float.js rename to packages/@rescript/runtime/lib/es6/Belt_Float.js diff --git a/lib/es6/Belt_HashMap.js b/packages/@rescript/runtime/lib/es6/Belt_HashMap.js similarity index 100% rename from lib/es6/Belt_HashMap.js rename to packages/@rescript/runtime/lib/es6/Belt_HashMap.js diff --git a/lib/es6/Belt_HashMapInt.js b/packages/@rescript/runtime/lib/es6/Belt_HashMapInt.js similarity index 100% rename from lib/es6/Belt_HashMapInt.js rename to packages/@rescript/runtime/lib/es6/Belt_HashMapInt.js diff --git a/lib/es6/Belt_HashMapString.js b/packages/@rescript/runtime/lib/es6/Belt_HashMapString.js similarity index 100% rename from lib/es6/Belt_HashMapString.js rename to packages/@rescript/runtime/lib/es6/Belt_HashMapString.js diff --git a/lib/es6/Belt_HashSet.js b/packages/@rescript/runtime/lib/es6/Belt_HashSet.js similarity index 100% rename from lib/es6/Belt_HashSet.js rename to packages/@rescript/runtime/lib/es6/Belt_HashSet.js diff --git a/lib/es6/Belt_HashSetInt.js b/packages/@rescript/runtime/lib/es6/Belt_HashSetInt.js similarity index 100% rename from lib/es6/Belt_HashSetInt.js rename to packages/@rescript/runtime/lib/es6/Belt_HashSetInt.js diff --git a/lib/es6/Belt_HashSetString.js b/packages/@rescript/runtime/lib/es6/Belt_HashSetString.js similarity index 100% rename from lib/es6/Belt_HashSetString.js rename to packages/@rescript/runtime/lib/es6/Belt_HashSetString.js diff --git a/lib/es6/Belt_Id.js b/packages/@rescript/runtime/lib/es6/Belt_Id.js similarity index 100% rename from lib/es6/Belt_Id.js rename to packages/@rescript/runtime/lib/es6/Belt_Id.js diff --git a/lib/es6/Belt_Int.js b/packages/@rescript/runtime/lib/es6/Belt_Int.js similarity index 100% rename from lib/es6/Belt_Int.js rename to packages/@rescript/runtime/lib/es6/Belt_Int.js diff --git a/lib/es6/Belt_List.js b/packages/@rescript/runtime/lib/es6/Belt_List.js similarity index 100% rename from lib/es6/Belt_List.js rename to packages/@rescript/runtime/lib/es6/Belt_List.js diff --git a/lib/es6/Belt_Map.js b/packages/@rescript/runtime/lib/es6/Belt_Map.js similarity index 100% rename from lib/es6/Belt_Map.js rename to packages/@rescript/runtime/lib/es6/Belt_Map.js diff --git a/lib/es6/Belt_MapDict.js b/packages/@rescript/runtime/lib/es6/Belt_MapDict.js similarity index 100% rename from lib/es6/Belt_MapDict.js rename to packages/@rescript/runtime/lib/es6/Belt_MapDict.js diff --git a/lib/es6/Belt_MapInt.js b/packages/@rescript/runtime/lib/es6/Belt_MapInt.js similarity index 100% rename from lib/es6/Belt_MapInt.js rename to packages/@rescript/runtime/lib/es6/Belt_MapInt.js diff --git a/lib/es6/Belt_MapString.js b/packages/@rescript/runtime/lib/es6/Belt_MapString.js similarity index 100% rename from lib/es6/Belt_MapString.js rename to packages/@rescript/runtime/lib/es6/Belt_MapString.js diff --git a/lib/es6/Belt_MutableMap.js b/packages/@rescript/runtime/lib/es6/Belt_MutableMap.js similarity index 100% rename from lib/es6/Belt_MutableMap.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableMap.js diff --git a/lib/es6/Belt_MutableMapInt.js b/packages/@rescript/runtime/lib/es6/Belt_MutableMapInt.js similarity index 100% rename from lib/es6/Belt_MutableMapInt.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableMapInt.js diff --git a/lib/es6/Belt_MutableMapString.js b/packages/@rescript/runtime/lib/es6/Belt_MutableMapString.js similarity index 100% rename from lib/es6/Belt_MutableMapString.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableMapString.js diff --git a/lib/es6/Belt_MutableQueue.js b/packages/@rescript/runtime/lib/es6/Belt_MutableQueue.js similarity index 100% rename from lib/es6/Belt_MutableQueue.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableQueue.js diff --git a/lib/es6/Belt_MutableSet.js b/packages/@rescript/runtime/lib/es6/Belt_MutableSet.js similarity index 100% rename from lib/es6/Belt_MutableSet.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableSet.js diff --git a/lib/es6/Belt_MutableSetInt.js b/packages/@rescript/runtime/lib/es6/Belt_MutableSetInt.js similarity index 100% rename from lib/es6/Belt_MutableSetInt.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableSetInt.js diff --git a/lib/es6/Belt_MutableSetString.js b/packages/@rescript/runtime/lib/es6/Belt_MutableSetString.js similarity index 100% rename from lib/es6/Belt_MutableSetString.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableSetString.js diff --git a/lib/es6/Belt_MutableStack.js b/packages/@rescript/runtime/lib/es6/Belt_MutableStack.js similarity index 100% rename from lib/es6/Belt_MutableStack.js rename to packages/@rescript/runtime/lib/es6/Belt_MutableStack.js diff --git a/lib/es6/Belt_Option.js b/packages/@rescript/runtime/lib/es6/Belt_Option.js similarity index 100% rename from lib/es6/Belt_Option.js rename to packages/@rescript/runtime/lib/es6/Belt_Option.js diff --git a/lib/es6/Belt_Range.js b/packages/@rescript/runtime/lib/es6/Belt_Range.js similarity index 100% rename from lib/es6/Belt_Range.js rename to packages/@rescript/runtime/lib/es6/Belt_Range.js diff --git a/lib/es6/Belt_Result.js b/packages/@rescript/runtime/lib/es6/Belt_Result.js similarity index 100% rename from lib/es6/Belt_Result.js rename to packages/@rescript/runtime/lib/es6/Belt_Result.js diff --git a/lib/es6/Belt_Set.js b/packages/@rescript/runtime/lib/es6/Belt_Set.js similarity index 100% rename from lib/es6/Belt_Set.js rename to packages/@rescript/runtime/lib/es6/Belt_Set.js diff --git a/lib/es6/Belt_SetDict.js b/packages/@rescript/runtime/lib/es6/Belt_SetDict.js similarity index 100% rename from lib/es6/Belt_SetDict.js rename to packages/@rescript/runtime/lib/es6/Belt_SetDict.js diff --git a/lib/es6/Belt_SetInt.js b/packages/@rescript/runtime/lib/es6/Belt_SetInt.js similarity index 100% rename from lib/es6/Belt_SetInt.js rename to packages/@rescript/runtime/lib/es6/Belt_SetInt.js diff --git a/lib/es6/Belt_SetString.js b/packages/@rescript/runtime/lib/es6/Belt_SetString.js similarity index 100% rename from lib/es6/Belt_SetString.js rename to packages/@rescript/runtime/lib/es6/Belt_SetString.js diff --git a/lib/es6/Belt_SortArray.js b/packages/@rescript/runtime/lib/es6/Belt_SortArray.js similarity index 100% rename from lib/es6/Belt_SortArray.js rename to packages/@rescript/runtime/lib/es6/Belt_SortArray.js diff --git a/lib/es6/Belt_SortArrayInt.js b/packages/@rescript/runtime/lib/es6/Belt_SortArrayInt.js similarity index 100% rename from lib/es6/Belt_SortArrayInt.js rename to packages/@rescript/runtime/lib/es6/Belt_SortArrayInt.js diff --git a/lib/es6/Belt_SortArrayString.js b/packages/@rescript/runtime/lib/es6/Belt_SortArrayString.js similarity index 100% rename from lib/es6/Belt_SortArrayString.js rename to packages/@rescript/runtime/lib/es6/Belt_SortArrayString.js diff --git a/lib/es6/Belt_internalAVLset.js b/packages/@rescript/runtime/lib/es6/Belt_internalAVLset.js similarity index 100% rename from lib/es6/Belt_internalAVLset.js rename to packages/@rescript/runtime/lib/es6/Belt_internalAVLset.js diff --git a/lib/es6/Belt_internalAVLtree.js b/packages/@rescript/runtime/lib/es6/Belt_internalAVLtree.js similarity index 100% rename from lib/es6/Belt_internalAVLtree.js rename to packages/@rescript/runtime/lib/es6/Belt_internalAVLtree.js diff --git a/lib/es6/Belt_internalBuckets.js b/packages/@rescript/runtime/lib/es6/Belt_internalBuckets.js similarity index 100% rename from lib/es6/Belt_internalBuckets.js rename to packages/@rescript/runtime/lib/es6/Belt_internalBuckets.js diff --git a/lib/es6/Belt_internalBucketsType.js b/packages/@rescript/runtime/lib/es6/Belt_internalBucketsType.js similarity index 100% rename from lib/es6/Belt_internalBucketsType.js rename to packages/@rescript/runtime/lib/es6/Belt_internalBucketsType.js diff --git a/lib/es6/Belt_internalMapInt.js b/packages/@rescript/runtime/lib/es6/Belt_internalMapInt.js similarity index 100% rename from lib/es6/Belt_internalMapInt.js rename to packages/@rescript/runtime/lib/es6/Belt_internalMapInt.js diff --git a/lib/es6/Belt_internalMapString.js b/packages/@rescript/runtime/lib/es6/Belt_internalMapString.js similarity index 100% rename from lib/es6/Belt_internalMapString.js rename to packages/@rescript/runtime/lib/es6/Belt_internalMapString.js diff --git a/lib/es6/Belt_internalSetBuckets.js b/packages/@rescript/runtime/lib/es6/Belt_internalSetBuckets.js similarity index 100% rename from lib/es6/Belt_internalSetBuckets.js rename to packages/@rescript/runtime/lib/es6/Belt_internalSetBuckets.js diff --git a/lib/es6/Belt_internalSetInt.js b/packages/@rescript/runtime/lib/es6/Belt_internalSetInt.js similarity index 100% rename from lib/es6/Belt_internalSetInt.js rename to packages/@rescript/runtime/lib/es6/Belt_internalSetInt.js diff --git a/lib/es6/Belt_internalSetString.js b/packages/@rescript/runtime/lib/es6/Belt_internalSetString.js similarity index 100% rename from lib/es6/Belt_internalSetString.js rename to packages/@rescript/runtime/lib/es6/Belt_internalSetString.js diff --git a/lib/es6/Char.js b/packages/@rescript/runtime/lib/es6/Char.js similarity index 100% rename from lib/es6/Char.js rename to packages/@rescript/runtime/lib/es6/Char.js diff --git a/lib/es6/Dom.js b/packages/@rescript/runtime/lib/es6/Dom.js similarity index 100% rename from lib/es6/Dom.js rename to packages/@rescript/runtime/lib/es6/Dom.js diff --git a/lib/es6/Dom_storage.js b/packages/@rescript/runtime/lib/es6/Dom_storage.js similarity index 100% rename from lib/es6/Dom_storage.js rename to packages/@rescript/runtime/lib/es6/Dom_storage.js diff --git a/lib/es6/Dom_storage2.js b/packages/@rescript/runtime/lib/es6/Dom_storage2.js similarity index 100% rename from lib/es6/Dom_storage2.js rename to packages/@rescript/runtime/lib/es6/Dom_storage2.js diff --git a/lib/es6/Js.js b/packages/@rescript/runtime/lib/es6/Js.js similarity index 100% rename from lib/es6/Js.js rename to packages/@rescript/runtime/lib/es6/Js.js diff --git a/lib/es6/Js_OO.js b/packages/@rescript/runtime/lib/es6/Js_OO.js similarity index 100% rename from lib/es6/Js_OO.js rename to packages/@rescript/runtime/lib/es6/Js_OO.js diff --git a/lib/es6/Js_array.js b/packages/@rescript/runtime/lib/es6/Js_array.js similarity index 100% rename from lib/es6/Js_array.js rename to packages/@rescript/runtime/lib/es6/Js_array.js diff --git a/lib/es6/Js_array2.js b/packages/@rescript/runtime/lib/es6/Js_array2.js similarity index 100% rename from lib/es6/Js_array2.js rename to packages/@rescript/runtime/lib/es6/Js_array2.js diff --git a/lib/es6/Js_bigint.js b/packages/@rescript/runtime/lib/es6/Js_bigint.js similarity index 100% rename from lib/es6/Js_bigint.js rename to packages/@rescript/runtime/lib/es6/Js_bigint.js diff --git a/lib/es6/Js_blob.js b/packages/@rescript/runtime/lib/es6/Js_blob.js similarity index 100% rename from lib/es6/Js_blob.js rename to packages/@rescript/runtime/lib/es6/Js_blob.js diff --git a/lib/es6/Js_console.js b/packages/@rescript/runtime/lib/es6/Js_console.js similarity index 100% rename from lib/es6/Js_console.js rename to packages/@rescript/runtime/lib/es6/Js_console.js diff --git a/lib/es6/Js_date.js b/packages/@rescript/runtime/lib/es6/Js_date.js similarity index 100% rename from lib/es6/Js_date.js rename to packages/@rescript/runtime/lib/es6/Js_date.js diff --git a/lib/es6/Js_dict.js b/packages/@rescript/runtime/lib/es6/Js_dict.js similarity index 100% rename from lib/es6/Js_dict.js rename to packages/@rescript/runtime/lib/es6/Js_dict.js diff --git a/lib/es6/Js_extern.js b/packages/@rescript/runtime/lib/es6/Js_extern.js similarity index 100% rename from lib/es6/Js_extern.js rename to packages/@rescript/runtime/lib/es6/Js_extern.js diff --git a/lib/es6/Js_file.js b/packages/@rescript/runtime/lib/es6/Js_file.js similarity index 100% rename from lib/es6/Js_file.js rename to packages/@rescript/runtime/lib/es6/Js_file.js diff --git a/lib/es6/Js_float.js b/packages/@rescript/runtime/lib/es6/Js_float.js similarity index 100% rename from lib/es6/Js_float.js rename to packages/@rescript/runtime/lib/es6/Js_float.js diff --git a/lib/es6/Js_global.js b/packages/@rescript/runtime/lib/es6/Js_global.js similarity index 100% rename from lib/es6/Js_global.js rename to packages/@rescript/runtime/lib/es6/Js_global.js diff --git a/lib/es6/Js_int.js b/packages/@rescript/runtime/lib/es6/Js_int.js similarity index 100% rename from lib/es6/Js_int.js rename to packages/@rescript/runtime/lib/es6/Js_int.js diff --git a/lib/es6/Js_json.js b/packages/@rescript/runtime/lib/es6/Js_json.js similarity index 100% rename from lib/es6/Js_json.js rename to packages/@rescript/runtime/lib/es6/Js_json.js diff --git a/lib/es6/Js_map.js b/packages/@rescript/runtime/lib/es6/Js_map.js similarity index 100% rename from lib/es6/Js_map.js rename to packages/@rescript/runtime/lib/es6/Js_map.js diff --git a/lib/es6/Js_math.js b/packages/@rescript/runtime/lib/es6/Js_math.js similarity index 100% rename from lib/es6/Js_math.js rename to packages/@rescript/runtime/lib/es6/Js_math.js diff --git a/lib/es6/Js_null.js b/packages/@rescript/runtime/lib/es6/Js_null.js similarity index 100% rename from lib/es6/Js_null.js rename to packages/@rescript/runtime/lib/es6/Js_null.js diff --git a/lib/es6/Js_null_undefined.js b/packages/@rescript/runtime/lib/es6/Js_null_undefined.js similarity index 100% rename from lib/es6/Js_null_undefined.js rename to packages/@rescript/runtime/lib/es6/Js_null_undefined.js diff --git a/lib/es6/Js_obj.js b/packages/@rescript/runtime/lib/es6/Js_obj.js similarity index 100% rename from lib/es6/Js_obj.js rename to packages/@rescript/runtime/lib/es6/Js_obj.js diff --git a/lib/es6/Js_option.js b/packages/@rescript/runtime/lib/es6/Js_option.js similarity index 100% rename from lib/es6/Js_option.js rename to packages/@rescript/runtime/lib/es6/Js_option.js diff --git a/lib/es6/Js_promise.js b/packages/@rescript/runtime/lib/es6/Js_promise.js similarity index 100% rename from lib/es6/Js_promise.js rename to packages/@rescript/runtime/lib/es6/Js_promise.js diff --git a/lib/es6/Js_promise2.js b/packages/@rescript/runtime/lib/es6/Js_promise2.js similarity index 100% rename from lib/es6/Js_promise2.js rename to packages/@rescript/runtime/lib/es6/Js_promise2.js diff --git a/lib/es6/Js_re.js b/packages/@rescript/runtime/lib/es6/Js_re.js similarity index 100% rename from lib/es6/Js_re.js rename to packages/@rescript/runtime/lib/es6/Js_re.js diff --git a/lib/es6/Js_result.js b/packages/@rescript/runtime/lib/es6/Js_result.js similarity index 100% rename from lib/es6/Js_result.js rename to packages/@rescript/runtime/lib/es6/Js_result.js diff --git a/lib/es6/Js_set.js b/packages/@rescript/runtime/lib/es6/Js_set.js similarity index 100% rename from lib/es6/Js_set.js rename to packages/@rescript/runtime/lib/es6/Js_set.js diff --git a/lib/es6/Js_string.js b/packages/@rescript/runtime/lib/es6/Js_string.js similarity index 100% rename from lib/es6/Js_string.js rename to packages/@rescript/runtime/lib/es6/Js_string.js diff --git a/lib/es6/Js_string2.js b/packages/@rescript/runtime/lib/es6/Js_string2.js similarity index 100% rename from lib/es6/Js_string2.js rename to packages/@rescript/runtime/lib/es6/Js_string2.js diff --git a/lib/es6/Js_typed_array.js b/packages/@rescript/runtime/lib/es6/Js_typed_array.js similarity index 100% rename from lib/es6/Js_typed_array.js rename to packages/@rescript/runtime/lib/es6/Js_typed_array.js diff --git a/lib/es6/Js_typed_array2.js b/packages/@rescript/runtime/lib/es6/Js_typed_array2.js similarity index 100% rename from lib/es6/Js_typed_array2.js rename to packages/@rescript/runtime/lib/es6/Js_typed_array2.js diff --git a/lib/es6/Js_types.js b/packages/@rescript/runtime/lib/es6/Js_types.js similarity index 100% rename from lib/es6/Js_types.js rename to packages/@rescript/runtime/lib/es6/Js_types.js diff --git a/lib/es6/Js_undefined.js b/packages/@rescript/runtime/lib/es6/Js_undefined.js similarity index 100% rename from lib/es6/Js_undefined.js rename to packages/@rescript/runtime/lib/es6/Js_undefined.js diff --git a/lib/es6/Js_weakmap.js b/packages/@rescript/runtime/lib/es6/Js_weakmap.js similarity index 100% rename from lib/es6/Js_weakmap.js rename to packages/@rescript/runtime/lib/es6/Js_weakmap.js diff --git a/lib/es6/Js_weakset.js b/packages/@rescript/runtime/lib/es6/Js_weakset.js similarity index 100% rename from lib/es6/Js_weakset.js rename to packages/@rescript/runtime/lib/es6/Js_weakset.js diff --git a/lib/es6/Jsx.js b/packages/@rescript/runtime/lib/es6/Jsx.js similarity index 100% rename from lib/es6/Jsx.js rename to packages/@rescript/runtime/lib/es6/Jsx.js diff --git a/lib/es6/JsxDOM.js b/packages/@rescript/runtime/lib/es6/JsxDOM.js similarity index 100% rename from lib/es6/JsxDOM.js rename to packages/@rescript/runtime/lib/es6/JsxDOM.js diff --git a/lib/es6/JsxDOMStyle.js b/packages/@rescript/runtime/lib/es6/JsxDOMStyle.js similarity index 100% rename from lib/es6/JsxDOMStyle.js rename to packages/@rescript/runtime/lib/es6/JsxDOMStyle.js diff --git a/lib/es6/JsxEvent.js b/packages/@rescript/runtime/lib/es6/JsxEvent.js similarity index 100% rename from lib/es6/JsxEvent.js rename to packages/@rescript/runtime/lib/es6/JsxEvent.js diff --git a/lib/es6/Obj.js b/packages/@rescript/runtime/lib/es6/Obj.js similarity index 100% rename from lib/es6/Obj.js rename to packages/@rescript/runtime/lib/es6/Obj.js diff --git a/lib/es6/Pervasives.js b/packages/@rescript/runtime/lib/es6/Pervasives.js similarity index 100% rename from lib/es6/Pervasives.js rename to packages/@rescript/runtime/lib/es6/Pervasives.js diff --git a/lib/es6/Primitive_array.js b/packages/@rescript/runtime/lib/es6/Primitive_array.js similarity index 100% rename from lib/es6/Primitive_array.js rename to packages/@rescript/runtime/lib/es6/Primitive_array.js diff --git a/lib/es6/Primitive_array_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_array_extern.js similarity index 100% rename from lib/es6/Primitive_array_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_array_extern.js diff --git a/lib/es6/Primitive_bigint.js b/packages/@rescript/runtime/lib/es6/Primitive_bigint.js similarity index 100% rename from lib/es6/Primitive_bigint.js rename to packages/@rescript/runtime/lib/es6/Primitive_bigint.js diff --git a/lib/es6/Primitive_bool.js b/packages/@rescript/runtime/lib/es6/Primitive_bool.js similarity index 100% rename from lib/es6/Primitive_bool.js rename to packages/@rescript/runtime/lib/es6/Primitive_bool.js diff --git a/lib/es6/Primitive_char_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_char_extern.js similarity index 100% rename from lib/es6/Primitive_char_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_char_extern.js diff --git a/lib/es6/Primitive_curry.js b/packages/@rescript/runtime/lib/es6/Primitive_curry.js similarity index 100% rename from lib/es6/Primitive_curry.js rename to packages/@rescript/runtime/lib/es6/Primitive_curry.js diff --git a/lib/es6/Primitive_dict.js b/packages/@rescript/runtime/lib/es6/Primitive_dict.js similarity index 100% rename from lib/es6/Primitive_dict.js rename to packages/@rescript/runtime/lib/es6/Primitive_dict.js diff --git a/lib/es6/Primitive_exceptions.js b/packages/@rescript/runtime/lib/es6/Primitive_exceptions.js similarity index 100% rename from lib/es6/Primitive_exceptions.js rename to packages/@rescript/runtime/lib/es6/Primitive_exceptions.js diff --git a/lib/es6/Primitive_float.js b/packages/@rescript/runtime/lib/es6/Primitive_float.js similarity index 100% rename from lib/es6/Primitive_float.js rename to packages/@rescript/runtime/lib/es6/Primitive_float.js diff --git a/lib/es6/Primitive_float_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_float_extern.js similarity index 100% rename from lib/es6/Primitive_float_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_float_extern.js diff --git a/lib/es6/Primitive_hash.js b/packages/@rescript/runtime/lib/es6/Primitive_hash.js similarity index 100% rename from lib/es6/Primitive_hash.js rename to packages/@rescript/runtime/lib/es6/Primitive_hash.js diff --git a/lib/es6/Primitive_int.js b/packages/@rescript/runtime/lib/es6/Primitive_int.js similarity index 100% rename from lib/es6/Primitive_int.js rename to packages/@rescript/runtime/lib/es6/Primitive_int.js diff --git a/lib/es6/Primitive_int_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_int_extern.js similarity index 100% rename from lib/es6/Primitive_int_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_int_extern.js diff --git a/lib/es6/Primitive_js_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_js_extern.js similarity index 100% rename from lib/es6/Primitive_js_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_js_extern.js diff --git a/lib/es6/Primitive_lazy.js b/packages/@rescript/runtime/lib/es6/Primitive_lazy.js similarity index 100% rename from lib/es6/Primitive_lazy.js rename to packages/@rescript/runtime/lib/es6/Primitive_lazy.js diff --git a/lib/es6/Primitive_module.js b/packages/@rescript/runtime/lib/es6/Primitive_module.js similarity index 100% rename from lib/es6/Primitive_module.js rename to packages/@rescript/runtime/lib/es6/Primitive_module.js diff --git a/lib/es6/Primitive_object.js b/packages/@rescript/runtime/lib/es6/Primitive_object.js similarity index 100% rename from lib/es6/Primitive_object.js rename to packages/@rescript/runtime/lib/es6/Primitive_object.js diff --git a/lib/es6/Primitive_object_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_object_extern.js similarity index 100% rename from lib/es6/Primitive_object_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_object_extern.js diff --git a/lib/es6/Primitive_option.js b/packages/@rescript/runtime/lib/es6/Primitive_option.js similarity index 100% rename from lib/es6/Primitive_option.js rename to packages/@rescript/runtime/lib/es6/Primitive_option.js diff --git a/lib/es6/Primitive_promise.js b/packages/@rescript/runtime/lib/es6/Primitive_promise.js similarity index 100% rename from lib/es6/Primitive_promise.js rename to packages/@rescript/runtime/lib/es6/Primitive_promise.js diff --git a/lib/es6/Primitive_string.js b/packages/@rescript/runtime/lib/es6/Primitive_string.js similarity index 100% rename from lib/es6/Primitive_string.js rename to packages/@rescript/runtime/lib/es6/Primitive_string.js diff --git a/lib/es6/Primitive_string_extern.js b/packages/@rescript/runtime/lib/es6/Primitive_string_extern.js similarity index 100% rename from lib/es6/Primitive_string_extern.js rename to packages/@rescript/runtime/lib/es6/Primitive_string_extern.js diff --git a/lib/es6/Primitive_util.js b/packages/@rescript/runtime/lib/es6/Primitive_util.js similarity index 100% rename from lib/es6/Primitive_util.js rename to packages/@rescript/runtime/lib/es6/Primitive_util.js diff --git a/lib/es6/RescriptTools.js b/packages/@rescript/runtime/lib/es6/RescriptTools.js similarity index 100% rename from lib/es6/RescriptTools.js rename to packages/@rescript/runtime/lib/es6/RescriptTools.js diff --git a/lib/es6/RescriptTools_Docgen.js b/packages/@rescript/runtime/lib/es6/RescriptTools_Docgen.js similarity index 100% rename from lib/es6/RescriptTools_Docgen.js rename to packages/@rescript/runtime/lib/es6/RescriptTools_Docgen.js diff --git a/lib/es6/Stdlib.js b/packages/@rescript/runtime/lib/es6/Stdlib.js similarity index 100% rename from lib/es6/Stdlib.js rename to packages/@rescript/runtime/lib/es6/Stdlib.js diff --git a/lib/es6/Stdlib_Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Array.js similarity index 100% rename from lib/es6/Stdlib_Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Array.js diff --git a/lib/es6/Stdlib_ArrayBuffer.js b/packages/@rescript/runtime/lib/es6/Stdlib_ArrayBuffer.js similarity index 100% rename from lib/es6/Stdlib_ArrayBuffer.js rename to packages/@rescript/runtime/lib/es6/Stdlib_ArrayBuffer.js diff --git a/lib/es6/Stdlib_AsyncIterator.js b/packages/@rescript/runtime/lib/es6/Stdlib_AsyncIterator.js similarity index 100% rename from lib/es6/Stdlib_AsyncIterator.js rename to packages/@rescript/runtime/lib/es6/Stdlib_AsyncIterator.js diff --git a/lib/es6/Stdlib_BigInt.js b/packages/@rescript/runtime/lib/es6/Stdlib_BigInt.js similarity index 100% rename from lib/es6/Stdlib_BigInt.js rename to packages/@rescript/runtime/lib/es6/Stdlib_BigInt.js diff --git a/lib/es6/Stdlib_BigInt64Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_BigInt64Array.js similarity index 100% rename from lib/es6/Stdlib_BigInt64Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_BigInt64Array.js diff --git a/lib/es6/Stdlib_BigUint64Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_BigUint64Array.js similarity index 100% rename from lib/es6/Stdlib_BigUint64Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_BigUint64Array.js diff --git a/lib/es6/Stdlib_Bool.js b/packages/@rescript/runtime/lib/es6/Stdlib_Bool.js similarity index 100% rename from lib/es6/Stdlib_Bool.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Bool.js diff --git a/lib/es6/Stdlib_Console.js b/packages/@rescript/runtime/lib/es6/Stdlib_Console.js similarity index 100% rename from lib/es6/Stdlib_Console.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Console.js diff --git a/lib/es6/Stdlib_DataView.js b/packages/@rescript/runtime/lib/es6/Stdlib_DataView.js similarity index 100% rename from lib/es6/Stdlib_DataView.js rename to packages/@rescript/runtime/lib/es6/Stdlib_DataView.js diff --git a/lib/es6/Stdlib_Date.js b/packages/@rescript/runtime/lib/es6/Stdlib_Date.js similarity index 100% rename from lib/es6/Stdlib_Date.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Date.js diff --git a/lib/es6/Stdlib_Dict.js b/packages/@rescript/runtime/lib/es6/Stdlib_Dict.js similarity index 100% rename from lib/es6/Stdlib_Dict.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Dict.js diff --git a/lib/es6/Stdlib_Error.js b/packages/@rescript/runtime/lib/es6/Stdlib_Error.js similarity index 100% rename from lib/es6/Stdlib_Error.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Error.js diff --git a/lib/es6/Stdlib_Exn.js b/packages/@rescript/runtime/lib/es6/Stdlib_Exn.js similarity index 100% rename from lib/es6/Stdlib_Exn.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Exn.js diff --git a/lib/es6/Stdlib_Float.js b/packages/@rescript/runtime/lib/es6/Stdlib_Float.js similarity index 100% rename from lib/es6/Stdlib_Float.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Float.js diff --git a/lib/es6/Stdlib_Float32Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Float32Array.js similarity index 100% rename from lib/es6/Stdlib_Float32Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Float32Array.js diff --git a/lib/es6/Stdlib_Float64Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Float64Array.js similarity index 100% rename from lib/es6/Stdlib_Float64Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Float64Array.js diff --git a/lib/es6/Stdlib_Global.js b/packages/@rescript/runtime/lib/es6/Stdlib_Global.js similarity index 100% rename from lib/es6/Stdlib_Global.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Global.js diff --git a/lib/es6/Stdlib_Int.js b/packages/@rescript/runtime/lib/es6/Stdlib_Int.js similarity index 100% rename from lib/es6/Stdlib_Int.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Int.js diff --git a/lib/es6/Stdlib_Int16Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Int16Array.js similarity index 100% rename from lib/es6/Stdlib_Int16Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Int16Array.js diff --git a/lib/es6/Stdlib_Int32Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Int32Array.js similarity index 100% rename from lib/es6/Stdlib_Int32Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Int32Array.js diff --git a/lib/es6/Stdlib_Int8Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Int8Array.js similarity index 100% rename from lib/es6/Stdlib_Int8Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Int8Array.js diff --git a/lib/es6/Stdlib_Intl.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl.js similarity index 100% rename from lib/es6/Stdlib_Intl.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl.js diff --git a/lib/es6/Stdlib_Intl_Collator.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_Collator.js similarity index 100% rename from lib/es6/Stdlib_Intl_Collator.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_Collator.js diff --git a/lib/es6/Stdlib_Intl_Common.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_Common.js similarity index 100% rename from lib/es6/Stdlib_Intl_Common.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_Common.js diff --git a/lib/es6/Stdlib_Intl_DateTimeFormat.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_DateTimeFormat.js similarity index 100% rename from lib/es6/Stdlib_Intl_DateTimeFormat.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_DateTimeFormat.js diff --git a/lib/es6/Stdlib_Intl_ListFormat.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_ListFormat.js similarity index 100% rename from lib/es6/Stdlib_Intl_ListFormat.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_ListFormat.js diff --git a/lib/es6/Stdlib_Intl_Locale.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_Locale.js similarity index 100% rename from lib/es6/Stdlib_Intl_Locale.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_Locale.js diff --git a/lib/es6/Stdlib_Intl_NumberFormat.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_NumberFormat.js similarity index 100% rename from lib/es6/Stdlib_Intl_NumberFormat.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_NumberFormat.js diff --git a/lib/es6/Stdlib_Intl_NumberFormat_Grouping.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_NumberFormat_Grouping.js similarity index 100% rename from lib/es6/Stdlib_Intl_NumberFormat_Grouping.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_NumberFormat_Grouping.js diff --git a/lib/es6/Stdlib_Intl_PluralRules.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_PluralRules.js similarity index 100% rename from lib/es6/Stdlib_Intl_PluralRules.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_PluralRules.js diff --git a/lib/es6/Stdlib_Intl_RelativeTimeFormat.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_RelativeTimeFormat.js similarity index 100% rename from lib/es6/Stdlib_Intl_RelativeTimeFormat.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_RelativeTimeFormat.js diff --git a/lib/es6/Stdlib_Intl_Segmenter.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_Segmenter.js similarity index 100% rename from lib/es6/Stdlib_Intl_Segmenter.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_Segmenter.js diff --git a/lib/es6/Stdlib_Intl_Segments.js b/packages/@rescript/runtime/lib/es6/Stdlib_Intl_Segments.js similarity index 100% rename from lib/es6/Stdlib_Intl_Segments.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Intl_Segments.js diff --git a/lib/es6/Stdlib_Iterator.js b/packages/@rescript/runtime/lib/es6/Stdlib_Iterator.js similarity index 100% rename from lib/es6/Stdlib_Iterator.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Iterator.js diff --git a/lib/es6/Stdlib_JSON.js b/packages/@rescript/runtime/lib/es6/Stdlib_JSON.js similarity index 100% rename from lib/es6/Stdlib_JSON.js rename to packages/@rescript/runtime/lib/es6/Stdlib_JSON.js diff --git a/lib/es6/Stdlib_JsError.js b/packages/@rescript/runtime/lib/es6/Stdlib_JsError.js similarity index 100% rename from lib/es6/Stdlib_JsError.js rename to packages/@rescript/runtime/lib/es6/Stdlib_JsError.js diff --git a/lib/es6/Stdlib_JsExn.js b/packages/@rescript/runtime/lib/es6/Stdlib_JsExn.js similarity index 100% rename from lib/es6/Stdlib_JsExn.js rename to packages/@rescript/runtime/lib/es6/Stdlib_JsExn.js diff --git a/lib/es6/Stdlib_Lazy.js b/packages/@rescript/runtime/lib/es6/Stdlib_Lazy.js similarity index 100% rename from lib/es6/Stdlib_Lazy.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Lazy.js diff --git a/lib/es6/Stdlib_List.js b/packages/@rescript/runtime/lib/es6/Stdlib_List.js similarity index 100% rename from lib/es6/Stdlib_List.js rename to packages/@rescript/runtime/lib/es6/Stdlib_List.js diff --git a/lib/es6/Stdlib_Map.js b/packages/@rescript/runtime/lib/es6/Stdlib_Map.js similarity index 100% rename from lib/es6/Stdlib_Map.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Map.js diff --git a/lib/es6/Stdlib_Math.js b/packages/@rescript/runtime/lib/es6/Stdlib_Math.js similarity index 100% rename from lib/es6/Stdlib_Math.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Math.js diff --git a/lib/es6/Stdlib_Null.js b/packages/@rescript/runtime/lib/es6/Stdlib_Null.js similarity index 100% rename from lib/es6/Stdlib_Null.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Null.js diff --git a/lib/es6/Stdlib_Nullable.js b/packages/@rescript/runtime/lib/es6/Stdlib_Nullable.js similarity index 100% rename from lib/es6/Stdlib_Nullable.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Nullable.js diff --git a/lib/es6/Stdlib_Object.js b/packages/@rescript/runtime/lib/es6/Stdlib_Object.js similarity index 100% rename from lib/es6/Stdlib_Object.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Object.js diff --git a/lib/es6/Stdlib_Option.js b/packages/@rescript/runtime/lib/es6/Stdlib_Option.js similarity index 100% rename from lib/es6/Stdlib_Option.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Option.js diff --git a/lib/es6/Stdlib_Ordering.js b/packages/@rescript/runtime/lib/es6/Stdlib_Ordering.js similarity index 100% rename from lib/es6/Stdlib_Ordering.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Ordering.js diff --git a/lib/es6/Stdlib_Pair.js b/packages/@rescript/runtime/lib/es6/Stdlib_Pair.js similarity index 100% rename from lib/es6/Stdlib_Pair.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Pair.js diff --git a/lib/es6/Stdlib_Promise.js b/packages/@rescript/runtime/lib/es6/Stdlib_Promise.js similarity index 100% rename from lib/es6/Stdlib_Promise.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Promise.js diff --git a/lib/es6/Stdlib_RegExp.js b/packages/@rescript/runtime/lib/es6/Stdlib_RegExp.js similarity index 100% rename from lib/es6/Stdlib_RegExp.js rename to packages/@rescript/runtime/lib/es6/Stdlib_RegExp.js diff --git a/lib/es6/Stdlib_Result.js b/packages/@rescript/runtime/lib/es6/Stdlib_Result.js similarity index 100% rename from lib/es6/Stdlib_Result.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Result.js diff --git a/lib/es6/Stdlib_Set.js b/packages/@rescript/runtime/lib/es6/Stdlib_Set.js similarity index 100% rename from lib/es6/Stdlib_Set.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Set.js diff --git a/lib/es6/Stdlib_String.js b/packages/@rescript/runtime/lib/es6/Stdlib_String.js similarity index 100% rename from lib/es6/Stdlib_String.js rename to packages/@rescript/runtime/lib/es6/Stdlib_String.js diff --git a/lib/es6/Stdlib_Symbol.js b/packages/@rescript/runtime/lib/es6/Stdlib_Symbol.js similarity index 100% rename from lib/es6/Stdlib_Symbol.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Symbol.js diff --git a/lib/es6/Stdlib_Type.js b/packages/@rescript/runtime/lib/es6/Stdlib_Type.js similarity index 100% rename from lib/es6/Stdlib_Type.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Type.js diff --git a/lib/es6/Stdlib_TypedArray.js b/packages/@rescript/runtime/lib/es6/Stdlib_TypedArray.js similarity index 100% rename from lib/es6/Stdlib_TypedArray.js rename to packages/@rescript/runtime/lib/es6/Stdlib_TypedArray.js diff --git a/lib/es6/Stdlib_Uint16Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Uint16Array.js similarity index 100% rename from lib/es6/Stdlib_Uint16Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Uint16Array.js diff --git a/lib/es6/Stdlib_Uint32Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Uint32Array.js similarity index 100% rename from lib/es6/Stdlib_Uint32Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Uint32Array.js diff --git a/lib/es6/Stdlib_Uint8Array.js b/packages/@rescript/runtime/lib/es6/Stdlib_Uint8Array.js similarity index 100% rename from lib/es6/Stdlib_Uint8Array.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Uint8Array.js diff --git a/lib/es6/Stdlib_Uint8ClampedArray.js b/packages/@rescript/runtime/lib/es6/Stdlib_Uint8ClampedArray.js similarity index 100% rename from lib/es6/Stdlib_Uint8ClampedArray.js rename to packages/@rescript/runtime/lib/es6/Stdlib_Uint8ClampedArray.js diff --git a/lib/es6/Stdlib_WeakMap.js b/packages/@rescript/runtime/lib/es6/Stdlib_WeakMap.js similarity index 100% rename from lib/es6/Stdlib_WeakMap.js rename to packages/@rescript/runtime/lib/es6/Stdlib_WeakMap.js diff --git a/lib/es6/Stdlib_WeakSet.js b/packages/@rescript/runtime/lib/es6/Stdlib_WeakSet.js similarity index 100% rename from lib/es6/Stdlib_WeakSet.js rename to packages/@rescript/runtime/lib/es6/Stdlib_WeakSet.js diff --git a/lib/js/Belt.js b/packages/@rescript/runtime/lib/js/Belt.js similarity index 100% rename from lib/js/Belt.js rename to packages/@rescript/runtime/lib/js/Belt.js diff --git a/lib/js/Belt_Array.js b/packages/@rescript/runtime/lib/js/Belt_Array.js similarity index 100% rename from lib/js/Belt_Array.js rename to packages/@rescript/runtime/lib/js/Belt_Array.js diff --git a/lib/js/Belt_Float.js b/packages/@rescript/runtime/lib/js/Belt_Float.js similarity index 100% rename from lib/js/Belt_Float.js rename to packages/@rescript/runtime/lib/js/Belt_Float.js diff --git a/lib/js/Belt_HashMap.js b/packages/@rescript/runtime/lib/js/Belt_HashMap.js similarity index 100% rename from lib/js/Belt_HashMap.js rename to packages/@rescript/runtime/lib/js/Belt_HashMap.js diff --git a/lib/js/Belt_HashMapInt.js b/packages/@rescript/runtime/lib/js/Belt_HashMapInt.js similarity index 100% rename from lib/js/Belt_HashMapInt.js rename to packages/@rescript/runtime/lib/js/Belt_HashMapInt.js diff --git a/lib/js/Belt_HashMapString.js b/packages/@rescript/runtime/lib/js/Belt_HashMapString.js similarity index 100% rename from lib/js/Belt_HashMapString.js rename to packages/@rescript/runtime/lib/js/Belt_HashMapString.js diff --git a/lib/js/Belt_HashSet.js b/packages/@rescript/runtime/lib/js/Belt_HashSet.js similarity index 100% rename from lib/js/Belt_HashSet.js rename to packages/@rescript/runtime/lib/js/Belt_HashSet.js diff --git a/lib/js/Belt_HashSetInt.js b/packages/@rescript/runtime/lib/js/Belt_HashSetInt.js similarity index 100% rename from lib/js/Belt_HashSetInt.js rename to packages/@rescript/runtime/lib/js/Belt_HashSetInt.js diff --git a/lib/js/Belt_HashSetString.js b/packages/@rescript/runtime/lib/js/Belt_HashSetString.js similarity index 100% rename from lib/js/Belt_HashSetString.js rename to packages/@rescript/runtime/lib/js/Belt_HashSetString.js diff --git a/lib/js/Belt_Id.js b/packages/@rescript/runtime/lib/js/Belt_Id.js similarity index 100% rename from lib/js/Belt_Id.js rename to packages/@rescript/runtime/lib/js/Belt_Id.js diff --git a/lib/js/Belt_Int.js b/packages/@rescript/runtime/lib/js/Belt_Int.js similarity index 100% rename from lib/js/Belt_Int.js rename to packages/@rescript/runtime/lib/js/Belt_Int.js diff --git a/lib/js/Belt_List.js b/packages/@rescript/runtime/lib/js/Belt_List.js similarity index 100% rename from lib/js/Belt_List.js rename to packages/@rescript/runtime/lib/js/Belt_List.js diff --git a/lib/js/Belt_Map.js b/packages/@rescript/runtime/lib/js/Belt_Map.js similarity index 100% rename from lib/js/Belt_Map.js rename to packages/@rescript/runtime/lib/js/Belt_Map.js diff --git a/lib/js/Belt_MapDict.js b/packages/@rescript/runtime/lib/js/Belt_MapDict.js similarity index 100% rename from lib/js/Belt_MapDict.js rename to packages/@rescript/runtime/lib/js/Belt_MapDict.js diff --git a/lib/js/Belt_MapInt.js b/packages/@rescript/runtime/lib/js/Belt_MapInt.js similarity index 100% rename from lib/js/Belt_MapInt.js rename to packages/@rescript/runtime/lib/js/Belt_MapInt.js diff --git a/lib/js/Belt_MapString.js b/packages/@rescript/runtime/lib/js/Belt_MapString.js similarity index 100% rename from lib/js/Belt_MapString.js rename to packages/@rescript/runtime/lib/js/Belt_MapString.js diff --git a/lib/js/Belt_MutableMap.js b/packages/@rescript/runtime/lib/js/Belt_MutableMap.js similarity index 100% rename from lib/js/Belt_MutableMap.js rename to packages/@rescript/runtime/lib/js/Belt_MutableMap.js diff --git a/lib/js/Belt_MutableMapInt.js b/packages/@rescript/runtime/lib/js/Belt_MutableMapInt.js similarity index 100% rename from lib/js/Belt_MutableMapInt.js rename to packages/@rescript/runtime/lib/js/Belt_MutableMapInt.js diff --git a/lib/js/Belt_MutableMapString.js b/packages/@rescript/runtime/lib/js/Belt_MutableMapString.js similarity index 100% rename from lib/js/Belt_MutableMapString.js rename to packages/@rescript/runtime/lib/js/Belt_MutableMapString.js diff --git a/lib/js/Belt_MutableQueue.js b/packages/@rescript/runtime/lib/js/Belt_MutableQueue.js similarity index 100% rename from lib/js/Belt_MutableQueue.js rename to packages/@rescript/runtime/lib/js/Belt_MutableQueue.js diff --git a/lib/js/Belt_MutableSet.js b/packages/@rescript/runtime/lib/js/Belt_MutableSet.js similarity index 100% rename from lib/js/Belt_MutableSet.js rename to packages/@rescript/runtime/lib/js/Belt_MutableSet.js diff --git a/lib/js/Belt_MutableSetInt.js b/packages/@rescript/runtime/lib/js/Belt_MutableSetInt.js similarity index 100% rename from lib/js/Belt_MutableSetInt.js rename to packages/@rescript/runtime/lib/js/Belt_MutableSetInt.js diff --git a/lib/js/Belt_MutableSetString.js b/packages/@rescript/runtime/lib/js/Belt_MutableSetString.js similarity index 100% rename from lib/js/Belt_MutableSetString.js rename to packages/@rescript/runtime/lib/js/Belt_MutableSetString.js diff --git a/lib/js/Belt_MutableStack.js b/packages/@rescript/runtime/lib/js/Belt_MutableStack.js similarity index 100% rename from lib/js/Belt_MutableStack.js rename to packages/@rescript/runtime/lib/js/Belt_MutableStack.js diff --git a/lib/js/Belt_Option.js b/packages/@rescript/runtime/lib/js/Belt_Option.js similarity index 100% rename from lib/js/Belt_Option.js rename to packages/@rescript/runtime/lib/js/Belt_Option.js diff --git a/lib/js/Belt_Range.js b/packages/@rescript/runtime/lib/js/Belt_Range.js similarity index 100% rename from lib/js/Belt_Range.js rename to packages/@rescript/runtime/lib/js/Belt_Range.js diff --git a/lib/js/Belt_Result.js b/packages/@rescript/runtime/lib/js/Belt_Result.js similarity index 100% rename from lib/js/Belt_Result.js rename to packages/@rescript/runtime/lib/js/Belt_Result.js diff --git a/lib/js/Belt_Set.js b/packages/@rescript/runtime/lib/js/Belt_Set.js similarity index 100% rename from lib/js/Belt_Set.js rename to packages/@rescript/runtime/lib/js/Belt_Set.js diff --git a/lib/js/Belt_SetDict.js b/packages/@rescript/runtime/lib/js/Belt_SetDict.js similarity index 100% rename from lib/js/Belt_SetDict.js rename to packages/@rescript/runtime/lib/js/Belt_SetDict.js diff --git a/lib/js/Belt_SetInt.js b/packages/@rescript/runtime/lib/js/Belt_SetInt.js similarity index 100% rename from lib/js/Belt_SetInt.js rename to packages/@rescript/runtime/lib/js/Belt_SetInt.js diff --git a/lib/js/Belt_SetString.js b/packages/@rescript/runtime/lib/js/Belt_SetString.js similarity index 100% rename from lib/js/Belt_SetString.js rename to packages/@rescript/runtime/lib/js/Belt_SetString.js diff --git a/lib/js/Belt_SortArray.js b/packages/@rescript/runtime/lib/js/Belt_SortArray.js similarity index 100% rename from lib/js/Belt_SortArray.js rename to packages/@rescript/runtime/lib/js/Belt_SortArray.js diff --git a/lib/js/Belt_SortArrayInt.js b/packages/@rescript/runtime/lib/js/Belt_SortArrayInt.js similarity index 100% rename from lib/js/Belt_SortArrayInt.js rename to packages/@rescript/runtime/lib/js/Belt_SortArrayInt.js diff --git a/lib/js/Belt_SortArrayString.js b/packages/@rescript/runtime/lib/js/Belt_SortArrayString.js similarity index 100% rename from lib/js/Belt_SortArrayString.js rename to packages/@rescript/runtime/lib/js/Belt_SortArrayString.js diff --git a/lib/js/Belt_internalAVLset.js b/packages/@rescript/runtime/lib/js/Belt_internalAVLset.js similarity index 100% rename from lib/js/Belt_internalAVLset.js rename to packages/@rescript/runtime/lib/js/Belt_internalAVLset.js diff --git a/lib/js/Belt_internalAVLtree.js b/packages/@rescript/runtime/lib/js/Belt_internalAVLtree.js similarity index 100% rename from lib/js/Belt_internalAVLtree.js rename to packages/@rescript/runtime/lib/js/Belt_internalAVLtree.js diff --git a/lib/js/Belt_internalBuckets.js b/packages/@rescript/runtime/lib/js/Belt_internalBuckets.js similarity index 100% rename from lib/js/Belt_internalBuckets.js rename to packages/@rescript/runtime/lib/js/Belt_internalBuckets.js diff --git a/lib/js/Belt_internalBucketsType.js b/packages/@rescript/runtime/lib/js/Belt_internalBucketsType.js similarity index 100% rename from lib/js/Belt_internalBucketsType.js rename to packages/@rescript/runtime/lib/js/Belt_internalBucketsType.js diff --git a/lib/js/Belt_internalMapInt.js b/packages/@rescript/runtime/lib/js/Belt_internalMapInt.js similarity index 100% rename from lib/js/Belt_internalMapInt.js rename to packages/@rescript/runtime/lib/js/Belt_internalMapInt.js diff --git a/lib/js/Belt_internalMapString.js b/packages/@rescript/runtime/lib/js/Belt_internalMapString.js similarity index 100% rename from lib/js/Belt_internalMapString.js rename to packages/@rescript/runtime/lib/js/Belt_internalMapString.js diff --git a/lib/js/Belt_internalSetBuckets.js b/packages/@rescript/runtime/lib/js/Belt_internalSetBuckets.js similarity index 100% rename from lib/js/Belt_internalSetBuckets.js rename to packages/@rescript/runtime/lib/js/Belt_internalSetBuckets.js diff --git a/lib/js/Belt_internalSetInt.js b/packages/@rescript/runtime/lib/js/Belt_internalSetInt.js similarity index 100% rename from lib/js/Belt_internalSetInt.js rename to packages/@rescript/runtime/lib/js/Belt_internalSetInt.js diff --git a/lib/js/Belt_internalSetString.js b/packages/@rescript/runtime/lib/js/Belt_internalSetString.js similarity index 100% rename from lib/js/Belt_internalSetString.js rename to packages/@rescript/runtime/lib/js/Belt_internalSetString.js diff --git a/lib/js/Char.js b/packages/@rescript/runtime/lib/js/Char.js similarity index 100% rename from lib/js/Char.js rename to packages/@rescript/runtime/lib/js/Char.js diff --git a/lib/js/Dom.js b/packages/@rescript/runtime/lib/js/Dom.js similarity index 100% rename from lib/js/Dom.js rename to packages/@rescript/runtime/lib/js/Dom.js diff --git a/lib/js/Dom_storage.js b/packages/@rescript/runtime/lib/js/Dom_storage.js similarity index 100% rename from lib/js/Dom_storage.js rename to packages/@rescript/runtime/lib/js/Dom_storage.js diff --git a/lib/js/Dom_storage2.js b/packages/@rescript/runtime/lib/js/Dom_storage2.js similarity index 100% rename from lib/js/Dom_storage2.js rename to packages/@rescript/runtime/lib/js/Dom_storage2.js diff --git a/lib/js/Js.js b/packages/@rescript/runtime/lib/js/Js.js similarity index 100% rename from lib/js/Js.js rename to packages/@rescript/runtime/lib/js/Js.js diff --git a/lib/js/Js_OO.js b/packages/@rescript/runtime/lib/js/Js_OO.js similarity index 100% rename from lib/js/Js_OO.js rename to packages/@rescript/runtime/lib/js/Js_OO.js diff --git a/lib/js/Js_array.js b/packages/@rescript/runtime/lib/js/Js_array.js similarity index 100% rename from lib/js/Js_array.js rename to packages/@rescript/runtime/lib/js/Js_array.js diff --git a/lib/js/Js_array2.js b/packages/@rescript/runtime/lib/js/Js_array2.js similarity index 100% rename from lib/js/Js_array2.js rename to packages/@rescript/runtime/lib/js/Js_array2.js diff --git a/lib/js/Js_bigint.js b/packages/@rescript/runtime/lib/js/Js_bigint.js similarity index 100% rename from lib/js/Js_bigint.js rename to packages/@rescript/runtime/lib/js/Js_bigint.js diff --git a/lib/js/Js_blob.js b/packages/@rescript/runtime/lib/js/Js_blob.js similarity index 100% rename from lib/js/Js_blob.js rename to packages/@rescript/runtime/lib/js/Js_blob.js diff --git a/lib/js/Js_console.js b/packages/@rescript/runtime/lib/js/Js_console.js similarity index 100% rename from lib/js/Js_console.js rename to packages/@rescript/runtime/lib/js/Js_console.js diff --git a/lib/js/Js_date.js b/packages/@rescript/runtime/lib/js/Js_date.js similarity index 100% rename from lib/js/Js_date.js rename to packages/@rescript/runtime/lib/js/Js_date.js diff --git a/lib/js/Js_dict.js b/packages/@rescript/runtime/lib/js/Js_dict.js similarity index 100% rename from lib/js/Js_dict.js rename to packages/@rescript/runtime/lib/js/Js_dict.js diff --git a/lib/js/Js_extern.js b/packages/@rescript/runtime/lib/js/Js_extern.js similarity index 100% rename from lib/js/Js_extern.js rename to packages/@rescript/runtime/lib/js/Js_extern.js diff --git a/lib/js/Js_file.js b/packages/@rescript/runtime/lib/js/Js_file.js similarity index 100% rename from lib/js/Js_file.js rename to packages/@rescript/runtime/lib/js/Js_file.js diff --git a/lib/js/Js_float.js b/packages/@rescript/runtime/lib/js/Js_float.js similarity index 100% rename from lib/js/Js_float.js rename to packages/@rescript/runtime/lib/js/Js_float.js diff --git a/lib/js/Js_global.js b/packages/@rescript/runtime/lib/js/Js_global.js similarity index 100% rename from lib/js/Js_global.js rename to packages/@rescript/runtime/lib/js/Js_global.js diff --git a/lib/js/Js_int.js b/packages/@rescript/runtime/lib/js/Js_int.js similarity index 100% rename from lib/js/Js_int.js rename to packages/@rescript/runtime/lib/js/Js_int.js diff --git a/lib/js/Js_json.js b/packages/@rescript/runtime/lib/js/Js_json.js similarity index 100% rename from lib/js/Js_json.js rename to packages/@rescript/runtime/lib/js/Js_json.js diff --git a/lib/js/Js_map.js b/packages/@rescript/runtime/lib/js/Js_map.js similarity index 100% rename from lib/js/Js_map.js rename to packages/@rescript/runtime/lib/js/Js_map.js diff --git a/lib/js/Js_math.js b/packages/@rescript/runtime/lib/js/Js_math.js similarity index 100% rename from lib/js/Js_math.js rename to packages/@rescript/runtime/lib/js/Js_math.js diff --git a/lib/js/Js_null.js b/packages/@rescript/runtime/lib/js/Js_null.js similarity index 100% rename from lib/js/Js_null.js rename to packages/@rescript/runtime/lib/js/Js_null.js diff --git a/lib/js/Js_null_undefined.js b/packages/@rescript/runtime/lib/js/Js_null_undefined.js similarity index 100% rename from lib/js/Js_null_undefined.js rename to packages/@rescript/runtime/lib/js/Js_null_undefined.js diff --git a/lib/js/Js_obj.js b/packages/@rescript/runtime/lib/js/Js_obj.js similarity index 100% rename from lib/js/Js_obj.js rename to packages/@rescript/runtime/lib/js/Js_obj.js diff --git a/lib/js/Js_option.js b/packages/@rescript/runtime/lib/js/Js_option.js similarity index 100% rename from lib/js/Js_option.js rename to packages/@rescript/runtime/lib/js/Js_option.js diff --git a/lib/js/Js_promise.js b/packages/@rescript/runtime/lib/js/Js_promise.js similarity index 100% rename from lib/js/Js_promise.js rename to packages/@rescript/runtime/lib/js/Js_promise.js diff --git a/lib/js/Js_promise2.js b/packages/@rescript/runtime/lib/js/Js_promise2.js similarity index 100% rename from lib/js/Js_promise2.js rename to packages/@rescript/runtime/lib/js/Js_promise2.js diff --git a/lib/js/Js_re.js b/packages/@rescript/runtime/lib/js/Js_re.js similarity index 100% rename from lib/js/Js_re.js rename to packages/@rescript/runtime/lib/js/Js_re.js diff --git a/lib/js/Js_result.js b/packages/@rescript/runtime/lib/js/Js_result.js similarity index 100% rename from lib/js/Js_result.js rename to packages/@rescript/runtime/lib/js/Js_result.js diff --git a/lib/js/Js_set.js b/packages/@rescript/runtime/lib/js/Js_set.js similarity index 100% rename from lib/js/Js_set.js rename to packages/@rescript/runtime/lib/js/Js_set.js diff --git a/lib/js/Js_string.js b/packages/@rescript/runtime/lib/js/Js_string.js similarity index 100% rename from lib/js/Js_string.js rename to packages/@rescript/runtime/lib/js/Js_string.js diff --git a/lib/js/Js_string2.js b/packages/@rescript/runtime/lib/js/Js_string2.js similarity index 100% rename from lib/js/Js_string2.js rename to packages/@rescript/runtime/lib/js/Js_string2.js diff --git a/lib/js/Js_typed_array.js b/packages/@rescript/runtime/lib/js/Js_typed_array.js similarity index 100% rename from lib/js/Js_typed_array.js rename to packages/@rescript/runtime/lib/js/Js_typed_array.js diff --git a/lib/js/Js_typed_array2.js b/packages/@rescript/runtime/lib/js/Js_typed_array2.js similarity index 100% rename from lib/js/Js_typed_array2.js rename to packages/@rescript/runtime/lib/js/Js_typed_array2.js diff --git a/lib/js/Js_types.js b/packages/@rescript/runtime/lib/js/Js_types.js similarity index 100% rename from lib/js/Js_types.js rename to packages/@rescript/runtime/lib/js/Js_types.js diff --git a/lib/js/Js_undefined.js b/packages/@rescript/runtime/lib/js/Js_undefined.js similarity index 100% rename from lib/js/Js_undefined.js rename to packages/@rescript/runtime/lib/js/Js_undefined.js diff --git a/lib/js/Js_weakmap.js b/packages/@rescript/runtime/lib/js/Js_weakmap.js similarity index 100% rename from lib/js/Js_weakmap.js rename to packages/@rescript/runtime/lib/js/Js_weakmap.js diff --git a/lib/js/Js_weakset.js b/packages/@rescript/runtime/lib/js/Js_weakset.js similarity index 100% rename from lib/js/Js_weakset.js rename to packages/@rescript/runtime/lib/js/Js_weakset.js diff --git a/lib/js/Jsx.js b/packages/@rescript/runtime/lib/js/Jsx.js similarity index 100% rename from lib/js/Jsx.js rename to packages/@rescript/runtime/lib/js/Jsx.js diff --git a/lib/js/JsxDOM.js b/packages/@rescript/runtime/lib/js/JsxDOM.js similarity index 100% rename from lib/js/JsxDOM.js rename to packages/@rescript/runtime/lib/js/JsxDOM.js diff --git a/lib/js/JsxDOMStyle.js b/packages/@rescript/runtime/lib/js/JsxDOMStyle.js similarity index 100% rename from lib/js/JsxDOMStyle.js rename to packages/@rescript/runtime/lib/js/JsxDOMStyle.js diff --git a/lib/js/JsxEvent.js b/packages/@rescript/runtime/lib/js/JsxEvent.js similarity index 100% rename from lib/js/JsxEvent.js rename to packages/@rescript/runtime/lib/js/JsxEvent.js diff --git a/lib/js/Obj.js b/packages/@rescript/runtime/lib/js/Obj.js similarity index 100% rename from lib/js/Obj.js rename to packages/@rescript/runtime/lib/js/Obj.js diff --git a/lib/js/Pervasives.js b/packages/@rescript/runtime/lib/js/Pervasives.js similarity index 100% rename from lib/js/Pervasives.js rename to packages/@rescript/runtime/lib/js/Pervasives.js diff --git a/lib/js/Primitive_array.js b/packages/@rescript/runtime/lib/js/Primitive_array.js similarity index 100% rename from lib/js/Primitive_array.js rename to packages/@rescript/runtime/lib/js/Primitive_array.js diff --git a/lib/js/Primitive_array_extern.js b/packages/@rescript/runtime/lib/js/Primitive_array_extern.js similarity index 100% rename from lib/js/Primitive_array_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_array_extern.js diff --git a/lib/js/Primitive_bigint.js b/packages/@rescript/runtime/lib/js/Primitive_bigint.js similarity index 100% rename from lib/js/Primitive_bigint.js rename to packages/@rescript/runtime/lib/js/Primitive_bigint.js diff --git a/lib/js/Primitive_bool.js b/packages/@rescript/runtime/lib/js/Primitive_bool.js similarity index 100% rename from lib/js/Primitive_bool.js rename to packages/@rescript/runtime/lib/js/Primitive_bool.js diff --git a/lib/js/Primitive_char_extern.js b/packages/@rescript/runtime/lib/js/Primitive_char_extern.js similarity index 100% rename from lib/js/Primitive_char_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_char_extern.js diff --git a/lib/js/Primitive_curry.js b/packages/@rescript/runtime/lib/js/Primitive_curry.js similarity index 100% rename from lib/js/Primitive_curry.js rename to packages/@rescript/runtime/lib/js/Primitive_curry.js diff --git a/lib/js/Primitive_dict.js b/packages/@rescript/runtime/lib/js/Primitive_dict.js similarity index 100% rename from lib/js/Primitive_dict.js rename to packages/@rescript/runtime/lib/js/Primitive_dict.js diff --git a/lib/js/Primitive_exceptions.js b/packages/@rescript/runtime/lib/js/Primitive_exceptions.js similarity index 100% rename from lib/js/Primitive_exceptions.js rename to packages/@rescript/runtime/lib/js/Primitive_exceptions.js diff --git a/lib/js/Primitive_float.js b/packages/@rescript/runtime/lib/js/Primitive_float.js similarity index 100% rename from lib/js/Primitive_float.js rename to packages/@rescript/runtime/lib/js/Primitive_float.js diff --git a/lib/js/Primitive_float_extern.js b/packages/@rescript/runtime/lib/js/Primitive_float_extern.js similarity index 100% rename from lib/js/Primitive_float_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_float_extern.js diff --git a/lib/js/Primitive_hash.js b/packages/@rescript/runtime/lib/js/Primitive_hash.js similarity index 100% rename from lib/js/Primitive_hash.js rename to packages/@rescript/runtime/lib/js/Primitive_hash.js diff --git a/lib/js/Primitive_int.js b/packages/@rescript/runtime/lib/js/Primitive_int.js similarity index 100% rename from lib/js/Primitive_int.js rename to packages/@rescript/runtime/lib/js/Primitive_int.js diff --git a/lib/js/Primitive_int_extern.js b/packages/@rescript/runtime/lib/js/Primitive_int_extern.js similarity index 100% rename from lib/js/Primitive_int_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_int_extern.js diff --git a/lib/js/Primitive_js_extern.js b/packages/@rescript/runtime/lib/js/Primitive_js_extern.js similarity index 100% rename from lib/js/Primitive_js_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_js_extern.js diff --git a/lib/js/Primitive_lazy.js b/packages/@rescript/runtime/lib/js/Primitive_lazy.js similarity index 100% rename from lib/js/Primitive_lazy.js rename to packages/@rescript/runtime/lib/js/Primitive_lazy.js diff --git a/lib/js/Primitive_module.js b/packages/@rescript/runtime/lib/js/Primitive_module.js similarity index 100% rename from lib/js/Primitive_module.js rename to packages/@rescript/runtime/lib/js/Primitive_module.js diff --git a/lib/js/Primitive_object.js b/packages/@rescript/runtime/lib/js/Primitive_object.js similarity index 100% rename from lib/js/Primitive_object.js rename to packages/@rescript/runtime/lib/js/Primitive_object.js diff --git a/lib/js/Primitive_object_extern.js b/packages/@rescript/runtime/lib/js/Primitive_object_extern.js similarity index 100% rename from lib/js/Primitive_object_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_object_extern.js diff --git a/lib/js/Primitive_option.js b/packages/@rescript/runtime/lib/js/Primitive_option.js similarity index 100% rename from lib/js/Primitive_option.js rename to packages/@rescript/runtime/lib/js/Primitive_option.js diff --git a/lib/js/Primitive_promise.js b/packages/@rescript/runtime/lib/js/Primitive_promise.js similarity index 100% rename from lib/js/Primitive_promise.js rename to packages/@rescript/runtime/lib/js/Primitive_promise.js diff --git a/lib/js/Primitive_string.js b/packages/@rescript/runtime/lib/js/Primitive_string.js similarity index 100% rename from lib/js/Primitive_string.js rename to packages/@rescript/runtime/lib/js/Primitive_string.js diff --git a/lib/js/Primitive_string_extern.js b/packages/@rescript/runtime/lib/js/Primitive_string_extern.js similarity index 100% rename from lib/js/Primitive_string_extern.js rename to packages/@rescript/runtime/lib/js/Primitive_string_extern.js diff --git a/lib/js/Primitive_util.js b/packages/@rescript/runtime/lib/js/Primitive_util.js similarity index 100% rename from lib/js/Primitive_util.js rename to packages/@rescript/runtime/lib/js/Primitive_util.js diff --git a/lib/js/RescriptTools.js b/packages/@rescript/runtime/lib/js/RescriptTools.js similarity index 100% rename from lib/js/RescriptTools.js rename to packages/@rescript/runtime/lib/js/RescriptTools.js diff --git a/lib/js/RescriptTools_Docgen.js b/packages/@rescript/runtime/lib/js/RescriptTools_Docgen.js similarity index 100% rename from lib/js/RescriptTools_Docgen.js rename to packages/@rescript/runtime/lib/js/RescriptTools_Docgen.js diff --git a/lib/js/Stdlib.js b/packages/@rescript/runtime/lib/js/Stdlib.js similarity index 100% rename from lib/js/Stdlib.js rename to packages/@rescript/runtime/lib/js/Stdlib.js diff --git a/lib/js/Stdlib_Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Array.js similarity index 100% rename from lib/js/Stdlib_Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Array.js diff --git a/lib/js/Stdlib_ArrayBuffer.js b/packages/@rescript/runtime/lib/js/Stdlib_ArrayBuffer.js similarity index 100% rename from lib/js/Stdlib_ArrayBuffer.js rename to packages/@rescript/runtime/lib/js/Stdlib_ArrayBuffer.js diff --git a/lib/js/Stdlib_AsyncIterator.js b/packages/@rescript/runtime/lib/js/Stdlib_AsyncIterator.js similarity index 100% rename from lib/js/Stdlib_AsyncIterator.js rename to packages/@rescript/runtime/lib/js/Stdlib_AsyncIterator.js diff --git a/lib/js/Stdlib_BigInt.js b/packages/@rescript/runtime/lib/js/Stdlib_BigInt.js similarity index 100% rename from lib/js/Stdlib_BigInt.js rename to packages/@rescript/runtime/lib/js/Stdlib_BigInt.js diff --git a/lib/js/Stdlib_BigInt64Array.js b/packages/@rescript/runtime/lib/js/Stdlib_BigInt64Array.js similarity index 100% rename from lib/js/Stdlib_BigInt64Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_BigInt64Array.js diff --git a/lib/js/Stdlib_BigUint64Array.js b/packages/@rescript/runtime/lib/js/Stdlib_BigUint64Array.js similarity index 100% rename from lib/js/Stdlib_BigUint64Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_BigUint64Array.js diff --git a/lib/js/Stdlib_Bool.js b/packages/@rescript/runtime/lib/js/Stdlib_Bool.js similarity index 100% rename from lib/js/Stdlib_Bool.js rename to packages/@rescript/runtime/lib/js/Stdlib_Bool.js diff --git a/lib/js/Stdlib_Console.js b/packages/@rescript/runtime/lib/js/Stdlib_Console.js similarity index 100% rename from lib/js/Stdlib_Console.js rename to packages/@rescript/runtime/lib/js/Stdlib_Console.js diff --git a/lib/js/Stdlib_DataView.js b/packages/@rescript/runtime/lib/js/Stdlib_DataView.js similarity index 100% rename from lib/js/Stdlib_DataView.js rename to packages/@rescript/runtime/lib/js/Stdlib_DataView.js diff --git a/lib/js/Stdlib_Date.js b/packages/@rescript/runtime/lib/js/Stdlib_Date.js similarity index 100% rename from lib/js/Stdlib_Date.js rename to packages/@rescript/runtime/lib/js/Stdlib_Date.js diff --git a/lib/js/Stdlib_Dict.js b/packages/@rescript/runtime/lib/js/Stdlib_Dict.js similarity index 100% rename from lib/js/Stdlib_Dict.js rename to packages/@rescript/runtime/lib/js/Stdlib_Dict.js diff --git a/lib/js/Stdlib_Error.js b/packages/@rescript/runtime/lib/js/Stdlib_Error.js similarity index 100% rename from lib/js/Stdlib_Error.js rename to packages/@rescript/runtime/lib/js/Stdlib_Error.js diff --git a/lib/js/Stdlib_Exn.js b/packages/@rescript/runtime/lib/js/Stdlib_Exn.js similarity index 100% rename from lib/js/Stdlib_Exn.js rename to packages/@rescript/runtime/lib/js/Stdlib_Exn.js diff --git a/lib/js/Stdlib_Float.js b/packages/@rescript/runtime/lib/js/Stdlib_Float.js similarity index 100% rename from lib/js/Stdlib_Float.js rename to packages/@rescript/runtime/lib/js/Stdlib_Float.js diff --git a/lib/js/Stdlib_Float32Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Float32Array.js similarity index 100% rename from lib/js/Stdlib_Float32Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Float32Array.js diff --git a/lib/js/Stdlib_Float64Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Float64Array.js similarity index 100% rename from lib/js/Stdlib_Float64Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Float64Array.js diff --git a/lib/js/Stdlib_Global.js b/packages/@rescript/runtime/lib/js/Stdlib_Global.js similarity index 100% rename from lib/js/Stdlib_Global.js rename to packages/@rescript/runtime/lib/js/Stdlib_Global.js diff --git a/lib/js/Stdlib_Int.js b/packages/@rescript/runtime/lib/js/Stdlib_Int.js similarity index 100% rename from lib/js/Stdlib_Int.js rename to packages/@rescript/runtime/lib/js/Stdlib_Int.js diff --git a/lib/js/Stdlib_Int16Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Int16Array.js similarity index 100% rename from lib/js/Stdlib_Int16Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Int16Array.js diff --git a/lib/js/Stdlib_Int32Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Int32Array.js similarity index 100% rename from lib/js/Stdlib_Int32Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Int32Array.js diff --git a/lib/js/Stdlib_Int8Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Int8Array.js similarity index 100% rename from lib/js/Stdlib_Int8Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Int8Array.js diff --git a/lib/js/Stdlib_Intl.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl.js similarity index 100% rename from lib/js/Stdlib_Intl.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl.js diff --git a/lib/js/Stdlib_Intl_Collator.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_Collator.js similarity index 100% rename from lib/js/Stdlib_Intl_Collator.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_Collator.js diff --git a/lib/js/Stdlib_Intl_Common.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_Common.js similarity index 100% rename from lib/js/Stdlib_Intl_Common.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_Common.js diff --git a/lib/js/Stdlib_Intl_DateTimeFormat.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_DateTimeFormat.js similarity index 100% rename from lib/js/Stdlib_Intl_DateTimeFormat.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_DateTimeFormat.js diff --git a/lib/js/Stdlib_Intl_ListFormat.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_ListFormat.js similarity index 100% rename from lib/js/Stdlib_Intl_ListFormat.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_ListFormat.js diff --git a/lib/js/Stdlib_Intl_Locale.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_Locale.js similarity index 100% rename from lib/js/Stdlib_Intl_Locale.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_Locale.js diff --git a/lib/js/Stdlib_Intl_NumberFormat.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_NumberFormat.js similarity index 100% rename from lib/js/Stdlib_Intl_NumberFormat.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_NumberFormat.js diff --git a/lib/js/Stdlib_Intl_NumberFormat_Grouping.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_NumberFormat_Grouping.js similarity index 100% rename from lib/js/Stdlib_Intl_NumberFormat_Grouping.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_NumberFormat_Grouping.js diff --git a/lib/js/Stdlib_Intl_PluralRules.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_PluralRules.js similarity index 100% rename from lib/js/Stdlib_Intl_PluralRules.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_PluralRules.js diff --git a/lib/js/Stdlib_Intl_RelativeTimeFormat.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_RelativeTimeFormat.js similarity index 100% rename from lib/js/Stdlib_Intl_RelativeTimeFormat.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_RelativeTimeFormat.js diff --git a/lib/js/Stdlib_Intl_Segmenter.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_Segmenter.js similarity index 100% rename from lib/js/Stdlib_Intl_Segmenter.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_Segmenter.js diff --git a/lib/js/Stdlib_Intl_Segments.js b/packages/@rescript/runtime/lib/js/Stdlib_Intl_Segments.js similarity index 100% rename from lib/js/Stdlib_Intl_Segments.js rename to packages/@rescript/runtime/lib/js/Stdlib_Intl_Segments.js diff --git a/lib/js/Stdlib_Iterator.js b/packages/@rescript/runtime/lib/js/Stdlib_Iterator.js similarity index 100% rename from lib/js/Stdlib_Iterator.js rename to packages/@rescript/runtime/lib/js/Stdlib_Iterator.js diff --git a/lib/js/Stdlib_JSON.js b/packages/@rescript/runtime/lib/js/Stdlib_JSON.js similarity index 100% rename from lib/js/Stdlib_JSON.js rename to packages/@rescript/runtime/lib/js/Stdlib_JSON.js diff --git a/lib/js/Stdlib_JsError.js b/packages/@rescript/runtime/lib/js/Stdlib_JsError.js similarity index 100% rename from lib/js/Stdlib_JsError.js rename to packages/@rescript/runtime/lib/js/Stdlib_JsError.js diff --git a/lib/js/Stdlib_JsExn.js b/packages/@rescript/runtime/lib/js/Stdlib_JsExn.js similarity index 100% rename from lib/js/Stdlib_JsExn.js rename to packages/@rescript/runtime/lib/js/Stdlib_JsExn.js diff --git a/lib/js/Stdlib_Lazy.js b/packages/@rescript/runtime/lib/js/Stdlib_Lazy.js similarity index 100% rename from lib/js/Stdlib_Lazy.js rename to packages/@rescript/runtime/lib/js/Stdlib_Lazy.js diff --git a/lib/js/Stdlib_List.js b/packages/@rescript/runtime/lib/js/Stdlib_List.js similarity index 100% rename from lib/js/Stdlib_List.js rename to packages/@rescript/runtime/lib/js/Stdlib_List.js diff --git a/lib/js/Stdlib_Map.js b/packages/@rescript/runtime/lib/js/Stdlib_Map.js similarity index 100% rename from lib/js/Stdlib_Map.js rename to packages/@rescript/runtime/lib/js/Stdlib_Map.js diff --git a/lib/js/Stdlib_Math.js b/packages/@rescript/runtime/lib/js/Stdlib_Math.js similarity index 100% rename from lib/js/Stdlib_Math.js rename to packages/@rescript/runtime/lib/js/Stdlib_Math.js diff --git a/lib/js/Stdlib_Null.js b/packages/@rescript/runtime/lib/js/Stdlib_Null.js similarity index 100% rename from lib/js/Stdlib_Null.js rename to packages/@rescript/runtime/lib/js/Stdlib_Null.js diff --git a/lib/js/Stdlib_Nullable.js b/packages/@rescript/runtime/lib/js/Stdlib_Nullable.js similarity index 100% rename from lib/js/Stdlib_Nullable.js rename to packages/@rescript/runtime/lib/js/Stdlib_Nullable.js diff --git a/lib/js/Stdlib_Object.js b/packages/@rescript/runtime/lib/js/Stdlib_Object.js similarity index 100% rename from lib/js/Stdlib_Object.js rename to packages/@rescript/runtime/lib/js/Stdlib_Object.js diff --git a/lib/js/Stdlib_Option.js b/packages/@rescript/runtime/lib/js/Stdlib_Option.js similarity index 100% rename from lib/js/Stdlib_Option.js rename to packages/@rescript/runtime/lib/js/Stdlib_Option.js diff --git a/lib/js/Stdlib_Ordering.js b/packages/@rescript/runtime/lib/js/Stdlib_Ordering.js similarity index 100% rename from lib/js/Stdlib_Ordering.js rename to packages/@rescript/runtime/lib/js/Stdlib_Ordering.js diff --git a/lib/js/Stdlib_Pair.js b/packages/@rescript/runtime/lib/js/Stdlib_Pair.js similarity index 100% rename from lib/js/Stdlib_Pair.js rename to packages/@rescript/runtime/lib/js/Stdlib_Pair.js diff --git a/lib/js/Stdlib_Promise.js b/packages/@rescript/runtime/lib/js/Stdlib_Promise.js similarity index 100% rename from lib/js/Stdlib_Promise.js rename to packages/@rescript/runtime/lib/js/Stdlib_Promise.js diff --git a/lib/js/Stdlib_RegExp.js b/packages/@rescript/runtime/lib/js/Stdlib_RegExp.js similarity index 100% rename from lib/js/Stdlib_RegExp.js rename to packages/@rescript/runtime/lib/js/Stdlib_RegExp.js diff --git a/lib/js/Stdlib_Result.js b/packages/@rescript/runtime/lib/js/Stdlib_Result.js similarity index 100% rename from lib/js/Stdlib_Result.js rename to packages/@rescript/runtime/lib/js/Stdlib_Result.js diff --git a/lib/js/Stdlib_Set.js b/packages/@rescript/runtime/lib/js/Stdlib_Set.js similarity index 100% rename from lib/js/Stdlib_Set.js rename to packages/@rescript/runtime/lib/js/Stdlib_Set.js diff --git a/lib/js/Stdlib_String.js b/packages/@rescript/runtime/lib/js/Stdlib_String.js similarity index 100% rename from lib/js/Stdlib_String.js rename to packages/@rescript/runtime/lib/js/Stdlib_String.js diff --git a/lib/js/Stdlib_Symbol.js b/packages/@rescript/runtime/lib/js/Stdlib_Symbol.js similarity index 100% rename from lib/js/Stdlib_Symbol.js rename to packages/@rescript/runtime/lib/js/Stdlib_Symbol.js diff --git a/lib/js/Stdlib_Type.js b/packages/@rescript/runtime/lib/js/Stdlib_Type.js similarity index 100% rename from lib/js/Stdlib_Type.js rename to packages/@rescript/runtime/lib/js/Stdlib_Type.js diff --git a/lib/js/Stdlib_TypedArray.js b/packages/@rescript/runtime/lib/js/Stdlib_TypedArray.js similarity index 100% rename from lib/js/Stdlib_TypedArray.js rename to packages/@rescript/runtime/lib/js/Stdlib_TypedArray.js diff --git a/lib/js/Stdlib_Uint16Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Uint16Array.js similarity index 100% rename from lib/js/Stdlib_Uint16Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Uint16Array.js diff --git a/lib/js/Stdlib_Uint32Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Uint32Array.js similarity index 100% rename from lib/js/Stdlib_Uint32Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Uint32Array.js diff --git a/lib/js/Stdlib_Uint8Array.js b/packages/@rescript/runtime/lib/js/Stdlib_Uint8Array.js similarity index 100% rename from lib/js/Stdlib_Uint8Array.js rename to packages/@rescript/runtime/lib/js/Stdlib_Uint8Array.js diff --git a/lib/js/Stdlib_Uint8ClampedArray.js b/packages/@rescript/runtime/lib/js/Stdlib_Uint8ClampedArray.js similarity index 100% rename from lib/js/Stdlib_Uint8ClampedArray.js rename to packages/@rescript/runtime/lib/js/Stdlib_Uint8ClampedArray.js diff --git a/lib/js/Stdlib_WeakMap.js b/packages/@rescript/runtime/lib/js/Stdlib_WeakMap.js similarity index 100% rename from lib/js/Stdlib_WeakMap.js rename to packages/@rescript/runtime/lib/js/Stdlib_WeakMap.js diff --git a/lib/js/Stdlib_WeakSet.js b/packages/@rescript/runtime/lib/js/Stdlib_WeakSet.js similarity index 100% rename from lib/js/Stdlib_WeakSet.js rename to packages/@rescript/runtime/lib/js/Stdlib_WeakSet.js diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json index 95649e4014..7c5ce85113 100644 --- a/packages/@rescript/runtime/package.json +++ b/packages/@rescript/runtime/package.json @@ -13,6 +13,10 @@ "files": [ "lib" ], + "scripts": { + "build:rewatch": "rewatch build", + "build:bsb": "rescript build" + }, "devDependencies": { "rescript": "workspace:^" }, From f8daa2f66059f87de3d79772f6242263bd576563 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 16:13:10 +0900 Subject: [PATCH 04/13] new runtime resolution --- Makefile | 6 +-- analysis/src/BuildSystem.ml | 28 ++++++------ analysis/src/Files.ml | 18 ++++++-- analysis/src/FindFiles.ml | 2 +- analysis/src/ModuleResolution.ml | 7 +++ cli/common/bsb.js | 2 +- compiler/bsc/rescript_compiler_main.ml | 9 ---- compiler/common/bs_version.ml | 2 +- compiler/ext/config.ml | 39 +++------------- compiler/ext/config.mli | 2 - package.json | 4 +- packages/@rescript/runtime/package.json | 13 +++++- scripts/format_check.sh | 2 +- tests/docstring_tests/DocTest.res | 6 ++- tests/docstring_tests/DocTest.res.js | 30 +++++++------ tests/docstring_tests/SpawnAsync.res.js | 2 +- tests/tests/src/DictInference.mjs | 2 +- tests/tests/src/Import.mjs | 44 +++++++++---------- tests/tests/src/SafePromises.mjs | 4 +- tests/tests/src/UntaggedVariants.mjs | 8 ++-- tests/tests/src/array_data_util.mjs | 2 +- tests/tests/src/array_safe_get.mjs | 4 +- tests/tests/src/array_subtle_test.mjs | 2 +- tests/tests/src/ast_abstract_test.mjs | 2 +- tests/tests/src/async_await.mjs | 4 +- tests/tests/src/bdd.mjs | 4 +- tests/tests/src/belt_float_test.mjs | 2 +- tests/tests/src/belt_hashmap_test.mjs | 10 ++--- tests/tests/src/belt_hashset_int_test.mjs | 8 ++-- tests/tests/src/belt_int_test.mjs | 2 +- tests/tests/src/belt_list_test.mjs | 8 ++-- tests/tests/src/belt_mapint_test.mjs | 2 +- tests/tests/src/belt_result_alias_test.mjs | 2 +- tests/tests/src/belt_sortarray_test.mjs | 8 ++-- tests/tests/src/bench.mjs | 4 +- tests/tests/src/bigint_test.mjs | 4 +- tests/tests/src/block_alias_test.mjs | 4 +- tests/tests/src/bs_array_test.mjs | 8 ++-- tests/tests/src/bs_map_set_dict_test.mjs | 16 +++---- tests/tests/src/bs_map_test.mjs | 6 +-- tests/tests/src/bs_min_max_test.mjs | 4 +- tests/tests/src/bs_mutable_set_test.mjs | 10 ++--- tests/tests/src/bs_poly_map_test.mjs | 12 ++--- tests/tests/src/bs_poly_mutable_map_test.mjs | 10 ++--- tests/tests/src/bs_poly_mutable_set_test.mjs | 10 ++--- tests/tests/src/bs_poly_set_test.mjs | 16 +++---- tests/tests/src/bs_queue_test.mjs | 6 +-- tests/tests/src/bs_set_int_test.mjs | 6 +-- tests/tests/src/bs_stack_test.mjs | 8 ++-- tests/tests/src/bs_unwrap_test.mjs | 2 +- tests/tests/src/caml_compare_bigint_test.mjs | 4 +- tests/tests/src/caml_compare_test.mjs | 4 +- tests/tests/src/chn_test.mjs | 2 +- .../tests/src/coercion_module_alias_test.mjs | 4 +- tests/tests/src/console_log_test.mjs | 2 +- tests/tests/src/const_block_test.mjs | 2 +- tests/tests/src/const_defs_test.mjs | 2 +- tests/tests/src/core/Core_ArrayTests.mjs | 6 +-- tests/tests/src/core/Core_DictTests.mjs | 2 +- tests/tests/src/core/Core_ErrorTests.mjs | 6 +-- tests/tests/src/core/Core_FloatTests.mjs | 6 +-- tests/tests/src/core/Core_IntTests.mjs | 8 ++-- tests/tests/src/core/Core_IteratorTests.mjs | 6 +-- tests/tests/src/core/Core_ObjectTests.mjs | 4 +- tests/tests/src/core/Core_PromiseTest.mjs | 10 ++--- tests/tests/src/core/Core_ResultTests.mjs | 4 +- tests/tests/src/core/Core_StringTests.mjs | 2 +- tests/tests/src/core/Core_TempTests.mjs | 18 ++++---- tests/tests/src/core/Core_TestTests.mjs | 8 ++-- tests/tests/src/core/Core_TypedArrayTests.mjs | 4 +- tests/tests/src/core/Test.mjs | 2 +- tests/tests/src/core/intl/Core_IntlTests.mjs | 8 ++-- .../core/intl/Core_Intl_NumberFormatTest.mjs | 2 +- tests/tests/src/cps_test.mjs | 2 +- tests/tests/src/custom_error_test.mjs | 4 +- tests/tests/src/defunctor_make_test.mjs | 4 +- tests/tests/src/demo_int_map.mjs | 2 +- tests/tests/src/directives.mjs | 2 +- tests/tests/src/div_by_zero_test.mjs | 2 +- tests/tests/src/earger_curry_test.mjs | 4 +- tests/tests/src/epsilon_test.mjs | 2 +- tests/tests/src/equal_box_test.mjs | 2 +- tests/tests/src/equal_exception_test.mjs | 4 +- tests/tests/src/event_ffi.mjs | 2 +- tests/tests/src/exception_alias.mjs | 2 +- tests/tests/src/exception_raise_test.mjs | 6 +-- .../tests/src/exception_rebound_err_test.mjs | 2 +- tests/tests/src/exception_value_test.mjs | 4 +- tests/tests/src/ext_array_test.mjs | 8 ++-- tests/tests/src/extensible_variant_test.mjs | 2 +- tests/tests/src/field_flattening_opt.mjs | 2 +- tests/tests/src/flexible_array_test.mjs | 8 ++-- tests/tests/src/float_test.mjs | 10 ++--- tests/tests/src/for_loop_test.mjs | 4 +- tests/tests/src/fun_pattern_match.mjs | 2 +- tests/tests/src/functor_ffi.mjs | 2 +- tests/tests/src/global_module_alias_test.mjs | 2 +- tests/tests/src/gpr496_test.mjs | 2 +- tests/tests/src/gpr_1245_test.mjs | 2 +- tests/tests/src/gpr_1409_test.mjs | 4 +- tests/tests/src/gpr_1539_test.mjs | 2 +- tests/tests/src/gpr_1658_test.mjs | 2 +- tests/tests/src/gpr_1701_test.mjs | 4 +- tests/tests/src/gpr_1716_test.mjs | 2 +- tests/tests/src/gpr_1760_test.mjs | 2 +- tests/tests/src/gpr_1817_test.mjs | 2 +- tests/tests/src/gpr_2316_test.mjs | 4 +- tests/tests/src/gpr_2487.mjs | 2 +- tests/tests/src/gpr_2503_test.mjs | 2 +- tests/tests/src/gpr_2608_test.mjs | 2 +- tests/tests/src/gpr_2614_test.mjs | 2 +- tests/tests/src/gpr_3154_test.mjs | 4 +- tests/tests/src/gpr_3566_drive_test.mjs | 2 +- tests/tests/src/gpr_3566_test.mjs | 4 +- tests/tests/src/gpr_3697_test.mjs | 2 +- tests/tests/src/gpr_3931_test.mjs | 4 +- tests/tests/src/gpr_3980_test.mjs | 2 +- tests/tests/src/gpr_4265_test.mjs | 2 +- tests/tests/src/gpr_4274_test.mjs | 4 +- tests/tests/src/gpr_974_test.mjs | 4 +- tests/tests/src/hash_test.mjs | 2 +- tests/tests/src/hello_res.mjs | 2 +- tests/tests/src/inline_map2_test.mjs | 10 ++--- tests/tests/src/inline_map_demo.mjs | 4 +- tests/tests/src/inline_map_test.mjs | 6 +-- tests/tests/src/inline_record_test.mjs | 4 +- tests/tests/src/int_map.mjs | 6 +-- tests/tests/src/internal_unused_test.mjs | 2 +- tests/tests/src/js_array_test.mjs | 2 +- tests/tests/src/js_date_test.mjs | 2 +- tests/tests/src/js_dict_test.mjs | 2 +- tests/tests/src/js_exception_catch_test.mjs | 6 +-- tests/tests/src/js_float_test.mjs | 2 +- tests/tests/src/js_json_test.mjs | 12 ++--- tests/tests/src/js_math_test.mjs | 2 +- tests/tests/src/js_null_test.mjs | 4 +- tests/tests/src/js_null_undefined_test.mjs | 4 +- tests/tests/src/js_option_test.mjs | 2 +- tests/tests/src/js_re_test.mjs | 4 +- tests/tests/src/js_string_test.mjs | 6 +-- tests/tests/src/js_undefined_test.mjs | 4 +- tests/tests/src/json_decorders.mjs | 2 +- tests/tests/src/jsoo_400_test.mjs | 2 +- tests/tests/src/label_uncurry.mjs | 2 +- .../src/large_record_duplication_test.mjs | 4 +- tests/tests/src/lazy_demo.mjs | 2 +- tests/tests/src/lazy_test.mjs | 2 +- tests/tests/src/limits_test.mjs | 2 +- tests/tests/src/list_test.mjs | 8 ++-- tests/tests/src/local_exception_test.mjs | 2 +- tests/tests/src/map_find_test.mjs | 6 +-- tests/tests/src/mario_game.mjs | 12 ++--- tests/tests/src/mock_mt.mjs | 2 +- tests/tests/src/module_alias_test.mjs | 2 +- tests/tests/src/module_missing_conversion.mjs | 4 +- tests/tests/src/module_parameter_test.mjs | 2 +- tests/tests/src/module_test.mjs | 2 +- tests/tests/src/mpr_6033_test.mjs | 2 +- tests/tests/src/mt.mjs | 4 +- tests/tests/src/mutable_uncurry_test.mjs | 2 +- tests/tests/src/nested_module_alias.mjs | 2 +- tests/tests/src/ocaml_compat/Ocaml_Array.mjs | 6 +-- .../tests/src/ocaml_compat/Ocaml_Hashtbl.mjs | 2 +- tests/tests/src/ocaml_compat/Ocaml_List.mjs | 4 +- tests/tests/src/ocaml_compat/Ocaml_String.mjs | 6 +-- tests/tests/src/option_repr_test.mjs | 6 +-- tests/tests/src/option_wrapping_test.mjs | 6 +-- tests/tests/src/optional_ffi_test.mjs | 2 +- tests/tests/src/optional_regression_test.mjs | 2 +- tests/tests/src/pattern_match_json.mjs | 2 +- tests/tests/src/pipe_syntax.mjs | 2 +- tests/tests/src/pq_test.mjs | 2 +- tests/tests/src/queue_402.mjs | 4 +- tests/tests/src/raw_pure_test.mjs | 2 +- tests/tests/src/reactDOM.mjs | 2 +- tests/tests/src/reactTestUtils.mjs | 6 +-- tests/tests/src/reasonReact.mjs | 2 +- tests/tests/src/reasonReactRouter.mjs | 4 +- tests/tests/src/rebind_module.mjs | 2 +- tests/tests/src/rec_array_test.mjs | 2 +- tests/tests/src/rec_fun_test.mjs | 2 +- tests/tests/src/rec_module_opt.mjs | 6 +-- tests/tests/src/rec_module_test.mjs | 2 +- tests/tests/src/recmodule.mjs | 2 +- tests/tests/src/record_debug_test.mjs | 2 +- tests/tests/src/record_extension_test.mjs | 4 +- tests/tests/src/record_regression.mjs | 2 +- tests/tests/src/recursive_module.mjs | 6 +-- tests/tests/src/recursive_module_test.mjs | 2 +- tests/tests/src/recursive_records_test.mjs | 4 +- .../src/recursive_unbound_module_test.mjs | 2 +- tests/tests/src/res_debug.mjs | 2 +- tests/tests/src/return_check.mjs | 2 +- tests/tests/src/set_gen.mjs | 6 +-- tests/tests/src/side_effect2.mjs | 2 +- tests/tests/src/splice_test.mjs | 2 +- tests/tests/src/string_set.mjs | 6 +-- tests/tests/src/tagged_template_test.mjs | 2 +- tests/tests/src/tailcall_inline_test.mjs | 2 +- tests/tests/src/test_ari.mjs | 2 +- tests/tests/src/test_array.mjs | 2 +- tests/tests/src/test_array_append.mjs | 2 +- tests/tests/src/test_closure.mjs | 2 +- tests/tests/src/test_common.mjs | 2 +- tests/tests/src/test_cpp.mjs | 2 +- tests/tests/src/test_cps.mjs | 2 +- tests/tests/src/test_demo.mjs | 2 +- tests/tests/src/test_exception.mjs | 2 +- tests/tests/src/test_exception_escape.mjs | 2 +- tests/tests/src/test_for_loop.mjs | 2 +- tests/tests/src/test_for_map.mjs | 2 +- tests/tests/src/test_for_map2.mjs | 2 +- tests/tests/src/test_functor_dead_code.mjs | 2 +- tests/tests/src/test_google_closure.mjs | 2 +- tests/tests/src/test_include.mjs | 2 +- tests/tests/src/test_int_map_find.mjs | 4 +- tests/tests/src/test_list.mjs | 4 +- tests/tests/src/test_literal.mjs | 2 +- tests/tests/src/test_match_exception.mjs | 2 +- tests/tests/src/test_order.mjs | 2 +- tests/tests/src/test_per.mjs | 4 +- tests/tests/src/test_pervasive.mjs | 4 +- tests/tests/src/test_pervasives3.mjs | 4 +- tests/tests/src/test_primitive.mjs | 2 +- tests/tests/src/test_seq.mjs | 6 +-- tests/tests/src/test_set.mjs | 4 +- tests/tests/src/test_simple_include.mjs | 2 +- tests/tests/src/test_static_catch_ident.mjs | 2 +- tests/tests/src/test_string_const.mjs | 2 +- tests/tests/src/test_string_map.mjs | 2 +- tests/tests/src/test_trywith.mjs | 2 +- tests/tests/src/test_unknown.mjs | 2 +- tests/tests/src/test_while_closure.mjs | 2 +- tests/tests/src/test_zero_nullable.mjs | 2 +- tests/tests/src/ticker.mjs | 14 +++--- tests/tests/src/to_string_test.mjs | 2 +- tests/tests/src/topsort_test.mjs | 10 ++--- tests/tests/src/typeof_test.mjs | 2 +- tests/tests/src/unboxed_use_case.mjs | 2 +- tests/tests/src/uncurried_cast.mjs | 4 +- tests/tests/src/unit_undefined_test.mjs | 2 +- tests/tests/src/unsafe_ppx_test.mjs | 2 +- tests/tests/src/variant.mjs | 4 +- tests/tests/src/webpack_config.mjs | 2 +- yarn.lock | 1 + 245 files changed, 538 insertions(+), 547 deletions(-) diff --git a/Makefile b/Makefile index 99dd18476b..a3c1769953 100644 --- a/Makefile +++ b/Makefile @@ -58,10 +58,10 @@ reanalyze: reanalyze.exe -set-exit-code -all-cmt _build/default/compiler _build/default/tests -exclude-paths compiler/outcome_printer,compiler/ml,compiler/frontend,compiler/ext,compiler/depends,compiler/core,compiler/common,compiler/cmij,compiler/bsb_helper,compiler/bsb lib-bsb: - ./scripts/buildRuntime.sh + yarn workspace @rescript/runtime build:bsb lib: - ./scripts/buildRuntimeRewatch.sh + yarn workspace @rescript/runtime build:rewatch artifacts: lib ./scripts/npmPack.js --updateArtifactList @@ -94,7 +94,7 @@ clean-rewatch: cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch clean: - (cd runtime && ../cli/rescript.js clean) + yarn workspace @rescript/runtime clean dune clean clean-all: clean clean-gentype clean-rewatch diff --git a/analysis/src/BuildSystem.ml b/analysis/src/BuildSystem.ml index 342acfb932..073c03873f 100644 --- a/analysis/src/BuildSystem.ml +++ b/analysis/src/BuildSystem.ml @@ -5,23 +5,21 @@ let namespacedName namespace name = let ( /+ ) = Filename.concat -let getBsPlatformDir rootPath = - match !Cfg.isDocGenFromCompiler with - | false -> ( - let result = - ModuleResolution.resolveNodeModulePath ~startPath:rootPath "rescript" - in - match result with - | Some path -> Some path - | None -> - let message = "rescript could not be found" in - Log.log message; - None) - | true -> Some rootPath +let getRuntimeDir rootPath = + let result = + ModuleResolution.resolveNodeModulePath ~startPath:rootPath + "@rescript/runtime" + in + match result with + | Some path -> Some path + | None -> + let message = "@rescript/runtime could not be found" in + Log.log message; + None let getLibBs root = Files.ifExists (root /+ "lib" /+ "bs") let getStdlib base = - match getBsPlatformDir base with + match getRuntimeDir base with | None -> None - | Some bsPlatformDir -> Some (bsPlatformDir /+ "lib" /+ "ocaml") + | Some runtimeDir -> Some (runtimeDir /+ "lib" /+ "ocaml") diff --git a/analysis/src/Files.ml b/analysis/src/Files.ml index faefc23559..aafe201253 100644 --- a/analysis/src/Files.ml +++ b/analysis/src/Files.ml @@ -84,16 +84,26 @@ let rec collectDirs path = |> List.concat) | _ -> [] -let rec collect ?(checkDir = fun _ -> true) path test = - match maybeStat path with - | None -> [] - | Some {Unix.st_kind = Unix.S_DIR} -> +let rec collect ?(checkDir = fun _ -> true) ?maxDepth path test = + match (maxDepth, maybeStat path) with + | None, None -> [] + | Some 0, _ -> [] + | None, Some {Unix.st_kind = Unix.S_DIR} -> if checkDir path then readDirectory path |> List.map (fun name -> collect ~checkDir (Filename.concat path name) test) |> List.concat else [] + | Some n, Some {Unix.st_kind = Unix.S_DIR} -> + if checkDir path then + readDirectory path + |> List.map (fun name -> + collect ~checkDir ~maxDepth:(n - 1) + (Filename.concat path name) + test) + |> List.concat + else [] | _ -> if test path then [path] else [] type classifiedFile = Res | Resi | Other diff --git a/analysis/src/FindFiles.ml b/analysis/src/FindFiles.ml index fc3556e0a0..bd2493bc39 100644 --- a/analysis/src/FindFiles.ml +++ b/analysis/src/FindFiles.ml @@ -142,7 +142,7 @@ let findProjectFiles ~public ~namespace ~path ~sourceDirectories ~libBs = in let files = dirs |> StringSet.elements - |> List.map (fun name -> Files.collect name isSourceFile) + |> List.map (fun name -> Files.collect ~maxDepth:1 name isSourceFile) |> List.concat |> StringSet.of_list in dirs diff --git a/analysis/src/ModuleResolution.ml b/analysis/src/ModuleResolution.ml index 1982b9fe6e..b7268b7595 100644 --- a/analysis/src/ModuleResolution.ml +++ b/analysis/src/ModuleResolution.ml @@ -1,6 +1,13 @@ let ( /+ ) = Filename.concat let rec resolveNodeModulePath ~startPath name = + let scope = Filename.dirname name in + let name = Filename.basename name in + let name = + match scope.[0] with + | '@' -> scope /+ name + | _ -> name + in let path = startPath /+ "node_modules" /+ name in if Files.exists path then Some path else if Filename.dirname startPath = startPath then None diff --git a/cli/common/bsb.js b/cli/common/bsb.js index c52b9a648c..2a6220df39 100644 --- a/cli/common/bsb.js +++ b/cli/common/bsb.js @@ -6,8 +6,8 @@ import { createServer } from "node:http"; import * as os from "node:os"; import * as path from "node:path"; -import { WebSocket } from "./minisocket.js"; import { rescript_exe } from "./bins.js"; +import { WebSocket } from "./minisocket.js"; const cwd = process.cwd(); const lockFileName = path.join(cwd, ".bsb.lock"); diff --git a/compiler/bsc/rescript_compiler_main.ml b/compiler/bsc/rescript_compiler_main.ml index f9113c40b6..0c99b892c9 100644 --- a/compiler/bsc/rescript_compiler_main.ml +++ b/compiler/bsc/rescript_compiler_main.ml @@ -184,12 +184,6 @@ let define_variable s = Bsc_args.bad_arg ("illegal definition: " ^ s) | _ -> Bsc_args.bad_arg ("illegal definition: " ^ s) -let print_standard_library () = - let standard_library = Config.standard_library in - print_string standard_library; - print_newline (); - exit 0 - let bs_version_string = "ReScript " ^ Bs_version.version let print_version_string () = @@ -366,9 +360,6 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array = ( "-ignore-parse-errors", set Clflags.ignore_parse_errors, "*internal* continue after parse errors" ); - ( "-where", - unit_call print_standard_library, - "*internal* Print location of standard library and exit" ); ( "-verbose", set Clflags.verbose, "*internal* Print calls to external commands" ); diff --git a/compiler/common/bs_version.ml b/compiler/common/bs_version.ml index fc5311f327..07b942b686 100644 --- a/compiler/common/bs_version.ml +++ b/compiler/common/bs_version.ml @@ -23,4 +23,4 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *) let version = "12.0.0-alpha.13" let header = "// Generated by ReScript, PLEASE EDIT WITH CARE" -let package_name = ref "rescript" +let package_name = ref "@rescript/runtime" diff --git a/compiler/ext/config.ml b/compiler/ext/config.ml index 61edbcfde7..24fa3e8677 100644 --- a/compiler/ext/config.ml +++ b/compiler/ext/config.ml @@ -1,25 +1,13 @@ let version = "4.06.1+BS" -(* FIXME: Unreliable resolution *) let standard_library = let ( // ) = Filename.concat in + (* @rescript/{platform}/bin/rescript.exe *) let exe_path = Sys.executable_name in - if Ext_string.contain_substring exe_path ("node_modules" // "@rescript") then - (* node_modules/@rescript/{platform}/bin *) - Filename.dirname exe_path // Filename.parent_dir_name - // Filename.parent_dir_name // Filename.parent_dir_name // "rescript" - // "lib" // "ocaml" - else if Ext_string.contain_substring exe_path ("node_modules" // "rescript") - then - (* node_modules/rescript/{platform} *) - Filename.dirname exe_path // Filename.parent_dir_name // "lib" // "ocaml" - else - (* git repo: rescript/packages/@rescript/{platform}/bin *) - Filename.dirname exe_path // Filename.parent_dir_name - // Filename.parent_dir_name // Filename.parent_dir_name - // Filename.parent_dir_name // "lib" // "ocaml" - -let standard_library_default = standard_library + let bin_dir = Filename.dirname exe_path in + let platform_dir = Filename.dirname bin_dir in + let rescript_dir = Filename.dirname platform_dir in + rescript_dir // "runtime" // "lib" // "ocaml" let unsafe_empty_array = ref false @@ -32,20 +20,3 @@ and ast_intf_magic_number = "Caml1999N022" and cmt_magic_number = "Caml1999T022" let load_path = ref ([] : string list) - -(* This is normally the same as in obj.ml, but we have to define it - separately because it can differ when we're in the middle of a - bootstrapping phase. *) - -let print_config oc = - let p name valu = Printf.fprintf oc "%s: %s\n" name valu in - p "version" version; - p "standard_library_default" standard_library_default; - p "standard_library" standard_library; - - (* print the magic number *) - p "cmi_magic_number" cmi_magic_number; - p "ast_impl_magic_number" ast_impl_magic_number; - p "ast_intf_magic_number" ast_intf_magic_number; - p "cmt_magic_number" cmt_magic_number; - flush oc diff --git a/compiler/ext/config.mli b/compiler/ext/config.mli index 0bd4de3027..a335507438 100644 --- a/compiler/ext/config.mli +++ b/compiler/ext/config.mli @@ -37,5 +37,3 @@ val ast_impl_magic_number : string (* Magic number for file holding an implementation syntax tree *) val cmt_magic_number : string (* Magic number for compiled interface files *) - -val print_config : out_channel -> unit diff --git a/package.json b/package.json index acb466fad3..73fe0dd689 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,6 @@ "CREDITS.md", "ninja.COPYING", "docs/docson/build-schema.json", - "lib", "cli" ], "exports": { @@ -74,6 +73,9 @@ "#dev/*": "./lib_dev/*.js", "#lib/minisocket": "./lib/minisocket.js" }, + "dependencies": { + "@rescript/runtime": "workspace:packages/@rescript/runtime" + }, "optionalDependencies": { "@rescript/darwin-arm64": "workspace:packages/@rescript/darwin-arm64", "@rescript/darwin-x64": "workspace:packages/@rescript/darwin-x64", diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json index 7c5ce85113..e709f5345a 100644 --- a/packages/@rescript/runtime/package.json +++ b/packages/@rescript/runtime/package.json @@ -11,11 +11,20 @@ "access": "public" }, "files": [ - "lib" + "lib/es6", + "lib/js", + "*.res", + "*.resi" ], + "exports": { + "./lib/es6/*": "./lib/es6/*", + "./lib/js/*": "./lib/js/*", + "./package.json": "./package.json" + }, "scripts": { "build:rewatch": "rewatch build", - "build:bsb": "rescript build" + "build:bsb": "rescript build", + "clean": "rewatch clean" }, "devDependencies": { "rescript": "workspace:^" diff --git a/scripts/format_check.sh b/scripts/format_check.sh index 656f86a732..cc68246be3 100755 --- a/scripts/format_check.sh +++ b/scripts/format_check.sh @@ -17,7 +17,7 @@ case "$(uname -s)" in fi echo "Checking ReScript code formatting..." - files=$(find runtime tests -type f \( -name "*.res" -o -name "*.resi" \) ! -name "syntaxErrors*" ! -name "generated_mocha_test.res" ! -path "tests/syntax_*" ! -path "tests/analysis_tests/tests*" ! -path "*/node_modules/*") + files=$(find packages/@rescript/runtime tests -type f \( -name "*.res" -o -name "*.resi" \) ! -name "syntaxErrors*" ! -name "generated_mocha_test.res" ! -path "tests/syntax_*" ! -path "tests/analysis_tests/tests*" ! -path "*/node_modules/*") if ./cli/rescript.js format -check $files; then printf "${successGreen}✅ ReScript code formatting ok.${reset}\n" else diff --git a/tests/docstring_tests/DocTest.res b/tests/docstring_tests/DocTest.res index 305b2ced66..27454b6274 100644 --- a/tests/docstring_tests/DocTest.res +++ b/tests/docstring_tests/DocTest.res @@ -147,8 +147,10 @@ let getCodeBlocks = example => { let batchSize = OS.cpus()->Array.length +let runtimePath = Path.join(["packages", "@rescript", "runtime"]) + let extractExamples = async () => { - let files = Fs.readdirSync("runtime") + let files = Fs.readdirSync(runtimePath) let docFiles = files->Array.filter(f => switch f { @@ -168,7 +170,7 @@ let extractExamples = async () => { let examples = [] await docFiles->ArrayUtils.forEachAsyncInBatches(~batchSize, async f => { - let doc = await extractDocFromFile(Path.join(["runtime", f])) + let doc = await extractDocFromFile(Path.join([runtimePath, f])) examples->Array.pushMany(doc->getExamples) }) diff --git a/tests/docstring_tests/DocTest.res.js b/tests/docstring_tests/DocTest.res.js index 7fda54793a..3f7bba9bd1 100644 --- a/tests/docstring_tests/DocTest.res.js +++ b/tests/docstring_tests/DocTest.res.js @@ -1,24 +1,24 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib from "rescript/lib/es6/Stdlib.js"; +import * as Stdlib from "@rescript/runtime/lib/es6/Stdlib.js"; import * as Nodefs from "node:fs"; import * as Nodeos from "node:os"; import * as Nodeurl from "node:url"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; import * as Nodepath from "node:path"; import * as ArrayUtils from "./ArrayUtils.res.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as SpawnAsync from "./SpawnAsync.res.js"; -import * as Stdlib_Int from "rescript/lib/es6/Stdlib_Int.js"; -import * as Stdlib_Dict from "rescript/lib/es6/Stdlib_Dict.js"; -import * as Stdlib_List from "rescript/lib/es6/Stdlib_List.js"; -import * as Stdlib_Array from "rescript/lib/es6/Stdlib_Array.js"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; -import * as Stdlib_JsError from "rescript/lib/es6/Stdlib_JsError.js"; -import * as Primitive_string from "rescript/lib/es6/Primitive_string.js"; +import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js"; +import * as Stdlib_Dict from "@rescript/runtime/lib/es6/Stdlib_Dict.js"; +import * as Stdlib_List from "@rescript/runtime/lib/es6/Stdlib_List.js"; +import * as Stdlib_Array from "@rescript/runtime/lib/es6/Stdlib_Array.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; +import * as Stdlib_JsError from "@rescript/runtime/lib/es6/Stdlib_JsError.js"; +import * as Primitive_string from "@rescript/runtime/lib/es6/Primitive_string.js"; import * as Promises from "node:fs/promises"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; -import * as RescriptTools_Docgen from "rescript/lib/es6/RescriptTools_Docgen.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; +import * as RescriptTools_Docgen from "@rescript/runtime/lib/es6/RescriptTools_Docgen.js"; let nodeVersion = Stdlib_Option.getExn(Stdlib_Int.fromString(Stdlib_Option.getExn(process.version.replace("v", "").split(".")[0], "Failed to find major version of Node"), undefined), "Failed to convert node version to Int"); @@ -205,8 +205,10 @@ function getCodeBlocks(example) { let batchSize = Nodeos.cpus().length; +let runtimePath = Nodepath.join("packages", "@rescript", "runtime"); + async function extractExamples() { - let files = Nodefs.readdirSync("runtime"); + let files = Nodefs.readdirSync(runtimePath); let docFiles = files.filter(f => { if (f.startsWith("Js") || f.startsWith("RescriptTools") || f.startsWith("Stdlib_")) { return false; @@ -221,7 +223,7 @@ async function extractExamples() { console.log("Extracting examples from " + docFiles.length.toString() + " runtime files..."); let examples = []; await ArrayUtils.forEachAsyncInBatches(docFiles, batchSize, async f => { - let doc = await extractDocFromFile(Nodepath.join("runtime", f)); + let doc = await extractDocFromFile(Nodepath.join(runtimePath, f)); examples.push(...getExamples(doc)); }); examples.sort((a, b) => Primitive_string.compare(a.id, b.id)); diff --git a/tests/docstring_tests/SpawnAsync.res.js b/tests/docstring_tests/SpawnAsync.res.js index 0f56176257..c9e23a61cd 100644 --- a/tests/docstring_tests/SpawnAsync.res.js +++ b/tests/docstring_tests/SpawnAsync.res.js @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; import * as Nodechild_process from "node:child_process"; async function run(command, args, options) { diff --git a/tests/tests/src/DictInference.mjs b/tests/tests/src/DictInference.mjs index cbeae632fc..ebdcbdbe4a 100644 --- a/tests/tests/src/DictInference.mjs +++ b/tests/tests/src/DictInference.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_dict from "rescript/lib/es6/Js_dict.js"; +import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js"; let dict = {}; diff --git a/tests/tests/src/Import.mjs b/tests/tests/src/Import.mjs index 88bd6e1554..a2cdad4ba3 100644 --- a/tests/tests/src/Import.mjs +++ b/tests/tests/src/Import.mjs @@ -1,13 +1,13 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_promise from "rescript/lib/es6/Js_promise.js"; +import * as Js_promise from "@rescript/runtime/lib/es6/Js_promise.js"; async function eachIntAsync(list, f) { - return (await import("rescript/lib/es6/Belt_List.js").then(m => m.forEach))(list, f); + return (await import("@rescript/runtime/lib/es6/Belt_List.js").then(m => m.forEach))(list, f); } function eachIntLazy(list, f) { - return Js_promise.then_(each => Promise.resolve(each(list, f)), import("rescript/lib/es6/Belt_List.js").then(m => m.forEach)); + return Js_promise.then_(each => Promise.resolve(each(list, f)), import("@rescript/runtime/lib/es6/Belt_List.js").then(m => m.forEach)); } eachIntLazy({ @@ -36,13 +36,13 @@ eachIntAsync({ console.log("async", n); }); -let beltAsModule = await import("rescript/lib/es6/Belt_List.js"); +let beltAsModule = await import("@rescript/runtime/lib/es6/Belt_List.js"); -let M = await import("rescript/lib/es6/Belt_List.js"); +let M = await import("@rescript/runtime/lib/es6/Belt_List.js"); -let N0 = await import("rescript/lib/es6/Belt_List.js"); +let N0 = await import("@rescript/runtime/lib/es6/Belt_List.js"); -let O = await import("rescript/lib/es6/Belt_List.js"); +let O = await import("@rescript/runtime/lib/es6/Belt_List.js"); let N1_each = O.forEach; @@ -51,7 +51,7 @@ let N1 = { each: N1_each }; -let N2 = await import("rescript/lib/es6/Belt_List.js"); +let N2 = await import("@rescript/runtime/lib/es6/Belt_List.js"); let N_each = N2.forEach; @@ -62,21 +62,21 @@ let N = { each: N_each }; -let M0 = await import("rescript/lib/es6/Belt_List.js"); +let M0 = await import("@rescript/runtime/lib/es6/Belt_List.js"); -let M1 = await import("rescript/lib/es6/Belt_List.js"); +let M1 = await import("@rescript/runtime/lib/es6/Belt_List.js"); async function f() { - return (await import("rescript/lib/es6/Belt_List.js")).forEach; + return (await import("@rescript/runtime/lib/es6/Belt_List.js")).forEach; } async function f1() { - return (await import("rescript/lib/es6/Belt_List.js")).forEach; + return (await import("@rescript/runtime/lib/es6/Belt_List.js")).forEach; } async function f2() { - let M3 = await import("rescript/lib/es6/Belt_List.js"); - let M4 = await import("rescript/lib/es6/Belt_List.js"); + let M3 = await import("@rescript/runtime/lib/es6/Belt_List.js"); + let M4 = await import("@rescript/runtime/lib/es6/Belt_List.js"); return [ M3.forEach, M4.forEach @@ -84,8 +84,8 @@ async function f2() { } async function f3() { - let M3 = await import("rescript/lib/es6/Belt_List.js"); - let M4 = await import("rescript/lib/es6/Belt_List.js"); + let M3 = await import("@rescript/runtime/lib/es6/Belt_List.js"); + let M4 = await import("@rescript/runtime/lib/es6/Belt_List.js"); return [ M3.forEach, M4.forEach @@ -93,12 +93,12 @@ async function f3() { } async function f4() { - return (await import("rescript/lib/es6/Belt_Array.js")).forEach; + return (await import("@rescript/runtime/lib/es6/Belt_Array.js")).forEach; } async function f5() { - let A = await import("rescript/lib/es6/Belt_Array.js"); - let O = await import("rescript/lib/es6/Belt_Option.js"); + let A = await import("@rescript/runtime/lib/es6/Belt_Array.js"); + let O = await import("@rescript/runtime/lib/es6/Belt_Option.js"); return [ A.forEach, O.forEach @@ -106,8 +106,8 @@ async function f5() { } async function f6() { - let MS = await import("rescript/lib/es6/Belt_MapString.js"); - let A = await import("rescript/lib/es6/Belt_Array.js"); + let MS = await import("@rescript/runtime/lib/es6/Belt_MapString.js"); + let A = await import("@rescript/runtime/lib/es6/Belt_Array.js"); return [ 0, MS.forEach, @@ -116,7 +116,7 @@ async function f6() { } async function f7() { - await import("rescript/lib/es6/Belt_MapInt.js"); + await import("@rescript/runtime/lib/es6/Belt_MapInt.js"); return 1; } diff --git a/tests/tests/src/SafePromises.mjs b/tests/tests/src/SafePromises.mjs index 4a38f9e2a8..b682276401 100644 --- a/tests/tests/src/SafePromises.mjs +++ b/tests/tests/src/SafePromises.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_promise from "rescript/lib/es6/Js_promise.js"; -import * as Js_promise2 from "rescript/lib/es6/Js_promise2.js"; +import * as Js_promise from "@rescript/runtime/lib/es6/Js_promise.js"; +import * as Js_promise2 from "@rescript/runtime/lib/es6/Js_promise2.js"; async function nestedPromise(xxx) { let xx = await xxx; diff --git a/tests/tests/src/UntaggedVariants.mjs b/tests/tests/src/UntaggedVariants.mjs index eab12455bb..417cf28534 100644 --- a/tests/tests/src/UntaggedVariants.mjs +++ b/tests/tests/src/UntaggedVariants.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_dict from "rescript/lib/es6/Js_dict.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function classify(x) { if (x === "A") { diff --git a/tests/tests/src/array_data_util.mjs b/tests/tests/src/array_data_util.mjs index fed7896a91..1a2de188bd 100644 --- a/tests/tests/src/array_data_util.mjs +++ b/tests/tests/src/array_data_util.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function range(i, j) { return Belt_Array.makeBy((j - i | 0) + 1 | 0, k => k + i | 0); diff --git a/tests/tests/src/array_safe_get.mjs b/tests/tests/src/array_safe_get.mjs index 7ddd6113b7..0259f4b0d5 100644 --- a/tests/tests/src/array_safe_get.mjs +++ b/tests/tests/src/array_safe_get.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let x = [ 1, diff --git a/tests/tests/src/array_subtle_test.mjs b/tests/tests/src/array_subtle_test.mjs index 233c0680ee..99c21b38bc 100644 --- a/tests/tests/src/array_subtle_test.mjs +++ b/tests/tests/src/array_subtle_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/ast_abstract_test.mjs b/tests/tests/src/ast_abstract_test.mjs index 82fee77942..cb5ae96b04 100644 --- a/tests/tests/src/ast_abstract_test.mjs +++ b/tests/tests/src/ast_abstract_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_util from "rescript/lib/es6/Primitive_util.js"; +import * as Primitive_util from "@rescript/runtime/lib/es6/Primitive_util.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/async_await.mjs b/tests/tests/src/async_await.mjs index a88c010398..371a034d75 100644 --- a/tests/tests/src/async_await.mjs +++ b/tests/tests/src/async_await.mjs @@ -35,11 +35,11 @@ async function f(value) { } async function f0() { - return (await import("rescript/lib/es6/Belt_Option.js")).forEach; + return (await import("@rescript/runtime/lib/es6/Belt_Option.js")).forEach; } async function f1() { - return (await import("rescript/lib/es6/Belt_Option.js")).forEach; + return (await import("@rescript/runtime/lib/es6/Belt_Option.js")).forEach; } export { diff --git a/tests/tests/src/bdd.mjs b/tests/tests/src/bdd.mjs index 794ee5b1d2..d31a0d5d43 100644 --- a/tests/tests/src/bdd.mjs +++ b/tests/tests/src/bdd.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; function $$eval(_bdd, vars) { while (true) { diff --git a/tests/tests/src/belt_float_test.mjs b/tests/tests/src/belt_float_test.mjs index b778b92cd0..e9c701ba67 100644 --- a/tests/tests/src/belt_float_test.mjs +++ b/tests/tests/src/belt_float_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_Float from "rescript/lib/es6/Belt_Float.js"; +import * as Belt_Float from "@rescript/runtime/lib/es6/Belt_Float.js"; import * as Test_utils from "./test_utils.mjs"; Mocha.describe("Belt_float_test", () => { diff --git a/tests/tests/src/belt_hashmap_test.mjs b/tests/tests/src/belt_hashmap_test.mjs index b1bb5c829f..059ba2ad4f 100644 --- a/tests/tests/src/belt_hashmap_test.mjs +++ b/tests/tests/src/belt_hashmap_test.mjs @@ -1,13 +1,13 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as Test_utils from "./test_utils.mjs"; -import * as Belt_HashMap from "rescript/lib/es6/Belt_HashMap.js"; +import * as Belt_HashMap from "@rescript/runtime/lib/es6/Belt_HashMap.js"; import * as Ocaml_Hashtbl from "./ocaml_compat/Ocaml_Hashtbl.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Belt_SortArray from "rescript/lib/es6/Belt_SortArray.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Belt_SortArray from "@rescript/runtime/lib/es6/Belt_SortArray.js"; import * as Array_data_util from "./array_data_util.mjs"; function intEq(x, y) { diff --git a/tests/tests/src/belt_hashset_int_test.mjs b/tests/tests/src/belt_hashset_int_test.mjs index 123c6be403..25db1db8bf 100644 --- a/tests/tests/src/belt_hashset_int_test.mjs +++ b/tests/tests/src/belt_hashset_int_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as Test_utils from "./test_utils.mjs"; -import * as Belt_SetInt from "rescript/lib/es6/Belt_SetInt.js"; +import * as Belt_SetInt from "@rescript/runtime/lib/es6/Belt_SetInt.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Belt_HashSetInt from "rescript/lib/es6/Belt_HashSetInt.js"; -import * as Belt_SortArrayInt from "rescript/lib/es6/Belt_SortArrayInt.js"; +import * as Belt_HashSetInt from "@rescript/runtime/lib/es6/Belt_HashSetInt.js"; +import * as Belt_SortArrayInt from "@rescript/runtime/lib/es6/Belt_SortArrayInt.js"; function add(x, y) { return x + y | 0; diff --git a/tests/tests/src/belt_int_test.mjs b/tests/tests/src/belt_int_test.mjs index bf3dff34ae..1abd621dc4 100644 --- a/tests/tests/src/belt_int_test.mjs +++ b/tests/tests/src/belt_int_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_Int from "rescript/lib/es6/Belt_Int.js"; +import * as Belt_Int from "@rescript/runtime/lib/es6/Belt_Int.js"; import * as Test_utils from "./test_utils.mjs"; Mocha.describe("Belt_int_test", () => { diff --git a/tests/tests/src/belt_list_test.mjs b/tests/tests/src/belt_list_test.mjs index a3c5c28f36..4c9abd7846 100644 --- a/tests/tests/src/belt_list_test.mjs +++ b/tests/tests/src/belt_list_test.mjs @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as Test_utils from "./test_utils.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function sum(xs) { let v = { diff --git a/tests/tests/src/belt_mapint_test.mjs b/tests/tests/src/belt_mapint_test.mjs index 48f68d7a35..13785517d6 100644 --- a/tests/tests/src/belt_mapint_test.mjs +++ b/tests/tests/src/belt_mapint_test.mjs @@ -2,7 +2,7 @@ import * as Mocha from "mocha"; import * as Test_utils from "./test_utils.mjs"; -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; Mocha.describe("Belt_mapint_test", () => { Mocha.test("set", () => { diff --git a/tests/tests/src/belt_result_alias_test.mjs b/tests/tests/src/belt_result_alias_test.mjs index ae39edea54..9695df5540 100644 --- a/tests/tests/src/belt_result_alias_test.mjs +++ b/tests/tests/src/belt_result_alias_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Result from "rescript/lib/es6/Belt_Result.js"; +import * as Belt_Result from "@rescript/runtime/lib/es6/Belt_Result.js"; Belt_Result.map({ TAG: "Ok", diff --git a/tests/tests/src/belt_sortarray_test.mjs b/tests/tests/src/belt_sortarray_test.mjs index e5760dbe62..5c59f91d2a 100644 --- a/tests/tests/src/belt_sortarray_test.mjs +++ b/tests/tests/src/belt_sortarray_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mocha from "mocha"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_Range from "rescript/lib/es6/Belt_Range.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_Range from "@rescript/runtime/lib/es6/Belt_Range.js"; import * as Test_utils from "./test_utils.mjs"; -import * as Belt_SortArray from "rescript/lib/es6/Belt_SortArray.js"; +import * as Belt_SortArray from "@rescript/runtime/lib/es6/Belt_SortArray.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Belt_SortArrayInt from "rescript/lib/es6/Belt_SortArrayInt.js"; +import * as Belt_SortArrayInt from "@rescript/runtime/lib/es6/Belt_SortArrayInt.js"; function cmp(x, y) { return x - y | 0; diff --git a/tests/tests/src/bench.mjs b/tests/tests/src/bench.mjs index d3009bf70a..816c660db5 100644 --- a/tests/tests/src/bench.mjs +++ b/tests/tests/src/bench.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; function map(f, a) { let f$1 = x => f(x); diff --git a/tests/tests/src/bigint_test.mjs b/tests/tests/src/bigint_test.mjs index 70f398040d..838a4e0208 100644 --- a/tests/tests/src/bigint_test.mjs +++ b/tests/tests/src/bigint_test.mjs @@ -2,8 +2,8 @@ import * as Mt from "./mt.mjs"; import * as Mt_global from "./mt_global.mjs"; -import * as Primitive_bigint from "rescript/lib/es6/Primitive_bigint.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_bigint from "@rescript/runtime/lib/es6/Primitive_bigint.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let test_id = { contents: 0 diff --git a/tests/tests/src/block_alias_test.mjs b/tests/tests/src/block_alias_test.mjs index 082fe3f1a2..0d6f9561b5 100644 --- a/tests/tests/src/block_alias_test.mjs +++ b/tests/tests/src/block_alias_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_array_test.mjs b/tests/tests/src/bs_array_test.mjs index 3aa3a01f3e..aedd85e097 100644 --- a/tests/tests/src/bs_array_test.mjs +++ b/tests/tests/src/bs_array_test.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_map_set_dict_test.mjs b/tests/tests/src/bs_map_set_dict_test.mjs index a3dccfe565..a8e024ec36 100644 --- a/tests/tests/src/bs_map_set_dict_test.mjs +++ b/tests/tests/src/bs_map_set_dict_test.mjs @@ -1,14 +1,14 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Map from "rescript/lib/es6/Belt_Map.js"; -import * as Belt_Set from "rescript/lib/es6/Belt_Set.js"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_MapDict from "rescript/lib/es6/Belt_MapDict.js"; -import * as Belt_SetDict from "rescript/lib/es6/Belt_SetDict.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Map from "@rescript/runtime/lib/es6/Belt_Map.js"; +import * as Belt_Set from "@rescript/runtime/lib/es6/Belt_Set.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_MapDict from "@rescript/runtime/lib/es6/Belt_MapDict.js"; +import * as Belt_SetDict from "@rescript/runtime/lib/es6/Belt_SetDict.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; import * as Array_data_util from "./array_data_util.mjs"; let suites = { diff --git a/tests/tests/src/bs_map_test.mjs b/tests/tests/src/bs_map_test.mjs index b00c10c028..d41743162c 100644 --- a/tests/tests/src/bs_map_test.mjs +++ b/tests/tests/src/bs_map_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; -import * as Belt_SetInt from "rescript/lib/es6/Belt_SetInt.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; +import * as Belt_SetInt from "@rescript/runtime/lib/es6/Belt_SetInt.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_min_max_test.mjs b/tests/tests/src/bs_min_max_test.mjs index 4304874a7a..644c2b9d6a 100644 --- a/tests/tests/src/bs_min_max_test.mjs +++ b/tests/tests/src/bs_min_max_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_mutable_set_test.mjs b/tests/tests/src/bs_mutable_set_test.mjs index f5bc04852e..9dd8c1f074 100644 --- a/tests/tests/src/bs_mutable_set_test.mjs +++ b/tests/tests/src/bs_mutable_set_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_Range from "rescript/lib/es6/Belt_Range.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_Range from "@rescript/runtime/lib/es6/Belt_Range.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Belt_MutableSetInt from "rescript/lib/es6/Belt_MutableSetInt.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Belt_MutableSetInt from "@rescript/runtime/lib/es6/Belt_MutableSetInt.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_poly_map_test.mjs b/tests/tests/src/bs_poly_map_test.mjs index 548269bfd8..143d4b34cd 100644 --- a/tests/tests/src/bs_poly_map_test.mjs +++ b/tests/tests/src/bs_poly_map_test.mjs @@ -1,13 +1,13 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Map from "rescript/lib/es6/Belt_Map.js"; -import * as Belt_Set from "rescript/lib/es6/Belt_Set.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Map from "@rescript/runtime/lib/es6/Belt_Map.js"; +import * as Belt_Set from "@rescript/runtime/lib/es6/Belt_Set.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_poly_mutable_map_test.mjs b/tests/tests/src/bs_poly_mutable_map_test.mjs index 0889bd339c..8d999b5034 100644 --- a/tests/tests/src/bs_poly_mutable_map_test.mjs +++ b/tests/tests/src/bs_poly_mutable_map_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Set from "rescript/lib/es6/Belt_Set.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Set from "@rescript/runtime/lib/es6/Belt_Set.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Belt_MutableMap from "rescript/lib/es6/Belt_MutableMap.js"; +import * as Belt_MutableMap from "@rescript/runtime/lib/es6/Belt_MutableMap.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_poly_mutable_set_test.mjs b/tests/tests/src/bs_poly_mutable_set_test.mjs index a079bbab52..ef5a2eb5fc 100644 --- a/tests/tests/src/bs_poly_mutable_set_test.mjs +++ b/tests/tests/src/bs_poly_mutable_set_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Belt_MutableSet from "rescript/lib/es6/Belt_MutableSet.js"; +import * as Belt_MutableSet from "@rescript/runtime/lib/es6/Belt_MutableSet.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_poly_set_test.mjs b/tests/tests/src/bs_poly_set_test.mjs index 8812401be4..1535a3b9b1 100644 --- a/tests/tests/src/bs_poly_set_test.mjs +++ b/tests/tests/src/bs_poly_set_test.mjs @@ -1,15 +1,15 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Set from "rescript/lib/es6/Belt_Set.js"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_SetDict from "rescript/lib/es6/Belt_SetDict.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Belt_SortArray from "rescript/lib/es6/Belt_SortArray.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Set from "@rescript/runtime/lib/es6/Belt_Set.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_SetDict from "@rescript/runtime/lib/es6/Belt_SetDict.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Belt_SortArray from "@rescript/runtime/lib/es6/Belt_SortArray.js"; import * as Array_data_util from "./array_data_util.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_queue_test.mjs b/tests/tests/src/bs_queue_test.mjs index 299089540f..da6e76a20c 100644 --- a/tests/tests/src/bs_queue_test.mjs +++ b/tests/tests/src/bs_queue_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Belt_MutableQueue from "rescript/lib/es6/Belt_MutableQueue.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Belt_MutableQueue from "@rescript/runtime/lib/es6/Belt_MutableQueue.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_set_int_test.mjs b/tests/tests/src/bs_set_int_test.mjs index 26b26e5458..6d020ad790 100644 --- a/tests/tests/src/bs_set_int_test.mjs +++ b/tests/tests/src/bs_set_int_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_SetInt from "rescript/lib/es6/Belt_SetInt.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_SetInt from "@rescript/runtime/lib/es6/Belt_SetInt.js"; import * as Array_data_util from "./array_data_util.mjs"; let suites = { diff --git a/tests/tests/src/bs_stack_test.mjs b/tests/tests/src/bs_stack_test.mjs index 5670fd9d43..c9a33fa48e 100644 --- a/tests/tests/src/bs_stack_test.mjs +++ b/tests/tests/src/bs_stack_test.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_undefined from "rescript/lib/es6/Js_undefined.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; -import * as Belt_MutableQueue from "rescript/lib/es6/Belt_MutableQueue.js"; -import * as Belt_MutableStack from "rescript/lib/es6/Belt_MutableStack.js"; +import * as Js_undefined from "@rescript/runtime/lib/es6/Js_undefined.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; +import * as Belt_MutableQueue from "@rescript/runtime/lib/es6/Belt_MutableQueue.js"; +import * as Belt_MutableStack from "@rescript/runtime/lib/es6/Belt_MutableStack.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/bs_unwrap_test.mjs b/tests/tests/src/bs_unwrap_test.mjs index 5941ec6fa6..b0c0048f5c 100644 --- a/tests/tests/src/bs_unwrap_test.mjs +++ b/tests/tests/src/bs_unwrap_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; console.log([ "hello world", diff --git a/tests/tests/src/caml_compare_bigint_test.mjs b/tests/tests/src/caml_compare_bigint_test.mjs index f3edb1c6d2..e9aa8343d8 100644 --- a/tests/tests/src/caml_compare_bigint_test.mjs +++ b/tests/tests/src/caml_compare_bigint_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function isLessThan(title, small, big) { return { diff --git a/tests/tests/src/caml_compare_test.mjs b/tests/tests/src/caml_compare_test.mjs index d5e03d0573..6922ff893e 100644 --- a/tests/tests/src/caml_compare_test.mjs +++ b/tests/tests/src/caml_compare_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let function_equal_test; diff --git a/tests/tests/src/chn_test.mjs b/tests/tests/src/chn_test.mjs index 5a56ac3cb6..6742921299 100644 --- a/tests/tests/src/chn_test.mjs +++ b/tests/tests/src/chn_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/coercion_module_alias_test.mjs b/tests/tests/src/coercion_module_alias_test.mjs index d8615b6cdd..e3f97a25a7 100644 --- a/tests/tests/src/coercion_module_alias_test.mjs +++ b/tests/tests/src/coercion_module_alias_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Char from "rescript/lib/es6/Char.js"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Char from "@rescript/runtime/lib/es6/Char.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function l(prim) { console.log(prim); diff --git a/tests/tests/src/console_log_test.mjs b/tests/tests/src/console_log_test.mjs index 0ca31922c5..d0b75cba37 100644 --- a/tests/tests/src/console_log_test.mjs +++ b/tests/tests/src/console_log_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function min_int(prim0, prim1) { return Math.min(prim0, prim1); diff --git a/tests/tests/src/const_block_test.mjs b/tests/tests/src/const_block_test.mjs index fecc847176..e39646bba2 100644 --- a/tests/tests/src/const_block_test.mjs +++ b/tests/tests/src/const_block_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; let a = [ 0, diff --git a/tests/tests/src/const_defs_test.mjs b/tests/tests/src/const_defs_test.mjs index 538e6c636c..89ec0a6768 100644 --- a/tests/tests/src/const_defs_test.mjs +++ b/tests/tests/src/const_defs_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let u = 3; diff --git a/tests/tests/src/core/Core_ArrayTests.mjs b/tests/tests/src/core/Core_ArrayTests.mjs index 08371223f5..028019754d 100644 --- a/tests/tests/src/core/Core_ArrayTests.mjs +++ b/tests/tests/src/core/Core_ArrayTests.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_List from "rescript/lib/es6/Stdlib_List.js"; -import * as Stdlib_Array from "rescript/lib/es6/Stdlib_Array.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Stdlib_List from "@rescript/runtime/lib/es6/Stdlib_List.js"; +import * as Stdlib_Array from "@rescript/runtime/lib/es6/Stdlib_Array.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_DictTests.mjs b/tests/tests/src/core/Core_DictTests.mjs index b91a957032..f65df162b8 100644 --- a/tests/tests/src/core/Core_DictTests.mjs +++ b/tests/tests/src/core/Core_DictTests.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_ErrorTests.mjs b/tests/tests/src/core/Core_ErrorTests.mjs index d875de16de..eeb8579aec 100644 --- a/tests/tests/src/core/Core_ErrorTests.mjs +++ b/tests/tests/src/core/Core_ErrorTests.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib from "rescript/lib/es6/Stdlib.js"; -import * as Stdlib_JsExn from "rescript/lib/es6/Stdlib_JsExn.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Stdlib from "@rescript/runtime/lib/es6/Stdlib.js"; +import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function panicTest() { let caught; diff --git a/tests/tests/src/core/Core_FloatTests.mjs b/tests/tests/src/core/Core_FloatTests.mjs index 05ec56c434..865bbe9cba 100644 --- a/tests/tests/src/core/Core_FloatTests.mjs +++ b/tests/tests/src/core/Core_FloatTests.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Stdlib_Float from "rescript/lib/es6/Stdlib_Float.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Stdlib_Float from "@rescript/runtime/lib/es6/Stdlib_Float.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_IntTests.mjs b/tests/tests/src/core/Core_IntTests.mjs index 83c6c30a79..d389b8b0bc 100644 --- a/tests/tests/src/core/Core_IntTests.mjs +++ b/tests/tests/src/core/Core_IntTests.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Stdlib_Int from "rescript/lib/es6/Stdlib_Int.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_IteratorTests.mjs b/tests/tests/src/core/Core_IteratorTests.mjs index c9a7e4868b..7f6e7f7e5e 100644 --- a/tests/tests/src/core/Core_IteratorTests.mjs +++ b/tests/tests/src/core/Core_IteratorTests.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_Iterator from "rescript/lib/es6/Stdlib_Iterator.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Stdlib_AsyncIterator from "rescript/lib/es6/Stdlib_AsyncIterator.js"; +import * as Stdlib_Iterator from "@rescript/runtime/lib/es6/Stdlib_Iterator.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Stdlib_AsyncIterator from "@rescript/runtime/lib/es6/Stdlib_AsyncIterator.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_ObjectTests.mjs b/tests/tests/src/core/Core_ObjectTests.mjs index 0da00125a9..e9bc5bf258 100644 --- a/tests/tests/src/core/Core_ObjectTests.mjs +++ b/tests/tests/src/core/Core_ObjectTests.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_PromiseTest.mjs b/tests/tests/src/core/Core_PromiseTest.mjs index e9f70f3474..e39887f300 100644 --- a/tests/tests/src/core/Core_PromiseTest.mjs +++ b/tests/tests/src/core/Core_PromiseTest.mjs @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_Exn from "rescript/lib/es6/Stdlib_Exn.js"; -import * as Stdlib_JsExn from "rescript/lib/es6/Stdlib_JsExn.js"; -import * as Stdlib_Promise from "rescript/lib/es6/Stdlib_Promise.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Stdlib_Exn from "@rescript/runtime/lib/es6/Stdlib_Exn.js"; +import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js"; +import * as Stdlib_Promise from "@rescript/runtime/lib/es6/Stdlib_Promise.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let TestError = /* @__PURE__ */Primitive_exceptions.create("Core_PromiseTest.TestError"); diff --git a/tests/tests/src/core/Core_ResultTests.mjs b/tests/tests/src/core/Core_ResultTests.mjs index e47f4dcdca..2b7f259784 100644 --- a/tests/tests/src/core/Core_ResultTests.mjs +++ b/tests/tests/src/core/Core_ResultTests.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_Result from "rescript/lib/es6/Stdlib_Result.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Stdlib_Result from "@rescript/runtime/lib/es6/Stdlib_Result.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_StringTests.mjs b/tests/tests/src/core/Core_StringTests.mjs index bbdcc0fa0b..ce1be03be2 100644 --- a/tests/tests/src/core/Core_StringTests.mjs +++ b/tests/tests/src/core/Core_StringTests.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_TempTests.mjs b/tests/tests/src/core/Core_TempTests.mjs index b2e214b011..82fd6af20c 100644 --- a/tests/tests/src/core/Core_TempTests.mjs +++ b/tests/tests/src/core/Core_TempTests.mjs @@ -1,15 +1,15 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Int from "rescript/lib/es6/Stdlib_Int.js"; -import * as Stdlib_Dict from "rescript/lib/es6/Stdlib_Dict.js"; -import * as Stdlib_JSON from "rescript/lib/es6/Stdlib_JSON.js"; -import * as Stdlib_Array from "rescript/lib/es6/Stdlib_Array.js"; -import * as Stdlib_Float from "rescript/lib/es6/Stdlib_Float.js"; -import * as Stdlib_BigInt from "rescript/lib/es6/Stdlib_BigInt.js"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; +import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js"; +import * as Stdlib_Dict from "@rescript/runtime/lib/es6/Stdlib_Dict.js"; +import * as Stdlib_JSON from "@rescript/runtime/lib/es6/Stdlib_JSON.js"; +import * as Stdlib_Array from "@rescript/runtime/lib/es6/Stdlib_Array.js"; +import * as Stdlib_Float from "@rescript/runtime/lib/es6/Stdlib_Float.js"; +import * as Stdlib_BigInt from "@rescript/runtime/lib/es6/Stdlib_BigInt.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; import * as Core_IntlTests from "./intl/Core_IntlTests.mjs"; -import * as Primitive_bigint from "rescript/lib/es6/Primitive_bigint.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_bigint from "@rescript/runtime/lib/es6/Primitive_bigint.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; console.info(""); diff --git a/tests/tests/src/core/Core_TestTests.mjs b/tests/tests/src/core/Core_TestTests.mjs index df93ae7d4c..0c2a2b1b77 100644 --- a/tests/tests/src/core/Core_TestTests.mjs +++ b/tests/tests/src/core/Core_TestTests.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Stdlib_BigInt from "rescript/lib/es6/Stdlib_BigInt.js"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Stdlib_BigInt from "@rescript/runtime/lib/es6/Stdlib_BigInt.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Core_TypedArrayTests.mjs b/tests/tests/src/core/Core_TypedArrayTests.mjs index a8b57b0d95..ec0dc1292c 100644 --- a/tests/tests/src/core/Core_TypedArrayTests.mjs +++ b/tests/tests/src/core/Core_TypedArrayTests.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test from "./Test.mjs"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/core/Test.mjs b/tests/tests/src/core/Test.mjs index 936183ec24..bd4840e1b4 100644 --- a/tests/tests/src/core/Test.mjs +++ b/tests/tests/src/core/Test.mjs @@ -3,7 +3,7 @@ import * as Fs from "fs"; import * as Path from "path"; import * as Util from "util"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; import * as CodeFrame from "@babel/code-frame"; let dirname = (new URL('.', import.meta.url).pathname); diff --git a/tests/tests/src/core/intl/Core_IntlTests.mjs b/tests/tests/src/core/intl/Core_IntlTests.mjs index eba8a592b8..d51d8eb213 100644 --- a/tests/tests/src/core/intl/Core_IntlTests.mjs +++ b/tests/tests/src/core/intl/Core_IntlTests.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_JsExn from "rescript/lib/es6/Stdlib_JsExn.js"; -import * as Stdlib_Option from "rescript/lib/es6/Stdlib_Option.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Stdlib_JsExn from "@rescript/runtime/lib/es6/Stdlib_JsExn.js"; +import * as Stdlib_Option from "@rescript/runtime/lib/es6/Stdlib_Option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; import * as Core_Intl_LocaleTest from "./Core_Intl_LocaleTest.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; import * as Core_Intl_CollatorTest from "./Core_Intl_CollatorTest.mjs"; import * as Core_Intl_SegmenterTest from "./Core_Intl_SegmenterTest.mjs"; import * as Core_Intl_ListFormatTest from "./Core_Intl_ListFormatTest.mjs"; diff --git a/tests/tests/src/core/intl/Core_Intl_NumberFormatTest.mjs b/tests/tests/src/core/intl/Core_Intl_NumberFormatTest.mjs index 132cd9709b..40413aab0f 100644 --- a/tests/tests/src/core/intl/Core_Intl_NumberFormatTest.mjs +++ b/tests/tests/src/core/intl/Core_Intl_NumberFormatTest.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Intl_NumberFormat_Grouping from "rescript/lib/es6/Stdlib_Intl_NumberFormat_Grouping.js"; +import * as Stdlib_Intl_NumberFormat_Grouping from "@rescript/runtime/lib/es6/Stdlib_Intl_NumberFormat_Grouping.js"; console.log("---"); diff --git a/tests/tests/src/cps_test.mjs b/tests/tests/src/cps_test.mjs index 1e1c1c6d8f..feedecf205 100644 --- a/tests/tests/src/cps_test.mjs +++ b/tests/tests/src/cps_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function test() { let v = { diff --git a/tests/tests/src/custom_error_test.mjs b/tests/tests/src/custom_error_test.mjs index ab89dd104f..4d53d92273 100644 --- a/tests/tests/src/custom_error_test.mjs +++ b/tests/tests/src/custom_error_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Exn from "rescript/lib/es6/Stdlib_Exn.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Stdlib_Exn from "@rescript/runtime/lib/es6/Stdlib_Exn.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function test_js_error() { let e; diff --git a/tests/tests/src/defunctor_make_test.mjs b/tests/tests/src/defunctor_make_test.mjs index e0ddcadaec..44f7b53cb7 100644 --- a/tests/tests/src/defunctor_make_test.mjs +++ b/tests/tests/src/defunctor_make_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; function getcompare(x) { return x; diff --git a/tests/tests/src/demo_int_map.mjs b/tests/tests/src/demo_int_map.mjs index 21aadffef3..5aee421eab 100644 --- a/tests/tests/src/demo_int_map.mjs +++ b/tests/tests/src/demo_int_map.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; function test() { let m; diff --git a/tests/tests/src/directives.mjs b/tests/tests/src/directives.mjs index ef14b48f85..253618e744 100644 --- a/tests/tests/src/directives.mjs +++ b/tests/tests/src/directives.mjs @@ -2,7 +2,7 @@ first directive; second directive; // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let a = Belt_Array.forEach; diff --git a/tests/tests/src/div_by_zero_test.mjs b/tests/tests/src/div_by_zero_test.mjs index 03d9d73e33..5911623571 100644 --- a/tests/tests/src/div_by_zero_test.mjs +++ b/tests/tests/src/div_by_zero_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/earger_curry_test.mjs b/tests/tests/src/earger_curry_test.mjs index 97e7a61672..d617d5554f 100644 --- a/tests/tests/src/earger_curry_test.mjs +++ b/tests/tests/src/earger_curry_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; function map(f, a) { let f$1 = x => f(x); diff --git a/tests/tests/src/epsilon_test.mjs b/tests/tests/src/epsilon_test.mjs index f5207c3f63..e7af62a3bd 100644 --- a/tests/tests/src/epsilon_test.mjs +++ b/tests/tests/src/epsilon_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let v = (Number.EPSILON?Number.EPSILON:2.220446049250313e-16); diff --git a/tests/tests/src/equal_box_test.mjs b/tests/tests/src/equal_box_test.mjs index a840b951f3..8023afedde 100644 --- a/tests/tests/src/equal_box_test.mjs +++ b/tests/tests/src/equal_box_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let aa = Primitive_object.equal; diff --git a/tests/tests/src/equal_exception_test.mjs b/tests/tests/src/equal_exception_test.mjs index fc7990ef36..d712c03894 100644 --- a/tests/tests/src/equal_exception_test.mjs +++ b/tests/tests/src/equal_exception_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let v = "gso"; diff --git a/tests/tests/src/event_ffi.mjs b/tests/tests/src/event_ffi.mjs index ec47eeae4c..ec9b5ce768 100644 --- a/tests/tests/src/event_ffi.mjs +++ b/tests/tests/src/event_ffi.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function h0(x) { return x(); diff --git a/tests/tests/src/exception_alias.mjs b/tests/tests/src/exception_alias.mjs index 2b2cac959e..66d045eaa6 100644 --- a/tests/tests/src/exception_alias.mjs +++ b/tests/tests/src/exception_alias.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let a0 = { RE_EXN_ID: "Not_found" diff --git a/tests/tests/src/exception_raise_test.mjs b/tests/tests/src/exception_raise_test.mjs index b33c0c2659..6644b0923e 100644 --- a/tests/tests/src/exception_raise_test.mjs +++ b/tests/tests/src/exception_raise_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Stdlib_Exn from "rescript/lib/es6/Stdlib_Exn.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Stdlib_Exn from "@rescript/runtime/lib/es6/Stdlib_Exn.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Local = /* @__PURE__ */Primitive_exceptions.create("Exception_raise_test.Local"); diff --git a/tests/tests/src/exception_rebound_err_test.mjs b/tests/tests/src/exception_rebound_err_test.mjs index fcb0d2812e..c9911dc3c6 100644 --- a/tests/tests/src/exception_rebound_err_test.mjs +++ b/tests/tests/src/exception_rebound_err_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/exception_value_test.mjs b/tests/tests/src/exception_value_test.mjs index 9a7f8c8b4d..a0811e4470 100644 --- a/tests/tests/src/exception_value_test.mjs +++ b/tests/tests/src/exception_value_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Exn from "rescript/lib/es6/Stdlib_Exn.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Stdlib_Exn from "@rescript/runtime/lib/es6/Stdlib_Exn.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function f() { throw { diff --git a/tests/tests/src/ext_array_test.mjs b/tests/tests/src/ext_array_test.mjs index ec0dac2c80..3e1b438617 100644 --- a/tests/tests/src/ext_array_test.mjs +++ b/tests/tests/src/ext_array_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function reverse_range(a, i, len) { if (len === 0) { diff --git a/tests/tests/src/extensible_variant_test.mjs b/tests/tests/src/extensible_variant_test.mjs index b6d8da5bbc..d4e2f42dfb 100644 --- a/tests/tests/src/extensible_variant_test.mjs +++ b/tests/tests/src/extensible_variant_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Str = /* @__PURE__ */Primitive_exceptions.create("Extensible_variant_test.Str"); diff --git a/tests/tests/src/field_flattening_opt.mjs b/tests/tests/src/field_flattening_opt.mjs index 39eebd9d1c..440c972f32 100644 --- a/tests/tests/src/field_flattening_opt.mjs +++ b/tests/tests/src/field_flattening_opt.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Int from "rescript/lib/es6/Stdlib_Int.js"; +import * as Stdlib_Int from "@rescript/runtime/lib/es6/Stdlib_Int.js"; let group = { nested: {} diff --git a/tests/tests/src/flexible_array_test.mjs b/tests/tests/src/flexible_array_test.mjs index 3859e57047..ed7b70bba0 100644 --- a/tests/tests/src/flexible_array_test.mjs +++ b/tests/tests/src/flexible_array_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function sub(_tr, _k) { while (true) { diff --git a/tests/tests/src/float_test.mjs b/tests/tests/src/float_test.mjs index 59943ba5d5..c656c71232 100644 --- a/tests/tests/src/float_test.mjs +++ b/tests/tests/src/float_test.mjs @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; import * as Mt_global from "./mt_global.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_float from "rescript/lib/es6/Primitive_float.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_float from "@rescript/runtime/lib/es6/Primitive_float.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let test_id = { contents: 0 diff --git a/tests/tests/src/for_loop_test.mjs b/tests/tests/src/for_loop_test.mjs index d5e5c3602f..1fa6a00108 100644 --- a/tests/tests/src/for_loop_test.mjs +++ b/tests/tests/src/for_loop_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function for_3(x) { let v = { diff --git a/tests/tests/src/fun_pattern_match.mjs b/tests/tests/src/fun_pattern_match.mjs index 1a175d381d..0381c1c2fc 100644 --- a/tests/tests/src/fun_pattern_match.mjs +++ b/tests/tests/src/fun_pattern_match.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; function f(param, v) { return ((((param.x0 + param.x1 | 0) + param.x2 | 0) + param.x3 | 0) + param.x4 | 0) + v | 0; diff --git a/tests/tests/src/functor_ffi.mjs b/tests/tests/src/functor_ffi.mjs index 8ea2c8aafe..7f9adbee1e 100644 --- a/tests/tests/src/functor_ffi.mjs +++ b/tests/tests/src/functor_ffi.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function Make(S) { let opt_get = (f, i) => Primitive_option.fromUndefined(f[i]); diff --git a/tests/tests/src/global_module_alias_test.mjs b/tests/tests/src/global_module_alias_test.mjs index 8e04b8914c..7ce5e0e568 100644 --- a/tests/tests/src/global_module_alias_test.mjs +++ b/tests/tests/src/global_module_alias_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr496_test.mjs b/tests/tests/src/gpr496_test.mjs index 06a2d01662..8ab0924ecb 100644 --- a/tests/tests/src/gpr496_test.mjs +++ b/tests/tests/src/gpr496_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_bool from "rescript/lib/es6/Primitive_bool.js"; +import * as Primitive_bool from "@rescript/runtime/lib/es6/Primitive_bool.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_1245_test.mjs b/tests/tests/src/gpr_1245_test.mjs index ac31796aa0..8f004dede2 100644 --- a/tests/tests/src/gpr_1245_test.mjs +++ b/tests/tests/src/gpr_1245_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let x = { contents: 1 diff --git a/tests/tests/src/gpr_1409_test.mjs b/tests/tests/src/gpr_1409_test.mjs index e98e5287ef..2fbe0bd5a4 100644 --- a/tests/tests/src/gpr_1409_test.mjs +++ b/tests/tests/src/gpr_1409_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; import * as String_set from "./string_set.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_1539_test.mjs b/tests/tests/src/gpr_1539_test.mjs index 10564256b7..69c4ac4a71 100644 --- a/tests/tests/src/gpr_1539_test.mjs +++ b/tests/tests/src/gpr_1539_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; let Point = Primitive_module.init([ "gpr_1539_test.res", diff --git a/tests/tests/src/gpr_1658_test.mjs b/tests/tests/src/gpr_1658_test.mjs index 78a878d8f0..81286f35e0 100644 --- a/tests/tests/src/gpr_1658_test.mjs +++ b/tests/tests/src/gpr_1658_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_types from "rescript/lib/es6/Js_types.js"; +import * as Js_types from "@rescript/runtime/lib/es6/Js_types.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_1701_test.mjs b/tests/tests/src/gpr_1701_test.mjs index 8a0f18cd3a..07abbbf2df 100644 --- a/tests/tests/src/gpr_1701_test.mjs +++ b/tests/tests/src/gpr_1701_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Foo = /* @__PURE__ */Primitive_exceptions.create("Gpr_1701_test.Foo"); diff --git a/tests/tests/src/gpr_1716_test.mjs b/tests/tests/src/gpr_1716_test.mjs index 736d033164..f9fcae01b4 100644 --- a/tests/tests/src/gpr_1716_test.mjs +++ b/tests/tests/src/gpr_1716_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_1760_test.mjs b/tests/tests/src/gpr_1760_test.mjs index 37d83370f7..3f0eba43cb 100644 --- a/tests/tests/src/gpr_1760_test.mjs +++ b/tests/tests/src/gpr_1760_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_1817_test.mjs b/tests/tests/src/gpr_1817_test.mjs index 44b33b3797..6673115d22 100644 --- a/tests/tests/src/gpr_1817_test.mjs +++ b/tests/tests/src/gpr_1817_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_2316_test.mjs b/tests/tests/src/gpr_2316_test.mjs index 6041bebb16..9125f29c85 100644 --- a/tests/tests/src/gpr_2316_test.mjs +++ b/tests/tests/src/gpr_2316_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_2487.mjs b/tests/tests/src/gpr_2487.mjs index 4a526a73c6..d764543714 100644 --- a/tests/tests/src/gpr_2487.mjs +++ b/tests/tests/src/gpr_2487.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let b = Belt_Array.eq([ 1, diff --git a/tests/tests/src/gpr_2503_test.mjs b/tests/tests/src/gpr_2503_test.mjs index 5c814a0086..63c9728ec6 100644 --- a/tests/tests/src/gpr_2503_test.mjs +++ b/tests/tests/src/gpr_2503_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_2608_test.mjs b/tests/tests/src/gpr_2608_test.mjs index c21ae62eaf..ac6f555209 100644 --- a/tests/tests/src/gpr_2608_test.mjs +++ b/tests/tests/src/gpr_2608_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_2614_test.mjs b/tests/tests/src/gpr_2614_test.mjs index 27235a950b..b22ec2aabf 100644 --- a/tests/tests/src/gpr_2614_test.mjs +++ b/tests/tests/src/gpr_2614_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let v = { "Content-Type": 3, diff --git a/tests/tests/src/gpr_3154_test.mjs b/tests/tests/src/gpr_3154_test.mjs index 718fff37ff..9f641f4bd7 100644 --- a/tests/tests/src/gpr_3154_test.mjs +++ b/tests/tests/src/gpr_3154_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_dict from "rescript/lib/es6/Js_dict.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_3566_drive_test.mjs b/tests/tests/src/gpr_3566_drive_test.mjs index a19b4080d7..e19e8da05c 100644 --- a/tests/tests/src/gpr_3566_drive_test.mjs +++ b/tests/tests/src/gpr_3566_drive_test.mjs @@ -2,7 +2,7 @@ import * as Mt from "./mt.mjs"; import * as Gpr_3566_test from "./gpr_3566_test.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_3566_test.mjs b/tests/tests/src/gpr_3566_test.mjs index dd716ecbdd..3b2bc1c120 100644 --- a/tests/tests/src/gpr_3566_test.mjs +++ b/tests/tests/src/gpr_3566_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function eq_A(x, y) { if (x.TAG === "A" && y.TAG === "A") { diff --git a/tests/tests/src/gpr_3697_test.mjs b/tests/tests/src/gpr_3697_test.mjs index 79d0272225..f12265535c 100644 --- a/tests/tests/src/gpr_3697_test.mjs +++ b/tests/tests/src/gpr_3697_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; function fix() { return { diff --git a/tests/tests/src/gpr_3931_test.mjs b/tests/tests/src/gpr_3931_test.mjs index 551d06a19a..7bba3edfce 100644 --- a/tests/tests/src/gpr_3931_test.mjs +++ b/tests/tests/src/gpr_3931_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; let PA = Primitive_module.init([ "gpr_3931_test.res", diff --git a/tests/tests/src/gpr_3980_test.mjs b/tests/tests/src/gpr_3980_test.mjs index 6dacc59289..b14759b5fb 100644 --- a/tests/tests/src/gpr_3980_test.mjs +++ b/tests/tests/src/gpr_3980_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_math from "rescript/lib/es6/Js_math.js"; +import * as Js_math from "@rescript/runtime/lib/es6/Js_math.js"; let match = 1; diff --git a/tests/tests/src/gpr_4265_test.mjs b/tests/tests/src/gpr_4265_test.mjs index 2383420185..8b0f256035 100644 --- a/tests/tests/src/gpr_4265_test.mjs +++ b/tests/tests/src/gpr_4265_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_MutableMapInt from "rescript/lib/es6/Belt_MutableMapInt.js"; +import * as Belt_MutableMapInt from "@rescript/runtime/lib/es6/Belt_MutableMapInt.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/gpr_4274_test.mjs b/tests/tests/src/gpr_4274_test.mjs index 9f7a387279..6b5c9d3d71 100644 --- a/tests/tests/src/gpr_4274_test.mjs +++ b/tests/tests/src/gpr_4274_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let N = {}; diff --git a/tests/tests/src/gpr_974_test.mjs b/tests/tests/src/gpr_974_test.mjs index b3db25c414..6a44554250 100644 --- a/tests/tests/src/gpr_974_test.mjs +++ b/tests/tests/src/gpr_974_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; if (!Primitive_object.equal(Primitive_option.fromNullable(""), "")) { throw { diff --git a/tests/tests/src/hash_test.mjs b/tests/tests/src/hash_test.mjs index 444e03b020..3f42eb7db0 100644 --- a/tests/tests/src/hash_test.mjs +++ b/tests/tests/src/hash_test.mjs @@ -2,7 +2,7 @@ import * as Mt from "./mt.mjs"; import * as Mt_global from "./mt_global.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as Ocaml_Hashtbl from "./ocaml_compat/Ocaml_Hashtbl.mjs"; let suites = { diff --git a/tests/tests/src/hello_res.mjs b/tests/tests/src/hello_res.mjs index a06084d525..4365669653 100644 --- a/tests/tests/src/hello_res.mjs +++ b/tests/tests/src/hello_res.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let b = Belt_List.length({ hd: 1, diff --git a/tests/tests/src/inline_map2_test.mjs b/tests/tests/src/inline_map2_test.mjs index a7bc3535e2..cda856b7fc 100644 --- a/tests/tests/src/inline_map2_test.mjs +++ b/tests/tests/src/inline_map2_test.mjs @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; -import * as Primitive_string from "rescript/lib/es6/Primitive_string.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; +import * as Primitive_string from "@rescript/runtime/lib/es6/Primitive_string.js"; function Make(Ord) { let height = x => { diff --git a/tests/tests/src/inline_map_demo.mjs b/tests/tests/src/inline_map_demo.mjs index 092e289277..4fe70a8cb7 100644 --- a/tests/tests/src/inline_map_demo.mjs +++ b/tests/tests/src/inline_map_demo.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; function height(x) { if (typeof x !== "object") { diff --git a/tests/tests/src/inline_map_test.mjs b/tests/tests/src/inline_map_test.mjs index e1f33bdd99..832de4c3ea 100644 --- a/tests/tests/src/inline_map_test.mjs +++ b/tests/tests/src/inline_map_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; function height(x) { if (typeof x !== "object") { diff --git a/tests/tests/src/inline_record_test.mjs b/tests/tests/src/inline_record_test.mjs index a09d054b4f..482b2d5dc4 100644 --- a/tests/tests/src/inline_record_test.mjs +++ b/tests/tests/src/inline_record_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/int_map.mjs b/tests/tests/src/int_map.mjs index 3a25527bc5..bfd3035a9e 100644 --- a/tests/tests/src/int_map.mjs +++ b/tests/tests/src/int_map.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Belt_Map from "rescript/lib/es6/Belt_Map.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Belt_Map from "@rescript/runtime/lib/es6/Belt_Map.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let cmp = Primitive_object.compare; diff --git a/tests/tests/src/internal_unused_test.mjs b/tests/tests/src/internal_unused_test.mjs index e671df9174..bbdfdb6cb5 100644 --- a/tests/tests/src/internal_unused_test.mjs +++ b/tests/tests/src/internal_unused_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; console.log(3); diff --git a/tests/tests/src/js_array_test.mjs b/tests/tests/src/js_array_test.mjs index 9b14eaf969..3da18ee328 100644 --- a/tests/tests/src/js_array_test.mjs +++ b/tests/tests/src/js_array_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites_0 = [ "isArray_array", diff --git a/tests/tests/src/js_date_test.mjs b/tests/tests/src/js_date_test.mjs index 6970ed1c59..2358f3ca55 100644 --- a/tests/tests/src/js_date_test.mjs +++ b/tests/tests/src/js_date_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function date() { return new Date("1976-03-08T12:34:56.789+01:23"); diff --git a/tests/tests/src/js_dict_test.mjs b/tests/tests/src/js_dict_test.mjs index 762b69f8de..9f4ec7dd83 100644 --- a/tests/tests/src/js_dict_test.mjs +++ b/tests/tests/src/js_dict_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_dict from "rescript/lib/es6/Js_dict.js"; +import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js"; function obj() { return { diff --git a/tests/tests/src/js_exception_catch_test.mjs b/tests/tests/src/js_exception_catch_test.mjs index a77b7c47e7..67a13cbea7 100644 --- a/tests/tests/src/js_exception_catch_test.mjs +++ b/tests/tests/src/js_exception_catch_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Stdlib_Exn from "rescript/lib/es6/Stdlib_Exn.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Stdlib_Exn from "@rescript/runtime/lib/es6/Stdlib_Exn.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/js_float_test.mjs b/tests/tests/src/js_float_test.mjs index 509c5b5531..3bf44e1e27 100644 --- a/tests/tests/src/js_float_test.mjs +++ b/tests/tests/src/js_float_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let suites_0 = [ "_NaN <> _NaN", diff --git a/tests/tests/src/js_json_test.mjs b/tests/tests/src/js_json_test.mjs index 89f0f5aa81..03822b16bb 100644 --- a/tests/tests/src/js_json_test.mjs +++ b/tests/tests/src/js_json_test.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_dict from "rescript/lib/es6/Js_dict.js"; -import * as Js_json from "rescript/lib/es6/Js_json.js"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_dict from "@rescript/runtime/lib/es6/Js_dict.js"; +import * as Js_json from "@rescript/runtime/lib/es6/Js_json.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/js_math_test.mjs b/tests/tests/src/js_math_test.mjs index 4fd0796e70..59a3748c4e 100644 --- a/tests/tests/src/js_math_test.mjs +++ b/tests/tests/src/js_math_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_math from "rescript/lib/es6/Js_math.js"; +import * as Js_math from "@rescript/runtime/lib/es6/Js_math.js"; let suites_0 = [ "_E", diff --git a/tests/tests/src/js_null_test.mjs b/tests/tests/src/js_null_test.mjs index 72e46d20a1..e093808a18 100644 --- a/tests/tests/src/js_null_test.mjs +++ b/tests/tests/src/js_null_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_null from "rescript/lib/es6/Js_null.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_null from "@rescript/runtime/lib/es6/Js_null.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites_0 = [ "toOption - empty", diff --git a/tests/tests/src/js_null_undefined_test.mjs b/tests/tests/src/js_null_undefined_test.mjs index a6970c1b5b..2822c54d07 100644 --- a/tests/tests/src/js_null_undefined_test.mjs +++ b/tests/tests/src/js_null_undefined_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; -import * as Js_null_undefined from "rescript/lib/es6/Js_null_undefined.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; +import * as Js_null_undefined from "@rescript/runtime/lib/es6/Js_null_undefined.js"; let suites_0 = [ "toOption - null", diff --git a/tests/tests/src/js_option_test.mjs b/tests/tests/src/js_option_test.mjs index 3c4ab8a792..dc4986bde6 100644 --- a/tests/tests/src/js_option_test.mjs +++ b/tests/tests/src/js_option_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_option from "rescript/lib/es6/Js_option.js"; +import * as Js_option from "@rescript/runtime/lib/es6/Js_option.js"; function simpleEq(a, b) { return a === b; diff --git a/tests/tests/src/js_re_test.mjs b/tests/tests/src/js_re_test.mjs index 6f199ed231..89d1805dbd 100644 --- a/tests/tests/src/js_re_test.mjs +++ b/tests/tests/src/js_re_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites_0 = [ "captures", diff --git a/tests/tests/src/js_string_test.mjs b/tests/tests/src/js_string_test.mjs index 13432d0358..8de1a49ba9 100644 --- a/tests/tests/src/js_string_test.mjs +++ b/tests/tests/src/js_string_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_string from "rescript/lib/es6/Js_string.js"; -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_string from "@rescript/runtime/lib/es6/Js_string.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites_0 = [ "make", diff --git a/tests/tests/src/js_undefined_test.mjs b/tests/tests/src/js_undefined_test.mjs index 37f280b9c5..87b8fe4c81 100644 --- a/tests/tests/src/js_undefined_test.mjs +++ b/tests/tests/src/js_undefined_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_undefined from "rescript/lib/es6/Js_undefined.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_undefined from "@rescript/runtime/lib/es6/Js_undefined.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites_0 = [ "toOption - empty", diff --git a/tests/tests/src/json_decorders.mjs b/tests/tests/src/json_decorders.mjs index 5333478791..b423609df1 100644 --- a/tests/tests/src/json_decorders.mjs +++ b/tests/tests/src/json_decorders.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Array from "rescript/lib/es6/Stdlib_Array.js"; +import * as Stdlib_Array from "@rescript/runtime/lib/es6/Stdlib_Array.js"; function decodeUser(json) { if (typeof json !== "object" || json === null || Array.isArray(json)) { diff --git a/tests/tests/src/jsoo_400_test.mjs b/tests/tests/src/jsoo_400_test.mjs index 03ac7bf8a0..d665e5b072 100644 --- a/tests/tests/src/jsoo_400_test.mjs +++ b/tests/tests/src/jsoo_400_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; function u() { let n; diff --git a/tests/tests/src/label_uncurry.mjs b/tests/tests/src/label_uncurry.mjs index 1ec78962fe..d87cbe6333 100644 --- a/tests/tests/src/label_uncurry.mjs +++ b/tests/tests/src/label_uncurry.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Int from "rescript/lib/es6/Belt_Int.js"; +import * as Belt_Int from "@rescript/runtime/lib/es6/Belt_Int.js"; function f(x) { return x; diff --git a/tests/tests/src/large_record_duplication_test.mjs b/tests/tests/src/large_record_duplication_test.mjs index 1bf6c5d1fe..c238d6a618 100644 --- a/tests/tests/src/large_record_duplication_test.mjs +++ b/tests/tests/src/large_record_duplication_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/lazy_demo.mjs b/tests/tests/src/lazy_demo.mjs index 27eaac8217..e74c1443a0 100644 --- a/tests/tests/src/lazy_demo.mjs +++ b/tests/tests/src/lazy_demo.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; let lazy1 = Stdlib_Lazy.make(() => { console.log("Hello, lazy"); diff --git a/tests/tests/src/lazy_test.mjs b/tests/tests/src/lazy_test.mjs index 4f839dceb9..ffb886928f 100644 --- a/tests/tests/src/lazy_test.mjs +++ b/tests/tests/src/lazy_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; let u = { contents: 3 diff --git a/tests/tests/src/limits_test.mjs b/tests/tests/src/limits_test.mjs index bb3d6ee16a..d2a2995c65 100644 --- a/tests/tests/src/limits_test.mjs +++ b/tests/tests/src/limits_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/list_test.mjs b/tests/tests/src/list_test.mjs index a96e58ef11..8cf5a9d965 100644 --- a/tests/tests/src/list_test.mjs +++ b/tests/tests/src/list_test.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let eq = Primitive_object.equal; diff --git a/tests/tests/src/local_exception_test.mjs b/tests/tests/src/local_exception_test.mjs index 09b738eb6b..89060d9616 100644 --- a/tests/tests/src/local_exception_test.mjs +++ b/tests/tests/src/local_exception_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let A = /* @__PURE__ */Primitive_exceptions.create("Local_exception_test.A"); diff --git a/tests/tests/src/map_find_test.mjs b/tests/tests/src/map_find_test.mjs index e737597b13..2724f310d9 100644 --- a/tests/tests/src/map_find_test.mjs +++ b/tests/tests/src/map_find_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; -import * as Belt_MapString from "rescript/lib/es6/Belt_MapString.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; +import * as Belt_MapString from "@rescript/runtime/lib/es6/Belt_MapString.js"; let m = Belt_List.reduceReverse({ hd: [ diff --git a/tests/tests/src/mario_game.mjs b/tests/tests/src/mario_game.mjs index ab8da6cb66..f75a3db3ac 100644 --- a/tests/tests/src/mario_game.mjs +++ b/tests/tests/src/mario_game.mjs @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Primitive_float from "rescript/lib/es6/Primitive_float.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Primitive_float from "@rescript/runtime/lib/es6/Primitive_float.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function self_init() { diff --git a/tests/tests/src/mock_mt.mjs b/tests/tests/src/mock_mt.mjs index 17def2e3a6..e8263cbca1 100644 --- a/tests/tests/src/mock_mt.mjs +++ b/tests/tests/src/mock_mt.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function from_pair_suites(name, suites) { console.log([ diff --git a/tests/tests/src/module_alias_test.mjs b/tests/tests/src/module_alias_test.mjs index f3cf8b2972..b85091be6c 100644 --- a/tests/tests/src/module_alias_test.mjs +++ b/tests/tests/src/module_alias_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/module_missing_conversion.mjs b/tests/tests/src/module_missing_conversion.mjs index c73348c99a..044200404e 100644 --- a/tests/tests/src/module_missing_conversion.mjs +++ b/tests/tests/src/module_missing_conversion.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Stdlib_String from "rescript/lib/es6/Stdlib_String.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Stdlib_String from "@rescript/runtime/lib/es6/Stdlib_String.js"; function f(x) { return x; diff --git a/tests/tests/src/module_parameter_test.mjs b/tests/tests/src/module_parameter_test.mjs index 1f9d899093..491c543c63 100644 --- a/tests/tests/src/module_parameter_test.mjs +++ b/tests/tests/src/module_parameter_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Stdlib_String from "rescript/lib/es6/Stdlib_String.js"; +import * as Stdlib_String from "@rescript/runtime/lib/es6/Stdlib_String.js"; function u(v) { return v; diff --git a/tests/tests/src/module_test.mjs b/tests/tests/src/module_test.mjs index 345fd1084f..c89c154685 100644 --- a/tests/tests/src/module_test.mjs +++ b/tests/tests/src/module_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function length(param) { return 3; diff --git a/tests/tests/src/mpr_6033_test.mjs b/tests/tests/src/mpr_6033_test.mjs index d72f10e116..a61b92b10d 100644 --- a/tests/tests/src/mpr_6033_test.mjs +++ b/tests/tests/src/mpr_6033_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/mt.mjs b/tests/tests/src/mt.mjs index a10fd640a5..70c3090f1b 100644 --- a/tests/tests/src/mt.mjs +++ b/tests/tests/src/mt.mjs @@ -3,8 +3,8 @@ import * as Path from "path"; import * as Assert from "assert"; import * as Process from "process"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Js_promise from "rescript/lib/es6/Js_promise.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Js_promise from "@rescript/runtime/lib/es6/Js_promise.js"; function assert_fail(msg) { Assert.fail(undefined, undefined, msg, ""); diff --git a/tests/tests/src/mutable_uncurry_test.mjs b/tests/tests/src/mutable_uncurry_test.mjs index a07e5065a4..1c654a9fa6 100644 --- a/tests/tests/src/mutable_uncurry_test.mjs +++ b/tests/tests/src/mutable_uncurry_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/nested_module_alias.mjs b/tests/tests/src/nested_module_alias.mjs index 446690811d..5dc443ec7f 100644 --- a/tests/tests/src/nested_module_alias.mjs +++ b/tests/tests/src/nested_module_alias.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function v(x) { return [ diff --git a/tests/tests/src/ocaml_compat/Ocaml_Array.mjs b/tests/tests/src/ocaml_compat/Ocaml_Array.mjs index 6109a9cd14..2c05663d5f 100644 --- a/tests/tests/src/ocaml_compat/Ocaml_Array.mjs +++ b/tests/tests/src/ocaml_compat/Ocaml_Array.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Ocaml_List from "./Ocaml_List.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let init = ((length, f) => Array.from({ length }, f)); diff --git a/tests/tests/src/ocaml_compat/Ocaml_Hashtbl.mjs b/tests/tests/src/ocaml_compat/Ocaml_Hashtbl.mjs index 9afbe2d520..6c253e2de1 100644 --- a/tests/tests/src/ocaml_compat/Ocaml_Hashtbl.mjs +++ b/tests/tests/src/ocaml_compat/Ocaml_Hashtbl.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_hash from "rescript/lib/es6/Primitive_hash.js"; +import * as Primitive_hash from "@rescript/runtime/lib/es6/Primitive_hash.js"; function hash(x) { return Primitive_hash.hash(10, 100, 0, x); diff --git a/tests/tests/src/ocaml_compat/Ocaml_List.mjs b/tests/tests/src/ocaml_compat/Ocaml_List.mjs index 582cca5c84..be952fcfe1 100644 --- a/tests/tests/src/ocaml_compat/Ocaml_List.mjs +++ b/tests/tests/src/ocaml_compat/Ocaml_List.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function length(l) { let _len = 0; diff --git a/tests/tests/src/ocaml_compat/Ocaml_String.mjs b/tests/tests/src/ocaml_compat/Ocaml_String.mjs index 42bc5b9d05..02707988c4 100644 --- a/tests/tests/src/ocaml_compat/Ocaml_String.mjs +++ b/tests/tests/src/ocaml_compat/Ocaml_String.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Char from "rescript/lib/es6/Char.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Char from "@rescript/runtime/lib/es6/Char.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; import * as Ocaml_Array from "./Ocaml_Array.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function apply1(f, bytes) { if (bytes.length === 0) { diff --git a/tests/tests/src/option_repr_test.mjs b/tests/tests/src/option_repr_test.mjs index ce732629a1..81d96b0ded 100644 --- a/tests/tests/src/option_repr_test.mjs +++ b/tests/tests/src/option_repr_test.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/option_wrapping_test.mjs b/tests/tests/src/option_wrapping_test.mjs index 1f04be7cd7..af052d9536 100644 --- a/tests/tests/src/option_wrapping_test.mjs +++ b/tests/tests/src/option_wrapping_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; -import * as Stdlib_AsyncIterator from "rescript/lib/es6/Stdlib_AsyncIterator.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; +import * as Stdlib_AsyncIterator from "@rescript/runtime/lib/es6/Stdlib_AsyncIterator.js"; let x6 = { x: 42 diff --git a/tests/tests/src/optional_ffi_test.mjs b/tests/tests/src/optional_ffi_test.mjs index 20a1972729..b22eda81f1 100644 --- a/tests/tests/src/optional_ffi_test.mjs +++ b/tests/tests/src/optional_ffi_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/optional_regression_test.mjs b/tests/tests/src/optional_regression_test.mjs index a3baf11fc1..b1fc0d67ab 100644 --- a/tests/tests/src/optional_regression_test.mjs +++ b/tests/tests/src/optional_regression_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/pattern_match_json.mjs b/tests/tests/src/pattern_match_json.mjs index ac5a59d573..388a5d3b8d 100644 --- a/tests/tests/src/pattern_match_json.mjs +++ b/tests/tests/src/pattern_match_json.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function decodeGroup(group) { let id = group.id; diff --git a/tests/tests/src/pipe_syntax.mjs b/tests/tests/src/pipe_syntax.mjs index 2eced48633..09e1fad4cc 100644 --- a/tests/tests/src/pipe_syntax.mjs +++ b/tests/tests/src/pipe_syntax.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function t0(x, f) { return f(f(f(x))); diff --git a/tests/tests/src/pq_test.mjs b/tests/tests/src/pq_test.mjs index 82f6e9bbbd..76b91a25b7 100644 --- a/tests/tests/src/pq_test.mjs +++ b/tests/tests/src/pq_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function insert(queue, prio, elt) { if (typeof queue !== "object") { diff --git a/tests/tests/src/queue_402.mjs b/tests/tests/src/queue_402.mjs index 9c369f8526..1b59566f03 100644 --- a/tests/tests/src/queue_402.mjs +++ b/tests/tests/src/queue_402.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Empty = /* @__PURE__ */Primitive_exceptions.create("Queue_402.Empty"); diff --git a/tests/tests/src/raw_pure_test.mjs b/tests/tests/src/raw_pure_test.mjs index ddc349d419..893a5c7052 100644 --- a/tests/tests/src/raw_pure_test.mjs +++ b/tests/tests/src/raw_pure_test.mjs @@ -4,7 +4,7 @@ */ // hello -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; let x0 = null; diff --git a/tests/tests/src/reactDOM.mjs b/tests/tests/src/reactDOM.mjs index 3064f39b11..59c5322c41 100644 --- a/tests/tests/src/reactDOM.mjs +++ b/tests/tests/src/reactDOM.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let Root = {}; diff --git a/tests/tests/src/reactTestUtils.mjs b/tests/tests/src/reactTestUtils.mjs index 33c59321af..287c48bf63 100644 --- a/tests/tests/src/reactTestUtils.mjs +++ b/tests/tests/src/reactTestUtils.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; import * as TestUtils from "react-dom/test-utils"; function act(func) { diff --git a/tests/tests/src/reasonReact.mjs b/tests/tests/src/reasonReact.mjs index e1f8ab1ec5..4b67328758 100644 --- a/tests/tests/src/reasonReact.mjs +++ b/tests/tests/src/reasonReact.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as React from "react"; -import * as Js_array from "rescript/lib/es6/Js_array.js"; +import * as Js_array from "@rescript/runtime/lib/es6/Js_array.js"; function createDomElement(s, props, children) { let vararg = Js_array.concat(children, [ diff --git a/tests/tests/src/reasonReactRouter.mjs b/tests/tests/src/reasonReactRouter.mjs index 1e22e6d9b2..140e00d5f3 100644 --- a/tests/tests/src/reasonReactRouter.mjs +++ b/tests/tests/src/reasonReactRouter.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as React from "react"; -import * as Js_string from "rescript/lib/es6/Js_string.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Js_string from "@rescript/runtime/lib/es6/Js_string.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function safeMakeEvent(eventName) { if (typeof Event === "function") { diff --git a/tests/tests/src/rebind_module.mjs b/tests/tests/src/rebind_module.mjs index 22ba80cd67..cffa393fed 100644 --- a/tests/tests/src/rebind_module.mjs +++ b/tests/tests/src/rebind_module.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let A = /* @__PURE__ */Primitive_exceptions.create("Rebind_module.A"); diff --git a/tests/tests/src/rec_array_test.mjs b/tests/tests/src/rec_array_test.mjs index 8abcd8592b..30b4551583 100644 --- a/tests/tests/src/rec_array_test.mjs +++ b/tests/tests/src/rec_array_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let vicky = {}; diff --git a/tests/tests/src/rec_fun_test.mjs b/tests/tests/src/rec_fun_test.mjs index d24791fbb4..386987b2c5 100644 --- a/tests/tests/src/rec_fun_test.mjs +++ b/tests/tests/src/rec_fun_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/rec_module_opt.mjs b/tests/tests/src/rec_module_opt.mjs index 70ca2fe998..f9f0bea198 100644 --- a/tests/tests/src/rec_module_opt.mjs +++ b/tests/tests/src/rec_module_opt.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Id from "rescript/lib/es6/Belt_Id.js"; -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; -import * as Primitive_string from "rescript/lib/es6/Primitive_string.js"; +import * as Belt_Id from "@rescript/runtime/lib/es6/Belt_Id.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; +import * as Primitive_string from "@rescript/runtime/lib/es6/Primitive_string.js"; let A = Primitive_module.init([ "rec_module_opt.res", diff --git a/tests/tests/src/rec_module_test.mjs b/tests/tests/src/rec_module_test.mjs index bafd930e4a..1765b989ee 100644 --- a/tests/tests/src/rec_module_test.mjs +++ b/tests/tests/src/rec_module_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; let A = Primitive_module.init([ "rec_module_test.res", diff --git a/tests/tests/src/recmodule.mjs b/tests/tests/src/recmodule.mjs index a7deb81e2f..d9e23017a4 100644 --- a/tests/tests/src/recmodule.mjs +++ b/tests/tests/src/recmodule.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; let Entity = {}; diff --git a/tests/tests/src/record_debug_test.mjs b/tests/tests/src/record_debug_test.mjs index 2d41a951d9..7c1e3bf0d8 100644 --- a/tests/tests/src/record_debug_test.mjs +++ b/tests/tests/src/record_debug_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/record_extension_test.mjs b/tests/tests/src/record_extension_test.mjs index 08fc2ba78f..573b8df757 100644 --- a/tests/tests/src/record_extension_test.mjs +++ b/tests/tests/src/record_extension_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Int from "rescript/lib/es6/Belt_Int.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_Int from "@rescript/runtime/lib/es6/Belt_Int.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/record_regression.mjs b/tests/tests/src/record_regression.mjs index e939411629..395ff1c348 100644 --- a/tests/tests/src/record_regression.mjs +++ b/tests/tests/src/record_regression.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let f1 = { x: 3, diff --git a/tests/tests/src/recursive_module.mjs b/tests/tests/src/recursive_module.mjs index 21bedb6ef6..7c4b32388d 100644 --- a/tests/tests/src/recursive_module.mjs +++ b/tests/tests/src/recursive_module.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/recursive_module_test.mjs b/tests/tests/src/recursive_module_test.mjs index e713398349..cd750c5fdd 100644 --- a/tests/tests/src/recursive_module_test.mjs +++ b/tests/tests/src/recursive_module_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/recursive_records_test.mjs b/tests/tests/src/recursive_records_test.mjs index a223c082c9..3a0a1a0136 100644 --- a/tests/tests/src/recursive_records_test.mjs +++ b/tests/tests/src/recursive_records_test.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/recursive_unbound_module_test.mjs b/tests/tests/src/recursive_unbound_module_test.mjs index 858cc2da1c..cce79093f9 100644 --- a/tests/tests/src/recursive_unbound_module_test.mjs +++ b/tests/tests/src/recursive_unbound_module_test.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_module from "rescript/lib/es6/Primitive_module.js"; +import * as Primitive_module from "@rescript/runtime/lib/es6/Primitive_module.js"; function Make(X) { let f = () => {}; diff --git a/tests/tests/src/res_debug.mjs b/tests/tests/src/res_debug.mjs index c6a5369011..d9419f82e3 100644 --- a/tests/tests/src/res_debug.mjs +++ b/tests/tests/src/res_debug.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function f(window, a, b) { return window.location(a, b); diff --git a/tests/tests/src/return_check.mjs b/tests/tests/src/return_check.mjs index de09f71e8f..a68a6df35d 100644 --- a/tests/tests/src/return_check.mjs +++ b/tests/tests/src/return_check.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function test(dom) { let elem = dom.getElementById("haha"); diff --git a/tests/tests/src/set_gen.mjs b/tests/tests/src/set_gen.mjs index 19fb820753..bfc01f9cef 100644 --- a/tests/tests/src/set_gen.mjs +++ b/tests/tests/src/set_gen.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function cons_enum(_s, _e) { while (true) { diff --git a/tests/tests/src/side_effect2.mjs b/tests/tests/src/side_effect2.mjs index 50ee67dbd4..06fbc9c762 100644 --- a/tests/tests/src/side_effect2.mjs +++ b/tests/tests/src/side_effect2.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let a = Belt_Array.map([1], x => x); diff --git a/tests/tests/src/splice_test.mjs b/tests/tests/src/splice_test.mjs index 41c5c7975d..891a1d1646 100644 --- a/tests/tests/src/splice_test.mjs +++ b/tests/tests/src/splice_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/string_set.mjs b/tests/tests/src/string_set.mjs index c6d5a321c3..a527046fbf 100644 --- a/tests/tests/src/string_set.mjs +++ b/tests/tests/src/string_set.mjs @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Set_gen from "./set_gen.mjs"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Primitive_string from "rescript/lib/es6/Primitive_string.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Primitive_string from "@rescript/runtime/lib/es6/Primitive_string.js"; let compare_elt = Primitive_string.compare; diff --git a/tests/tests/src/tagged_template_test.mjs b/tests/tests/src/tagged_template_test.mjs index f3f3b66558..8063c7c91b 100644 --- a/tests/tests/src/tagged_template_test.mjs +++ b/tests/tests/src/tagged_template_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_array from "rescript/lib/es6/Primitive_array.js"; +import * as Primitive_array from "@rescript/runtime/lib/es6/Primitive_array.js"; import * as Tagged_template_libJs from "./tagged_template_lib.js"; function sql(prim0, prim1) { diff --git a/tests/tests/src/tailcall_inline_test.mjs b/tests/tests/src/tailcall_inline_test.mjs index 657936af63..b023cdaccb 100644 --- a/tests/tests/src/tailcall_inline_test.mjs +++ b/tests/tests/src/tailcall_inline_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function f() { let f$1 = (_acc, _n) => { diff --git a/tests/tests/src/test_ari.mjs b/tests/tests/src/test_ari.mjs index a36e53d1df..d59dc52a4e 100644 --- a/tests/tests/src/test_ari.mjs +++ b/tests/tests/src/test_ari.mjs @@ -2,7 +2,7 @@ import * as U from "U"; import * as VV from "VV"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function f(x, y) { return x + y | 0; diff --git a/tests/tests/src/test_array.mjs b/tests/tests/src/test_array.mjs index e6b14c0101..3bd9bb0080 100644 --- a/tests/tests/src/test_array.mjs +++ b/tests/tests/src/test_array.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let v = Belt_Array.make(6, 5); diff --git a/tests/tests/src/test_array_append.mjs b/tests/tests/src/test_array_append.mjs index f0e63db473..80fdb9ccf9 100644 --- a/tests/tests/src/test_array_append.mjs +++ b/tests/tests/src/test_array_append.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let const_v = Belt_Array.concat([ 1, diff --git a/tests/tests/src/test_closure.mjs b/tests/tests/src/test_closure.mjs index 59a3736feb..5690baf9b4 100644 --- a/tests/tests/src/test_closure.mjs +++ b/tests/tests/src/test_closure.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let v = { contents: 0 diff --git a/tests/tests/src/test_common.mjs b/tests/tests/src/test_common.mjs index c8b85f9535..92b06a2f44 100644 --- a/tests/tests/src/test_common.mjs +++ b/tests/tests/src/test_common.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let U = /* @__PURE__ */Primitive_exceptions.create("Test_common.U"); diff --git a/tests/tests/src/test_cpp.mjs b/tests/tests/src/test_cpp.mjs index f17c6831ad..721a17772a 100644 --- a/tests/tests/src/test_cpp.mjs +++ b/tests/tests/src/test_cpp.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; let f = Primitive_int.compare; diff --git a/tests/tests/src/test_cps.mjs b/tests/tests/src/test_cps.mjs index 89336d0710..8ee123910d 100644 --- a/tests/tests/src/test_cps.mjs +++ b/tests/tests/src/test_cps.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function f(_n, _acc) { while (true) { diff --git a/tests/tests/src/test_demo.mjs b/tests/tests/src/test_demo.mjs index 44e19f2540..bdb37de96a 100644 --- a/tests/tests/src/test_demo.mjs +++ b/tests/tests/src/test_demo.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; function fib(x) { if (x !== 2 && x !== 1) { diff --git a/tests/tests/src/test_exception.mjs b/tests/tests/src/test_exception.mjs index 414bbec886..053c4a780d 100644 --- a/tests/tests/src/test_exception.mjs +++ b/tests/tests/src/test_exception.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Test_common from "./test_common.mjs"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Local = /* @__PURE__ */Primitive_exceptions.create("Test_exception.Local"); diff --git a/tests/tests/src/test_exception_escape.mjs b/tests/tests/src/test_exception_escape.mjs index 13e07cfb24..d29b38b341 100644 --- a/tests/tests/src/test_exception_escape.mjs +++ b/tests/tests/src/test_exception_escape.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let A = /* @__PURE__ */Primitive_exceptions.create("Test_exception_escape.N.A"); diff --git a/tests/tests/src/test_for_loop.mjs b/tests/tests/src/test_for_loop.mjs index b82b3d3f73..d59646e6ad 100644 --- a/tests/tests/src/test_for_loop.mjs +++ b/tests/tests/src/test_for_loop.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function for_(x) { for (let i = 0, i_finish = (console.log("hi"), x.length); i <= i_finish; ++i) { diff --git a/tests/tests/src/test_for_map.mjs b/tests/tests/src/test_for_map.mjs index c7be3125a9..db7685818f 100644 --- a/tests/tests/src/test_for_map.mjs +++ b/tests/tests/src/test_for_map.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; function assertion_test() { let m; diff --git a/tests/tests/src/test_for_map2.mjs b/tests/tests/src/test_for_map2.mjs index 808c7ffb30..652f4d934c 100644 --- a/tests/tests/src/test_for_map2.mjs +++ b/tests/tests/src/test_for_map2.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; function assertion_test() { let m; diff --git a/tests/tests/src/test_functor_dead_code.mjs b/tests/tests/src/test_functor_dead_code.mjs index d17315e1d1..7649d0f8a2 100644 --- a/tests/tests/src/test_functor_dead_code.mjs +++ b/tests/tests/src/test_functor_dead_code.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_MapString from "rescript/lib/es6/Belt_MapString.js"; +import * as Belt_MapString from "@rescript/runtime/lib/es6/Belt_MapString.js"; let v = Belt_MapString.isEmpty(undefined); diff --git a/tests/tests/src/test_google_closure.mjs b/tests/tests/src/test_google_closure.mjs index 9dea2a7626..f2282e8831 100644 --- a/tests/tests/src/test_google_closure.mjs +++ b/tests/tests/src/test_google_closure.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function f(a, b, param) { return a + b | 0; diff --git a/tests/tests/src/test_include.mjs b/tests/tests/src/test_include.mjs index 453e8f2a28..3e91e53aa2 100644 --- a/tests/tests/src/test_include.mjs +++ b/tests/tests/src/test_include.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; import * as Test_order from "./test_order.mjs"; function Make(U) { diff --git a/tests/tests/src/test_int_map_find.mjs b/tests/tests/src/test_int_map_find.mjs index 4418ec8f6f..df27a4fd23 100644 --- a/tests/tests/src/test_int_map_find.mjs +++ b/tests/tests/src/test_int_map_find.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_MapInt from "rescript/lib/es6/Belt_MapInt.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_MapInt from "@rescript/runtime/lib/es6/Belt_MapInt.js"; Belt_List.reduceReverse({ hd: [ diff --git a/tests/tests/src/test_list.mjs b/tests/tests/src/test_list.mjs index ef5979b0a7..3a1ba6406e 100644 --- a/tests/tests/src/test_list.mjs +++ b/tests/tests/src/test_list.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; function length_aux(_len, _x) { while (true) { diff --git a/tests/tests/src/test_literal.mjs b/tests/tests/src/test_literal.mjs index 3cf19ad48f..effc2ca698 100644 --- a/tests/tests/src/test_literal.mjs +++ b/tests/tests/src/test_literal.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Custom_inline = /* @__PURE__ */Primitive_exceptions.create("Test_literal.Custom_inline"); diff --git a/tests/tests/src/test_match_exception.mjs b/tests/tests/src/test_match_exception.mjs index 7c53a518f6..fa48df65f9 100644 --- a/tests/tests/src/test_match_exception.mjs +++ b/tests/tests/src/test_match_exception.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function f(g, x) { try { diff --git a/tests/tests/src/test_order.mjs b/tests/tests/src/test_order.mjs index 8e8f756279..c4c654db82 100644 --- a/tests/tests/src/test_order.mjs +++ b/tests/tests/src/test_order.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; let compare = Primitive_int.compare; diff --git a/tests/tests/src/test_per.mjs b/tests/tests/src/test_per.mjs index ace3fcb5a9..c459ff8515 100644 --- a/tests/tests/src/test_per.mjs +++ b/tests/tests/src/test_per.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function failwith(s) { throw { diff --git a/tests/tests/src/test_pervasive.mjs b/tests/tests/src/test_pervasive.mjs index 7d11ae6586..60e099145f 100644 --- a/tests/tests/src/test_pervasive.mjs +++ b/tests/tests/src/test_pervasive.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let Pervasives$1 = { length: Belt_List.length, diff --git a/tests/tests/src/test_pervasives3.mjs b/tests/tests/src/test_pervasives3.mjs index 8bf1d03542..4b25043597 100644 --- a/tests/tests/src/test_pervasives3.mjs +++ b/tests/tests/src/test_pervasives3.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; let Pervasives$1 = { failwith: Pervasives.failwith, diff --git a/tests/tests/src/test_primitive.mjs b/tests/tests/src/test_primitive.mjs index ee482e3817..79cc91f44c 100644 --- a/tests/tests/src/test_primitive.mjs +++ b/tests/tests/src/test_primitive.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Stdlib_Lazy from "rescript/lib/es6/Stdlib_Lazy.js"; +import * as Stdlib_Lazy from "@rescript/runtime/lib/es6/Stdlib_Lazy.js"; function a4(prim) { return [ diff --git a/tests/tests/src/test_seq.mjs b/tests/tests/src/test_seq.mjs index 574bfbfdd9..6f26a8d7ac 100644 --- a/tests/tests/src/test_seq.mjs +++ b/tests/tests/src/test_seq.mjs @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Bad = /* @__PURE__ */Primitive_exceptions.create("Test_seq.Bad"); diff --git a/tests/tests/src/test_set.mjs b/tests/tests/src/test_set.mjs index 7be82024e1..ff7d86b348 100644 --- a/tests/tests/src/test_set.mjs +++ b/tests/tests/src/test_set.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; function Make(Ord) { let height = x => { diff --git a/tests/tests/src/test_simple_include.mjs b/tests/tests/src/test_simple_include.mjs index 0d04e52126..b2a501e60b 100644 --- a/tests/tests/src/test_simple_include.mjs +++ b/tests/tests/src/test_simple_include.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let v = { contents: 32 diff --git a/tests/tests/src/test_static_catch_ident.mjs b/tests/tests/src/test_static_catch_ident.mjs index 53485171d9..5f6b3ff882 100644 --- a/tests/tests/src/test_static_catch_ident.mjs +++ b/tests/tests/src/test_static_catch_ident.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Scan_failure = /* @__PURE__ */Primitive_exceptions.create("Test_static_catch_ident.Scan_failure"); diff --git a/tests/tests/src/test_string_const.mjs b/tests/tests/src/test_string_const.mjs index e130e3b86f..b72cdead14 100644 --- a/tests/tests/src/test_string_const.mjs +++ b/tests/tests/src/test_string_const.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let f = "ghsogh".codePointAt(3); diff --git a/tests/tests/src/test_string_map.mjs b/tests/tests/src/test_string_map.mjs index 519403a178..4e12e2e33a 100644 --- a/tests/tests/src/test_string_map.mjs +++ b/tests/tests/src/test_string_map.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_MapString from "rescript/lib/es6/Belt_MapString.js"; +import * as Belt_MapString from "@rescript/runtime/lib/es6/Belt_MapString.js"; function timing(label, f) { console.time(label); diff --git a/tests/tests/src/test_trywith.mjs b/tests/tests/src/test_trywith.mjs index 0d1007a336..0552d17cd4 100644 --- a/tests/tests/src/test_trywith.mjs +++ b/tests/tests/src/test_trywith.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let Out_of_memory = /* @__PURE__ */Primitive_exceptions.create("Test_trywith.Out_of_memory"); diff --git a/tests/tests/src/test_unknown.mjs b/tests/tests/src/test_unknown.mjs index 5017d9c46e..64a3be8c61 100644 --- a/tests/tests/src/test_unknown.mjs +++ b/tests/tests/src/test_unknown.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function some(x) { return Primitive_option.some(x); diff --git a/tests/tests/src/test_while_closure.mjs b/tests/tests/src/test_while_closure.mjs index 088597f023..d1c475a0c4 100644 --- a/tests/tests/src/test_while_closure.mjs +++ b/tests/tests/src/test_while_closure.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; let v = { contents: 0 diff --git a/tests/tests/src/test_zero_nullable.mjs b/tests/tests/src/test_zero_nullable.mjs index 1cf2904609..f3aa58abbe 100644 --- a/tests/tests/src/test_zero_nullable.mjs +++ b/tests/tests/src/test_zero_nullable.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/ticker.mjs b/tests/tests/src/ticker.mjs index aa5dd34648..f1c5c7dee0 100644 --- a/tests/tests/src/ticker.mjs +++ b/tests/tests/src/ticker.mjs @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Float from "rescript/lib/es6/Belt_Float.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; -import * as Primitive_int from "rescript/lib/es6/Primitive_int.js"; -import * as Belt_MapString from "rescript/lib/es6/Belt_MapString.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Float from "@rescript/runtime/lib/es6/Belt_Float.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; +import * as Primitive_int from "@rescript/runtime/lib/es6/Primitive_int.js"; +import * as Belt_MapString from "@rescript/runtime/lib/es6/Belt_MapString.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function split(delim, s) { let len = s.length; diff --git a/tests/tests/src/to_string_test.mjs b/tests/tests/src/to_string_test.mjs index 2e07742d41..e108a9f359 100644 --- a/tests/tests/src/to_string_test.mjs +++ b/tests/tests/src/to_string_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; function ff(v) { return v.toString(); diff --git a/tests/tests/src/topsort_test.mjs b/tests/tests/src/topsort_test.mjs index 017e284e7c..d9aee7b38b 100644 --- a/tests/tests/src/topsort_test.mjs +++ b/tests/tests/src/topsort_test.mjs @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; -import * as Belt_SetString from "rescript/lib/es6/Belt_SetString.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; +import * as Belt_SetString from "@rescript/runtime/lib/es6/Belt_SetString.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; let graph = { hd: [ diff --git a/tests/tests/src/typeof_test.mjs b/tests/tests/src/typeof_test.mjs index f65c6cc482..69f6c723cb 100644 --- a/tests/tests/src/typeof_test.mjs +++ b/tests/tests/src/typeof_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Js_types from "rescript/lib/es6/Js_types.js"; +import * as Js_types from "@rescript/runtime/lib/es6/Js_types.js"; function string_or_number(x) { let ty = Js_types.classify(x); diff --git a/tests/tests/src/unboxed_use_case.mjs b/tests/tests/src/unboxed_use_case.mjs index 600487961e..48112dcf12 100644 --- a/tests/tests/src/unboxed_use_case.mjs +++ b/tests/tests/src/unboxed_use_case.mjs @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function map_pair(r, param) { return [ diff --git a/tests/tests/src/uncurried_cast.mjs b/tests/tests/src/uncurried_cast.mjs index 9120570a74..0c7eb8fa31 100644 --- a/tests/tests/src/uncurried_cast.mjs +++ b/tests/tests/src/uncurried_cast.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function raise(e) { throw e; diff --git a/tests/tests/src/unit_undefined_test.mjs b/tests/tests/src/unit_undefined_test.mjs index c7751f3612..8f9ac84de5 100644 --- a/tests/tests/src/unit_undefined_test.mjs +++ b/tests/tests/src/unit_undefined_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; let suites = { contents: /* [] */0 diff --git a/tests/tests/src/unsafe_ppx_test.mjs b/tests/tests/src/unsafe_ppx_test.mjs index 803e1b9f97..a41f6489ac 100644 --- a/tests/tests/src/unsafe_ppx_test.mjs +++ b/tests/tests/src/unsafe_ppx_test.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE import * as Mt from "./mt.mjs"; -import * as Pervasives from "rescript/lib/es6/Pervasives.js"; +import * as Pervasives from "@rescript/runtime/lib/es6/Pervasives.js"; import * as Ffi_js_test from "./ffi_js_test.mjs"; let x = "\\x01\\x02\\x03"; diff --git a/tests/tests/src/variant.mjs b/tests/tests/src/variant.mjs index 4d745530c0..268fb239b2 100644 --- a/tests/tests/src/variant.mjs +++ b/tests/tests/src/variant.mjs @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; -import * as Primitive_exceptions from "rescript/lib/es6/Primitive_exceptions.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; +import * as Primitive_exceptions from "@rescript/runtime/lib/es6/Primitive_exceptions.js"; function foo(x) { if (typeof x !== "object") { diff --git a/tests/tests/src/webpack_config.mjs b/tests/tests/src/webpack_config.mjs index 06526bbafc..75d0f4ab2b 100644 --- a/tests/tests/src/webpack_config.mjs +++ b/tests/tests/src/webpack_config.mjs @@ -4,7 +4,7 @@ import * as List from "List"; import * as List$1 from "reactV"; import * as List$2 from "reactX"; import * as Local from "./local"; -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; import * as WebpackConfigJs from "../../../webpack.config.js"; import * as WebpackMiddlewareConfigJs from "../../../webpack.middleware.config.js"; diff --git a/yarn.lock b/yarn.lock index 42bb10ca92..2d29c4a656 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2489,6 +2489,7 @@ __metadata: "@rescript/darwin-x64": "workspace:packages/@rescript/darwin-x64" "@rescript/linux-arm64": "workspace:packages/@rescript/linux-arm64" "@rescript/linux-x64": "workspace:packages/@rescript/linux-x64" + "@rescript/runtime": "workspace:packages/@rescript/runtime" "@rescript/win32-x64": "workspace:packages/@rescript/win32-x64" "@types/node": "npm:^20.14.9" "@yarnpkg/types": "npm:^4.0.1" From 90e1ef8c5f9bc0214c14d43d60994d27cab97f06 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 16:29:54 +0900 Subject: [PATCH 05/13] fix ci --- .github/workflows/ci.yml | 8 ++++++-- Makefile | 2 +- packages/@rescript/runtime/package.json | 5 +++-- scripts/buildRuntime.sh | 13 ------------- scripts/buildRuntimeRewatch.sh | 13 ------------- 5 files changed, 10 insertions(+), 31 deletions(-) delete mode 100755 scripts/buildRuntime.sh delete mode 100755 scripts/buildRuntimeRewatch.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a6dc28189..5bf5d3ba51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -326,12 +326,16 @@ jobs: - name: Build runtime/stdlib with rewatch if: ${{ runner.os != 'Windows' }} - run: ./scripts/buildRuntimeRewatch.sh + run: | + yarn workspace @rescript/runtime clean:rewatch + yarn workspace @rescript/runtime build:rewatch shell: bash - name: Build runtime/stdlib with bsb (Windows) if: ${{ runner.os == 'Windows' }} - run: ./scripts/buildRuntime.sh + run: | + yarn workspace @rescript/runtime clean:bsb + yarn workspace @rescript/runtime build:bsb shell: bash - name: Check for changes in lib folder diff --git a/Makefile b/Makefile index a3c1769953..ab5bd63ef2 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ clean-rewatch: cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch clean: - yarn workspace @rescript/runtime clean + yarn workspace @rescript/runtime clean:rewatch dune clean clean-all: clean clean-gentype clean-rewatch diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json index e709f5345a..f9fdb946d6 100644 --- a/packages/@rescript/runtime/package.json +++ b/packages/@rescript/runtime/package.json @@ -22,9 +22,10 @@ "./package.json": "./package.json" }, "scripts": { + "clean:rewatch": "rewatch clean", "build:rewatch": "rewatch build", - "build:bsb": "rescript build", - "clean": "rewatch clean" + "clean:bsb": "rescript clean", + "build:bsb": "rescript build" }, "devDependencies": { "rescript": "workspace:^" diff --git a/scripts/buildRuntime.sh b/scripts/buildRuntime.sh deleted file mode 100755 index 42ace88baf..0000000000 --- a/scripts/buildRuntime.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e -shopt -s extglob - -(cd runtime && ../cli/rescript.js clean && ../cli/rescript.js build) - -rm -f lib/es6/*.js lib/js/*.js lib/ocaml/* -mkdir -p lib/es6 lib/js lib/ocaml - -cp runtime/lib/es6/*.js lib/es6 -cp runtime/lib/js/*.js lib/js -cp runtime/lib/bs/*.@(cmi|cmj|cmt|cmti) lib/ocaml/ -cp runtime/*.@(res|resi) lib/ocaml/ diff --git a/scripts/buildRuntimeRewatch.sh b/scripts/buildRuntimeRewatch.sh deleted file mode 100755 index bb8d97fc56..0000000000 --- a/scripts/buildRuntimeRewatch.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -set -e -shopt -s extglob - -(cd runtime && ../cli/rewatch.js clean && ../cli/rewatch.js build) - -rm -f lib/es6/*.js lib/js/*.js lib/ocaml/* -mkdir -p lib/es6 lib/js lib/ocaml - -cp runtime/lib/es6/*.js lib/es6 -cp runtime/lib/js/*.js lib/js -cp runtime/lib/bs/*.@(cmi|cmj|cmt|cmti) lib/ocaml/ -cp runtime/*.@(res|resi) lib/ocaml/ From 254f60e8ff34fdafb8d5c20641e238c53c974561 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 18:47:58 +0900 Subject: [PATCH 06/13] clean-lib-bsb --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ab5bd63ef2..b2ec5a7e66 100644 --- a/Makefile +++ b/Makefile @@ -93,8 +93,13 @@ clean-gentype: clean-rewatch: cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch -clean: +clean-lib: yarn workspace @rescript/runtime clean:rewatch + +clean-lib-bsb: + yarn workspace @rescript/runtime clean:bsb + +clean: clean-lib dune clean clean-all: clean clean-gentype clean-rewatch From 8d4874a462899c64a1676000918548fcc9937899 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 18:49:46 +0900 Subject: [PATCH 07/13] yarn constraints --fix --- packages/@rescript/runtime/package.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json index f9fdb946d6..84a134f92d 100644 --- a/packages/@rescript/runtime/package.json +++ b/packages/@rescript/runtime/package.json @@ -3,10 +3,29 @@ "version": "12.0.0-alpha.13", "description": "ReScript runtime modules", "type": "module", + "homepage": "https://rescript-lang.org", + "bugs": "https://github.com/rescript-lang/rescript/issues", "repository": { "type": "git", "url": "git+https://github.com/rescript-lang/rescript.git" }, + "author": { + "name": "Hongbo Zhang", + "email": "bobzhang1988@gmail.com" + }, + "maintainers": [ + "Christoph Knittel (https://github.com/cknitt)", + "Cristiano Calcagno (https://github.com/cristianoc)", + "Dmitry Zakharov (https://github.com/DZakh)", + "Florian Hammerschmidt (https://github.com/fhammerschmidt)", + "Gabriel Nordeborn (https://github.com/zth)", + "Hyeseong Kim (https://github.com/cometkim)", + "Jaap Frolich (https://github.com/jfrolich)", + "Matthias Le Brun (https://github.com/bloodyowl)", + "Patrick Ecker (https://github.com/ryyppy)", + "Paul Tsnobiladzé (https://github.com/tsnobip)", + "Woonki Moon (https://github.com/mununki)" + ], "publishConfig": { "access": "public" }, From 20f2060651bfb82eefe1fb1a9fe4f2d35c4fb0ca Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:03:50 +0900 Subject: [PATCH 08/13] move cppo script --- .../runtime/cppo/internal_map.res.cppo | 2 +- .../runtime/cppo/internal_set.res.cppo | 2 +- packages/@rescript/runtime/cppo/map.resi.cppo | 19 +++++++- packages/@rescript/runtime/package.json | 3 +- packages/@rescript/runtime/scripts/cppo.js | 48 +++++++++++++++++++ scripts/cppo.js | 46 ------------------ 6 files changed, 69 insertions(+), 51 deletions(-) create mode 100644 packages/@rescript/runtime/scripts/cppo.js delete mode 100644 scripts/cppo.js diff --git a/packages/@rescript/runtime/cppo/internal_map.res.cppo b/packages/@rescript/runtime/cppo/internal_map.res.cppo index 407d3c5c16..6e44c22850 100644 --- a/packages/@rescript/runtime/cppo/internal_map.res.cppo +++ b/packages/@rescript/runtime/cppo/internal_map.res.cppo @@ -71,7 +71,7 @@ let rec getUndefined = (n, x: key) => let rec getExn = (n, x: key) => switch n { - | None => raise(Not_found) + | None => throw(Not_found) | Some(n) => let v = n.N.key if x == v { diff --git a/packages/@rescript/runtime/cppo/internal_set.res.cppo b/packages/@rescript/runtime/cppo/internal_set.res.cppo index 944ec29159..e517b7da65 100644 --- a/packages/@rescript/runtime/cppo/internal_set.res.cppo +++ b/packages/@rescript/runtime/cppo/internal_set.res.cppo @@ -113,7 +113,7 @@ let rec getUndefined = (n: t, x: value) => let rec getExn = (n: t, x: value) => switch n { - | None => raise(Not_found) + | None => throw(Not_found) | Some(t) => let v = t.value if x == v { diff --git a/packages/@rescript/runtime/cppo/map.resi.cppo b/packages/@rescript/runtime/cppo/map.resi.cppo index e82b18c0eb..8bc4d81eba 100644 --- a/packages/@rescript/runtime/cppo/map.resi.cppo +++ b/packages/@rescript/runtime/cppo/map.resi.cppo @@ -36,9 +36,24 @@ let findFirstByU: (t<'v>, (key, 'v) => bool) => option<(key, 'v)> `findFirstBy(m, p)` uses funcion `f` to find the first key value pair to match predicate `p`. +## Examples + ```rescript -let s0 = fromArray(~id=module(IntCmp), [(4, "4"), (1, "1"), (2, "2,"(3, ""))]) -findFirstBy(s0, (k, v) => k == 4) == option((4, "4")) +#ifdef TYPE_STRING +let mapString = Belt.Map.String.fromArray([("1", "one"), ("2", "two"), ("3", "three")]) + +mapString-> +Belt.Map.String.findFirstBy((k, v) => k == "1" && v == "one") +->assertEqual(Some("1", "one")) +#elif defined TYPE_INT +let mapInt = Belt.Map.Int.fromArray([(1, "one"), (2, "two"), (3, "three")]) + +mapInt-> +Belt.Map.Int.findFirstBy((k, v) => k == 1 && v == "one") +->assertEqual(Some(1, "one")) +#else +[%error "unknown type"] +#endif ``` */ let findFirstBy: (t<'v>, (key, 'v) => bool) => option<(key, 'v)> diff --git a/packages/@rescript/runtime/package.json b/packages/@rescript/runtime/package.json index 84a134f92d..9c47686ab8 100644 --- a/packages/@rescript/runtime/package.json +++ b/packages/@rescript/runtime/package.json @@ -44,7 +44,8 @@ "clean:rewatch": "rewatch clean", "build:rewatch": "rewatch build", "clean:bsb": "rescript clean", - "build:bsb": "rescript build" + "build:bsb": "rescript build", + "cppo": "node scripts/cppo.js" }, "devDependencies": { "rescript": "workspace:^" diff --git a/packages/@rescript/runtime/scripts/cppo.js b/packages/@rescript/runtime/scripts/cppo.js new file mode 100644 index 0000000000..06fcab322f --- /dev/null +++ b/packages/@rescript/runtime/scripts/cppo.js @@ -0,0 +1,48 @@ +// @ts-check + +import * as path from "node:path"; +import { execFileSync } from "node:child_process"; + +const targets = [ + ["Belt_HashSetString.res", "hashset.res.cppo", "TYPE_STRING"], + ["Belt_HashSetString.resi", "hashset.resi.cppo", "TYPE_STRING"], + ["Belt_HashSetInt.res", "hashset.res.cppo", "TYPE_INT"], + ["Belt_HashSetInt.resi", "hashset.resi.cppo", "TYPE_INT"], + ["Belt_HashMapString.res", "hashmap.res.cppo", "TYPE_STRING"], + ["Belt_HashMapString.resi", "hashmap.resi.cppo", "TYPE_STRING"], + ["Belt_HashMapInt.res", "hashmap.res.cppo", "TYPE_INT"], + ["Belt_HashMapInt.resi", "hashmap.resi.cppo", "TYPE_INT"], + ["Belt_MapString.res", "map.res.cppo", "TYPE_STRING"], + ["Belt_MapString.resi", "map.resi.cppo", "TYPE_STRING"], + ["Belt_MapInt.res", "map.res.cppo", "TYPE_INT"], + ["Belt_MapInt.resi", "map.resi.cppo", "TYPE_INT"], + ["Belt_SetString.res", "belt_Set.res.cppo", "TYPE_STRING"], + ["Belt_SetString.resi", "belt_Set.resi.cppo", "TYPE_STRING"], + ["Belt_SetInt.res", "belt_Set.res.cppo", "TYPE_INT"], + ["Belt_SetInt.resi", "belt_Set.resi.cppo", "TYPE_INT"], + ["Belt_MutableMapString.res", "mapm.res.cppo", "TYPE_STRING"], + ["Belt_MutableMapString.resi", "mapm.resi.cppo", "TYPE_STRING"], + ["Belt_MutableMapInt.res", "mapm.res.cppo", "TYPE_INT"], + ["Belt_MutableMapInt.resi", "mapm.resi.cppo", "TYPE_INT"], + ["Belt_MutableSetString.res", "setm.res.cppo", "TYPE_STRING"], + ["Belt_MutableSetString.resi", "setm.resi.cppo", "TYPE_STRING"], + ["Belt_MutableSetInt.res", "setm.res.cppo", "TYPE_INT"], + ["Belt_MutableSetInt.resi", "setm.resi.cppo", "TYPE_INT"], + ["Belt_SortArrayString.res", "sort.res.cppo", "TYPE_STRING"], + ["Belt_SortArrayString.resi", "sort.resi.cppo", "TYPE_STRING"], + ["Belt_SortArrayInt.res", "sort.res.cppo", "TYPE_INT"], + ["Belt_SortArrayInt.resi", "sort.resi.cppo", "TYPE_INT"], + ["Belt_internalMapString.res", "internal_map.res.cppo", "TYPE_STRING"], + ["Belt_internalMapInt.res", "internal_map.res.cppo", "TYPE_INT"], + ["Belt_internalSetString.res", "internal_set.res.cppo", "TYPE_STRING"], + ["Belt_internalSetInt.res", "internal_set.res.cppo", "TYPE_INT"], +]; + +const runtimePath = path.join(import.meta.dirname, ".."); +for (const [output, input, type] of targets) { + const inputPath = path.join(runtimePath, "cppo", input); + const outputPath = path.join(runtimePath, output); + execFileSync("cppo", ["-n", "-D", type, inputPath, "-o", outputPath], { + stdio: "inherit", + }); +} diff --git a/scripts/cppo.js b/scripts/cppo.js deleted file mode 100644 index 6bd9b43144..0000000000 --- a/scripts/cppo.js +++ /dev/null @@ -1,46 +0,0 @@ -// @ts-check - -import { execFileSync } from "node:child_process"; - -const targets = [ - ["belt_HashSetString.res", "hashset.res.cppo", "TYPE_STRING"], - ["belt_HashSetString.resi", "hashset.resi.cppo", "TYPE_STRING"], - ["belt_HashSetInt.res", "hashset.res.cppo", "TYPE_INT"], - ["belt_HashSetInt.resi", "hashset.resi.cppo", "TYPE_INT"], - ["belt_HashMapString.res", "hashmap.res.cppo", "TYPE_STRING"], - ["belt_HashMapString.resi", "hashmap.resi.cppo", "TYPE_STRING"], - ["belt_HashMapInt.res", "hashmap.res.cppo", "TYPE_INT"], - ["belt_HashMapInt.resi", "hashmap.resi.cppo", "TYPE_INT"], - ["belt_MapString.res", "map.res.cppo", "TYPE_STRING"], - ["belt_MapString.resi", "map.resi.cppo", "TYPE_STRING"], - ["belt_MapInt.res", "map.res.cppo", "TYPE_INT"], - ["belt_MapInt.resi", "map.resi.cppo", "TYPE_INT"], - ["belt_SetString.res", "belt_Set.res.cppo", "TYPE_STRING"], - ["belt_SetString.resi", "belt_Set.resi.cppo", "TYPE_STRING"], - ["belt_SetInt.res", "belt_Set.res.cppo", "TYPE_INT"], - ["belt_SetInt.resi", "belt_Set.resi.cppo", "TYPE_INT"], - ["belt_MutableMapString.res", "mapm.res.cppo", "TYPE_STRING"], - ["belt_MutableMapString.resi", "mapm.resi.cppo", "TYPE_STRING"], - ["belt_MutableMapInt.res", "mapm.res.cppo", "TYPE_INT"], - ["belt_MutableMapInt.resi", "mapm.resi.cppo", "TYPE_INT"], - ["belt_MutableSetString.res", "setm.res.cppo", "TYPE_STRING"], - ["belt_MutableSetString.resi", "setm.resi.cppo", "TYPE_STRING"], - ["belt_MutableSetInt.res", "setm.res.cppo", "TYPE_INT"], - ["belt_MutableSetInt.resi", "setm.resi.cppo", "TYPE_INT"], - ["belt_SortArrayString.res", "sort.res.cppo", "TYPE_STRING"], - ["belt_SortArrayString.resi", "sort.resi.cppo", "TYPE_STRING"], - ["belt_SortArrayInt.res", "sort.res.cppo", "TYPE_INT"], - ["belt_SortArrayInt.resi", "sort.resi.cppo", "TYPE_INT"], - ["belt_internalMapString.res", "internal_map.res.cppo", "TYPE_STRING"], - ["belt_internalMapInt.res", "internal_map.res.cppo", "TYPE_INT"], - ["belt_internalSetString.res", "internal_set.res.cppo", "TYPE_STRING"], - ["belt_internalSetInt.res", "internal_set.res.cppo", "TYPE_INT"], -]; - -for (const [output, input, type] of targets) { - execFileSync( - "cppo", - ["-n", "-D", type, `runtime/cppo/${input}`, "-o", `runtime/${output}`], - { stdio: "inherit" }, - ); -} From 400ab4d2219841aa17c022a8b3435f7d51724d0e Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:14:19 +0900 Subject: [PATCH 09/13] fix a diff script in ci workflow --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bf5d3ba51..2dee428a12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -340,6 +340,7 @@ jobs: - name: Check for changes in lib folder run: git diff --exit-code lib/js lib/es6 + working-directory: packages/@rescript/runtime - name: Version Check run: yarn constraints From b1e203abb38c17e93f8a5bd3b7293aa16c49a57d Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:14:50 +0900 Subject: [PATCH 10/13] update artifacts --- packages/artifacts.txt | 1215 +--------------------------------------- 1 file changed, 1 insertion(+), 1214 deletions(-) diff --git a/packages/artifacts.txt b/packages/artifacts.txt index c7f9d8eeca..230998a768 100644 --- a/packages/artifacts.txt +++ b/packages/artifacts.txt @@ -9,1225 +9,12 @@ cli/bstracing.js cli/common/args.js cli/common/bins.js cli/common/bsb.js +cli/common/minisocket.js cli/rescript-tools.js cli/rescript.js cli/rescript/dump.js cli/rescript/format.js cli/rewatch.js docs/docson/build-schema.json -lib/es6/Belt.js -lib/es6/Belt_Array.js -lib/es6/Belt_Float.js -lib/es6/Belt_HashMap.js -lib/es6/Belt_HashMapInt.js -lib/es6/Belt_HashMapString.js -lib/es6/Belt_HashSet.js -lib/es6/Belt_HashSetInt.js -lib/es6/Belt_HashSetString.js -lib/es6/Belt_Id.js -lib/es6/Belt_Int.js -lib/es6/Belt_List.js -lib/es6/Belt_Map.js -lib/es6/Belt_MapDict.js -lib/es6/Belt_MapInt.js -lib/es6/Belt_MapString.js -lib/es6/Belt_MutableMap.js -lib/es6/Belt_MutableMapInt.js -lib/es6/Belt_MutableMapString.js -lib/es6/Belt_MutableQueue.js -lib/es6/Belt_MutableSet.js -lib/es6/Belt_MutableSetInt.js -lib/es6/Belt_MutableSetString.js -lib/es6/Belt_MutableStack.js -lib/es6/Belt_Option.js -lib/es6/Belt_Range.js -lib/es6/Belt_Result.js -lib/es6/Belt_Set.js -lib/es6/Belt_SetDict.js -lib/es6/Belt_SetInt.js -lib/es6/Belt_SetString.js -lib/es6/Belt_SortArray.js -lib/es6/Belt_SortArrayInt.js -lib/es6/Belt_SortArrayString.js -lib/es6/Belt_internalAVLset.js -lib/es6/Belt_internalAVLtree.js -lib/es6/Belt_internalBuckets.js -lib/es6/Belt_internalBucketsType.js -lib/es6/Belt_internalMapInt.js -lib/es6/Belt_internalMapString.js -lib/es6/Belt_internalSetBuckets.js -lib/es6/Belt_internalSetInt.js -lib/es6/Belt_internalSetString.js -lib/es6/Char.js -lib/es6/Dom.js -lib/es6/Dom_storage.js -lib/es6/Dom_storage2.js -lib/es6/Js.js -lib/es6/Js_OO.js -lib/es6/Js_array.js -lib/es6/Js_array2.js -lib/es6/Js_bigint.js -lib/es6/Js_blob.js -lib/es6/Js_console.js -lib/es6/Js_date.js -lib/es6/Js_dict.js -lib/es6/Js_extern.js -lib/es6/Js_file.js -lib/es6/Js_float.js -lib/es6/Js_global.js -lib/es6/Js_int.js -lib/es6/Js_json.js -lib/es6/Js_map.js -lib/es6/Js_math.js -lib/es6/Js_null.js -lib/es6/Js_null_undefined.js -lib/es6/Js_obj.js -lib/es6/Js_option.js -lib/es6/Js_promise.js -lib/es6/Js_promise2.js -lib/es6/Js_re.js -lib/es6/Js_result.js -lib/es6/Js_set.js -lib/es6/Js_string.js -lib/es6/Js_string2.js -lib/es6/Js_typed_array.js -lib/es6/Js_typed_array2.js -lib/es6/Js_types.js -lib/es6/Js_undefined.js -lib/es6/Js_weakmap.js -lib/es6/Js_weakset.js -lib/es6/Jsx.js -lib/es6/JsxDOM.js -lib/es6/JsxDOMStyle.js -lib/es6/JsxEvent.js -lib/es6/Obj.js -lib/es6/Pervasives.js -lib/es6/Primitive_array.js -lib/es6/Primitive_array_extern.js -lib/es6/Primitive_bigint.js -lib/es6/Primitive_bool.js -lib/es6/Primitive_char_extern.js -lib/es6/Primitive_curry.js -lib/es6/Primitive_dict.js -lib/es6/Primitive_exceptions.js -lib/es6/Primitive_float.js -lib/es6/Primitive_float_extern.js -lib/es6/Primitive_hash.js -lib/es6/Primitive_int.js -lib/es6/Primitive_int_extern.js -lib/es6/Primitive_js_extern.js -lib/es6/Primitive_lazy.js -lib/es6/Primitive_module.js -lib/es6/Primitive_object.js -lib/es6/Primitive_object_extern.js -lib/es6/Primitive_option.js -lib/es6/Primitive_promise.js -lib/es6/Primitive_string.js -lib/es6/Primitive_string_extern.js -lib/es6/Primitive_util.js -lib/es6/RescriptTools.js -lib/es6/RescriptTools_Docgen.js -lib/es6/Stdlib.js -lib/es6/Stdlib_Array.js -lib/es6/Stdlib_ArrayBuffer.js -lib/es6/Stdlib_AsyncIterator.js -lib/es6/Stdlib_BigInt.js -lib/es6/Stdlib_BigInt64Array.js -lib/es6/Stdlib_BigUint64Array.js -lib/es6/Stdlib_Bool.js -lib/es6/Stdlib_Console.js -lib/es6/Stdlib_DataView.js -lib/es6/Stdlib_Date.js -lib/es6/Stdlib_Dict.js -lib/es6/Stdlib_Error.js -lib/es6/Stdlib_Exn.js -lib/es6/Stdlib_Float.js -lib/es6/Stdlib_Float32Array.js -lib/es6/Stdlib_Float64Array.js -lib/es6/Stdlib_Global.js -lib/es6/Stdlib_Int.js -lib/es6/Stdlib_Int16Array.js -lib/es6/Stdlib_Int32Array.js -lib/es6/Stdlib_Int8Array.js -lib/es6/Stdlib_Intl.js -lib/es6/Stdlib_Intl_Collator.js -lib/es6/Stdlib_Intl_Common.js -lib/es6/Stdlib_Intl_DateTimeFormat.js -lib/es6/Stdlib_Intl_ListFormat.js -lib/es6/Stdlib_Intl_Locale.js -lib/es6/Stdlib_Intl_NumberFormat.js -lib/es6/Stdlib_Intl_NumberFormat_Grouping.js -lib/es6/Stdlib_Intl_PluralRules.js -lib/es6/Stdlib_Intl_RelativeTimeFormat.js -lib/es6/Stdlib_Intl_Segmenter.js -lib/es6/Stdlib_Intl_Segments.js -lib/es6/Stdlib_Iterator.js -lib/es6/Stdlib_JSON.js -lib/es6/Stdlib_JsError.js -lib/es6/Stdlib_JsExn.js -lib/es6/Stdlib_Lazy.js -lib/es6/Stdlib_List.js -lib/es6/Stdlib_Map.js -lib/es6/Stdlib_Math.js -lib/es6/Stdlib_Null.js -lib/es6/Stdlib_Nullable.js -lib/es6/Stdlib_Object.js -lib/es6/Stdlib_Option.js -lib/es6/Stdlib_Ordering.js -lib/es6/Stdlib_Pair.js -lib/es6/Stdlib_Promise.js -lib/es6/Stdlib_RegExp.js -lib/es6/Stdlib_Result.js -lib/es6/Stdlib_Set.js -lib/es6/Stdlib_String.js -lib/es6/Stdlib_Symbol.js -lib/es6/Stdlib_Type.js -lib/es6/Stdlib_TypedArray.js -lib/es6/Stdlib_Uint16Array.js -lib/es6/Stdlib_Uint32Array.js -lib/es6/Stdlib_Uint8Array.js -lib/es6/Stdlib_Uint8ClampedArray.js -lib/es6/Stdlib_WeakMap.js -lib/es6/Stdlib_WeakSet.js -lib/es6/package.json -lib/js/Belt.js -lib/js/Belt_Array.js -lib/js/Belt_Float.js -lib/js/Belt_HashMap.js -lib/js/Belt_HashMapInt.js -lib/js/Belt_HashMapString.js -lib/js/Belt_HashSet.js -lib/js/Belt_HashSetInt.js -lib/js/Belt_HashSetString.js -lib/js/Belt_Id.js -lib/js/Belt_Int.js -lib/js/Belt_List.js -lib/js/Belt_Map.js -lib/js/Belt_MapDict.js -lib/js/Belt_MapInt.js -lib/js/Belt_MapString.js -lib/js/Belt_MutableMap.js -lib/js/Belt_MutableMapInt.js -lib/js/Belt_MutableMapString.js -lib/js/Belt_MutableQueue.js -lib/js/Belt_MutableSet.js -lib/js/Belt_MutableSetInt.js -lib/js/Belt_MutableSetString.js -lib/js/Belt_MutableStack.js -lib/js/Belt_Option.js -lib/js/Belt_Range.js -lib/js/Belt_Result.js -lib/js/Belt_Set.js -lib/js/Belt_SetDict.js -lib/js/Belt_SetInt.js -lib/js/Belt_SetString.js -lib/js/Belt_SortArray.js -lib/js/Belt_SortArrayInt.js -lib/js/Belt_SortArrayString.js -lib/js/Belt_internalAVLset.js -lib/js/Belt_internalAVLtree.js -lib/js/Belt_internalBuckets.js -lib/js/Belt_internalBucketsType.js -lib/js/Belt_internalMapInt.js -lib/js/Belt_internalMapString.js -lib/js/Belt_internalSetBuckets.js -lib/js/Belt_internalSetInt.js -lib/js/Belt_internalSetString.js -lib/js/Char.js -lib/js/Dom.js -lib/js/Dom_storage.js -lib/js/Dom_storage2.js -lib/js/Js.js -lib/js/Js_OO.js -lib/js/Js_array.js -lib/js/Js_array2.js -lib/js/Js_bigint.js -lib/js/Js_blob.js -lib/js/Js_console.js -lib/js/Js_date.js -lib/js/Js_dict.js -lib/js/Js_extern.js -lib/js/Js_file.js -lib/js/Js_float.js -lib/js/Js_global.js -lib/js/Js_int.js -lib/js/Js_json.js -lib/js/Js_map.js -lib/js/Js_math.js -lib/js/Js_null.js -lib/js/Js_null_undefined.js -lib/js/Js_obj.js -lib/js/Js_option.js -lib/js/Js_promise.js -lib/js/Js_promise2.js -lib/js/Js_re.js -lib/js/Js_result.js -lib/js/Js_set.js -lib/js/Js_string.js -lib/js/Js_string2.js -lib/js/Js_typed_array.js -lib/js/Js_typed_array2.js -lib/js/Js_types.js -lib/js/Js_undefined.js -lib/js/Js_weakmap.js -lib/js/Js_weakset.js -lib/js/Jsx.js -lib/js/JsxDOM.js -lib/js/JsxDOMStyle.js -lib/js/JsxEvent.js -lib/js/Obj.js -lib/js/Pervasives.js -lib/js/Primitive_array.js -lib/js/Primitive_array_extern.js -lib/js/Primitive_bigint.js -lib/js/Primitive_bool.js -lib/js/Primitive_char_extern.js -lib/js/Primitive_curry.js -lib/js/Primitive_dict.js -lib/js/Primitive_exceptions.js -lib/js/Primitive_float.js -lib/js/Primitive_float_extern.js -lib/js/Primitive_hash.js -lib/js/Primitive_int.js -lib/js/Primitive_int_extern.js -lib/js/Primitive_js_extern.js -lib/js/Primitive_lazy.js -lib/js/Primitive_module.js -lib/js/Primitive_object.js -lib/js/Primitive_object_extern.js -lib/js/Primitive_option.js -lib/js/Primitive_promise.js -lib/js/Primitive_string.js -lib/js/Primitive_string_extern.js -lib/js/Primitive_util.js -lib/js/RescriptTools.js -lib/js/RescriptTools_Docgen.js -lib/js/Stdlib.js -lib/js/Stdlib_Array.js -lib/js/Stdlib_ArrayBuffer.js -lib/js/Stdlib_AsyncIterator.js -lib/js/Stdlib_BigInt.js -lib/js/Stdlib_BigInt64Array.js -lib/js/Stdlib_BigUint64Array.js -lib/js/Stdlib_Bool.js -lib/js/Stdlib_Console.js -lib/js/Stdlib_DataView.js -lib/js/Stdlib_Date.js -lib/js/Stdlib_Dict.js -lib/js/Stdlib_Error.js -lib/js/Stdlib_Exn.js -lib/js/Stdlib_Float.js -lib/js/Stdlib_Float32Array.js -lib/js/Stdlib_Float64Array.js -lib/js/Stdlib_Global.js -lib/js/Stdlib_Int.js -lib/js/Stdlib_Int16Array.js -lib/js/Stdlib_Int32Array.js -lib/js/Stdlib_Int8Array.js -lib/js/Stdlib_Intl.js -lib/js/Stdlib_Intl_Collator.js -lib/js/Stdlib_Intl_Common.js -lib/js/Stdlib_Intl_DateTimeFormat.js -lib/js/Stdlib_Intl_ListFormat.js -lib/js/Stdlib_Intl_Locale.js -lib/js/Stdlib_Intl_NumberFormat.js -lib/js/Stdlib_Intl_NumberFormat_Grouping.js -lib/js/Stdlib_Intl_PluralRules.js -lib/js/Stdlib_Intl_RelativeTimeFormat.js -lib/js/Stdlib_Intl_Segmenter.js -lib/js/Stdlib_Intl_Segments.js -lib/js/Stdlib_Iterator.js -lib/js/Stdlib_JSON.js -lib/js/Stdlib_JsError.js -lib/js/Stdlib_JsExn.js -lib/js/Stdlib_Lazy.js -lib/js/Stdlib_List.js -lib/js/Stdlib_Map.js -lib/js/Stdlib_Math.js -lib/js/Stdlib_Null.js -lib/js/Stdlib_Nullable.js -lib/js/Stdlib_Object.js -lib/js/Stdlib_Option.js -lib/js/Stdlib_Ordering.js -lib/js/Stdlib_Pair.js -lib/js/Stdlib_Promise.js -lib/js/Stdlib_RegExp.js -lib/js/Stdlib_Result.js -lib/js/Stdlib_Set.js -lib/js/Stdlib_String.js -lib/js/Stdlib_Symbol.js -lib/js/Stdlib_Type.js -lib/js/Stdlib_TypedArray.js -lib/js/Stdlib_Uint16Array.js -lib/js/Stdlib_Uint32Array.js -lib/js/Stdlib_Uint8Array.js -lib/js/Stdlib_Uint8ClampedArray.js -lib/js/Stdlib_WeakMap.js -lib/js/Stdlib_WeakSet.js -lib/minisocket.js -lib/ocaml/Belt.cmi -lib/ocaml/Belt.cmj -lib/ocaml/Belt.cmt -lib/ocaml/Belt.res -lib/ocaml/Belt_Array.cmi -lib/ocaml/Belt_Array.cmj -lib/ocaml/Belt_Array.cmt -lib/ocaml/Belt_Array.cmti -lib/ocaml/Belt_Array.res -lib/ocaml/Belt_Array.resi -lib/ocaml/Belt_Float.cmi -lib/ocaml/Belt_Float.cmj -lib/ocaml/Belt_Float.cmt -lib/ocaml/Belt_Float.cmti -lib/ocaml/Belt_Float.res -lib/ocaml/Belt_Float.resi -lib/ocaml/Belt_HashMap.cmi -lib/ocaml/Belt_HashMap.cmj -lib/ocaml/Belt_HashMap.cmt -lib/ocaml/Belt_HashMap.cmti -lib/ocaml/Belt_HashMap.res -lib/ocaml/Belt_HashMap.resi -lib/ocaml/Belt_HashMapInt.cmi -lib/ocaml/Belt_HashMapInt.cmj -lib/ocaml/Belt_HashMapInt.cmt -lib/ocaml/Belt_HashMapInt.cmti -lib/ocaml/Belt_HashMapInt.res -lib/ocaml/Belt_HashMapInt.resi -lib/ocaml/Belt_HashMapString.cmi -lib/ocaml/Belt_HashMapString.cmj -lib/ocaml/Belt_HashMapString.cmt -lib/ocaml/Belt_HashMapString.cmti -lib/ocaml/Belt_HashMapString.res -lib/ocaml/Belt_HashMapString.resi -lib/ocaml/Belt_HashSet.cmi -lib/ocaml/Belt_HashSet.cmj -lib/ocaml/Belt_HashSet.cmt -lib/ocaml/Belt_HashSet.cmti -lib/ocaml/Belt_HashSet.res -lib/ocaml/Belt_HashSet.resi -lib/ocaml/Belt_HashSetInt.cmi -lib/ocaml/Belt_HashSetInt.cmj -lib/ocaml/Belt_HashSetInt.cmt -lib/ocaml/Belt_HashSetInt.cmti -lib/ocaml/Belt_HashSetInt.res -lib/ocaml/Belt_HashSetInt.resi -lib/ocaml/Belt_HashSetString.cmi -lib/ocaml/Belt_HashSetString.cmj -lib/ocaml/Belt_HashSetString.cmt -lib/ocaml/Belt_HashSetString.cmti -lib/ocaml/Belt_HashSetString.res -lib/ocaml/Belt_HashSetString.resi -lib/ocaml/Belt_Id.cmi -lib/ocaml/Belt_Id.cmj -lib/ocaml/Belt_Id.cmt -lib/ocaml/Belt_Id.cmti -lib/ocaml/Belt_Id.res -lib/ocaml/Belt_Id.resi -lib/ocaml/Belt_Int.cmi -lib/ocaml/Belt_Int.cmj -lib/ocaml/Belt_Int.cmt -lib/ocaml/Belt_Int.cmti -lib/ocaml/Belt_Int.res -lib/ocaml/Belt_Int.resi -lib/ocaml/Belt_List.cmi -lib/ocaml/Belt_List.cmj -lib/ocaml/Belt_List.cmt -lib/ocaml/Belt_List.cmti -lib/ocaml/Belt_List.res -lib/ocaml/Belt_List.resi -lib/ocaml/Belt_Map.cmi -lib/ocaml/Belt_Map.cmj -lib/ocaml/Belt_Map.cmt -lib/ocaml/Belt_Map.cmti -lib/ocaml/Belt_Map.res -lib/ocaml/Belt_Map.resi -lib/ocaml/Belt_MapDict.cmi -lib/ocaml/Belt_MapDict.cmj -lib/ocaml/Belt_MapDict.cmt -lib/ocaml/Belt_MapDict.cmti -lib/ocaml/Belt_MapDict.res -lib/ocaml/Belt_MapDict.resi -lib/ocaml/Belt_MapInt.cmi -lib/ocaml/Belt_MapInt.cmj -lib/ocaml/Belt_MapInt.cmt -lib/ocaml/Belt_MapInt.cmti -lib/ocaml/Belt_MapInt.res -lib/ocaml/Belt_MapInt.resi -lib/ocaml/Belt_MapString.cmi -lib/ocaml/Belt_MapString.cmj -lib/ocaml/Belt_MapString.cmt -lib/ocaml/Belt_MapString.cmti -lib/ocaml/Belt_MapString.res -lib/ocaml/Belt_MapString.resi -lib/ocaml/Belt_MutableMap.cmi -lib/ocaml/Belt_MutableMap.cmj -lib/ocaml/Belt_MutableMap.cmt -lib/ocaml/Belt_MutableMap.cmti -lib/ocaml/Belt_MutableMap.res -lib/ocaml/Belt_MutableMap.resi -lib/ocaml/Belt_MutableMapInt.cmi -lib/ocaml/Belt_MutableMapInt.cmj -lib/ocaml/Belt_MutableMapInt.cmt -lib/ocaml/Belt_MutableMapInt.cmti -lib/ocaml/Belt_MutableMapInt.res -lib/ocaml/Belt_MutableMapInt.resi -lib/ocaml/Belt_MutableMapString.cmi -lib/ocaml/Belt_MutableMapString.cmj -lib/ocaml/Belt_MutableMapString.cmt -lib/ocaml/Belt_MutableMapString.cmti -lib/ocaml/Belt_MutableMapString.res -lib/ocaml/Belt_MutableMapString.resi -lib/ocaml/Belt_MutableQueue.cmi -lib/ocaml/Belt_MutableQueue.cmj -lib/ocaml/Belt_MutableQueue.cmt -lib/ocaml/Belt_MutableQueue.cmti -lib/ocaml/Belt_MutableQueue.res -lib/ocaml/Belt_MutableQueue.resi -lib/ocaml/Belt_MutableSet.cmi -lib/ocaml/Belt_MutableSet.cmj -lib/ocaml/Belt_MutableSet.cmt -lib/ocaml/Belt_MutableSet.cmti -lib/ocaml/Belt_MutableSet.res -lib/ocaml/Belt_MutableSet.resi -lib/ocaml/Belt_MutableSetInt.cmi -lib/ocaml/Belt_MutableSetInt.cmj -lib/ocaml/Belt_MutableSetInt.cmt -lib/ocaml/Belt_MutableSetInt.cmti -lib/ocaml/Belt_MutableSetInt.res -lib/ocaml/Belt_MutableSetInt.resi -lib/ocaml/Belt_MutableSetString.cmi -lib/ocaml/Belt_MutableSetString.cmj -lib/ocaml/Belt_MutableSetString.cmt -lib/ocaml/Belt_MutableSetString.cmti -lib/ocaml/Belt_MutableSetString.res -lib/ocaml/Belt_MutableSetString.resi -lib/ocaml/Belt_MutableStack.cmi -lib/ocaml/Belt_MutableStack.cmj -lib/ocaml/Belt_MutableStack.cmt -lib/ocaml/Belt_MutableStack.cmti -lib/ocaml/Belt_MutableStack.res -lib/ocaml/Belt_MutableStack.resi -lib/ocaml/Belt_Option.cmi -lib/ocaml/Belt_Option.cmj -lib/ocaml/Belt_Option.cmt -lib/ocaml/Belt_Option.cmti -lib/ocaml/Belt_Option.res -lib/ocaml/Belt_Option.resi -lib/ocaml/Belt_Range.cmi -lib/ocaml/Belt_Range.cmj -lib/ocaml/Belt_Range.cmt -lib/ocaml/Belt_Range.cmti -lib/ocaml/Belt_Range.res -lib/ocaml/Belt_Range.resi -lib/ocaml/Belt_Result.cmi -lib/ocaml/Belt_Result.cmj -lib/ocaml/Belt_Result.cmt -lib/ocaml/Belt_Result.cmti -lib/ocaml/Belt_Result.res -lib/ocaml/Belt_Result.resi -lib/ocaml/Belt_Set.cmi -lib/ocaml/Belt_Set.cmj -lib/ocaml/Belt_Set.cmt -lib/ocaml/Belt_Set.cmti -lib/ocaml/Belt_Set.res -lib/ocaml/Belt_Set.resi -lib/ocaml/Belt_SetDict.cmi -lib/ocaml/Belt_SetDict.cmj -lib/ocaml/Belt_SetDict.cmt -lib/ocaml/Belt_SetDict.cmti -lib/ocaml/Belt_SetDict.res -lib/ocaml/Belt_SetDict.resi -lib/ocaml/Belt_SetInt.cmi -lib/ocaml/Belt_SetInt.cmj -lib/ocaml/Belt_SetInt.cmt -lib/ocaml/Belt_SetInt.cmti -lib/ocaml/Belt_SetInt.res -lib/ocaml/Belt_SetInt.resi -lib/ocaml/Belt_SetString.cmi -lib/ocaml/Belt_SetString.cmj -lib/ocaml/Belt_SetString.cmt -lib/ocaml/Belt_SetString.cmti -lib/ocaml/Belt_SetString.res -lib/ocaml/Belt_SetString.resi -lib/ocaml/Belt_SortArray.cmi -lib/ocaml/Belt_SortArray.cmj -lib/ocaml/Belt_SortArray.cmt -lib/ocaml/Belt_SortArray.cmti -lib/ocaml/Belt_SortArray.res -lib/ocaml/Belt_SortArray.resi -lib/ocaml/Belt_SortArrayInt.cmi -lib/ocaml/Belt_SortArrayInt.cmj -lib/ocaml/Belt_SortArrayInt.cmt -lib/ocaml/Belt_SortArrayInt.cmti -lib/ocaml/Belt_SortArrayInt.res -lib/ocaml/Belt_SortArrayInt.resi -lib/ocaml/Belt_SortArrayString.cmi -lib/ocaml/Belt_SortArrayString.cmj -lib/ocaml/Belt_SortArrayString.cmt -lib/ocaml/Belt_SortArrayString.cmti -lib/ocaml/Belt_SortArrayString.res -lib/ocaml/Belt_SortArrayString.resi -lib/ocaml/Belt_internalAVLset.cmi -lib/ocaml/Belt_internalAVLset.cmj -lib/ocaml/Belt_internalAVLset.cmt -lib/ocaml/Belt_internalAVLset.cmti -lib/ocaml/Belt_internalAVLset.res -lib/ocaml/Belt_internalAVLset.resi -lib/ocaml/Belt_internalAVLtree.cmi -lib/ocaml/Belt_internalAVLtree.cmj -lib/ocaml/Belt_internalAVLtree.cmt -lib/ocaml/Belt_internalAVLtree.cmti -lib/ocaml/Belt_internalAVLtree.res -lib/ocaml/Belt_internalAVLtree.resi -lib/ocaml/Belt_internalBuckets.cmi -lib/ocaml/Belt_internalBuckets.cmj -lib/ocaml/Belt_internalBuckets.cmt -lib/ocaml/Belt_internalBuckets.cmti -lib/ocaml/Belt_internalBuckets.res -lib/ocaml/Belt_internalBuckets.resi -lib/ocaml/Belt_internalBucketsType.cmi -lib/ocaml/Belt_internalBucketsType.cmj -lib/ocaml/Belt_internalBucketsType.cmt -lib/ocaml/Belt_internalBucketsType.cmti -lib/ocaml/Belt_internalBucketsType.res -lib/ocaml/Belt_internalBucketsType.resi -lib/ocaml/Belt_internalMapInt.cmi -lib/ocaml/Belt_internalMapInt.cmj -lib/ocaml/Belt_internalMapInt.cmt -lib/ocaml/Belt_internalMapInt.res -lib/ocaml/Belt_internalMapString.cmi -lib/ocaml/Belt_internalMapString.cmj -lib/ocaml/Belt_internalMapString.cmt -lib/ocaml/Belt_internalMapString.res -lib/ocaml/Belt_internalSetBuckets.cmi -lib/ocaml/Belt_internalSetBuckets.cmj -lib/ocaml/Belt_internalSetBuckets.cmt -lib/ocaml/Belt_internalSetBuckets.cmti -lib/ocaml/Belt_internalSetBuckets.res -lib/ocaml/Belt_internalSetBuckets.resi -lib/ocaml/Belt_internalSetInt.cmi -lib/ocaml/Belt_internalSetInt.cmj -lib/ocaml/Belt_internalSetInt.cmt -lib/ocaml/Belt_internalSetInt.res -lib/ocaml/Belt_internalSetString.cmi -lib/ocaml/Belt_internalSetString.cmj -lib/ocaml/Belt_internalSetString.cmt -lib/ocaml/Belt_internalSetString.res -lib/ocaml/Char.cmi -lib/ocaml/Char.cmj -lib/ocaml/Char.cmt -lib/ocaml/Char.cmti -lib/ocaml/Char.res -lib/ocaml/Char.resi -lib/ocaml/Dom.cmi -lib/ocaml/Dom.cmj -lib/ocaml/Dom.cmt -lib/ocaml/Dom.res -lib/ocaml/Dom_storage.cmi -lib/ocaml/Dom_storage.cmj -lib/ocaml/Dom_storage.cmt -lib/ocaml/Dom_storage.res -lib/ocaml/Dom_storage2.cmi -lib/ocaml/Dom_storage2.cmj -lib/ocaml/Dom_storage2.cmt -lib/ocaml/Dom_storage2.res -lib/ocaml/Js.cmi -lib/ocaml/Js.cmj -lib/ocaml/Js.cmt -lib/ocaml/Js.res -lib/ocaml/Js_OO.cmi -lib/ocaml/Js_OO.cmj -lib/ocaml/Js_OO.cmt -lib/ocaml/Js_OO.res -lib/ocaml/Js_array.cmi -lib/ocaml/Js_array.cmj -lib/ocaml/Js_array.cmt -lib/ocaml/Js_array.res -lib/ocaml/Js_array2.cmi -lib/ocaml/Js_array2.cmj -lib/ocaml/Js_array2.cmt -lib/ocaml/Js_array2.res -lib/ocaml/Js_bigint.cmi -lib/ocaml/Js_bigint.cmj -lib/ocaml/Js_bigint.cmt -lib/ocaml/Js_bigint.res -lib/ocaml/Js_blob.cmi -lib/ocaml/Js_blob.cmj -lib/ocaml/Js_blob.cmt -lib/ocaml/Js_blob.res -lib/ocaml/Js_console.cmi -lib/ocaml/Js_console.cmj -lib/ocaml/Js_console.cmt -lib/ocaml/Js_console.res -lib/ocaml/Js_date.cmi -lib/ocaml/Js_date.cmj -lib/ocaml/Js_date.cmt -lib/ocaml/Js_date.res -lib/ocaml/Js_dict.cmi -lib/ocaml/Js_dict.cmj -lib/ocaml/Js_dict.cmt -lib/ocaml/Js_dict.cmti -lib/ocaml/Js_dict.res -lib/ocaml/Js_dict.resi -lib/ocaml/Js_extern.cmi -lib/ocaml/Js_extern.cmj -lib/ocaml/Js_extern.cmt -lib/ocaml/Js_extern.res -lib/ocaml/Js_file.cmi -lib/ocaml/Js_file.cmj -lib/ocaml/Js_file.cmt -lib/ocaml/Js_file.res -lib/ocaml/Js_float.cmi -lib/ocaml/Js_float.cmj -lib/ocaml/Js_float.cmt -lib/ocaml/Js_float.res -lib/ocaml/Js_global.cmi -lib/ocaml/Js_global.cmj -lib/ocaml/Js_global.cmt -lib/ocaml/Js_global.res -lib/ocaml/Js_int.cmi -lib/ocaml/Js_int.cmj -lib/ocaml/Js_int.cmt -lib/ocaml/Js_int.res -lib/ocaml/Js_json.cmi -lib/ocaml/Js_json.cmj -lib/ocaml/Js_json.cmt -lib/ocaml/Js_json.cmti -lib/ocaml/Js_json.res -lib/ocaml/Js_json.resi -lib/ocaml/Js_map.cmi -lib/ocaml/Js_map.cmj -lib/ocaml/Js_map.cmt -lib/ocaml/Js_map.res -lib/ocaml/Js_math.cmi -lib/ocaml/Js_math.cmj -lib/ocaml/Js_math.cmt -lib/ocaml/Js_math.res -lib/ocaml/Js_null.cmi -lib/ocaml/Js_null.cmj -lib/ocaml/Js_null.cmt -lib/ocaml/Js_null.cmti -lib/ocaml/Js_null.res -lib/ocaml/Js_null.resi -lib/ocaml/Js_null_undefined.cmi -lib/ocaml/Js_null_undefined.cmj -lib/ocaml/Js_null_undefined.cmt -lib/ocaml/Js_null_undefined.cmti -lib/ocaml/Js_null_undefined.res -lib/ocaml/Js_null_undefined.resi -lib/ocaml/Js_obj.cmi -lib/ocaml/Js_obj.cmj -lib/ocaml/Js_obj.cmt -lib/ocaml/Js_obj.res -lib/ocaml/Js_option.cmi -lib/ocaml/Js_option.cmj -lib/ocaml/Js_option.cmt -lib/ocaml/Js_option.cmti -lib/ocaml/Js_option.res -lib/ocaml/Js_option.resi -lib/ocaml/Js_promise.cmi -lib/ocaml/Js_promise.cmj -lib/ocaml/Js_promise.cmt -lib/ocaml/Js_promise.res -lib/ocaml/Js_promise2.cmi -lib/ocaml/Js_promise2.cmj -lib/ocaml/Js_promise2.cmt -lib/ocaml/Js_promise2.res -lib/ocaml/Js_re.cmi -lib/ocaml/Js_re.cmj -lib/ocaml/Js_re.cmt -lib/ocaml/Js_re.res -lib/ocaml/Js_result.cmi -lib/ocaml/Js_result.cmj -lib/ocaml/Js_result.cmt -lib/ocaml/Js_result.cmti -lib/ocaml/Js_result.res -lib/ocaml/Js_result.resi -lib/ocaml/Js_set.cmi -lib/ocaml/Js_set.cmj -lib/ocaml/Js_set.cmt -lib/ocaml/Js_set.res -lib/ocaml/Js_string.cmi -lib/ocaml/Js_string.cmj -lib/ocaml/Js_string.cmt -lib/ocaml/Js_string.res -lib/ocaml/Js_string2.cmi -lib/ocaml/Js_string2.cmj -lib/ocaml/Js_string2.cmt -lib/ocaml/Js_string2.res -lib/ocaml/Js_typed_array.cmi -lib/ocaml/Js_typed_array.cmj -lib/ocaml/Js_typed_array.cmt -lib/ocaml/Js_typed_array.res -lib/ocaml/Js_typed_array2.cmi -lib/ocaml/Js_typed_array2.cmj -lib/ocaml/Js_typed_array2.cmt -lib/ocaml/Js_typed_array2.res -lib/ocaml/Js_types.cmi -lib/ocaml/Js_types.cmj -lib/ocaml/Js_types.cmt -lib/ocaml/Js_types.cmti -lib/ocaml/Js_types.res -lib/ocaml/Js_types.resi -lib/ocaml/Js_undefined.cmi -lib/ocaml/Js_undefined.cmj -lib/ocaml/Js_undefined.cmt -lib/ocaml/Js_undefined.cmti -lib/ocaml/Js_undefined.res -lib/ocaml/Js_undefined.resi -lib/ocaml/Js_weakmap.cmi -lib/ocaml/Js_weakmap.cmj -lib/ocaml/Js_weakmap.cmt -lib/ocaml/Js_weakmap.res -lib/ocaml/Js_weakset.cmi -lib/ocaml/Js_weakset.cmj -lib/ocaml/Js_weakset.cmt -lib/ocaml/Js_weakset.res -lib/ocaml/Jsx.cmi -lib/ocaml/Jsx.cmj -lib/ocaml/Jsx.cmt -lib/ocaml/Jsx.res -lib/ocaml/JsxDOM.cmi -lib/ocaml/JsxDOM.cmj -lib/ocaml/JsxDOM.cmt -lib/ocaml/JsxDOM.res -lib/ocaml/JsxDOMStyle.cmi -lib/ocaml/JsxDOMStyle.cmj -lib/ocaml/JsxDOMStyle.cmt -lib/ocaml/JsxDOMStyle.res -lib/ocaml/JsxEvent.cmi -lib/ocaml/JsxEvent.cmj -lib/ocaml/JsxEvent.cmt -lib/ocaml/JsxEvent.res -lib/ocaml/Obj.cmi -lib/ocaml/Obj.cmj -lib/ocaml/Obj.cmt -lib/ocaml/Obj.res -lib/ocaml/Pervasives.cmi -lib/ocaml/Pervasives.cmj -lib/ocaml/Pervasives.cmt -lib/ocaml/Pervasives.res -lib/ocaml/Primitive_array.cmi -lib/ocaml/Primitive_array.cmj -lib/ocaml/Primitive_array.cmt -lib/ocaml/Primitive_array.res -lib/ocaml/Primitive_array_extern.cmi -lib/ocaml/Primitive_array_extern.cmj -lib/ocaml/Primitive_array_extern.cmt -lib/ocaml/Primitive_array_extern.res -lib/ocaml/Primitive_bigint.cmi -lib/ocaml/Primitive_bigint.cmj -lib/ocaml/Primitive_bigint.cmt -lib/ocaml/Primitive_bigint.res -lib/ocaml/Primitive_bool.cmi -lib/ocaml/Primitive_bool.cmj -lib/ocaml/Primitive_bool.cmt -lib/ocaml/Primitive_bool.res -lib/ocaml/Primitive_char_extern.cmi -lib/ocaml/Primitive_char_extern.cmj -lib/ocaml/Primitive_char_extern.cmt -lib/ocaml/Primitive_char_extern.res -lib/ocaml/Primitive_curry.cmi -lib/ocaml/Primitive_curry.cmj -lib/ocaml/Primitive_curry.cmt -lib/ocaml/Primitive_curry.cmti -lib/ocaml/Primitive_curry.res -lib/ocaml/Primitive_curry.resi -lib/ocaml/Primitive_dict.cmi -lib/ocaml/Primitive_dict.cmj -lib/ocaml/Primitive_dict.cmt -lib/ocaml/Primitive_dict.res -lib/ocaml/Primitive_exceptions.cmi -lib/ocaml/Primitive_exceptions.cmj -lib/ocaml/Primitive_exceptions.cmt -lib/ocaml/Primitive_exceptions.cmti -lib/ocaml/Primitive_exceptions.res -lib/ocaml/Primitive_exceptions.resi -lib/ocaml/Primitive_float.cmi -lib/ocaml/Primitive_float.cmj -lib/ocaml/Primitive_float.cmt -lib/ocaml/Primitive_float.res -lib/ocaml/Primitive_float_extern.cmi -lib/ocaml/Primitive_float_extern.cmj -lib/ocaml/Primitive_float_extern.cmt -lib/ocaml/Primitive_float_extern.res -lib/ocaml/Primitive_hash.cmi -lib/ocaml/Primitive_hash.cmj -lib/ocaml/Primitive_hash.cmt -lib/ocaml/Primitive_hash.cmti -lib/ocaml/Primitive_hash.res -lib/ocaml/Primitive_hash.resi -lib/ocaml/Primitive_int.cmi -lib/ocaml/Primitive_int.cmj -lib/ocaml/Primitive_int.cmt -lib/ocaml/Primitive_int.res -lib/ocaml/Primitive_int_extern.cmi -lib/ocaml/Primitive_int_extern.cmj -lib/ocaml/Primitive_int_extern.cmt -lib/ocaml/Primitive_int_extern.res -lib/ocaml/Primitive_js_extern.cmi -lib/ocaml/Primitive_js_extern.cmj -lib/ocaml/Primitive_js_extern.cmt -lib/ocaml/Primitive_js_extern.res -lib/ocaml/Primitive_lazy.cmi -lib/ocaml/Primitive_lazy.cmj -lib/ocaml/Primitive_lazy.cmt -lib/ocaml/Primitive_lazy.cmti -lib/ocaml/Primitive_lazy.res -lib/ocaml/Primitive_lazy.resi -lib/ocaml/Primitive_module.cmi -lib/ocaml/Primitive_module.cmj -lib/ocaml/Primitive_module.cmt -lib/ocaml/Primitive_module.cmti -lib/ocaml/Primitive_module.res -lib/ocaml/Primitive_module.resi -lib/ocaml/Primitive_object.cmi -lib/ocaml/Primitive_object.cmj -lib/ocaml/Primitive_object.cmt -lib/ocaml/Primitive_object.cmti -lib/ocaml/Primitive_object.res -lib/ocaml/Primitive_object.resi -lib/ocaml/Primitive_object_extern.cmi -lib/ocaml/Primitive_object_extern.cmj -lib/ocaml/Primitive_object_extern.cmt -lib/ocaml/Primitive_object_extern.res -lib/ocaml/Primitive_option.cmi -lib/ocaml/Primitive_option.cmj -lib/ocaml/Primitive_option.cmt -lib/ocaml/Primitive_option.cmti -lib/ocaml/Primitive_option.res -lib/ocaml/Primitive_option.resi -lib/ocaml/Primitive_promise.cmi -lib/ocaml/Primitive_promise.cmj -lib/ocaml/Primitive_promise.cmt -lib/ocaml/Primitive_promise.res -lib/ocaml/Primitive_string.cmi -lib/ocaml/Primitive_string.cmj -lib/ocaml/Primitive_string.cmt -lib/ocaml/Primitive_string.res -lib/ocaml/Primitive_string_extern.cmi -lib/ocaml/Primitive_string_extern.cmj -lib/ocaml/Primitive_string_extern.cmt -lib/ocaml/Primitive_string_extern.res -lib/ocaml/Primitive_util.cmi -lib/ocaml/Primitive_util.cmj -lib/ocaml/Primitive_util.cmt -lib/ocaml/Primitive_util.res -lib/ocaml/RescriptTools.cmi -lib/ocaml/RescriptTools.cmj -lib/ocaml/RescriptTools.cmt -lib/ocaml/RescriptTools.res -lib/ocaml/RescriptTools_Docgen.cmi -lib/ocaml/RescriptTools_Docgen.cmj -lib/ocaml/RescriptTools_Docgen.cmt -lib/ocaml/RescriptTools_Docgen.cmti -lib/ocaml/RescriptTools_Docgen.res -lib/ocaml/RescriptTools_Docgen.resi -lib/ocaml/Stdlib.cmi -lib/ocaml/Stdlib.cmj -lib/ocaml/Stdlib.cmt -lib/ocaml/Stdlib.res -lib/ocaml/Stdlib_Array.cmi -lib/ocaml/Stdlib_Array.cmj -lib/ocaml/Stdlib_Array.cmt -lib/ocaml/Stdlib_Array.cmti -lib/ocaml/Stdlib_Array.res -lib/ocaml/Stdlib_Array.resi -lib/ocaml/Stdlib_ArrayBuffer.cmi -lib/ocaml/Stdlib_ArrayBuffer.cmj -lib/ocaml/Stdlib_ArrayBuffer.cmt -lib/ocaml/Stdlib_ArrayBuffer.res -lib/ocaml/Stdlib_AsyncIterator.cmi -lib/ocaml/Stdlib_AsyncIterator.cmj -lib/ocaml/Stdlib_AsyncIterator.cmt -lib/ocaml/Stdlib_AsyncIterator.cmti -lib/ocaml/Stdlib_AsyncIterator.res -lib/ocaml/Stdlib_AsyncIterator.resi -lib/ocaml/Stdlib_BigInt.cmi -lib/ocaml/Stdlib_BigInt.cmj -lib/ocaml/Stdlib_BigInt.cmt -lib/ocaml/Stdlib_BigInt.res -lib/ocaml/Stdlib_BigInt64Array.cmi -lib/ocaml/Stdlib_BigInt64Array.cmj -lib/ocaml/Stdlib_BigInt64Array.cmt -lib/ocaml/Stdlib_BigInt64Array.res -lib/ocaml/Stdlib_BigUint64Array.cmi -lib/ocaml/Stdlib_BigUint64Array.cmj -lib/ocaml/Stdlib_BigUint64Array.cmt -lib/ocaml/Stdlib_BigUint64Array.res -lib/ocaml/Stdlib_Bool.cmi -lib/ocaml/Stdlib_Bool.cmj -lib/ocaml/Stdlib_Bool.cmt -lib/ocaml/Stdlib_Bool.cmti -lib/ocaml/Stdlib_Bool.res -lib/ocaml/Stdlib_Bool.resi -lib/ocaml/Stdlib_Console.cmi -lib/ocaml/Stdlib_Console.cmj -lib/ocaml/Stdlib_Console.cmt -lib/ocaml/Stdlib_Console.cmti -lib/ocaml/Stdlib_Console.res -lib/ocaml/Stdlib_Console.resi -lib/ocaml/Stdlib_DataView.cmi -lib/ocaml/Stdlib_DataView.cmj -lib/ocaml/Stdlib_DataView.cmt -lib/ocaml/Stdlib_DataView.res -lib/ocaml/Stdlib_Date.cmi -lib/ocaml/Stdlib_Date.cmj -lib/ocaml/Stdlib_Date.cmt -lib/ocaml/Stdlib_Date.cmti -lib/ocaml/Stdlib_Date.res -lib/ocaml/Stdlib_Date.resi -lib/ocaml/Stdlib_Dict.cmi -lib/ocaml/Stdlib_Dict.cmj -lib/ocaml/Stdlib_Dict.cmt -lib/ocaml/Stdlib_Dict.cmti -lib/ocaml/Stdlib_Dict.res -lib/ocaml/Stdlib_Dict.resi -lib/ocaml/Stdlib_Error.cmi -lib/ocaml/Stdlib_Error.cmj -lib/ocaml/Stdlib_Error.cmt -lib/ocaml/Stdlib_Error.cmti -lib/ocaml/Stdlib_Error.res -lib/ocaml/Stdlib_Error.resi -lib/ocaml/Stdlib_Exn.cmi -lib/ocaml/Stdlib_Exn.cmj -lib/ocaml/Stdlib_Exn.cmt -lib/ocaml/Stdlib_Exn.cmti -lib/ocaml/Stdlib_Exn.res -lib/ocaml/Stdlib_Exn.resi -lib/ocaml/Stdlib_Float.cmi -lib/ocaml/Stdlib_Float.cmj -lib/ocaml/Stdlib_Float.cmt -lib/ocaml/Stdlib_Float.cmti -lib/ocaml/Stdlib_Float.res -lib/ocaml/Stdlib_Float.resi -lib/ocaml/Stdlib_Float32Array.cmi -lib/ocaml/Stdlib_Float32Array.cmj -lib/ocaml/Stdlib_Float32Array.cmt -lib/ocaml/Stdlib_Float32Array.res -lib/ocaml/Stdlib_Float64Array.cmi -lib/ocaml/Stdlib_Float64Array.cmj -lib/ocaml/Stdlib_Float64Array.cmt -lib/ocaml/Stdlib_Float64Array.res -lib/ocaml/Stdlib_Global.cmi -lib/ocaml/Stdlib_Global.cmj -lib/ocaml/Stdlib_Global.cmt -lib/ocaml/Stdlib_Global.cmti -lib/ocaml/Stdlib_Global.res -lib/ocaml/Stdlib_Global.resi -lib/ocaml/Stdlib_Int.cmi -lib/ocaml/Stdlib_Int.cmj -lib/ocaml/Stdlib_Int.cmt -lib/ocaml/Stdlib_Int.cmti -lib/ocaml/Stdlib_Int.res -lib/ocaml/Stdlib_Int.resi -lib/ocaml/Stdlib_Int16Array.cmi -lib/ocaml/Stdlib_Int16Array.cmj -lib/ocaml/Stdlib_Int16Array.cmt -lib/ocaml/Stdlib_Int16Array.res -lib/ocaml/Stdlib_Int32Array.cmi -lib/ocaml/Stdlib_Int32Array.cmj -lib/ocaml/Stdlib_Int32Array.cmt -lib/ocaml/Stdlib_Int32Array.res -lib/ocaml/Stdlib_Int8Array.cmi -lib/ocaml/Stdlib_Int8Array.cmj -lib/ocaml/Stdlib_Int8Array.cmt -lib/ocaml/Stdlib_Int8Array.res -lib/ocaml/Stdlib_Intl.cmi -lib/ocaml/Stdlib_Intl.cmj -lib/ocaml/Stdlib_Intl.cmt -lib/ocaml/Stdlib_Intl.res -lib/ocaml/Stdlib_Intl_Collator.cmi -lib/ocaml/Stdlib_Intl_Collator.cmj -lib/ocaml/Stdlib_Intl_Collator.cmt -lib/ocaml/Stdlib_Intl_Collator.res -lib/ocaml/Stdlib_Intl_Common.cmi -lib/ocaml/Stdlib_Intl_Common.cmj -lib/ocaml/Stdlib_Intl_Common.cmt -lib/ocaml/Stdlib_Intl_Common.res -lib/ocaml/Stdlib_Intl_DateTimeFormat.cmi -lib/ocaml/Stdlib_Intl_DateTimeFormat.cmj -lib/ocaml/Stdlib_Intl_DateTimeFormat.cmt -lib/ocaml/Stdlib_Intl_DateTimeFormat.res -lib/ocaml/Stdlib_Intl_ListFormat.cmi -lib/ocaml/Stdlib_Intl_ListFormat.cmj -lib/ocaml/Stdlib_Intl_ListFormat.cmt -lib/ocaml/Stdlib_Intl_ListFormat.res -lib/ocaml/Stdlib_Intl_Locale.cmi -lib/ocaml/Stdlib_Intl_Locale.cmj -lib/ocaml/Stdlib_Intl_Locale.cmt -lib/ocaml/Stdlib_Intl_Locale.res -lib/ocaml/Stdlib_Intl_NumberFormat.cmi -lib/ocaml/Stdlib_Intl_NumberFormat.cmj -lib/ocaml/Stdlib_Intl_NumberFormat.cmt -lib/ocaml/Stdlib_Intl_NumberFormat.res -lib/ocaml/Stdlib_Intl_NumberFormat_Grouping.cmi -lib/ocaml/Stdlib_Intl_NumberFormat_Grouping.cmj -lib/ocaml/Stdlib_Intl_NumberFormat_Grouping.cmt -lib/ocaml/Stdlib_Intl_NumberFormat_Grouping.res -lib/ocaml/Stdlib_Intl_PluralRules.cmi -lib/ocaml/Stdlib_Intl_PluralRules.cmj -lib/ocaml/Stdlib_Intl_PluralRules.cmt -lib/ocaml/Stdlib_Intl_PluralRules.res -lib/ocaml/Stdlib_Intl_RelativeTimeFormat.cmi -lib/ocaml/Stdlib_Intl_RelativeTimeFormat.cmj -lib/ocaml/Stdlib_Intl_RelativeTimeFormat.cmt -lib/ocaml/Stdlib_Intl_RelativeTimeFormat.res -lib/ocaml/Stdlib_Intl_Segmenter.cmi -lib/ocaml/Stdlib_Intl_Segmenter.cmj -lib/ocaml/Stdlib_Intl_Segmenter.cmt -lib/ocaml/Stdlib_Intl_Segmenter.res -lib/ocaml/Stdlib_Intl_Segments.cmi -lib/ocaml/Stdlib_Intl_Segments.cmj -lib/ocaml/Stdlib_Intl_Segments.cmt -lib/ocaml/Stdlib_Intl_Segments.res -lib/ocaml/Stdlib_Iterator.cmi -lib/ocaml/Stdlib_Iterator.cmj -lib/ocaml/Stdlib_Iterator.cmt -lib/ocaml/Stdlib_Iterator.cmti -lib/ocaml/Stdlib_Iterator.res -lib/ocaml/Stdlib_Iterator.resi -lib/ocaml/Stdlib_JSON.cmi -lib/ocaml/Stdlib_JSON.cmj -lib/ocaml/Stdlib_JSON.cmt -lib/ocaml/Stdlib_JSON.cmti -lib/ocaml/Stdlib_JSON.res -lib/ocaml/Stdlib_JSON.resi -lib/ocaml/Stdlib_JsError.cmi -lib/ocaml/Stdlib_JsError.cmj -lib/ocaml/Stdlib_JsError.cmt -lib/ocaml/Stdlib_JsError.cmti -lib/ocaml/Stdlib_JsError.res -lib/ocaml/Stdlib_JsError.resi -lib/ocaml/Stdlib_JsExn.cmi -lib/ocaml/Stdlib_JsExn.cmj -lib/ocaml/Stdlib_JsExn.cmt -lib/ocaml/Stdlib_JsExn.cmti -lib/ocaml/Stdlib_JsExn.res -lib/ocaml/Stdlib_JsExn.resi -lib/ocaml/Stdlib_Lazy.cmi -lib/ocaml/Stdlib_Lazy.cmj -lib/ocaml/Stdlib_Lazy.cmt -lib/ocaml/Stdlib_Lazy.cmti -lib/ocaml/Stdlib_Lazy.res -lib/ocaml/Stdlib_Lazy.resi -lib/ocaml/Stdlib_List.cmi -lib/ocaml/Stdlib_List.cmj -lib/ocaml/Stdlib_List.cmt -lib/ocaml/Stdlib_List.cmti -lib/ocaml/Stdlib_List.res -lib/ocaml/Stdlib_List.resi -lib/ocaml/Stdlib_Map.cmi -lib/ocaml/Stdlib_Map.cmj -lib/ocaml/Stdlib_Map.cmt -lib/ocaml/Stdlib_Map.cmti -lib/ocaml/Stdlib_Map.res -lib/ocaml/Stdlib_Map.resi -lib/ocaml/Stdlib_Math.cmi -lib/ocaml/Stdlib_Math.cmj -lib/ocaml/Stdlib_Math.cmt -lib/ocaml/Stdlib_Math.cmti -lib/ocaml/Stdlib_Math.res -lib/ocaml/Stdlib_Math.resi -lib/ocaml/Stdlib_Null.cmi -lib/ocaml/Stdlib_Null.cmj -lib/ocaml/Stdlib_Null.cmt -lib/ocaml/Stdlib_Null.cmti -lib/ocaml/Stdlib_Null.res -lib/ocaml/Stdlib_Null.resi -lib/ocaml/Stdlib_Nullable.cmi -lib/ocaml/Stdlib_Nullable.cmj -lib/ocaml/Stdlib_Nullable.cmt -lib/ocaml/Stdlib_Nullable.cmti -lib/ocaml/Stdlib_Nullable.res -lib/ocaml/Stdlib_Nullable.resi -lib/ocaml/Stdlib_Object.cmi -lib/ocaml/Stdlib_Object.cmj -lib/ocaml/Stdlib_Object.cmt -lib/ocaml/Stdlib_Object.res -lib/ocaml/Stdlib_Option.cmi -lib/ocaml/Stdlib_Option.cmj -lib/ocaml/Stdlib_Option.cmt -lib/ocaml/Stdlib_Option.cmti -lib/ocaml/Stdlib_Option.res -lib/ocaml/Stdlib_Option.resi -lib/ocaml/Stdlib_Ordering.cmi -lib/ocaml/Stdlib_Ordering.cmj -lib/ocaml/Stdlib_Ordering.cmt -lib/ocaml/Stdlib_Ordering.res -lib/ocaml/Stdlib_Pair.cmi -lib/ocaml/Stdlib_Pair.cmj -lib/ocaml/Stdlib_Pair.cmt -lib/ocaml/Stdlib_Pair.res -lib/ocaml/Stdlib_Promise.cmi -lib/ocaml/Stdlib_Promise.cmj -lib/ocaml/Stdlib_Promise.cmt -lib/ocaml/Stdlib_Promise.cmti -lib/ocaml/Stdlib_Promise.res -lib/ocaml/Stdlib_Promise.resi -lib/ocaml/Stdlib_RegExp.cmi -lib/ocaml/Stdlib_RegExp.cmj -lib/ocaml/Stdlib_RegExp.cmt -lib/ocaml/Stdlib_RegExp.cmti -lib/ocaml/Stdlib_RegExp.res -lib/ocaml/Stdlib_RegExp.resi -lib/ocaml/Stdlib_Result.cmi -lib/ocaml/Stdlib_Result.cmj -lib/ocaml/Stdlib_Result.cmt -lib/ocaml/Stdlib_Result.cmti -lib/ocaml/Stdlib_Result.res -lib/ocaml/Stdlib_Result.resi -lib/ocaml/Stdlib_Set.cmi -lib/ocaml/Stdlib_Set.cmj -lib/ocaml/Stdlib_Set.cmt -lib/ocaml/Stdlib_Set.cmti -lib/ocaml/Stdlib_Set.res -lib/ocaml/Stdlib_Set.resi -lib/ocaml/Stdlib_String.cmi -lib/ocaml/Stdlib_String.cmj -lib/ocaml/Stdlib_String.cmt -lib/ocaml/Stdlib_String.cmti -lib/ocaml/Stdlib_String.res -lib/ocaml/Stdlib_String.resi -lib/ocaml/Stdlib_Symbol.cmi -lib/ocaml/Stdlib_Symbol.cmj -lib/ocaml/Stdlib_Symbol.cmt -lib/ocaml/Stdlib_Symbol.cmti -lib/ocaml/Stdlib_Symbol.res -lib/ocaml/Stdlib_Symbol.resi -lib/ocaml/Stdlib_Type.cmi -lib/ocaml/Stdlib_Type.cmj -lib/ocaml/Stdlib_Type.cmt -lib/ocaml/Stdlib_Type.cmti -lib/ocaml/Stdlib_Type.res -lib/ocaml/Stdlib_Type.resi -lib/ocaml/Stdlib_TypedArray.cmi -lib/ocaml/Stdlib_TypedArray.cmj -lib/ocaml/Stdlib_TypedArray.cmt -lib/ocaml/Stdlib_TypedArray.res -lib/ocaml/Stdlib_Uint16Array.cmi -lib/ocaml/Stdlib_Uint16Array.cmj -lib/ocaml/Stdlib_Uint16Array.cmt -lib/ocaml/Stdlib_Uint16Array.res -lib/ocaml/Stdlib_Uint32Array.cmi -lib/ocaml/Stdlib_Uint32Array.cmj -lib/ocaml/Stdlib_Uint32Array.cmt -lib/ocaml/Stdlib_Uint32Array.res -lib/ocaml/Stdlib_Uint8Array.cmi -lib/ocaml/Stdlib_Uint8Array.cmj -lib/ocaml/Stdlib_Uint8Array.cmt -lib/ocaml/Stdlib_Uint8Array.res -lib/ocaml/Stdlib_Uint8ClampedArray.cmi -lib/ocaml/Stdlib_Uint8ClampedArray.cmj -lib/ocaml/Stdlib_Uint8ClampedArray.cmt -lib/ocaml/Stdlib_Uint8ClampedArray.res -lib/ocaml/Stdlib_WeakMap.cmi -lib/ocaml/Stdlib_WeakMap.cmj -lib/ocaml/Stdlib_WeakMap.cmt -lib/ocaml/Stdlib_WeakMap.res -lib/ocaml/Stdlib_WeakSet.cmi -lib/ocaml/Stdlib_WeakSet.cmj -lib/ocaml/Stdlib_WeakSet.cmt -lib/ocaml/Stdlib_WeakSet.res ninja/COPYING package.json From 535ed4434ad721ec204a2575d4c65bc2e172974b Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:16:01 +0900 Subject: [PATCH 11/13] remove an unused import mapping --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 73fe0dd689..1853f9d0be 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,7 @@ }, "imports": { "#cli/*": "./cli/common/*.js", - "#dev/*": "./lib_dev/*.js", - "#lib/minisocket": "./lib/minisocket.js" + "#dev/*": "./lib_dev/*.js" }, "dependencies": { "@rescript/runtime": "workspace:packages/@rescript/runtime" From d8b10ea6347be0e296107a7f48205b8ac1aaf2d4 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:19:54 +0900 Subject: [PATCH 12/13] sync gentype results --- .../src/DynamicallyLoadedComponent.res.js | 13 + .../src/ExportWithRename.gen.tsx | 10 + .../src/ExportWithRename.res.js | 13 + .../src/Hooks.gen.tsx | 141 +++++++++++ .../typescript-react-example/src/Hooks.res.js | 231 ++++++++++++++++++ .../src/ImmutableArray.res.js | 2 +- .../src/ImportHookDefault.gen.tsx | 54 ++++ .../src/ImportHookDefault.res.js | 18 ++ .../src/ImportHooks.gen.tsx | 41 ++++ .../src/ImportHooks.res.js | 15 ++ .../src/ImportIndex.gen.tsx | 16 ++ .../src/ImportIndex.res.js | 10 + .../src/JSXV4.gen.tsx | 43 ++++ .../typescript-react-example/src/JSXV4.res.js | 19 ++ .../src/MyInput.gen.tsx | 20 ++ .../src/MyInput.res.js | 10 + .../src/OnClick2.gen.tsx | 12 + .../src/OnClick2.res.js | 16 ++ .../src/Records.res.js | 8 +- .../src/TestImmutableArray.res.js | 2 +- .../src/TestPromise.res.js | 4 +- .../src/nested/Tuples.res.js | 2 +- .../src/nested/Types.res.js | 4 +- 23 files changed, 693 insertions(+), 11 deletions(-) create mode 100644 tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/Hooks.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/JSXV4.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/MyInput.res.js create mode 100644 tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx create mode 100644 tests/gentype_tests/typescript-react-example/src/OnClick2.res.js diff --git a/tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js b/tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js new file mode 100644 index 0000000000..80bc599ff9 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js @@ -0,0 +1,13 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + + +function DynamicallyLoadedComponent(props) { + return props.s; +} + +let make = DynamicallyLoadedComponent; + +export { + make, +} +/* No side effect */ diff --git a/tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx new file mode 100644 index 0000000000..6e8cb207cc --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx @@ -0,0 +1,10 @@ +/* TypeScript file generated from ExportWithRename.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import * as ExportWithRenameJS from './ExportWithRename.res.js'; + +export type props = { readonly s: s }; + +export const Renamed: React.ComponentType<{ readonly s: string }> = ExportWithRenameJS.make as any; diff --git a/tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js new file mode 100644 index 0000000000..3d13c84a2f --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js @@ -0,0 +1,13 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + + +function ExportWithRename(props) { + return props.s; +} + +let make = ExportWithRename; + +export { + make, +} +/* No side effect */ diff --git a/tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx new file mode 100644 index 0000000000..1d9a1e530f --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx @@ -0,0 +1,141 @@ +/* TypeScript file generated from Hooks.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import * as HooksJS from './Hooks.res.js'; + +import type {TypedArray2_Uint8Array_t as Js_TypedArray2_Uint8Array_t} from '../src/shims/Js.shim'; + +export type vehicle = { readonly name: string }; + +export type props = { readonly vehicle: vehicle }; + +export type Another_props = { readonly vehicle: vehicle; readonly callback: callback }; + +export type Inner_props = { readonly vehicle: vehicle }; + +export type Inner_Another_props = { readonly vehicle: vehicle }; + +export type Inner_Inner2_props = { readonly vehicle: vehicle }; + +export type Inner_Inner2_Another_props = { readonly vehicle: vehicle }; + +export type NoProps_props = {}; + +export type cb = (_to:vehicle) => void; + +export type WithRename_props = { + readonly _to: T_to; + readonly _Type: T_Type; + readonly cb: cb +}; + +export type WithRef_props = { readonly vehicle: vehicle }; + +export type r = { readonly x: string }; + +export type callback = (_1:input) => output; + +export type testReactContext = React.Context; + +export type testReactRef = { current: (null | number) }; + +export type testDomRef = React.Ref; + +export type testDomRef2 = React.Ref; + +export type Poly_props

= { readonly p: p }; + +export type Fun_props = { readonly name: name }; + +export type RenderPropRequiresConversion_props = { readonly renderVehicle: renderVehicle }; + +export type WithChildren_props = { readonly vehicle: vehicle; readonly children: children }; + +export type DD_props = { readonly array: array; readonly name: name }; + +export const $$default: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.default as any; + +export default $$default; + +export const Another_anotherComponent: React.ComponentType<{ readonly vehicle: vehicle; readonly callback: () => void }> = HooksJS.Another.anotherComponent as any; + +export const Inner_make: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.Inner.make as any; + +export const Inner_Another_anotherComponent: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.Inner.Another.anotherComponent as any; + +export const Inner_Inner2_make: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.Inner.Inner2.make as any; + +export const Inner_Inner2_Another_anotherComponent: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.Inner.Inner2.Another.anotherComponent as any; + +export const NoProps_make: React.ComponentType<{}> = HooksJS.NoProps.make as any; + +export const functionWithRenamedArgs: (_to:vehicle, _Type:vehicle, cb:cb) => string = HooksJS.functionWithRenamedArgs as any; + +export const WithRename_componentWithRenamedArgs: React.ComponentType<{ + readonly _to: vehicle; + readonly _Type: vehicle; + readonly cb: cb +}> = HooksJS.WithRename.componentWithRenamedArgs as any; + +export const WithRef_makeWithRef: (_1:WithRef_props) => (_1:(null | undefined | any)) => JSX.Element = HooksJS.WithRef.makeWithRef as any; + +export const testForwardRef: React.ComponentType<{ readonly vehicle: vehicle }> = HooksJS.testForwardRef as any; + +export const ForwardRef_input: (_1:r) => JSX.Element = HooksJS.ForwardRef.input as any; + +export const Poly_polymorphicComponent: React.ComponentType<{ readonly p: [vehicle, any] }> = HooksJS.Poly.polymorphicComponent as any; + +export const Fun_functionReturningReactElement: React.ComponentType<{ readonly name: string }> = HooksJS.Fun.functionReturningReactElement as any; + +export const RenderPropRequiresConversion_make: React.ComponentType<{ readonly renderVehicle: React.ComponentType<{ readonly number: number; readonly vehicle: vehicle }> }> = HooksJS.RenderPropRequiresConversion.make as any; + +export const WithChildren_aComponentWithChildren: React.ComponentType<{ readonly vehicle: vehicle; readonly children: React.ReactNode }> = HooksJS.WithChildren.aComponentWithChildren as any; + +export const DD_make: React.ComponentType<{ readonly array: Js_TypedArray2_Uint8Array_t; readonly name: string }> = HooksJS.DD.make as any; + +export const NoProps: { make: React.ComponentType<{}> } = HooksJS.NoProps as any; + +export const Inner: { + Inner2: { + Another: { + anotherComponent: React.ComponentType<{ + readonly vehicle: vehicle + }> + }; + make: React.ComponentType<{ + readonly vehicle: vehicle + }> + }; + Another: { + anotherComponent: React.ComponentType<{ + readonly vehicle: vehicle + }> + }; + make: React.ComponentType<{ + readonly vehicle: vehicle + }> +} = HooksJS.Inner as any; + +export const RenderPropRequiresConversion: { make: React.ComponentType<{ readonly renderVehicle: React.ComponentType<{ readonly number: number; readonly vehicle: vehicle }> }> } = HooksJS.RenderPropRequiresConversion as any; + +export const WithRename: { componentWithRenamedArgs: React.ComponentType<{ + readonly _to: vehicle; + readonly _Type: vehicle; + readonly cb: cb +}> } = HooksJS.WithRename as any; + +export const ForwardRef: { input: (_1:r) => JSX.Element } = HooksJS.ForwardRef as any; + +export const Fun: { functionReturningReactElement: React.ComponentType<{ readonly name: string }> } = HooksJS.Fun as any; + +export const WithRef: { makeWithRef: (_1:WithRef_props) => (_1:(null | undefined | any)) => JSX.Element } = HooksJS.WithRef as any; + +export const WithChildren: { aComponentWithChildren: React.ComponentType<{ readonly vehicle: vehicle; readonly children: React.ReactNode }> } = HooksJS.WithChildren as any; + +export const DD: { make: React.ComponentType<{ readonly array: Js_TypedArray2_Uint8Array_t; readonly name: string }> } = HooksJS.DD as any; + +export const Another: { anotherComponent: React.ComponentType<{ readonly vehicle: vehicle; readonly callback: () => void }> } = HooksJS.Another as any; + +export const Poly: { polymorphicComponent: React.ComponentType<{ readonly p: [vehicle, any] }> } = HooksJS.Poly as any; diff --git a/tests/gentype_tests/typescript-react-example/src/Hooks.res.js b/tests/gentype_tests/typescript-react-example/src/Hooks.res.js new file mode 100644 index 0000000000..2abbe0b568 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/Hooks.res.js @@ -0,0 +1,231 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import * as React from "react"; +import * as ImportHooks from "./ImportHooks.res.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; +import * as ImportHookDefault from "./ImportHookDefault.res.js"; +import * as JsxRuntime from "react/jsx-runtime"; + +function Hooks(props) { + let match = React.useState(() => 0); + let setCount = match[1]; + let count = match[0]; + return JsxRuntime.jsxs("div", { + children: [ + JsxRuntime.jsx("p", { + children: "Hooks example " + (props.vehicle.name + (" clicked " + (String(count) + " times"))) + }), + JsxRuntime.jsx("button", { + children: "Click me", + onClick: param => setCount(param => count + 1 | 0) + }), + JsxRuntime.jsxs(ImportHooks.make, { + person: { + name: "Mary", + age: 71 + }, + children: [ + "child1", + "child2" + ], + renderMe: x => x.randomString + }), + JsxRuntime.jsxs(ImportHookDefault.make, { + person: { + name: "DefaultImport", + age: 42 + }, + children: [ + "child1", + "child2" + ], + renderMe: x => x.randomString + }) + ] + }); +} + +function Hooks$Another$anotherComponent(props) { + props.callback(); + return JsxRuntime.jsx("div", { + children: "Another Hook " + props.vehicle.name + }); +} + +let Another = { + anotherComponent: Hooks$Another$anotherComponent +}; + +function Hooks$Inner(props) { + return JsxRuntime.jsx("div", { + children: "Another Hook " + props.vehicle.name + }); +} + +function Hooks$Inner$Another$anotherComponent(props) { + return JsxRuntime.jsx("div", { + children: "Another Hook " + props.vehicle.name + }); +} + +let Another$1 = { + anotherComponent: Hooks$Inner$Another$anotherComponent +}; + +function Hooks$Inner$Inner2(props) { + return JsxRuntime.jsx("div", { + children: "Another Hook " + props.vehicle.name + }); +} + +function Hooks$Inner$Inner2$Another$anotherComponent(props) { + return JsxRuntime.jsx("div", { + children: "Another Hook " + props.vehicle.name + }); +} + +let Another$2 = { + anotherComponent: Hooks$Inner$Inner2$Another$anotherComponent +}; + +let Inner2 = { + make: Hooks$Inner$Inner2, + Another: Another$2 +}; + +let Inner = { + make: Hooks$Inner, + Another: Another$1, + Inner2: Inner2 +}; + +function Hooks$NoProps(props) { + return JsxRuntime.jsx("div", { + children: null + }); +} + +let NoProps = { + make: Hooks$NoProps +}; + +function functionWithRenamedArgs(_to, _Type, cb) { + cb(_to); + return _to.name + _Type.name; +} + +function Hooks$WithRename$componentWithRenamedArgs(props) { + let _to = props._to; + props.cb(_to); + return _to.name + props._Type.name; +} + +let WithRename = { + componentWithRenamedArgs: Hooks$WithRename$componentWithRenamedArgs +}; + +function makeWithRef(param) { + let vehicle = param.vehicle; + return ref => { + if (ref == null) { + return null; + } else { + return JsxRuntime.jsx("button", { + children: vehicle.name, + ref: Primitive_option.some(ref) + }); + } + }; +} + +let Hooks$WithRef$makeWithRef = makeWithRef; + +let WithRef = { + makeWithRef: Hooks$WithRef$makeWithRef +}; + +let testForwardRef = React.forwardRef((x, y) => makeWithRef(x)(y)); + +let input = React.forwardRef((r, ref) => JsxRuntime.jsx("div", { + children: r.x, + ref: Primitive_option.some(ref) +})); + +let ForwardRef = { + input: input +}; + +function Hooks$Poly$polymorphicComponent(props) { + return props.p[0].name; +} + +let Poly = { + polymorphicComponent: Hooks$Poly$polymorphicComponent +}; + +function Hooks$Fun$functionReturningReactElement(props) { + return props.name; +} + +let Fun = { + functionReturningReactElement: Hooks$Fun$functionReturningReactElement +}; + +function Hooks$RenderPropRequiresConversion(props) { + return props.renderVehicle({ + vehicle: { + name: "Car" + }, + number: 42 + }); +} + +let RenderPropRequiresConversion = { + make: Hooks$RenderPropRequiresConversion +}; + +function Hooks$WithChildren$aComponentWithChildren(props) { + return JsxRuntime.jsxs("div", { + children: [ + "Another Hook " + props.vehicle.name, + JsxRuntime.jsx("div", { + children: props.children + }) + ] + }); +} + +let WithChildren = { + aComponentWithChildren: Hooks$WithChildren$aComponentWithChildren +}; + +function Hooks$DD(props) { + return props.name; +} + +let DD = { + make: Hooks$DD +}; + +let make = Hooks; + +let $$default = Hooks; + +export { + make, + $$default as default, + Another, + Inner, + NoProps, + functionWithRenamedArgs, + WithRename, + WithRef, + testForwardRef, + ForwardRef, + Poly, + Fun, + RenderPropRequiresConversion, + WithChildren, + DD, +} +/* testForwardRef Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js b/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js index 6cc98c2619..b7f9356a83 100644 --- a/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js +++ b/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; function fromArray(a) { return a.slice(0); diff --git a/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx new file mode 100644 index 0000000000..8552188b0e --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx @@ -0,0 +1,54 @@ +/* TypeScript file generated from ImportHookDefault.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import {default as makeNotChecked} from './hookExample'; + +import {default as defaultNotChecked} from './hookExample'; + +// In case of type error, check the type of 'make' in 'ImportHookDefault.res' and './hookExample'. +export const makeTypeChecked: React.ComponentType<{ + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: ImportHooks_renderMe +}> = makeNotChecked as any; + +// Export 'make' early to allow circular import from the '.bs.js' file. +export const make: unknown = makeTypeChecked as React.ComponentType<{ + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: ImportHooks_renderMe +}> as any; + +// In case of type error, check the type of 'default' in 'ImportHookDefault.res' and './hookExample'. +export const defaultTypeChecked: React.ComponentType<{ + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: ImportHooks_renderMe +}> = defaultNotChecked as any; + +// Export '$$default' early to allow circular import from the '.bs.js' file. +export const $$default: unknown = defaultTypeChecked as React.ComponentType<{ + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: ImportHooks_renderMe +}> as any; + +import type {renderMe as ImportHooks_renderMe} from './ImportHooks.gen'; + +export type person = { readonly name: string; readonly age: number }; + +export type props = { + readonly person: person; + readonly children: children; + readonly renderMe: renderMe +}; + +export type MM_props = { + readonly person: person; + readonly children: children; + readonly renderMe: renderMe +}; + +export default $$default; diff --git a/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js new file mode 100644 index 0000000000..8b5cb1e464 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js @@ -0,0 +1,18 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import ImportHookDefaultGen from "./ImportHookDefault.gen"; +import * as ImportHookDefaultGen$1 from "./ImportHookDefault.gen"; + +let make = ImportHookDefaultGen$1.make; + +let make2 = ImportHookDefaultGen; + +let MM = { + make2: make2 +}; + +export { + make, + MM, +} +/* make Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx new file mode 100644 index 0000000000..fc7dd23a2e --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx @@ -0,0 +1,41 @@ +/* TypeScript file generated from ImportHooks.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import {makeRenamed as makeRenamedNotChecked} from './hookExample'; + +import {foo as fooNotChecked} from './hookExample'; + +// In case of type error, check the type of 'makeRenamed' in 'ImportHooks.res' and './hookExample'. +export const makeRenamedTypeChecked: React.ComponentType<{ + readonly actions?: JSX.Element; + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: renderMe +}> = makeRenamedNotChecked as any; + +// Export 'makeRenamed' early to allow circular import from the '.bs.js' file. +export const makeRenamed: unknown = makeRenamedTypeChecked as React.ComponentType<{ + readonly actions?: JSX.Element; + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: renderMe +}> as any; + +// In case of type error, check the type of 'foo' in 'ImportHooks.res' and './hookExample'. +export const fooTypeChecked: (person:person) => string = fooNotChecked as any; + +// Export 'foo' early to allow circular import from the '.bs.js' file. +export const foo: unknown = fooTypeChecked as (person:person) => string as any; + +export type person = { readonly name: string; readonly age: number }; + +export type renderMe = React.ComponentType<{ readonly randomString: string; readonly poly: a }>; + +export type props = { + readonly actions?: actions; + readonly person: person; + readonly children: children; + readonly renderMe: renderMe +}; diff --git a/tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js b/tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js new file mode 100644 index 0000000000..8bcba0f408 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js @@ -0,0 +1,15 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import * as ImportHooksGen from "./ImportHooks.gen"; + +let make = ImportHooksGen.makeRenamed; + +function foo(prim) { + return ImportHooksGen.foo(prim); +} + +export { + make, + foo, +} +/* make Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx new file mode 100644 index 0000000000..31f142f075 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx @@ -0,0 +1,16 @@ +/* TypeScript file generated from ImportIndex.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import {default as defaultNotChecked} from './'; + +// In case of type error, check the type of 'default' in 'ImportIndex.res' and './'. +export const defaultTypeChecked: React.ComponentType<{ readonly method?: "push" | "replace" }> = defaultNotChecked as any; + +// Export '$$default' early to allow circular import from the '.bs.js' file. +export const $$default: unknown = defaultTypeChecked as React.ComponentType<{ readonly method?: "push" | "replace" }> as any; + +export type props = { readonly method?: method }; + +export default $$default; diff --git a/tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js b/tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js new file mode 100644 index 0000000000..34ab9cf267 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js @@ -0,0 +1,10 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import ImportIndexGen from "./ImportIndex.gen"; + +let make = ImportIndexGen; + +export { + make, +} +/* make Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx b/tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx new file mode 100644 index 0000000000..5d138887bf --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx @@ -0,0 +1,43 @@ +/* TypeScript file generated from JSXV4.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import {make as makeNotChecked} from './hookExample'; + +// In case of type error, check the type of 'make' in 'JSXV4.res' and './hookExample'. +export const makeTypeChecked: React.ComponentType<{ + readonly actions?: JSX.Element; + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: renderMe +}> = makeNotChecked as any; + +// Export 'make' early to allow circular import from the '.bs.js' file. +export const make: unknown = makeTypeChecked as React.ComponentType<{ + readonly actions?: JSX.Element; + readonly person: person; + readonly children: React.ReactNode; + readonly renderMe: renderMe +}> as any; + +const JSXV4JS = require('./JSXV4.res.js'); + +export type CompV4_props = { readonly x: x; readonly y: y }; + +export type person = { readonly name: string; readonly age: number }; + +export type props2 = { readonly randomString: string; readonly poly: a }; + +export type renderMe = (_1:props2) => JSX.Element; + +export type props = { + readonly actions?: actions; + readonly person: person; + readonly children: children; + readonly renderMe: renderMe +}; + +export const CompV4_make: React.ComponentType<{ readonly x: string; readonly y: string }> = JSXV4JS.CompV4.make as any; + +export const CompV4: { make: React.ComponentType<{ readonly x: string; readonly y: string }> } = JSXV4JS.CompV4 as any; diff --git a/tests/gentype_tests/typescript-react-example/src/JSXV4.res.js b/tests/gentype_tests/typescript-react-example/src/JSXV4.res.js new file mode 100644 index 0000000000..016dda6790 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/JSXV4.res.js @@ -0,0 +1,19 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import * as JSXV4Gen from "./JSXV4.gen"; + +function JSXV4$CompV4(props) { + return props.x + props.y; +} + +let CompV4 = { + make: JSXV4$CompV4 +}; + +let make = JSXV4Gen.make; + +export { + CompV4, + make, +} +/* make Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx b/tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx new file mode 100644 index 0000000000..9e9e897357 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx @@ -0,0 +1,20 @@ +/* TypeScript file generated from MyInput.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import {default as defaultNotChecked} from './MyInput'; + +// In case of type error, check the type of 'default' in 'MyInput.res' and './MyInput'. +export const defaultTypeChecked: React.ComponentType<{ readonly onFocus?: (_1:inputFocusEvent) => void }> = defaultNotChecked as any; + +// Export '$$default' early to allow circular import from the '.bs.js' file. +export const $$default: unknown = defaultTypeChecked as React.ComponentType<{ readonly onFocus?: (_1:inputFocusEvent) => void }> as any; + +import type {inputFocusEvent as $$inputFocusEvent} from './shims/JsxEvent.shim'; + +export type inputFocusEvent = $$inputFocusEvent; + +export type props = { readonly onFocus?: onFocus }; + +export default $$default; diff --git a/tests/gentype_tests/typescript-react-example/src/MyInput.res.js b/tests/gentype_tests/typescript-react-example/src/MyInput.res.js new file mode 100644 index 0000000000..6fdab560cb --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/MyInput.res.js @@ -0,0 +1,10 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import MyInputGen from "./MyInput.gen"; + +let make = MyInputGen; + +export { + make, +} +/* make Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx new file mode 100644 index 0000000000..a804d5483d --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx @@ -0,0 +1,12 @@ +/* TypeScript file generated from OnClick2.res by genType. */ + +/* eslint-disable */ +/* tslint:disable */ + +import * as OnClick2JS from './OnClick2.res.js'; + +import type {Mouse_t as JsxEvent_Mouse_t} from '../src/shims/JsxEvent.shim'; + +export type props = { readonly onClick: onClick }; + +export const make: React.ComponentType<{ readonly onClick: (_1:JsxEvent_Mouse_t) => void }> = OnClick2JS.make as any; diff --git a/tests/gentype_tests/typescript-react-example/src/OnClick2.res.js b/tests/gentype_tests/typescript-react-example/src/OnClick2.res.js new file mode 100644 index 0000000000..1106cd2f83 --- /dev/null +++ b/tests/gentype_tests/typescript-react-example/src/OnClick2.res.js @@ -0,0 +1,16 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE + +import * as JsxRuntime from "react/jsx-runtime"; + +function OnClick2(props) { + return JsxRuntime.jsx("div", { + onClick: props.onClick + }); +} + +let make = OnClick2; + +export { + make, +} +/* react/jsx-runtime Not a pure module */ diff --git a/tests/gentype_tests/typescript-react-example/src/Records.res.js b/tests/gentype_tests/typescript-react-example/src/Records.res.js index 5671e37021..23e618cb8e 100644 --- a/tests/gentype_tests/typescript-react-example/src/Records.res.js +++ b/tests/gentype_tests/typescript-react-example/src/Records.res.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; -import * as Primitive_option from "rescript/lib/es6/Primitive_option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; +import * as Primitive_option from "@rescript/runtime/lib/es6/Primitive_option.js"; function computeArea(param) { return (param.x * param.y | 0) * Belt_Option.mapWithDefault(param.z, 1, n => n) | 0; diff --git a/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js b/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js index 558debf3b2..2988fa20de 100644 --- a/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js +++ b/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Array from "rescript/lib/es6/Belt_Array.js"; +import * as Belt_Array from "@rescript/runtime/lib/es6/Belt_Array.js"; import * as ImmutableArray from "./ImmutableArray.res.js"; function testImmutableArrayGet(arr) { diff --git a/tests/gentype_tests/typescript-react-example/src/TestPromise.res.js b/tests/gentype_tests/typescript-react-example/src/TestPromise.res.js index c0e3f0588b..855bd2553e 100644 --- a/tests/gentype_tests/typescript-react-example/src/TestPromise.res.js +++ b/tests/gentype_tests/typescript-react-example/src/TestPromise.res.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Js_promise from "rescript/lib/es6/Js_promise.js"; -import * as Primitive_object from "rescript/lib/es6/Primitive_object.js"; +import * as Js_promise from "@rescript/runtime/lib/es6/Js_promise.js"; +import * as Primitive_object from "@rescript/runtime/lib/es6/Primitive_object.js"; function convert(p) { return Js_promise.then_(param => Promise.resolve({ diff --git a/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js b/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js index df2b77e2f4..ff47a7830c 100644 --- a/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js +++ b/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js @@ -1,6 +1,6 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; function testTuple(param) { return param[0] + param[1] | 0; diff --git a/tests/gentype_tests/typescript-react-example/src/nested/Types.res.js b/tests/gentype_tests/typescript-react-example/src/nested/Types.res.js index 10e245c1ed..82b6292a84 100644 --- a/tests/gentype_tests/typescript-react-example/src/nested/Types.res.js +++ b/tests/gentype_tests/typescript-react-example/src/nested/Types.res.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE -import * as Belt_List from "rescript/lib/es6/Belt_List.js"; -import * as Belt_Option from "rescript/lib/es6/Belt_Option.js"; +import * as Belt_List from "@rescript/runtime/lib/es6/Belt_List.js"; +import * as Belt_Option from "@rescript/runtime/lib/es6/Belt_Option.js"; function swap(tree) { return { From 7f8b3b5a667282b4282d7a0983378c0af75ae5c9 Mon Sep 17 00:00:00 2001 From: Hyeseong Kim Date: Sun, 18 May 2025 19:33:36 +0900 Subject: [PATCH 13/13] expose rescript-editor-analysis and use it --- cli/rescript-editor-analysis.js | 13 +++++++++++++ package.json | 1 + yarn.lock | 1 + 3 files changed, 15 insertions(+) create mode 100755 cli/rescript-editor-analysis.js diff --git a/cli/rescript-editor-analysis.js b/cli/rescript-editor-analysis.js new file mode 100755 index 0000000000..e17b4bcdeb --- /dev/null +++ b/cli/rescript-editor-analysis.js @@ -0,0 +1,13 @@ +#!/usr/bin/env node + +// @ts-check + +import * as child_process from "node:child_process"; + +import { rescript_editor_analysis_exe } from "./common/bins.js"; + +const args = process.argv.slice(2); + +child_process.spawnSync(rescript_editor_analysis_exe, args, { + stdio: "inherit", +}); diff --git a/package.json b/package.json index 1853f9d0be..f14cfb6ae8 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "bsc": "cli/bsc.js", "bstracing": "cli/bstracing.js", "rescript": "cli/rescript.js", + "rescript-editor-analysis": "cli/rescript-editor-analysis.js", "rescript-tools": "cli/rescript-tools.js", "rewatch": "cli/rewatch.js" }, diff --git a/yarn.lock b/yarn.lock index 2d29c4a656..7aacbf4f2c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2511,6 +2511,7 @@ __metadata: bsc: cli/bsc.js bstracing: cli/bstracing.js rescript: cli/rescript.js + rescript-editor-analysis: cli/rescript-editor-analysis.js rescript-tools: cli/rescript-tools.js rewatch: cli/rewatch.js languageName: unknown