diff --git a/docs/content/docs/contributing/getting-started.mdx b/docs/content/docs/contributing/getting-started.mdx index f09e34d..762e8d6 100644 --- a/docs/content/docs/contributing/getting-started.mdx +++ b/docs/content/docs/contributing/getting-started.mdx @@ -58,8 +58,3 @@ Install the dependencies and compile the bindings using `ReScript`: ```shell npm install && npm run build ``` - - \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index bc09286..fbbb9a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "license": "MIT", "dependencies": { - "rescript": "^12.0.0-alpha.13" + "rescript": "^12.0.0-beta.2" }, "devDependencies": { "@astrojs/starlight": "0.34.5", @@ -173,6 +173,16 @@ "node": "18.20.8 || ^20.3.0 || >=22.0.0" } }, + "node_modules/@babel/runtime": { + "version": "7.27.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz", + "integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@capsizecss/unpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/@capsizecss/unpack/-/unpack-2.4.0.tgz", @@ -1206,9 +1216,9 @@ ] }, "node_modules/@rescript/darwin-arm64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.14.tgz", - "integrity": "sha512-yrScC0FvAjQ2B1EnC8EbwRZX8tTEtyiRXLNCOlqOPcmTKXBr7KHknV2MsKqsn4kgmm29/ERZ0zyP4xHh2ookAw==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-beta.2.tgz", + "integrity": "sha512-dltaSpmHdvlDrUrpp2lZudBXqiH0Uh5wB37OJcpqaV6FECgImO7fwMJkXfUMjNvY4sIM09lkPKhD+xFbInKmdQ==", "cpu": [ "arm64" ], @@ -1221,9 +1231,9 @@ } }, "node_modules/@rescript/darwin-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-O2pyYtyZFfPXq4U5PCe0hwAdQwdAjjQMY0rAoAqcoI/DIcRIpEc4y/7z6rK9Izig4qBZuQl0z33KKAYPuq6l5g==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-Dwf74wfivvytGJdWWyq0HH2lA6IUuaeRGZZnYZVxlteqkygy6+ugmdTRDp993H8ELljHAW8DcIzXLPUlblY0aQ==", "cpu": [ "x64" ], @@ -1236,9 +1246,9 @@ } }, "node_modules/@rescript/linux-arm64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.14.tgz", - "integrity": "sha512-pd3LKwojp02wrq9x32ALiIMlfbcTYedQahiaLCIPLVhOb03YEANd1NHwEyyqm81LdpIK190yA3yiJ3Mi1afWFA==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-beta.2.tgz", + "integrity": "sha512-2tMVCkDVb5yotBV11ANA4+6Gem0lSabgG9W1F8byOytCf9ngMqLTFilbHsOoNeAyi/kICbHz6U+rblLKWSrQgw==", "cpu": [ "arm64" ], @@ -1251,9 +1261,9 @@ } }, "node_modules/@rescript/linux-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-vgXn4WiP1JJVvzGxWihxUPfiCYp8y5uvBO/DxDh+yQ2hivkZYkxTQjG6psd9oRbtoY2OPxl7J9S/7abhUznAOQ==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-CCjvQwe/xgkVfBEiP5sEj1e/UoA/bJLeaa2o+7l+nt1mR+7X8p8vfehZlAHJqaH00bNmuPyOcLUf8i3FtrXx0A==", "cpu": [ "x64" ], @@ -1266,9 +1276,9 @@ } }, "node_modules/@rescript/win32-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-iEnGhXiJhb7Nf8d6QDswCMlEubeh/YO4I5e022u4lm1t9aaBw/r89flDRsewe4b49i6KkSuoWzNG1uFtxIEwdA==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-Y1qCehvTFh0KQa0IecfH5Y/qwulDQxXqHLuhIc1I6guVMO76PBi5153JdWMdTAxHV3Z2F/7Z7E2jM6Li1M3mBA==", "cpu": [ "x64" ], @@ -4012,24 +4022,6 @@ "@babel/runtime": "^7.23.2" } }, - "node_modules/i18next/node_modules/@babel/runtime": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", - "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", - "dev": true, - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/i18next/node_modules/regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true - }, "node_modules/import-meta-resolve": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", @@ -6157,9 +6149,9 @@ } }, "node_modules/rescript": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.14.tgz", - "integrity": "sha512-1Cxy0BHi3T1Yq+whl5sVOSMRsB6+NdnX7RbQ0jeXQOBvo3rGHsJ/hXoOqZPacbTDIsBNJNuTyBK74CYrEJynLg==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-beta.2.tgz", + "integrity": "sha512-l+KnrLh1pWFC1pJYrln1+hry/Zhsh25N5mPBGnAWns7ny/aSgXZ7Rr1Dd58AMpccFwXMmJWPKjPb1LqWKI3Crg==", "license": "SEE LICENSE IN LICENSE", "workspaces": [ "packages/*", @@ -6175,18 +6167,18 @@ "bsc": "cli/bsc.js", "bstracing": "cli/bstracing.js", "rescript": "cli/rescript.js", - "rescript-tools": "cli/rescript-tools.js", - "rewatch": "cli/rewatch.js" + "rescript-legacy": "cli/rescript-legacy.js", + "rescript-tools": "cli/rescript-tools.js" }, "engines": { "node": ">=20.11.0" }, "optionalDependencies": { - "@rescript/darwin-arm64": "12.0.0-alpha.14", - "@rescript/darwin-x64": "12.0.0-alpha.14", - "@rescript/linux-arm64": "12.0.0-alpha.14", - "@rescript/linux-x64": "12.0.0-alpha.14", - "@rescript/win32-x64": "12.0.0-alpha.14" + "@rescript/darwin-arm64": "12.0.0-beta.2", + "@rescript/darwin-x64": "12.0.0-beta.2", + "@rescript/linux-arm64": "12.0.0-beta.2", + "@rescript/linux-x64": "12.0.0-beta.2", + "@rescript/win32-x64": "12.0.0-beta.2" } }, "node_modules/restructure": { @@ -7375,6 +7367,12 @@ "which-pm-runs": "^1.1.0" } }, + "@babel/runtime": { + "version": "7.27.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz", + "integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==", + "dev": true + }, "@capsizecss/unpack": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/@capsizecss/unpack/-/unpack-2.4.0.tgz", @@ -7880,33 +7878,33 @@ "optional": true }, "@rescript/darwin-arm64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-alpha.14.tgz", - "integrity": "sha512-yrScC0FvAjQ2B1EnC8EbwRZX8tTEtyiRXLNCOlqOPcmTKXBr7KHknV2MsKqsn4kgmm29/ERZ0zyP4xHh2ookAw==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/darwin-arm64/-/darwin-arm64-12.0.0-beta.2.tgz", + "integrity": "sha512-dltaSpmHdvlDrUrpp2lZudBXqiH0Uh5wB37OJcpqaV6FECgImO7fwMJkXfUMjNvY4sIM09lkPKhD+xFbInKmdQ==", "optional": true }, "@rescript/darwin-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-O2pyYtyZFfPXq4U5PCe0hwAdQwdAjjQMY0rAoAqcoI/DIcRIpEc4y/7z6rK9Izig4qBZuQl0z33KKAYPuq6l5g==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/darwin-x64/-/darwin-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-Dwf74wfivvytGJdWWyq0HH2lA6IUuaeRGZZnYZVxlteqkygy6+ugmdTRDp993H8ELljHAW8DcIzXLPUlblY0aQ==", "optional": true }, "@rescript/linux-arm64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-alpha.14.tgz", - "integrity": "sha512-pd3LKwojp02wrq9x32ALiIMlfbcTYedQahiaLCIPLVhOb03YEANd1NHwEyyqm81LdpIK190yA3yiJ3Mi1afWFA==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/linux-arm64/-/linux-arm64-12.0.0-beta.2.tgz", + "integrity": "sha512-2tMVCkDVb5yotBV11ANA4+6Gem0lSabgG9W1F8byOytCf9ngMqLTFilbHsOoNeAyi/kICbHz6U+rblLKWSrQgw==", "optional": true }, "@rescript/linux-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-vgXn4WiP1JJVvzGxWihxUPfiCYp8y5uvBO/DxDh+yQ2hivkZYkxTQjG6psd9oRbtoY2OPxl7J9S/7abhUznAOQ==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/linux-x64/-/linux-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-CCjvQwe/xgkVfBEiP5sEj1e/UoA/bJLeaa2o+7l+nt1mR+7X8p8vfehZlAHJqaH00bNmuPyOcLUf8i3FtrXx0A==", "optional": true }, "@rescript/win32-x64": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-alpha.14.tgz", - "integrity": "sha512-iEnGhXiJhb7Nf8d6QDswCMlEubeh/YO4I5e022u4lm1t9aaBw/r89flDRsewe4b49i6KkSuoWzNG1uFtxIEwdA==", + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/@rescript/win32-x64/-/win32-x64-12.0.0-beta.2.tgz", + "integrity": "sha512-Y1qCehvTFh0KQa0IecfH5Y/qwulDQxXqHLuhIc1I6guVMO76PBi5153JdWMdTAxHV3Z2F/7Z7E2jM6Li1M3mBA==", "optional": true }, "@rollup/rollup-android-arm-eabi": { @@ -9740,23 +9738,6 @@ "dev": true, "requires": { "@babel/runtime": "^7.23.2" - }, - "dependencies": { - "@babel/runtime": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", - "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", - "dev": true, - "requires": { - "regenerator-runtime": "^0.14.0" - } - }, - "regenerator-runtime": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", - "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", - "dev": true - } } }, "import-meta-resolve": { @@ -11177,15 +11158,15 @@ } }, "rescript": { - "version": "12.0.0-alpha.14", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-alpha.14.tgz", - "integrity": "sha512-1Cxy0BHi3T1Yq+whl5sVOSMRsB6+NdnX7RbQ0jeXQOBvo3rGHsJ/hXoOqZPacbTDIsBNJNuTyBK74CYrEJynLg==", - "requires": { - "@rescript/darwin-arm64": "12.0.0-alpha.14", - "@rescript/darwin-x64": "12.0.0-alpha.14", - "@rescript/linux-arm64": "12.0.0-alpha.14", - "@rescript/linux-x64": "12.0.0-alpha.14", - "@rescript/win32-x64": "12.0.0-alpha.14" + "version": "12.0.0-beta.2", + "resolved": "https://registry.npmjs.org/rescript/-/rescript-12.0.0-beta.2.tgz", + "integrity": "sha512-l+KnrLh1pWFC1pJYrln1+hry/Zhsh25N5mPBGnAWns7ny/aSgXZ7Rr1Dd58AMpccFwXMmJWPKjPb1LqWKI3Crg==", + "requires": { + "@rescript/darwin-arm64": "12.0.0-beta.2", + "@rescript/darwin-x64": "12.0.0-beta.2", + "@rescript/linux-arm64": "12.0.0-beta.2", + "@rescript/linux-x64": "12.0.0-beta.2", + "@rescript/win32-x64": "12.0.0-beta.2" } }, "restructure": { diff --git a/package.json b/package.json index 078634d..672b2cc 100644 --- a/package.json +++ b/package.json @@ -28,15 +28,15 @@ "type": "module", "scripts": { "test": "node tests/index.js", - "build": "rewatch --dev", - "format": "rescript format -all && prettier --write ./tests/index.js ./package.json ./docs/pages", + "build": "rescript --dev", + "format": "rescript format --all && prettier --write ./tests/index.js ./package.json ./docs/pages", "docs": "astro dev", "prebuild:docs": "node docs/llm.js", "build:docs": "astro build" }, "license": "MIT", "dependencies": { - "rescript": "^12.0.0-alpha.13" + "rescript": "^12.0.0-beta.2" }, "devDependencies": { "@astrojs/starlight": "0.34.5",