diff --git a/package-lock.json b/package-lock.json index 10a4868a..b76cda00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "devDependencies": { "@babel/code-frame": "7.18.6", "@rescript/tools": "^0.5.0", - "rescript": "11.1.0-rc.6" + "rescript": "^11.1.0-rc.6" }, "peerDependencies": { "rescript": "^11.1.0-rc.6" diff --git a/package.json b/package.json index fd2b5b56..470325e6 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,11 @@ "src/**/*.mjs" ], "peerDependencies": { - "rescript": "^11.1.0-rc.6" + "rescript": "^11.1.0-rc.7" }, "devDependencies": { "@babel/code-frame": "7.18.6", "@rescript/tools": "^0.5.0", - "rescript": "11.1.0-rc.6" + "rescript": "^11.1.0-rc.7" } -} +} \ No newline at end of file diff --git a/scripts/DocTests.mjs b/scripts/DocTests.mjs index 609de09f..1a3b4e7d 100644 --- a/scripts/DocTests.mjs +++ b/scripts/DocTests.mjs @@ -48,7 +48,7 @@ var bscBin = Path.join(compilerDir, "node_modules", ".bin", "bsc"); var rescriptCoreCompiled = Path.join(compilerDir, "node_modules", "@rescript", "core", "lib", "ocaml"); function makePackageJson(coreVersion) { - return "{\n \"name\": \"test-compiler-examples\",\n \"version\": \"1.0.0\",\n \"dependencies\": {\n \"@rescript/core\": \"file:rescript-core-" + coreVersion + ".tgz\",\n \"rescript\": \"^11.0.1\"\n }\n}\n"; + return "{\n \"name\": \"test-compiler-examples\",\n \"version\": \"1.0.0\",\n \"dependencies\": {\n \"@rescript/core\": \"file:rescript-core-" + coreVersion + ".tgz\",\n \"rescript\": \"11.1.0-rc.7\"\n }\n}\n"; } var rescriptJson = "{\n \"name\": \"dummy\",\n \"sources\": {\n \"dir\": \"dummy\",\n \"subdirs\": true\n },\n \"bs-dependencies\": [\n \"@rescript/core\"\n ],\n \"bsc-flags\": [\n \"-open RescriptCore\"\n ]\n}"; diff --git a/scripts/DocTests.res b/scripts/DocTests.res index 0dcffe5d..3a448934 100644 --- a/scripts/DocTests.res +++ b/scripts/DocTests.res @@ -89,7 +89,7 @@ let makePackageJson = coreVersion => "version": "1.0.0", "dependencies": { "@rescript/core": "file:rescript-core-${coreVersion}.tgz", - "rescript": "^11.0.1" + "rescript": "11.1.0-rc.7" } } `