diff --git a/packages/squiggle-lang/bsconfig.json b/packages/squiggle-lang/bsconfig.json index 81e4e133..1fa663ac 100644 --- a/packages/squiggle-lang/bsconfig.json +++ b/packages/squiggle-lang/bsconfig.json @@ -31,6 +31,7 @@ "basic": false } }, + "external-stdlib": "@rescript/std", "refmt": 3, "warnings": { "number": "+A-42-48-9-30-4" diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index f338e564..388a596a 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -36,12 +36,12 @@ ], "author": "Quantified Uncertainty Research Institute", "dependencies": { + "@rescript/std": "^9.1.4", "@stdlib/stats": "^0.0.13", "jstat": "^1.9.5", "lodash": "^4.17.21", "mathjs": "^10.6.0", - "pdfast": "^0.2.0", - "rescript": "^9.1.4" + "pdfast": "^0.2.0" }, "devDependencies": { "@glennsl/rescript-jest": "^0.9.0", @@ -58,6 +58,7 @@ "nyc": "^15.1.0", "peggy": "^2.0.1", "reanalyze": "^2.23.0", + "rescript": "^9.1.4", "rescript-fast-check": "^1.1.1", "ts-jest": "^27.1.4", "ts-loader": "^9.3.0", diff --git a/yarn.lock b/yarn.lock index 2ce67d62..6f41979e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2336,6 +2336,11 @@ "@react-hook/passive-layout-effect" "^1.2.0" "@react-hook/resize-observer" "^1.2.1" +"@rescript/std@^9.1.4": + version "9.1.4" + resolved "https://registry.yarnpkg.com/@rescript/std/-/std-9.1.4.tgz#94971cb504b10d36d470618fa1c6f0a2d03a6b9b" + integrity sha512-OHBORysVe6vmyllL24S2sXiwLGrpVRbZW5k2FverbjY3QF81VoyCRYL6kMOSNMEn9GseO/oDubK8+nvVzCSVMA== + "@rollup/plugin-babel@^5.2.0": version "5.3.1" resolved "https://registry.yarnpkg.com/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz#04bc0608f4aa4b2e4b1aebf284344d0f68fda283" @@ -4344,7 +4349,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^18.0.1", "@types/react@^18.0.9": +"@types/react@*", "@types/react@^18.0.9": version "18.0.14" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.14.tgz#e016616ffff51dba01b04945610fe3671fdbe06d" integrity sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q== @@ -14871,7 +14876,7 @@ react-vega@^7.5.1: prop-types "^15.8.1" vega-embed "^6.5.1" -react@^18.0.0, react@^18.1.0: +react@^18.1.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==