From 5d0d5ce2a4e9f06642c659f9c5670d83b6dd3c4c Mon Sep 17 00:00:00 2001 From: Cristiano Calcagno Date: Tue, 31 May 2022 14:00:07 +0200 Subject: [PATCH] Test the examples with the compiler master. This should track the progress towards building hello-world-style projects with compiler master. --- analysis/tests/package-lock.json | 30 +++++++++++++++++++++++------- analysis/tests/package.json | 2 +- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/analysis/tests/package-lock.json b/analysis/tests/package-lock.json index cdf7c13db..a9e9a7ab8 100644 --- a/analysis/tests/package-lock.json +++ b/analysis/tests/package-lock.json @@ -5,12 +5,29 @@ "packages": { "": { "dependencies": { - "rescript": "9.1.2" + "rescript": "github:rescript-lang/rescript-compiler" }, "devDependencies": { "@rescript/react": "^0.10.3" } }, + "../../../rescript-compiler": { + "name": "rescript", + "version": "10.0.0", + "extraneous": true, + "hasInstallScript": true, + "license": "SEE LICENSE IN LICENSE", + "bin": { + "bsc": "bsc", + "bsrefmt": "bsrefmt", + "bstracing": "lib/bstracing", + "rescript": "rescript" + }, + "devDependencies": { + "mocha": "^7.2.0", + "nyc": "^15.0.0" + } + }, "node_modules/@rescript/react": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/@rescript/react/-/react-0.10.3.tgz", @@ -18,10 +35,10 @@ "dev": true }, "node_modules/rescript": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-9.1.2.tgz", - "integrity": "sha512-4wHvTDv3nyYnAPJHcg1RGG8z7u3HDiBf6RN3P/dITDv859Qo35aKOzJWQtfBzbAs0EKNafLqei3TnUqiAv6BwQ==", + "version": "10.0.0", + "resolved": "git+ssh://git@github.com/rescript-lang/rescript-compiler.git#4082a3c7464966954ab4cf4ecff7fdb6983112a5", "hasInstallScript": true, + "license": "SEE LICENSE IN LICENSE", "bin": { "bsc": "bsc", "bsrefmt": "bsrefmt", @@ -38,9 +55,8 @@ "dev": true }, "rescript": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/rescript/-/rescript-9.1.2.tgz", - "integrity": "sha512-4wHvTDv3nyYnAPJHcg1RGG8z7u3HDiBf6RN3P/dITDv859Qo35aKOzJWQtfBzbAs0EKNafLqei3TnUqiAv6BwQ==" + "version": "git+ssh://git@github.com/rescript-lang/rescript-compiler.git#4082a3c7464966954ab4cf4ecff7fdb6983112a5", + "from": "rescript@https://github.com/rescript-lang/rescript-compiler" } } } diff --git a/analysis/tests/package.json b/analysis/tests/package.json index e95584d29..70a4fd572 100644 --- a/analysis/tests/package.json +++ b/analysis/tests/package.json @@ -4,7 +4,7 @@ "clean": "rescript clean -with-deps" }, "dependencies": { - "rescript": "9.1.2" + "rescript": "github:rescript-lang/rescript-compiler" }, "private": true, "devDependencies": {