From b69194a340edf599c88f82c4691448f43d23bf95 Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Fri, 19 Jan 2024 13:22:08 +0100 Subject: [PATCH 1/4] :truck: - `chmod -x` on some files --- .gitignore | 0 README.md | 0 dslToJson.js | 0 dune-project | 2 +- graphql_ppx.opam | 0 package.json | 0 6 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 .gitignore mode change 100755 => 100644 README.md mode change 100755 => 100644 dslToJson.js mode change 100755 => 100644 dune-project mode change 100755 => 100644 graphql_ppx.opam mode change 100755 => 100644 package.json diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/dslToJson.js b/dslToJson.js old mode 100755 new mode 100644 diff --git a/dune-project b/dune-project old mode 100755 new mode 100644 index cfbbd3ed..6490f270 --- a/dune-project +++ b/dune-project @@ -1,3 +1,3 @@ -(lang dune 2.0) +(lang dune 3.8) (name graphql_ppx) diff --git a/graphql_ppx.opam b/graphql_ppx.opam old mode 100755 new mode 100644 diff --git a/package.json b/package.json old mode 100755 new mode 100644 From 0438b2b28ac6cbfec9b61a06dc2d4acf2bd2bdec Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Fri, 19 Jan 2024 13:23:20 +0100 Subject: [PATCH 2/4] :art: - Esy -> Opam + Make --- .gitignore | 1 + Makefile | 59 + dune-project | 2 +- dune-workspace | 2 +- esy.json | 24 - esy.lock/.gitattributes | 3 - esy.lock/.gitignore | 3 - esy.lock/index.json | 1015 ----------------- esy.lock/opam/base-bigarray.base/opam | 6 - esy.lock/opam/base-bytes.base/opam | 9 - esy.lock/opam/base-threads.base/opam | 6 - esy.lock/opam/base-unix.base/opam | 6 - esy.lock/opam/biniou.1.2.1/opam | 45 - esy.lock/opam/cppo.1.6.9/opam | 39 - esy.lock/opam/csexp.1.5.1/opam | 60 - esy.lock/opam/dot-merlin-reader.4.2/opam | 30 - esy.lock/opam/dune-build-info.3.2.0/opam | 46 - esy.lock/opam/dune-rpc.3.2.0/opam | 44 - esy.lock/opam/dune.3.2.0/opam | 57 - esy.lock/opam/dyn.3.2.0/opam | 41 - esy.lock/opam/easy-format.1.3.4/opam | 56 - esy.lock/opam/fiber.3.2.0/opam | 42 - esy.lock/opam/merlin.4.5-414/opam | 79 -- .../opam/ocaml-compiler-libs.v0.12.4/opam | 39 - esy.lock/opam/ocaml-lsp-server.1.11.6/opam | 62 - esy.lock/opam/ocamlbuild.0.14.1/opam | 39 - esy.lock/opam/ocamlfind.1.9.3/opam | 44 - esy.lock/opam/ocamlformat-rpc-lib.0.22.4/opam | 39 - esy.lock/opam/octavius.1.2.2/opam | 33 - esy.lock/opam/omd.1.3.1/opam | 39 - esy.lock/opam/ordering.3.2.0/opam | 39 - esy.lock/opam/pp.1.1.2/opam | 58 - esy.lock/opam/ppx_derivers.1.2.1/opam | 23 - .../opam/ppx_yojson_conv_lib.v0.15.0/opam | 24 - esy.lock/opam/ppxlib.0.26.0/opam | 63 - esy.lock/opam/re.1.10.4/opam | 46 - esy.lock/opam/seq.base/files/META.seq | 4 - esy.lock/opam/seq.base/files/seq.install | 3 - esy.lock/opam/seq.base/opam | 15 - esy.lock/opam/sexplib0.v0.15.0/opam | 26 - esy.lock/opam/spawn.v0.15.1/opam | 56 - esy.lock/opam/stdlib-shims.0.3.0/opam | 31 - esy.lock/opam/stdune.3.2.0/opam | 44 - esy.lock/opam/topkg.1.0.5/opam | 44 - esy.lock/opam/uutf.1.0.3/opam | 36 - esy.lock/opam/xdg.3.2.0/opam | 40 - esy.lock/opam/yojson.1.7.0/opam | 38 - .../files/winpatch.patch | 11 - .../package.json | 29 - .../files/findlib.patch | 485 -------- .../package.json | 61 - graphql_ppx.opam | 11 +- yarn.lock | 13 + 53 files changed, 84 insertions(+), 3086 deletions(-) create mode 100644 Makefile delete mode 100644 esy.json delete mode 100644 esy.lock/.gitattributes delete mode 100644 esy.lock/.gitignore delete mode 100644 esy.lock/index.json delete mode 100644 esy.lock/opam/base-bigarray.base/opam delete mode 100644 esy.lock/opam/base-bytes.base/opam delete mode 100644 esy.lock/opam/base-threads.base/opam delete mode 100644 esy.lock/opam/base-unix.base/opam delete mode 100644 esy.lock/opam/biniou.1.2.1/opam delete mode 100644 esy.lock/opam/cppo.1.6.9/opam delete mode 100644 esy.lock/opam/csexp.1.5.1/opam delete mode 100644 esy.lock/opam/dot-merlin-reader.4.2/opam delete mode 100644 esy.lock/opam/dune-build-info.3.2.0/opam delete mode 100644 esy.lock/opam/dune-rpc.3.2.0/opam delete mode 100644 esy.lock/opam/dune.3.2.0/opam delete mode 100644 esy.lock/opam/dyn.3.2.0/opam delete mode 100644 esy.lock/opam/easy-format.1.3.4/opam delete mode 100644 esy.lock/opam/fiber.3.2.0/opam delete mode 100644 esy.lock/opam/merlin.4.5-414/opam delete mode 100644 esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam delete mode 100644 esy.lock/opam/ocaml-lsp-server.1.11.6/opam delete mode 100644 esy.lock/opam/ocamlbuild.0.14.1/opam delete mode 100644 esy.lock/opam/ocamlfind.1.9.3/opam delete mode 100644 esy.lock/opam/ocamlformat-rpc-lib.0.22.4/opam delete mode 100644 esy.lock/opam/octavius.1.2.2/opam delete mode 100644 esy.lock/opam/omd.1.3.1/opam delete mode 100644 esy.lock/opam/ordering.3.2.0/opam delete mode 100644 esy.lock/opam/pp.1.1.2/opam delete mode 100644 esy.lock/opam/ppx_derivers.1.2.1/opam delete mode 100644 esy.lock/opam/ppx_yojson_conv_lib.v0.15.0/opam delete mode 100644 esy.lock/opam/ppxlib.0.26.0/opam delete mode 100644 esy.lock/opam/re.1.10.4/opam delete mode 100644 esy.lock/opam/seq.base/files/META.seq delete mode 100644 esy.lock/opam/seq.base/files/seq.install delete mode 100644 esy.lock/opam/seq.base/opam delete mode 100644 esy.lock/opam/sexplib0.v0.15.0/opam delete mode 100644 esy.lock/opam/spawn.v0.15.1/opam delete mode 100644 esy.lock/opam/stdlib-shims.0.3.0/opam delete mode 100644 esy.lock/opam/stdune.3.2.0/opam delete mode 100644 esy.lock/opam/topkg.1.0.5/opam delete mode 100644 esy.lock/opam/uutf.1.0.3/opam delete mode 100644 esy.lock/opam/xdg.3.2.0/opam delete mode 100644 esy.lock/opam/yojson.1.7.0/opam delete mode 100644 esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/files/winpatch.patch delete mode 100644 esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/package.json delete mode 100644 esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/files/findlib.patch delete mode 100644 esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/package.json create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore index 283b2e69..4882006b 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ npm-debug.log *.cmt .vscode .vim +_opam diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..d2ed7d5a --- /dev/null +++ b/Makefile @@ -0,0 +1,59 @@ +project_name = graphql_ppx + +DUNE = opam exec -- dune + +.DEFAULT_GOAL := help + +.PHONY: help +help: ## Print this help message + @echo "List of available make commands"; + @echo ""; + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}'; + @echo ""; + +.PHONY: create-switch +create-switch: ## Create opam switch + opam switch create . 5.1.0 -y --deps-only + +.PHONY: init +init: create-switch install ## Configure everything to develop this repository in local + +.PHONY: install +install: ## Install development dependencies + opam update + opam install -y . --deps-only --with-test + +.PHONY: test +test: ## Run tests using yest + $(DUNE) build + ./tests.sh + +.PHONY: build +build: ## Build the project + $(DUNE) build + +.PHONY: release_static +release_static: ## Release the project + $(DUNE) build --root . --only-packages '#{self.name}' --ignore-promoted-rules --no-config --profile release-static + +.PHONY: build_verbose +build_verbose: ## Build the project + $(DUNE) build --verbose + +.PHONY: clean +clean: ## Clean build artifacts and other generated files + $(DUNE) clean + +.PHONY: format +format: ## Format the codebase with ocamlformat + $(DUNE) build @fmt --auto-promote + +.PHONY: format-check +format-check: ## Checks if format is correct + $(DUNE) build @fmt + +.PHONY: watch +watch: ## Watch for the filesystem and rebuild on every change + $(DUNE) build --promote-install-files --root . --watch + + diff --git a/dune-project b/dune-project index 6490f270..b72975ea 100644 --- a/dune-project +++ b/dune-project @@ -1,3 +1,3 @@ -(lang dune 3.8) +(lang dune 3.12) (name graphql_ppx) diff --git a/dune-workspace b/dune-workspace index 9f28c516..cceab43c 100644 --- a/dune-workspace +++ b/dune-workspace @@ -1,4 +1,4 @@ -(lang dune 1.1) +(lang dune 3.12) (env (release-static diff --git a/esy.json b/esy.json deleted file mode 100644 index 6b870fc9..00000000 --- a/esy.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "graphql_ppx", - "description": "Used for native Reason/OCaml using latest version of OCaml", - "scripts": { - "watch": "esy dune build --promote-install-files --root . --watch", - "format": "esy dune build @fmt --auto-promote", - "release-static": "dune build --root . --only-packages '#{self.name}' --ignore-promoted-rules --no-config --profile release-static", - "test": "./tests.sh" - }, - "dependencies": { - "@opam/ppxlib": ">=0.26.0" - }, - "devDependencies": { - "@opam/dune": "*", - "@opam/ocaml-lsp-server": "1.11.6", - "@opam/merlin": "*", - "ocaml": "4.14.0" - }, - "esy": { - "build": "dune build -p #{self.name}", - "buildDev": "dune build --promote-install-files --root .", - "buildsInSource": "_build" - } -} diff --git a/esy.lock/.gitattributes b/esy.lock/.gitattributes deleted file mode 100644 index e0b4e26c..00000000 --- a/esy.lock/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ - -# Set eol to LF so files aren't converted to CRLF-eol on Windows. -* text eol=lf linguist-generated diff --git a/esy.lock/.gitignore b/esy.lock/.gitignore deleted file mode 100644 index a221be22..00000000 --- a/esy.lock/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ - -# Reset any possible .gitignore, we want all esy.lock to be un-ignored. -!* diff --git a/esy.lock/index.json b/esy.lock/index.json deleted file mode 100644 index 33422d44..00000000 --- a/esy.lock/index.json +++ /dev/null @@ -1,1015 +0,0 @@ -{ - "checksum": "e07b85c6451a41f6114acd57137f1392", - "root": "graphql_ppx@link-dev:./esy.json", - "node": { - "ocaml@4.14.0@d41d8cd9": { - "id": "ocaml@4.14.0@d41d8cd9", - "name": "ocaml", - "version": "4.14.0", - "source": { - "type": "install", - "source": [ - "archive:https://registry.npmjs.org/ocaml/-/ocaml-4.14.0.tgz#sha1:619afaeabcc8732cc1f4014a7251403927f44021" - ] - }, - "overrides": [], - "dependencies": [], - "devDependencies": [] - }, - "graphql_ppx@link-dev:./esy.json": { - "id": "graphql_ppx@link-dev:./esy.json", - "name": "graphql_ppx", - "version": "link-dev:./esy.json", - "source": { "type": "link-dev", "path": ".", "manifest": "esy.json" }, - "overrides": [], - "dependencies": [ "@opam/ppxlib@opam:0.26.0@cc81525b" ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", - "@opam/ocaml-lsp-server@opam:1.11.6@31f0970f", - "@opam/merlin@opam:4.5-414@a44b4c8c", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/yojson@opam:1.7.0@69d87312": { - "id": "@opam/yojson@opam:1.7.0@69d87312", - "name": "@opam/yojson", - "version": "opam:1.7.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/b8/b89d39ca3f8c532abe5f547ad3b8f84d#md5:b89d39ca3f8c532abe5f547ad3b8f84d", - "archive:https://github.com/ocaml-community/yojson/releases/download/1.7.0/yojson-1.7.0.tbz#md5:b89d39ca3f8c532abe5f547ad3b8f84d" - ], - "opam": { - "name": "yojson", - "version": "1.7.0", - "path": "esy.lock/opam/yojson.1.7.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/easy-format@opam:1.3.4@b358e98e", - "@opam/dune@opam:3.2.0@586e8442", "@opam/cppo@opam:1.6.9@db929a12", - "@opam/biniou@opam:1.2.1@420bda02", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/easy-format@opam:1.3.4@b358e98e", - "@opam/dune@opam:3.2.0@586e8442", "@opam/biniou@opam:1.2.1@420bda02" - ] - }, - "@opam/xdg@opam:3.2.0@26cd19a5": { - "id": "@opam/xdg@opam:3.2.0@26cd19a5", - "name": "@opam/xdg", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "xdg", - "version": "3.2.0", - "path": "esy.lock/opam/xdg.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/uutf@opam:1.0.3@47c95a18": { - "id": "@opam/uutf@opam:1.0.3@47c95a18", - "name": "@opam/uutf", - "version": "opam:1.0.3", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha512/50/50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8#sha512:50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8", - "archive:https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz#sha512:50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8" - ], - "opam": { - "name": "uutf", - "version": "1.0.3", - "path": "esy.lock/opam/uutf.1.0.3" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/topkg@opam:1.0.5@0aa59f51", - "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@opam/ocamlbuild@opam:0.14.1@ead10f40", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ "ocaml@4.14.0@d41d8cd9" ] - }, - "@opam/topkg@opam:1.0.5@0aa59f51": { - "id": "@opam/topkg@opam:1.0.5@0aa59f51", - "name": "@opam/topkg", - "version": "opam:1.0.5", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha512/94/9450e9139209aacd8ddb4ba18e4225770837e526a52a56d94fd5c9c4c9941e83e0e7102e2292b440104f4c338fabab47cdd6bb51d69b41cc92cc7a551e6fefab#sha512:9450e9139209aacd8ddb4ba18e4225770837e526a52a56d94fd5c9c4c9941e83e0e7102e2292b440104f4c338fabab47cdd6bb51d69b41cc92cc7a551e6fefab", - "archive:https://erratique.ch/software/topkg/releases/topkg-1.0.5.tbz#sha512:9450e9139209aacd8ddb4ba18e4225770837e526a52a56d94fd5c9c4c9941e83e0e7102e2292b440104f4c338fabab47cdd6bb51d69b41cc92cc7a551e6fefab" - ], - "opam": { - "name": "topkg", - "version": "1.0.5", - "path": "esy.lock/opam/topkg.1.0.5" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@opam/ocamlbuild@opam:0.14.1@ead10f40", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/ocamlbuild@opam:0.14.1@ead10f40" - ] - }, - "@opam/stdune@opam:3.2.0@1941b0a2": { - "id": "@opam/stdune@opam:3.2.0@1941b0a2", - "name": "@opam/stdune", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "stdune", - "version": "3.2.0", - "path": "esy.lock/opam/stdune.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/pp@opam:1.1.2@89ad03b5", - "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/pp@opam:1.1.2@89ad03b5", - "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/stdlib-shims@opam:0.3.0@72c7bc98": { - "id": "@opam/stdlib-shims@opam:0.3.0@72c7bc98", - "name": "@opam/stdlib-shims", - "version": "opam:0.3.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/ba/babf72d3917b86f707885f0c5528e36c63fccb698f4b46cf2bab5c7ccdd6d84a#sha256:babf72d3917b86f707885f0c5528e36c63fccb698f4b46cf2bab5c7ccdd6d84a", - "archive:https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz#sha256:babf72d3917b86f707885f0c5528e36c63fccb698f4b46cf2bab5c7ccdd6d84a" - ], - "opam": { - "name": "stdlib-shims", - "version": "0.3.0", - "path": "esy.lock/opam/stdlib-shims.0.3.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/spawn@opam:v0.15.1@85e9d6f1": { - "id": "@opam/spawn@opam:v0.15.1@85e9d6f1", - "name": "@opam/spawn", - "version": "opam:v0.15.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/9a/9afdee314fab6c3fcd689ab6eb5608d6b78078e6dede3953a47debde06c19d50#sha256:9afdee314fab6c3fcd689ab6eb5608d6b78078e6dede3953a47debde06c19d50", - "archive:https://github.com/janestreet/spawn/archive/v0.15.1.tar.gz#sha256:9afdee314fab6c3fcd689ab6eb5608d6b78078e6dede3953a47debde06c19d50" - ], - "opam": { - "name": "spawn", - "version": "v0.15.1", - "path": "esy.lock/opam/spawn.v0.15.1" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/sexplib0@opam:v0.15.0@b58db414": { - "id": "@opam/sexplib0@opam:v0.15.0@b58db414", - "name": "@opam/sexplib0", - "version": "opam:v0.15.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/94/94462c00416403d2778493ac01ced5439bc388a68ac4097208159d62434aefba#sha256:94462c00416403d2778493ac01ced5439bc388a68ac4097208159d62434aefba", - "archive:https://ocaml.janestreet.com/ocaml-core/v0.15/files/sexplib0-v0.15.0.tar.gz#sha256:94462c00416403d2778493ac01ced5439bc388a68ac4097208159d62434aefba" - ], - "opam": { - "name": "sexplib0", - "version": "v0.15.0", - "path": "esy.lock/opam/sexplib0.v0.15.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/seq@opam:base@d8d7de1d": { - "id": "@opam/seq@opam:base@d8d7de1d", - "name": "@opam/seq", - "version": "opam:base", - "source": { - "type": "install", - "source": [ "no-source:" ], - "opam": { - "name": "seq", - "version": "base", - "path": "esy.lock/opam/seq.base" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ "ocaml@4.14.0@d41d8cd9" ] - }, - "@opam/re@opam:1.10.4@c4910ba6": { - "id": "@opam/re@opam:1.10.4@c4910ba6", - "name": "@opam/re", - "version": "opam:1.10.4", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/83/83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c#sha256:83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c", - "archive:https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz#sha256:83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c" - ], - "opam": { - "name": "re", - "version": "1.10.4", - "path": "esy.lock/opam/re.1.10.4" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/seq@opam:base@d8d7de1d", - "@opam/dune@opam:3.2.0@586e8442", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/seq@opam:base@d8d7de1d", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/ppxlib@opam:0.26.0@cc81525b": { - "id": "@opam/ppxlib@opam:0.26.0@cc81525b", - "name": "@opam/ppxlib", - "version": "opam:0.26.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/63/63117b67ea5863935455fe921f88fe333c0530f0483f730313303a93af817efd#sha256:63117b67ea5863935455fe921f88fe333c0530f0483f730313303a93af817efd", - "archive:https://github.com/ocaml-ppx/ppxlib/releases/download/0.26.0/ppxlib-0.26.0.tbz#sha256:63117b67ea5863935455fe921f88fe333c0530f0483f730313303a93af817efd" - ], - "opam": { - "name": "ppxlib", - "version": "0.26.0", - "path": "esy.lock/opam/ppxlib.0.26.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/stdlib-shims@opam:0.3.0@72c7bc98", - "@opam/sexplib0@opam:v0.15.0@b58db414", - "@opam/ppx_derivers@opam:1.2.1@e2cbad12", - "@opam/ocaml-compiler-libs@opam:v0.12.4@41979882", - "@opam/dune@opam:3.2.0@586e8442", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/stdlib-shims@opam:0.3.0@72c7bc98", - "@opam/sexplib0@opam:v0.15.0@b58db414", - "@opam/ppx_derivers@opam:1.2.1@e2cbad12", - "@opam/ocaml-compiler-libs@opam:v0.12.4@41979882", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/ppx_yojson_conv_lib@opam:v0.15.0@773058a7": { - "id": "@opam/ppx_yojson_conv_lib@opam:v0.15.0@773058a7", - "name": "@opam/ppx_yojson_conv_lib", - "version": "opam:v0.15.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/f9/f9d2c5eff4566ec1f1f379b186ed22c8ddd6be0909a160bc5a9ac7abc6a6b684#sha256:f9d2c5eff4566ec1f1f379b186ed22c8ddd6be0909a160bc5a9ac7abc6a6b684", - "archive:https://ocaml.janestreet.com/ocaml-core/v0.15/files/ppx_yojson_conv_lib-v0.15.0.tar.gz#sha256:f9d2c5eff4566ec1f1f379b186ed22c8ddd6be0909a160bc5a9ac7abc6a6b684" - ], - "opam": { - "name": "ppx_yojson_conv_lib", - "version": "v0.15.0", - "path": "esy.lock/opam/ppx_yojson_conv_lib.v0.15.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/dune@opam:3.2.0@586e8442", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/ppx_derivers@opam:1.2.1@e2cbad12": { - "id": "@opam/ppx_derivers@opam:1.2.1@e2cbad12", - "name": "@opam/ppx_derivers", - "version": "opam:1.2.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/5d/5dc2bf130c1db3c731fe0fffc5648b41#md5:5dc2bf130c1db3c731fe0fffc5648b41", - "archive:https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz#md5:5dc2bf130c1db3c731fe0fffc5648b41" - ], - "opam": { - "name": "ppx_derivers", - "version": "1.2.1", - "path": "esy.lock/opam/ppx_derivers.1.2.1" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/pp@opam:1.1.2@89ad03b5": { - "id": "@opam/pp@opam:1.1.2@89ad03b5", - "name": "@opam/pp", - "version": "opam:1.1.2", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/e4/e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56#sha256:e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56", - "archive:https://github.com/ocaml-dune/pp/releases/download/1.1.2/pp-1.1.2.tbz#sha256:e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56" - ], - "opam": { - "name": "pp", - "version": "1.1.2", - "path": "esy.lock/opam/pp.1.1.2" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/ordering@opam:3.2.0@2a4d05ec": { - "id": "@opam/ordering@opam:3.2.0@2a4d05ec", - "name": "@opam/ordering", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "ordering", - "version": "3.2.0", - "path": "esy.lock/opam/ordering.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/omd@opam:1.3.1@a0702cc6": { - "id": "@opam/omd@opam:1.3.1@a0702cc6", - "name": "@opam/omd", - "version": "opam:1.3.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/84/845fc38e86ec0e85721130f2dd044d00#md5:845fc38e86ec0e85721130f2dd044d00", - "archive:https://github.com/Chris00/omd/releases/download/1.3.1/omd-1.3.1.tar.gz#md5:845fc38e86ec0e85721130f2dd044d00" - ], - "opam": { - "name": "omd", - "version": "1.3.1", - "path": "esy.lock/opam/omd.1.3.1" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@opam/ocamlbuild@opam:0.14.1@ead10f40", - "@opam/base-bytes@opam:base@19d0c2ff", - "@opam/base-bigarray@opam:base@b03491b0", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/base-bytes@opam:base@19d0c2ff", - "@opam/base-bigarray@opam:base@b03491b0" - ] - }, - "@opam/octavius@opam:1.2.2@2205cc65": { - "id": "@opam/octavius@opam:1.2.2@2205cc65", - "name": "@opam/octavius", - "version": "opam:1.2.2", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/72/72f9e1d996e6c5089fc513cc9218607b#md5:72f9e1d996e6c5089fc513cc9218607b", - "archive:https://github.com/ocaml-doc/octavius/archive/v1.2.2.tar.gz#md5:72f9e1d996e6c5089fc513cc9218607b" - ], - "opam": { - "name": "octavius", - "version": "1.2.2", - "path": "esy.lock/opam/octavius.1.2.2" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/ocamlformat-rpc-lib@opam:0.22.4@a64a22f6": { - "id": "@opam/ocamlformat-rpc-lib@opam:0.22.4@a64a22f6", - "name": "@opam/ocamlformat-rpc-lib", - "version": "opam:0.22.4", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/eb/eb54de2b81ac7cc2e68d81a7dc80b391a81b737fcfa3ef969ea91bdad6c9c060#sha256:eb54de2b81ac7cc2e68d81a7dc80b391a81b737fcfa3ef969ea91bdad6c9c060", - "archive:https://github.com/ocaml-ppx/ocamlformat/releases/download/0.22.4/ocamlformat-0.22.4.tbz#sha256:eb54de2b81ac7cc2e68d81a7dc80b391a81b737fcfa3ef969ea91bdad6c9c060" - ], - "opam": { - "name": "ocamlformat-rpc-lib", - "version": "0.22.4", - "path": "esy.lock/opam/ocamlformat-rpc-lib.0.22.4" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/ocamlfind@opam:1.9.3@781b30f3": { - "id": "@opam/ocamlfind@opam:1.9.3@781b30f3", - "name": "@opam/ocamlfind", - "version": "opam:1.9.3", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/24/24047dd8a0da5322253de9b7aa254e42#md5:24047dd8a0da5322253de9b7aa254e42", - "archive:http://download.camlcity.org/download/findlib-1.9.3.tar.gz#md5:24047dd8a0da5322253de9b7aa254e42" - ], - "opam": { - "name": "ocamlfind", - "version": "1.9.3", - "path": "esy.lock/opam/ocamlfind.1.9.3" - } - }, - "overrides": [ - { - "opamoverride": - "esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override" - } - ], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ "ocaml@4.14.0@d41d8cd9" ] - }, - "@opam/ocamlbuild@opam:0.14.1@ead10f40": { - "id": "@opam/ocamlbuild@opam:0.14.1@ead10f40", - "name": "@opam/ocamlbuild", - "version": "opam:0.14.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/70/7027e507ed85f290923ad198f3d2cd1c#md5:7027e507ed85f290923ad198f3d2cd1c", - "archive:https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.1.tar.gz#md5:7027e507ed85f290923ad198f3d2cd1c" - ], - "opam": { - "name": "ocamlbuild", - "version": "0.14.1", - "path": "esy.lock/opam/ocamlbuild.0.14.1" - } - }, - "overrides": [ - { - "opamoverride": - "esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override" - } - ], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ "ocaml@4.14.0@d41d8cd9" ] - }, - "@opam/ocaml-lsp-server@opam:1.11.6@31f0970f": { - "id": "@opam/ocaml-lsp-server@opam:1.11.6@31f0970f", - "name": "@opam/ocaml-lsp-server", - "version": "opam:1.11.6", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/50/50b546ced5332c4a038bcf68b65b7888cb8e61aebe102e8c80b23a4c5899bbbb#sha256:50b546ced5332c4a038bcf68b65b7888cb8e61aebe102e8c80b23a4c5899bbbb", - "archive:https://github.com/ocaml/ocaml-lsp/releases/download/1.11.6/jsonrpc-1.11.6.tbz#sha256:50b546ced5332c4a038bcf68b65b7888cb8e61aebe102e8c80b23a4c5899bbbb" - ], - "opam": { - "name": "ocaml-lsp-server", - "version": "1.11.6", - "path": "esy.lock/opam/ocaml-lsp-server.1.11.6" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/xdg@opam:3.2.0@26cd19a5", "@opam/uutf@opam:1.0.3@47c95a18", - "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/spawn@opam:v0.15.1@85e9d6f1", "@opam/re@opam:1.10.4@c4910ba6", - "@opam/ppx_yojson_conv_lib@opam:v0.15.0@773058a7", - "@opam/pp@opam:1.1.2@89ad03b5", "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/omd@opam:1.3.1@a0702cc6", - "@opam/octavius@opam:1.2.2@2205cc65", - "@opam/ocamlformat-rpc-lib@opam:0.22.4@a64a22f6", - "@opam/fiber@opam:3.2.0@ec167d26", "@opam/dyn@opam:3.2.0@a0890fb6", - "@opam/dune-rpc@opam:3.2.0@1db3db99", - "@opam/dune-build-info@opam:3.2.0@edf5cd0a", - "@opam/dune@opam:3.2.0@586e8442", "@opam/csexp@opam:1.5.1@8a8fb3a7", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/xdg@opam:3.2.0@26cd19a5", "@opam/uutf@opam:1.0.3@47c95a18", - "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/spawn@opam:v0.15.1@85e9d6f1", "@opam/re@opam:1.10.4@c4910ba6", - "@opam/ppx_yojson_conv_lib@opam:v0.15.0@773058a7", - "@opam/pp@opam:1.1.2@89ad03b5", "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/omd@opam:1.3.1@a0702cc6", - "@opam/octavius@opam:1.2.2@2205cc65", - "@opam/ocamlformat-rpc-lib@opam:0.22.4@a64a22f6", - "@opam/fiber@opam:3.2.0@ec167d26", "@opam/dyn@opam:3.2.0@a0890fb6", - "@opam/dune-rpc@opam:3.2.0@1db3db99", - "@opam/dune-build-info@opam:3.2.0@edf5cd0a", - "@opam/dune@opam:3.2.0@586e8442", "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/ocaml-compiler-libs@opam:v0.12.4@41979882": { - "id": "@opam/ocaml-compiler-libs@opam:v0.12.4@41979882", - "name": "@opam/ocaml-compiler-libs", - "version": "opam:v0.12.4", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/4e/4ec9c9ec35cc45c18c7a143761154ef1d7663036a29297f80381f47981a07760#sha256:4ec9c9ec35cc45c18c7a143761154ef1d7663036a29297f80381f47981a07760", - "archive:https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz#sha256:4ec9c9ec35cc45c18c7a143761154ef1d7663036a29297f80381f47981a07760" - ], - "opam": { - "name": "ocaml-compiler-libs", - "version": "v0.12.4", - "path": "esy.lock/opam/ocaml-compiler-libs.v0.12.4" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/merlin@opam:4.5-414@a44b4c8c": { - "id": "@opam/merlin@opam:4.5-414@a44b4c8c", - "name": "@opam/merlin", - "version": "opam:4.5-414", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/31/31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e#sha256:31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e", - "archive:https://github.com/ocaml/merlin/releases/download/v4.5-414/merlin-4.5-414.tbz#sha256:31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e" - ], - "opam": { - "name": "merlin", - "version": "4.5-414", - "path": "esy.lock/opam/merlin.4.5-414" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/dune@opam:3.2.0@586e8442", - "@opam/dot-merlin-reader@opam:4.2@1605899e", - "@opam/csexp@opam:1.5.1@8a8fb3a7", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/dune@opam:3.2.0@586e8442", - "@opam/dot-merlin-reader@opam:4.2@1605899e", - "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/fiber@opam:3.2.0@ec167d26": { - "id": "@opam/fiber@opam:3.2.0@ec167d26", - "name": "@opam/fiber", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "fiber", - "version": "3.2.0", - "path": "esy.lock/opam/fiber.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/easy-format@opam:1.3.4@b358e98e": { - "id": "@opam/easy-format@opam:1.3.4@b358e98e", - "name": "@opam/easy-format", - "version": "opam:1.3.4", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/1d/1dbf051e9f68574dde6e2e254a66b9c524ca425e80b36e99af96ed964ab610c3#sha256:1dbf051e9f68574dde6e2e254a66b9c524ca425e80b36e99af96ed964ab610c3", - "archive:https://github.com/ocaml-community/easy-format/releases/download/1.3.4/easy-format-1.3.4.tbz#sha256:1dbf051e9f68574dde6e2e254a66b9c524ca425e80b36e99af96ed964ab610c3" - ], - "opam": { - "name": "easy-format", - "version": "1.3.4", - "path": "esy.lock/opam/easy-format.1.3.4" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/dyn@opam:3.2.0@a0890fb6": { - "id": "@opam/dyn@opam:3.2.0@a0890fb6", - "name": "@opam/dyn", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "dyn", - "version": "3.2.0", - "path": "esy.lock/opam/dyn.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/pp@opam:1.1.2@89ad03b5", - "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dune@opam:3.2.0@586e8442", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/pp@opam:1.1.2@89ad03b5", - "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/dune-rpc@opam:3.2.0@1db3db99": { - "id": "@opam/dune-rpc@opam:3.2.0@1db3db99", - "name": "@opam/dune-rpc", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "dune-rpc", - "version": "3.2.0", - "path": "esy.lock/opam/dune-rpc.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "@opam/xdg@opam:3.2.0@26cd19a5", "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/pp@opam:1.1.2@89ad03b5", "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "@opam/xdg@opam:3.2.0@26cd19a5", "@opam/stdune@opam:3.2.0@1941b0a2", - "@opam/pp@opam:1.1.2@89ad03b5", "@opam/ordering@opam:3.2.0@2a4d05ec", - "@opam/dyn@opam:3.2.0@a0890fb6", "@opam/dune@opam:3.2.0@586e8442", - "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/dune-build-info@opam:3.2.0@edf5cd0a": { - "id": "@opam/dune-build-info@opam:3.2.0@edf5cd0a", - "name": "@opam/dune-build-info", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "dune-build-info", - "version": "3.2.0", - "path": "esy.lock/opam/dune-build-info.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/dune@opam:3.2.0@586e8442": { - "id": "@opam/dune@opam:3.2.0@586e8442", - "name": "@opam/dune", - "version": "opam:3.2.0", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/bd/bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc", - "archive:https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz#sha256:bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - ], - "opam": { - "name": "dune", - "version": "3.2.0", - "path": "esy.lock/opam/dune.3.2.0" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/base-unix@opam:base@87d0b2eb", - "@opam/base-threads@opam:base@36803084", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/base-unix@opam:base@87d0b2eb", - "@opam/base-threads@opam:base@36803084" - ] - }, - "@opam/dot-merlin-reader@opam:4.2@1605899e": { - "id": "@opam/dot-merlin-reader@opam:4.2@1605899e", - "name": "@opam/dot-merlin-reader", - "version": "opam:4.2", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/31/31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e#sha256:31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e", - "archive:https://github.com/ocaml/merlin/releases/download/v4.5-414/merlin-4.5-414.tbz#sha256:31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e" - ], - "opam": { - "name": "dot-merlin-reader", - "version": "4.2", - "path": "esy.lock/opam/dot-merlin-reader.4.2" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@opam/dune@opam:3.2.0@586e8442", "@opam/csexp@opam:1.5.1@8a8fb3a7", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/yojson@opam:1.7.0@69d87312", - "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@opam/dune@opam:3.2.0@586e8442", "@opam/csexp@opam:1.5.1@8a8fb3a7" - ] - }, - "@opam/csexp@opam:1.5.1@8a8fb3a7": { - "id": "@opam/csexp@opam:1.5.1@8a8fb3a7", - "name": "@opam/csexp", - "version": "opam:1.5.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/d6/d605e4065fa90a58800440ef2f33a2d931398bf2c22061a8acb7df845c0aac02#sha256:d605e4065fa90a58800440ef2f33a2d931398bf2c22061a8acb7df845c0aac02", - "archive:https://github.com/ocaml-dune/csexp/releases/download/1.5.1/csexp-1.5.1.tbz#sha256:d605e4065fa90a58800440ef2f33a2d931398bf2c22061a8acb7df845c0aac02" - ], - "opam": { - "name": "csexp", - "version": "1.5.1", - "path": "esy.lock/opam/csexp.1.5.1" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/cppo@opam:1.6.9@db929a12": { - "id": "@opam/cppo@opam:1.6.9@db929a12", - "name": "@opam/cppo", - "version": "opam:1.6.9", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/md5/d2/d23ffe85ac7dc8f0afd1ddf622770d09#md5:d23ffe85ac7dc8f0afd1ddf622770d09", - "archive:https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz#md5:d23ffe85ac7dc8f0afd1ddf622770d09" - ], - "opam": { - "name": "cppo", - "version": "1.6.9", - "path": "esy.lock/opam/cppo.1.6.9" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@opam/base-unix@opam:base@87d0b2eb", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/dune@opam:3.2.0@586e8442", - "@opam/base-unix@opam:base@87d0b2eb" - ] - }, - "@opam/biniou@opam:1.2.1@420bda02": { - "id": "@opam/biniou@opam:1.2.1@420bda02", - "name": "@opam/biniou", - "version": "opam:1.2.1", - "source": { - "type": "install", - "source": [ - "archive:https://opam.ocaml.org/cache/sha256/35/35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335#sha256:35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335", - "archive:https://github.com/mjambon/biniou/releases/download/1.2.1/biniou-1.2.1.tbz#sha256:35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335" - ], - "opam": { - "name": "biniou", - "version": "1.2.1", - "path": "esy.lock/opam/biniou.1.2.1" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/easy-format@opam:1.3.4@b358e98e", - "@opam/dune@opam:3.2.0@586e8442", "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/easy-format@opam:1.3.4@b358e98e", - "@opam/dune@opam:3.2.0@586e8442" - ] - }, - "@opam/base-unix@opam:base@87d0b2eb": { - "id": "@opam/base-unix@opam:base@87d0b2eb", - "name": "@opam/base-unix", - "version": "opam:base", - "source": { - "type": "install", - "source": [ "no-source:" ], - "opam": { - "name": "base-unix", - "version": "base", - "path": "esy.lock/opam/base-unix.base" - } - }, - "overrides": [], - "dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], - "devDependencies": [] - }, - "@opam/base-threads@opam:base@36803084": { - "id": "@opam/base-threads@opam:base@36803084", - "name": "@opam/base-threads", - "version": "opam:base", - "source": { - "type": "install", - "source": [ "no-source:" ], - "opam": { - "name": "base-threads", - "version": "base", - "path": "esy.lock/opam/base-threads.base" - } - }, - "overrides": [], - "dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], - "devDependencies": [] - }, - "@opam/base-bytes@opam:base@19d0c2ff": { - "id": "@opam/base-bytes@opam:base@19d0c2ff", - "name": "@opam/base-bytes", - "version": "opam:base", - "source": { - "type": "install", - "source": [ "no-source:" ], - "opam": { - "name": "base-bytes", - "version": "base", - "path": "esy.lock/opam/base-bytes.base" - } - }, - "overrides": [], - "dependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/ocamlfind@opam:1.9.3@781b30f3", - "@esy-ocaml/substs@0.0.1@d41d8cd9" - ], - "devDependencies": [ - "ocaml@4.14.0@d41d8cd9", "@opam/ocamlfind@opam:1.9.3@781b30f3" - ] - }, - "@opam/base-bigarray@opam:base@b03491b0": { - "id": "@opam/base-bigarray@opam:base@b03491b0", - "name": "@opam/base-bigarray", - "version": "opam:base", - "source": { - "type": "install", - "source": [ "no-source:" ], - "opam": { - "name": "base-bigarray", - "version": "base", - "path": "esy.lock/opam/base-bigarray.base" - } - }, - "overrides": [], - "dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], - "devDependencies": [] - }, - "@esy-ocaml/substs@0.0.1@d41d8cd9": { - "id": "@esy-ocaml/substs@0.0.1@d41d8cd9", - "name": "@esy-ocaml/substs", - "version": "0.0.1", - "source": { - "type": "install", - "source": [ - "archive:https://registry.npmjs.org/@esy-ocaml/substs/-/substs-0.0.1.tgz#sha1:59ebdbbaedcda123fc7ed8fb2b302b7d819e9a46" - ] - }, - "overrides": [], - "dependencies": [], - "devDependencies": [] - } - } -} \ No newline at end of file diff --git a/esy.lock/opam/base-bigarray.base/opam b/esy.lock/opam/base-bigarray.base/opam deleted file mode 100644 index 39e9af21..00000000 --- a/esy.lock/opam/base-bigarray.base/opam +++ /dev/null @@ -1,6 +0,0 @@ -opam-version: "2.0" -maintainer: "https://github.com/ocaml/opam-repository/issues" -description: """ -Bigarray library distributed with the OCaml compiler -""" - diff --git a/esy.lock/opam/base-bytes.base/opam b/esy.lock/opam/base-bytes.base/opam deleted file mode 100644 index f1cae506..00000000 --- a/esy.lock/opam/base-bytes.base/opam +++ /dev/null @@ -1,9 +0,0 @@ -opam-version: "2.0" -maintainer: " " -authors: " " -homepage: " " -depends: [ - "ocaml" {>= "4.02.0"} - "ocamlfind" {>= "1.5.3"} -] -synopsis: "Bytes library distributed with the OCaml compiler" diff --git a/esy.lock/opam/base-threads.base/opam b/esy.lock/opam/base-threads.base/opam deleted file mode 100644 index 914ff50c..00000000 --- a/esy.lock/opam/base-threads.base/opam +++ /dev/null @@ -1,6 +0,0 @@ -opam-version: "2.0" -maintainer: "https://github.com/ocaml/opam-repository/issues" -description: """ -Threads library distributed with the OCaml compiler -""" - diff --git a/esy.lock/opam/base-unix.base/opam b/esy.lock/opam/base-unix.base/opam deleted file mode 100644 index b973540b..00000000 --- a/esy.lock/opam/base-unix.base/opam +++ /dev/null @@ -1,6 +0,0 @@ -opam-version: "2.0" -maintainer: "https://github.com/ocaml/opam-repository/issues" -description: """ -Unix library distributed with the OCaml compiler -""" - diff --git a/esy.lock/opam/biniou.1.2.1/opam b/esy.lock/opam/biniou.1.2.1/opam deleted file mode 100644 index ec7028f2..00000000 --- a/esy.lock/opam/biniou.1.2.1/opam +++ /dev/null @@ -1,45 +0,0 @@ -opam-version: "2.0" -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} - ["dune" "build" "-p" name "@doc"] {with-doc} -] -maintainer: ["martin@mjambon.com"] -authors: ["Martin Jambon"] -bug-reports: "https://github.com/mjambon/biniou/issues" -homepage: "https://github.com/mjambon/biniou" -doc: "https://mjambon.github.io/biniou/" -license: "BSD-3-Clause" -dev-repo: "git+https://github.com/mjambon/biniou.git" -synopsis: - "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve" -description: """ - -Biniou (pronounced "be new") is a binary data format designed for speed, safety, -ease of use and backward compatibility as protocols evolve. Biniou is vastly -equivalent to JSON in terms of functionality but allows implementations several -times faster (4 times faster than yojson), with 25-35% space savings. - -Biniou data can be decoded into human-readable form without knowledge of type -definitions except for field and variant names which are represented by 31-bit -hashes. A program named bdump is provided for routine visualization of biniou -data files. - -The program atdgen is used to derive OCaml-Biniou serializers and deserializers -from type definitions. - -Biniou format specification: mjambon.github.io/atdgen-doc/biniou-format.txt""" -depends: [ - "easy-format" - "dune" {>= "1.10"} - "ocaml" {>= "4.02.3"} -] -url { - src: - "https://github.com/mjambon/biniou/releases/download/1.2.1/biniou-1.2.1.tbz" - checksum: [ - "sha256=35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335" - "sha512=82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf" - ] -} diff --git a/esy.lock/opam/cppo.1.6.9/opam b/esy.lock/opam/cppo.1.6.9/opam deleted file mode 100644 index 9c51ec6d..00000000 --- a/esy.lock/opam/cppo.1.6.9/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -synopsis: "Code preprocessor like cpp for OCaml" -description: """\ -Cppo is an equivalent of the C preprocessor for OCaml programs. -It allows the definition of simple macros and file inclusion. - -Cppo is: - -* more OCaml-friendly than cpp -* easy to learn without consulting a manual -* reasonably fast -* simple to install and to maintain""" -maintainer: [ - "Martin Jambon " "Yishuai Li " -] -authors: "Martin Jambon" -license: "BSD-3-Clause" -homepage: "https://github.com/ocaml-community/cppo" -doc: "https://ocaml-community.github.io/cppo" -bug-reports: "https://github.com/ocaml-community/cppo/issues" -depends: [ - "ocaml" {>= "4.02.3"} - "dune" {>= "1.10"} - "base-unix" -] -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} - ["dune" "build" "-p" name "@doc"] {with-doc} -] -dev-repo: "git+https://github.com/ocaml-community/cppo.git" -url { - src: "https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz" - checksum: [ - "md5=d23ffe85ac7dc8f0afd1ddf622770d09" - "sha512=26ff5a7b7f38c460661974b23ca190f0feae3a99f1974e0fd12ccf08745bd7d91b7bc168c70a5385b837bfff9530e0e4e41cf269f23dd8cf16ca658008244b44" - ] -} \ No newline at end of file diff --git a/esy.lock/opam/csexp.1.5.1/opam b/esy.lock/opam/csexp.1.5.1/opam deleted file mode 100644 index 59324f9e..00000000 --- a/esy.lock/opam/csexp.1.5.1/opam +++ /dev/null @@ -1,60 +0,0 @@ -opam-version: "2.0" -synopsis: "Parsing and printing of S-expressions in Canonical form" -description: """ - -This library provides minimal support for Canonical S-expressions -[1]. Canonical S-expressions are a binary encoding of S-expressions -that is super simple and well suited for communication between -programs. - -This library only provides a few helpers for simple applications. If -you need more advanced support, such as parsing from more fancy input -sources, you should consider copying the code of this library given -how simple parsing S-expressions in canonical form is. - -To avoid a dependency on a particular S-expression library, the only -module of this library is parameterised by the type of S-expressions. - -[1] https://en.wikipedia.org/wiki/Canonical_S-expressions -""" -maintainer: ["Jeremie Dimino "] -authors: [ - "Quentin Hocquet " - "Jane Street Group, LLC" - "Jeremie Dimino " -] -license: "MIT" -homepage: "https://github.com/ocaml-dune/csexp" -doc: "https://ocaml-dune.github.io/csexp/" -bug-reports: "https://github.com/ocaml-dune/csexp/issues" -depends: [ - "dune" {>= "1.11"} - "ocaml" {>= "4.03.0"} -# "ppx_expect" {with-test & >= "v0.14"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml-dune/csexp.git" -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" -# Tests disabled because of a cyclic dependency with csexp, dune-configurator and ppx_expect -# "@runtest" {with-test} - "@doc" {with-doc} - ] -] -x-commit-hash: "7eeb86206819d2b1782d6cde1be9d6cf8b5fc851" -url { - src: - "https://github.com/ocaml-dune/csexp/releases/download/1.5.1/csexp-1.5.1.tbz" - checksum: [ - "sha256=d605e4065fa90a58800440ef2f33a2d931398bf2c22061a8acb7df845c0aac02" - "sha512=d785bbabaff9f6bf601399149ef0a42e5e99647b54e27f97ef1625907793dda22a45bf83e0e8a1eba2c63634c5484b54739ff0904ef556f5fc592efa38af7505" - ] -} diff --git a/esy.lock/opam/dot-merlin-reader.4.2/opam b/esy.lock/opam/dot-merlin-reader.4.2/opam deleted file mode 100644 index e3f1500b..00000000 --- a/esy.lock/opam/dot-merlin-reader.4.2/opam +++ /dev/null @@ -1,30 +0,0 @@ -opam-version: "2.0" -maintainer: "defree@gmail.com" -authors: "The Merlin team" -synopsis: "Reads config files for merlin" -homepage: "https://github.com/ocaml/merlin" -bug-reports: "https://github.com/ocaml/merlin/issues" -dev-repo: "git+https://github.com/ocaml/merlin.git" -license: "MIT" -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] -] -depends: [ - "ocaml" {>= "4.08"} - "dune" {>= "2.9.0"} - "yojson" {>= "1.6.0"} - "ocamlfind" {>= "1.6.0"} - "csexp" {>= "1.5.1"} -] -description: - "Helper process: reads .merlin files and gives the normalized content to merlin" -url { - src: - "https://github.com/ocaml/merlin/releases/download/v4.5-414/merlin-4.5-414.tbz" - checksum: [ - "sha256=31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e" - "sha512=cc2cf2c208091b3ae435a8124617e56f2002b7091532002ab49a1f817d90a5c4f9cf0bc5741dc7f2526e0352c3ca95b42c3b3a17c6cbfb80ad73d42310a25d22" - ] -} -x-commit-hash: "cc1582373e5baea1d236a63be39493858032a182" diff --git a/esy.lock/opam/dune-build-info.3.2.0/opam b/esy.lock/opam/dune-build-info.3.2.0/opam deleted file mode 100644 index 0e18c1b2..00000000 --- a/esy.lock/opam/dune-build-info.3.2.0/opam +++ /dev/null @@ -1,46 +0,0 @@ -opam-version: "2.0" -synopsis: "Embed build informations inside executable" -description: """ -The build-info library allows to access information about how the -executable was built, such as the version of the project at which it -was built or the list of statically linked libraries with their -versions. It supports reporting the version from the version control -system during development to get an precise reference of when the -executable was built. -""" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/dune-rpc.3.2.0/opam b/esy.lock/opam/dune-rpc.3.2.0/opam deleted file mode 100644 index bd292a29..00000000 --- a/esy.lock/opam/dune-rpc.3.2.0/opam +++ /dev/null @@ -1,44 +0,0 @@ -opam-version: "2.0" -synopsis: "Communicate with dune using rpc" -description: "Library to connect and control a running dune instance" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "csexp" - "ordering" - "dyn" - "xdg" - "stdune" {= version} - "pp" {>= "1.1.0"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/dune.3.2.0/opam b/esy.lock/opam/dune.3.2.0/opam deleted file mode 100644 index 65ff732f..00000000 --- a/esy.lock/opam/dune.3.2.0/opam +++ /dev/null @@ -1,57 +0,0 @@ -opam-version: "2.0" -synopsis: "Fast, portable, and opinionated build system" -description: """ - -dune is a build system that was designed to simplify the release of -Jane Street packages. It reads metadata from "dune" files following a -very simple s-expression syntax. - -dune is fast, has very low-overhead, and supports parallel builds on -all platforms. It has no system dependencies; all you need to build -dune or packages using dune is OCaml. You don't need make or bash -as long as the packages themselves don't use bash explicitly. - -dune supports multi-package development by simply dropping multiple -repositories into the same directory. - -It also supports multi-context builds, such as building against -several opam roots/switches simultaneously. This helps maintaining -packages across several versions of OCaml and gives cross-compilation -for free. -""" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -conflicts: [ - "merlin" {< "3.4.0"} - "ocaml-lsp-server" {< "1.3.0"} - "dune-configurator" {< "2.3.0"} - "odoc" {< "2.0.1"} - "dune-release" {< "1.3.0"} - "js_of_ocaml-compiler" {< "3.6.0"} - "jbuilder" {= "transition"} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["ocaml" "bootstrap.ml" "-j" jobs] - ["./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" jobs] -] -depends: [ - # Please keep the lower bound in sync with .github/workflows/workflow.yml, - # dune-project and min_ocaml_version in bootstrap.ml - ("ocaml" {>= "4.08"} | ("ocaml" {< "4.08~~"} & "ocamlfind-secondary")) - "base-unix" - "base-threads" -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/dyn.3.2.0/opam b/esy.lock/opam/dyn.3.2.0/opam deleted file mode 100644 index ecaf24c3..00000000 --- a/esy.lock/opam/dyn.3.2.0/opam +++ /dev/null @@ -1,41 +0,0 @@ -opam-version: "2.0" -synopsis: "Dynamic type" -description: "Dynamic type" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08.0"} - "ordering" {= version} - "pp" {>= "1.1.0"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/easy-format.1.3.4/opam b/esy.lock/opam/easy-format.1.3.4/opam deleted file mode 100644 index 39b3d63e..00000000 --- a/esy.lock/opam/easy-format.1.3.4/opam +++ /dev/null @@ -1,56 +0,0 @@ -opam-version: "2.0" -synopsis: - "High-level and functional interface to the Format module of the OCaml standard library" -description: """ - -This module offers a high-level and functional interface to the Format module of -the OCaml standard library. It is a pretty-printing facility, i.e. it takes as -input some code represented as a tree and formats this code into the most -visually satisfying result, breaking and indenting lines of code where -appropriate. - -Input data must be first modelled and converted into a tree using 3 kinds of -nodes: - -* atoms -* lists -* labelled nodes - -Atoms represent any text that is guaranteed to be printed as-is. Lists can model -any sequence of items such as arrays of data or lists of definitions that are -labelled with something like "int main", "let x =" or "x:".""" -maintainer: ["martin@mjambon.com" "rudi.grinberg@gmail.com"] -authors: ["Martin Jambon"] -license: "BSD-3-Clause" -homepage: "https://github.com/ocaml-community/easy-format" -doc: "https://mjambon.github.io/easy-format/" -bug-reports: "https://github.com/ocaml-community/easy-format/issues" -depends: [ - "dune" {>= "3.2" & >= "1.10"} - "ocaml" {>= "4.08"} - "odoc" {with-doc} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/ocaml-community/easy-format.git" -url { - src: - "https://github.com/ocaml-community/easy-format/releases/download/1.3.4/easy-format-1.3.4.tbz" - checksum: [ - "sha256=1dbf051e9f68574dde6e2e254a66b9c524ca425e80b36e99af96ed964ab610c3" - "sha512=90264864dde4cbf51f60fb5c21cf033e11bdeb662e76b62ce27b496c298ca9102174885ed7a6d29a6b8e43089e27d5bb5be247f88d9739c15cfd8470fec29d33" - ] -} -x-commit-hash: "ba4962884509ceec63905dd6e0ccb429be4f9f66" diff --git a/esy.lock/opam/fiber.3.2.0/opam b/esy.lock/opam/fiber.3.2.0/opam deleted file mode 100644 index 70ba1442..00000000 --- a/esy.lock/opam/fiber.3.2.0/opam +++ /dev/null @@ -1,42 +0,0 @@ -opam-version: "2.0" -synopsis: "Structured concurrency library" -description: - "This library offers no backwards compatibility guarantees. Use at your own risk." -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08.0"} - "stdune" {= version} - "dyn" {= version} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/merlin.4.5-414/opam b/esy.lock/opam/merlin.4.5-414/opam deleted file mode 100644 index 2c9a345e..00000000 --- a/esy.lock/opam/merlin.4.5-414/opam +++ /dev/null @@ -1,79 +0,0 @@ -opam-version: "2.0" -maintainer: "defree@gmail.com" -authors: "The Merlin team" -homepage: "https://github.com/ocaml/merlin" -bug-reports: "https://github.com/ocaml/merlin/issues" -dev-repo: "git+https://github.com/ocaml/merlin.git" -license: "MIT" -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" "merlin,dot-merlin-reader" "-j" "1"] {with-test} -] -depends: [ - "ocaml" {>= "4.14" & < "4.15"} - "dune" {>= "2.9.0"} - "dot-merlin-reader" {>= "4.2"} - "yojson" {>= "1.6.0" & < "2.0.0"} - "conf-jq" {with-test} - "csexp" {>= "1.5.1"} - "menhir" {dev} - "menhirLib" {dev} - "menhirSdk" {dev} -] -conflicts: [ - "base-effects" -] -synopsis: - "Editor helper, provides completion, typing and source browsing in Vim and Emacs" -description: - "Merlin is an assistant for editing OCaml code. It aims to provide the features available in modern IDEs: error reporting, auto completion, source browsing and much more." -post-messages: [ - "merlin installed. - -Quick setup for VIM -------------------- -Append this to your .vimrc to add merlin to vim's runtime-path: - let g:opamshare = substitute(system('opam var share'),'\\n$','','''') - execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\" - -Also run the following line in vim to index the documentation: - :execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\" - -Quick setup for EMACS -------------------- -Add opam emacs directory to your load-path by appending this to your .emacs: - (let ((opam-share (ignore-errors (car (process-lines \"opam\" \"var\" \"share\"))))) - (when (and opam-share (file-directory-p opam-share)) - ;; Register Merlin - (add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share)) - (autoload 'merlin-mode \"merlin\" nil t nil) - ;; Automatically start it in OCaml buffers - (add-hook 'tuareg-mode-hook 'merlin-mode t) - (add-hook 'caml-mode-hook 'merlin-mode t) - ;; Use opam switch to lookup ocamlmerlin binary - (setq merlin-command 'opam))) - -Take a look at https://github.com/ocaml/merlin for more information - -Quick setup with opam-user-setup --------------------------------- - -Opam-user-setup support Merlin. - - $ opam user-setup install - -should take care of basic setup. -See https://github.com/OCamlPro/opam-user-setup -" - {success & !user-setup:installed} -] -url { - src: - "https://github.com/ocaml/merlin/releases/download/v4.5-414/merlin-4.5-414.tbz" - checksum: [ - "sha256=31587b422b5ebd3eebda730e946868807d829128f8dc7153fb05c0c82742058e" - "sha512=cc2cf2c208091b3ae435a8124617e56f2002b7091532002ab49a1f817d90a5c4f9cf0bc5741dc7f2526e0352c3ca95b42c3b3a17c6cbfb80ad73d42310a25d22" - ] -} -x-commit-hash: "cc1582373e5baea1d236a63be39493858032a182" diff --git a/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam b/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam deleted file mode 100644 index 14c9f753..00000000 --- a/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -synopsis: "OCaml compiler libraries repackaged" -description: """ -This packages exposes the OCaml compiler libraries repackages under -the toplevel names Ocaml_common, Ocaml_bytecomp, Ocaml_optcomp, ...""" -maintainer: ["Jane Street developers"] -authors: ["Jane Street Group, LLC"] -license: "MIT" -homepage: "https://github.com/janestreet/ocaml-compiler-libs" -bug-reports: "https://github.com/janestreet/ocaml-compiler-libs/issues" -depends: [ - "dune" {>= "2.8"} - "ocaml" {>= "4.04.1"} - "odoc" {with-doc} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/janestreet/ocaml-compiler-libs.git" -url { - src: - "https://github.com/janestreet/ocaml-compiler-libs/releases/download/v0.12.4/ocaml-compiler-libs-v0.12.4.tbz" - checksum: [ - "sha256=4ec9c9ec35cc45c18c7a143761154ef1d7663036a29297f80381f47981a07760" - "sha512=978dba8dfa61f98fa24fda7a9c26c2e837081f37d1685fe636dc19cfc3278a940cf01a10293504b185c406706bc1008bc54313d50f023bcdea6d5ac6c0788b35" - ] -} -x-commit-hash: "8cd12f18bb7171c2b67d661868c4271fae528d93" diff --git a/esy.lock/opam/ocaml-lsp-server.1.11.6/opam b/esy.lock/opam/ocaml-lsp-server.1.11.6/opam deleted file mode 100644 index 9a9b583d..00000000 --- a/esy.lock/opam/ocaml-lsp-server.1.11.6/opam +++ /dev/null @@ -1,62 +0,0 @@ -opam-version: "2.0" -synopsis: "LSP Server for OCaml" -description: "An LSP server for OCaml." -maintainer: ["Rudi Grinberg "] -authors: [ - "Andrey Popp <8mayday@gmail.com>" - "Rusty Key " - "Louis Roché " - "Oleksiy Golovko " - "Rudi Grinberg " - "Sacha Ayoun " - "cannorin " - "Ulugbek Abdullaev " - "Thibaut Mattio " - "Max Lantas " -] -license: "ISC" -homepage: "https://github.com/ocaml/ocaml-lsp" -bug-reports: "https://github.com/ocaml/ocaml-lsp/issues" -depends: [ - "dune" {>= "2.9"} - "yojson" - "re" {>= "1.5.0"} - "ppx_yojson_conv_lib" {>= "v0.14"} - "dune-rpc" - "dyn" - "stdune" - "fiber" {>= "3.1.1"} - "xdg" - "ordering" - "dune-build-info" - "spawn" - "omd" {<= "1.3.1"} - "octavius" {>= "1.2.2"} - "uutf" {>= "1.0.2"} - "pp" {>= "1.1.2"} - "csexp" {>= "1.5"} - "ocamlformat-rpc-lib" {>= "0.21.0"} - "odoc" {with-doc} - "ocaml" {>= "4.14" & < "4.15"} -] -dev-repo: "git+https://github.com/ocaml/ocaml-lsp.git" -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-j" - jobs - "ocaml-lsp-server.install" - "--release" - ] -] -url { - src: - "https://github.com/ocaml/ocaml-lsp/releases/download/1.11.6/jsonrpc-1.11.6.tbz" - checksum: [ - "sha256=50b546ced5332c4a038bcf68b65b7888cb8e61aebe102e8c80b23a4c5899bbbb" - "sha512=e7c6d07d3943b088198af383120f2e75478b84dd6077eafa0f01fc808072b9cebe667651d22e11592c1f134f5d289cccf7c58e1ad1aae6c0ce92a4eca32b1371" - ] -} -x-commit-hash: "1c02a6b8c44f3858ad8c0b7c114d4f14fbf53f9c" diff --git a/esy.lock/opam/ocamlbuild.0.14.1/opam b/esy.lock/opam/ocamlbuild.0.14.1/opam deleted file mode 100644 index d7413780..00000000 --- a/esy.lock/opam/ocamlbuild.0.14.1/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -synopsis: - "OCamlbuild is a build system with builtin rules to easily build most OCaml projects" -maintainer: "Gabriel Scherer " -authors: ["Nicolas Pouillard" "Berke Durak"] -license: "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception" -homepage: "https://github.com/ocaml/ocamlbuild/" -doc: "https://github.com/ocaml/ocamlbuild/blob/master/manual/manual.adoc" -bug-reports: "https://github.com/ocaml/ocamlbuild/issues" -depends: [ - "ocaml" {>= "4.03"} -] -conflicts: [ - "base-ocamlbuild" - "ocamlfind" {< "1.6.2"} -] -build: [ - [ - make - "-f" - "configure.make" - "all" - "OCAMLBUILD_PREFIX=%{prefix}%" - "OCAMLBUILD_BINDIR=%{bin}%" - "OCAMLBUILD_LIBDIR=%{lib}%" - "OCAMLBUILD_MANDIR=%{man}%" - "OCAML_NATIVE=%{ocaml:native}%" - "OCAML_NATIVE_TOOLS=%{ocaml:native}%" - ] - [make "check-if-preinstalled" "all" "opam-install"] -] -dev-repo: "git+https://github.com/ocaml/ocamlbuild.git" -url { - src: "https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.1.tar.gz" - checksum: [ - "md5=7027e507ed85f290923ad198f3d2cd1c" - "sha512=1f5b43215b1d3dc427b9c64e005add9d423ed4bca9686d52c55912df8955647cb2d7d86622d44b41b14c4f0d657b770c27967c541c868eeb7c78e3bd35b827ad" - ] -} \ No newline at end of file diff --git a/esy.lock/opam/ocamlfind.1.9.3/opam b/esy.lock/opam/ocamlfind.1.9.3/opam deleted file mode 100644 index 971a203f..00000000 --- a/esy.lock/opam/ocamlfind.1.9.3/opam +++ /dev/null @@ -1,44 +0,0 @@ -opam-version: "2.0" -synopsis: "A library manager for OCaml" -description: """ -Findlib is a library manager for OCaml. It provides a convention how -to store libraries, and a file format ("META") to describe the -properties of libraries. There is also a tool (ocamlfind) for -interpreting the META files, so that it is very easy to use libraries -in programs and scripts. -""" -license: "MIT" -maintainer: "Thomas Gazagnaire " -authors: "Gerd Stolpmann " -homepage: "http://projects.camlcity.org/projects/findlib.html" -bug-reports: "https://github.com/ocaml/ocamlfind/issues" -depends: [ - "ocaml" {>= "4.00.0"} -] -depopts: ["graphics"] -build: [ - [ - "./configure" - "-bindir" bin - "-sitelib" lib - "-mandir" man - "-config" "%{lib}%/findlib.conf" - "-no-custom" - "-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"} - "-no-topfind" {ocaml:preinstalled} - ] - [make "all"] - [make "opt"] {ocaml:native} -] -install: [ - [make "install"] - ["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled} -] -dev-repo: "git+https://github.com/ocaml/ocamlfind.git" -url { - src: "http://download.camlcity.org/download/findlib-1.9.3.tar.gz" - checksum: [ - "md5=24047dd8a0da5322253de9b7aa254e42" - "sha512=27cc4ce141576bf477fb9d61a82ad65f55478740eed59fb43f43edb794140829fd2ff89ad27d8a890cfc336b54c073a06de05b31100fc7c01cacbd7d88e928ea" - ] -} diff --git a/esy.lock/opam/ocamlformat-rpc-lib.0.22.4/opam b/esy.lock/opam/ocamlformat-rpc-lib.0.22.4/opam deleted file mode 100644 index 325255dd..00000000 --- a/esy.lock/opam/ocamlformat-rpc-lib.0.22.4/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -synopsis: "Auto-formatter for OCaml code (RPC mode)" -description: - "OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat" -maintainer: ["OCamlFormat Team "] -authors: ["Josh Berdine "] -license: "MIT" -homepage: "https://github.com/ocaml-ppx/ocamlformat" -bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues" -depends: [ - "dune" {>= "2.8"} - "ocaml" {>= "4.08"} - "csexp" {>= "1.4.0"} - "odoc" {with-doc} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git" -url { - src: - "https://github.com/ocaml-ppx/ocamlformat/releases/download/0.22.4/ocamlformat-0.22.4.tbz" - checksum: [ - "sha256=eb54de2b81ac7cc2e68d81a7dc80b391a81b737fcfa3ef969ea91bdad6c9c060" - "sha512=2bdeb9abc5757176040f641b22c59ac2b038c3bc1c42ddf86422b80cb90278fbe8ca05d0f788be0375a632bb6584b8d165d07f9f84686c2174208a8c20324b13" - ] -} -x-commit-hash: "838ba9fa00cc27703441220b9a5d3880b17430fb" diff --git a/esy.lock/opam/octavius.1.2.2/opam b/esy.lock/opam/octavius.1.2.2/opam deleted file mode 100644 index 0539c097..00000000 --- a/esy.lock/opam/octavius.1.2.2/opam +++ /dev/null @@ -1,33 +0,0 @@ -opam-version: "2.0" -maintainer: ["leo@lpw25.net"] -authors: ["Leo White "] -license: "ISC" -homepage: "https://github.com/ocaml-doc/octavius" -doc: "http://ocaml-doc.github.io/octavius/" -bug-reports: "https://github.com/ocaml-doc/octavius/issues" -depends: [ - "dune" {>= "1.11"} - "ocaml" {>= "4.03.0"} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/ocaml-doc/octavius.git" - -synopsis: "Ocamldoc comment syntax parser" -description: "Octavius is a library to parse the `ocamldoc` comment syntax." -url { - src: "https://github.com/ocaml-doc/octavius/archive/v1.2.2.tar.gz" - checksum: "md5=72f9e1d996e6c5089fc513cc9218607b" -} diff --git a/esy.lock/opam/omd.1.3.1/opam b/esy.lock/opam/omd.1.3.1/opam deleted file mode 100644 index c4482b78..00000000 --- a/esy.lock/opam/omd.1.3.1/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -maintainer: "Philippe Wang " -authors: [ "Philippe Wang " ] -license: "ISC" -homepage: "https://github.com/ocaml/omd" -dev-repo: "git+https://github.com/ocaml/omd.git" -bug-reports: "https://github.com/ocaml/omd/issues" -tags: [ "org:ocamllabs" "org:mirage" ] -build: [ - ["ocaml" "setup.ml" "-configure" "--prefix" prefix] - ["ocaml" "setup.ml" "-build"] - ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test} - ["ocaml" "setup.ml" "-build"] {with-test} - ["ocaml" "setup.ml" "-test"] {with-test} -] -install: ["ocaml" "setup.ml" "-install"] -remove: [ - ["ocaml" "%{etc}%/omd/setup.ml" "-C" "%{etc}%/omd" "-uninstall"] -] -depends: [ - "ocaml" {>= "4.01"} - "base-bigarray" - "base-bytes" - "ocamlbuild" {build} - "ocamlfind" {build & >= "1.5"} -] -synopsis: "A Markdown frontend in pure OCaml." -description: """ -This Markdown library is implemented using only pure OCaml (including -I/O operations provided by the standard OCaml compiler distribution). -OMD is meant to be as faithful as possible to the original Markdown. -Additionally, OMD implements a few Github markdown features, an -extension mechanism, and some other features. Note that the opam -package installs both the OMD library and the command line tool `omd`.""" -url { - src: - "https://github.com/Chris00/omd/releases/download/1.3.1/omd-1.3.1.tar.gz" - checksum: "md5=845fc38e86ec0e85721130f2dd044d00" -} diff --git a/esy.lock/opam/ordering.3.2.0/opam b/esy.lock/opam/ordering.3.2.0/opam deleted file mode 100644 index b05b8c3f..00000000 --- a/esy.lock/opam/ordering.3.2.0/opam +++ /dev/null @@ -1,39 +0,0 @@ -opam-version: "2.0" -synopsis: "Element ordering" -description: "Element ordering" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08.0"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/pp.1.1.2/opam b/esy.lock/opam/pp.1.1.2/opam deleted file mode 100644 index e09edbfd..00000000 --- a/esy.lock/opam/pp.1.1.2/opam +++ /dev/null @@ -1,58 +0,0 @@ -opam-version: "2.0" -synopsis: "Pretty-printing library" -description: """ - -This library provides a lean alternative to the Format [1] module of -the OCaml standard library. It aims to make it easy for users to do -the right thing. If you have tried Format before but find its API -complicated and difficult to use, then Pp might be a good choice for -you. - -Pp uses the same concepts of boxes and break hints, and the final -rendering is done to formatter from the Format module. However it -defines its own algebra which some might find easier to work with and -reason about. No previous knowledge is required to start using this -library, however the various guides for the Format module such as this -one [2] should be applicable to Pp as well. - -[1]: https://caml.inria.fr/pub/docs/manual-ocaml/libref/Format.html -[2]: http://caml.inria.fr/resources/doc/guides/format.en.html -""" -maintainer: ["Jeremie Dimino "] -authors: [ - "Jane Street Group, LLC" - "Jeremie Dimino " -] -license: "MIT" -homepage: "https://github.com/ocaml-dune/pp" -doc: "https://ocaml-dune.github.io/pp/" -bug-reports: "https://github.com/ocaml-dune/pp/issues" -depends: [ - "dune" {>= "2.0"} - "ocaml" {>= "4.08.0"} - "ppx_expect" {with-test} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/ocaml-dune/pp.git" -x-commit-hash: "395b95c89cfe2c6d538dad9d56721b6a7278d46c" -url { - src: - "https://github.com/ocaml-dune/pp/releases/download/1.1.2/pp-1.1.2.tbz" - checksum: [ - "sha256=e4a4e98d96b1bb76950fcd6da4e938c86d989df4d7e48f02f7a44595f5af1d56" - "sha512=58f78b083483006b40814be9aac33c895349eb1c6427d2762b4d760192613401262478bd5deff909763517560b06af7bf013c6a6f87d549aafa77b26345303f2" - ] -} diff --git a/esy.lock/opam/ppx_derivers.1.2.1/opam b/esy.lock/opam/ppx_derivers.1.2.1/opam deleted file mode 100644 index 484b2654..00000000 --- a/esy.lock/opam/ppx_derivers.1.2.1/opam +++ /dev/null @@ -1,23 +0,0 @@ -opam-version: "2.0" -maintainer: "jeremie@dimino.org" -authors: ["Jérémie Dimino"] -license: "BSD-3-Clause" -homepage: "https://github.com/ocaml-ppx/ppx_derivers" -bug-reports: "https://github.com/ocaml-ppx/ppx_derivers/issues" -dev-repo: "git+https://github.com/ocaml-ppx/ppx_derivers.git" -build: [ - ["dune" "build" "-p" name "-j" jobs] -] -depends: [ - "ocaml" - "dune" -] -synopsis: "Shared [@@deriving] plugin registry" -description: """ -Ppx_derivers is a tiny package whose sole purpose is to allow -ppx_deriving and ppx_type_conv to inter-operate gracefully when linked -as part of the same ocaml-migrate-parsetree driver.""" -url { - src: "https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz" - checksum: "md5=5dc2bf130c1db3c731fe0fffc5648b41" -} diff --git a/esy.lock/opam/ppx_yojson_conv_lib.v0.15.0/opam b/esy.lock/opam/ppx_yojson_conv_lib.v0.15.0/opam deleted file mode 100644 index 1b0664b2..00000000 --- a/esy.lock/opam/ppx_yojson_conv_lib.v0.15.0/opam +++ /dev/null @@ -1,24 +0,0 @@ -opam-version: "2.0" -maintainer: "Jane Street developers" -authors: ["Jane Street Group, LLC"] -homepage: "https://github.com/janestreet/ppx_yojson_conv_lib" -bug-reports: "https://github.com/janestreet/ppx_yojson_conv_lib/issues" -dev-repo: "git+https://github.com/janestreet/ppx_yojson_conv_lib.git" -doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_yojson_conv_lib/index.html" -license: "MIT" -build: [ - ["dune" "build" "-p" name "-j" jobs] -] -depends: [ - "ocaml" {>= "4.02.3"} - "dune" {>= "2.0.0"} - "yojson" {>= "1.7.0"} -] -synopsis: "Runtime lib for ppx_yojson_conv" -description: " -Part of the Jane Street's PPX rewriters collection. -" -url { -src: "https://ocaml.janestreet.com/ocaml-core/v0.15/files/ppx_yojson_conv_lib-v0.15.0.tar.gz" -checksum: "sha256=f9d2c5eff4566ec1f1f379b186ed22c8ddd6be0909a160bc5a9ac7abc6a6b684" -} diff --git a/esy.lock/opam/ppxlib.0.26.0/opam b/esy.lock/opam/ppxlib.0.26.0/opam deleted file mode 100644 index db086050..00000000 --- a/esy.lock/opam/ppxlib.0.26.0/opam +++ /dev/null @@ -1,63 +0,0 @@ -opam-version: "2.0" -synopsis: "Standard library for ppx rewriters" -description: """ -Ppxlib is the standard library for ppx rewriters and other programs -that manipulate the in-memory reprensation of OCaml programs, a.k.a -the "Parsetree". - -It also comes bundled with two ppx rewriters that are commonly used to -write tools that manipulate and/or generate Parsetree values; -`ppxlib.metaquot` which allows to construct Parsetree values using the -OCaml syntax directly and `ppxlib.traverse` which provides various -ways of automatically traversing values of a given type, in particular -allowing to inject a complex structured value into generated code. -""" -maintainer: ["opensource@janestreet.com"] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml-ppx/ppxlib" -doc: "https://ocaml-ppx.github.io/ppxlib/" -bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues" -depends: [ - "dune" {>= "2.7"} - "ocaml" {>= "4.04.1" & < "4.15"} - "ocaml-compiler-libs" {>= "v0.11.0"} - "ppx_derivers" {>= "1.0"} - "sexplib0" {>= "v0.12"} - "sexplib0" {with-test & < "v0.15"} - "stdlib-shims" - "ocamlfind" {with-test} - "re" {with-test & >= "1.9.0"} - "cinaps" {with-test & >= "v0.12.1"} - "base" {with-test} - "stdio" {with-test} - "odoc" {with-doc} -] -conflicts: [ - "ocaml-migrate-parsetree" {< "2.0.0"} - "base-effects" -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" -url { - src: - "https://github.com/ocaml-ppx/ppxlib/releases/download/0.26.0/ppxlib-0.26.0.tbz" - checksum: [ - "sha256=63117b67ea5863935455fe921f88fe333c0530f0483f730313303a93af817efd" - "sha512=9cfc9587657d17cdee5483e2a03292f872c42886e512bcc7442652e6418ce74c0135c731d8a68288c7fecae7f1b2defd93fe5acf8edb41e25144a8cec2806227" - ] -} -x-commit-hash: "18b1ad68b59d151d662147661e43b159ac491f68" diff --git a/esy.lock/opam/re.1.10.4/opam b/esy.lock/opam/re.1.10.4/opam deleted file mode 100644 index 9dad6613..00000000 --- a/esy.lock/opam/re.1.10.4/opam +++ /dev/null @@ -1,46 +0,0 @@ -opam-version: "2.0" - -maintainer: "rudi.grinberg@gmail.com" -authors: [ - "Jerome Vouillon" - "Thomas Gazagnaire" - "Anil Madhavapeddy" - "Rudi Grinberg" - "Gabriel Radanne" -] -license: "LGPL-2.0-or-later WITH OCaml-LGPL-linking-exception" -homepage: "https://github.com/ocaml/ocaml-re" -bug-reports: "https://github.com/ocaml/ocaml-re/issues" -dev-repo: "git+https://github.com/ocaml/ocaml-re.git" - -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] - ["dune" "runtest" "-p" name "-j" jobs] {with-test} -] - -depends: [ - "ocaml" {>= "4.03"} - "dune" {>= "2.0"} - "ounit" {with-test} - "seq" -] - -synopsis: "RE is a regular expression library for OCaml" -description: """ -Pure OCaml regular expressions with: -* Perl-style regular expressions (module Re.Perl) -* Posix extended regular expressions (module Re.Posix) -* Emacs-style regular expressions (module Re.Emacs) -* Shell-style file globbing (module Re.Glob) -* Compatibility layer for OCaml's built-in Str module (module Re.Str) -""" -url { - src: - "https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz" - checksum: [ - "sha256=83eb3e4300aa9b1dc7820749010f4362ea83524742130524d78c20ce99ca747c" - "sha512=92b05cf92c389fa8c753f2acca837b15dd05a4a2e8e2bec7a269d2e14c35b1a786d394258376648f80b4b99250ba1900cfe68230b8385aeac153149d9ce56099" - ] -} -x-commit-hash: "e9a4cecb8294c1839db18b1d0c30e755ec85ed5e" diff --git a/esy.lock/opam/seq.base/files/META.seq b/esy.lock/opam/seq.base/files/META.seq deleted file mode 100644 index 06b95eff..00000000 --- a/esy.lock/opam/seq.base/files/META.seq +++ /dev/null @@ -1,4 +0,0 @@ -name="seq" -version="[distributed with OCaml 4.07 or above]" -description="dummy backward-compatibility package for iterators" -requires="" diff --git a/esy.lock/opam/seq.base/files/seq.install b/esy.lock/opam/seq.base/files/seq.install deleted file mode 100644 index c4d70206..00000000 --- a/esy.lock/opam/seq.base/files/seq.install +++ /dev/null @@ -1,3 +0,0 @@ -lib:[ - "META.seq" {"META"} -] diff --git a/esy.lock/opam/seq.base/opam b/esy.lock/opam/seq.base/opam deleted file mode 100644 index b33d8c7d..00000000 --- a/esy.lock/opam/seq.base/opam +++ /dev/null @@ -1,15 +0,0 @@ -opam-version: "2.0" -maintainer: " " -authors: " " -homepage: " " -depends: [ - "ocaml" {>= "4.07.0"} -] -dev-repo: "git+https://github.com/ocaml/ocaml.git" -bug-reports: "https://caml.inria.fr/mantis/main_page.php" -synopsis: - "Compatibility package for OCaml's standard iterator type starting from 4.07." -extra-files: [ - ["seq.install" "md5=026b31e1df290373198373d5aaa26e42"] - ["META.seq" "md5=b33c8a1a6c7ed797816ce27df4855107"] -] diff --git a/esy.lock/opam/sexplib0.v0.15.0/opam b/esy.lock/opam/sexplib0.v0.15.0/opam deleted file mode 100644 index 2c434831..00000000 --- a/esy.lock/opam/sexplib0.v0.15.0/opam +++ /dev/null @@ -1,26 +0,0 @@ -opam-version: "2.0" -maintainer: "Jane Street developers" -authors: ["Jane Street Group, LLC"] -homepage: "https://github.com/janestreet/sexplib0" -bug-reports: "https://github.com/janestreet/sexplib0/issues" -dev-repo: "git+https://github.com/janestreet/sexplib0.git" -doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/sexplib0/index.html" -license: "MIT" -build: [ - ["dune" "build" "-p" name "-j" jobs] -] -depends: [ - "ocaml" {>= "4.04.2"} - "dune" {>= "2.0.0"} -] -synopsis: "Library containing the definition of S-expressions and some base converters" -description: " -Part of Jane Street's Core library -The Core suite of libraries is an industrial strength alternative to -OCaml's standard library that was developed by Jane Street, the -largest industrial user of OCaml. -" -url { -src: "https://ocaml.janestreet.com/ocaml-core/v0.15/files/sexplib0-v0.15.0.tar.gz" -checksum: "sha256=94462c00416403d2778493ac01ced5439bc388a68ac4097208159d62434aefba" -} diff --git a/esy.lock/opam/spawn.v0.15.1/opam b/esy.lock/opam/spawn.v0.15.1/opam deleted file mode 100644 index 5be3a994..00000000 --- a/esy.lock/opam/spawn.v0.15.1/opam +++ /dev/null @@ -1,56 +0,0 @@ -opam-version: "2.0" -synopsis: "Spawning sub-processes" -description: """ -Spawn is a small library exposing only one functionality: spawning sub-process. - -It has three main goals: - -1. provide missing features of Unix.create_process such as providing a -working directory - -2. provide better errors when a system call fails in the -sub-process. For instance if a command is not found, you get a proper -[Unix.Unix_error] exception - -3. improve performance by using vfork when available. It is often -claimed that nowadays fork is as fast as vfork, however in practice -fork takes time proportional to the process memory while vfork is -constant time. In application using a lot of memory, vfork can be -thousands of times faster than fork. -""" -maintainer: ["Jane Street developers"] -authors: ["Jane Street Group, LLC"] -license: "MIT" -homepage: "https://github.com/janestreet/spawn" -doc: "https://janestreet.github.io/spawn/" -bug-reports: "https://github.com/janestreet/spawn/issues" -depends: [ - "dune" {>= "2.8"} - "ppx_expect" {with-test} - "ocaml" {>= "4.05"} - "odoc" {with-doc} -] -build: [ - ["dune" "subst"] {dev} - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@runtest" {with-test} - "@doc" {with-doc} - ] -] -dev-repo: "git+https://github.com/janestreet/spawn.git" -x-commit-hash: "13d279ebfa8c40d4bafe18cddfdff0de54b4eaff" -url { - src: - "https://github.com/janestreet/spawn/archive/v0.15.1.tar.gz" - checksum: [ - "sha256=9afdee314fab6c3fcd689ab6eb5608d6b78078e6dede3953a47debde06c19d50" - "sha512=efdb31d5ec5ea36d0bc80224d4ee04e46ce3428d1662870e6cebece92bc313d6eebee378802c0c059dd6e0cafea515308c31b7dfaf04a098eb4566583c1e9ed4" - ] -} diff --git a/esy.lock/opam/stdlib-shims.0.3.0/opam b/esy.lock/opam/stdlib-shims.0.3.0/opam deleted file mode 100644 index 8c969571..00000000 --- a/esy.lock/opam/stdlib-shims.0.3.0/opam +++ /dev/null @@ -1,31 +0,0 @@ -opam-version: "2.0" -maintainer: "The stdlib-shims programmers" -authors: "The stdlib-shims programmers" -homepage: "https://github.com/ocaml/stdlib-shims" -doc: "https://ocaml.github.io/stdlib-shims/" -dev-repo: "git+https://github.com/ocaml/stdlib-shims.git" -bug-reports: "https://github.com/ocaml/stdlib-shims/issues" -tags: ["stdlib" "compatibility" "org:ocaml"] -license: ["LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] -depends: [ - "dune" - "ocaml" {>= "4.02.3"} -] -build: [ "dune" "build" "-p" name "-j" jobs ] -synopsis: "Backport some of the new stdlib features to older compiler" -description: """ -Backport some of the new stdlib features to older compiler, -such as the Stdlib module. - -This allows projects that require compatibility with older compiler to -use these new features in their code. -""" -x-commit-hash: "fb6815e5d745f07fd567c11671149de6ef2e74c8" -url { - src: - "https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz" - checksum: [ - "sha256=babf72d3917b86f707885f0c5528e36c63fccb698f4b46cf2bab5c7ccdd6d84a" - "sha512=1151d7edc8923516e9a36995a3f8938d323aaade759ad349ed15d6d8501db61ffbe63277e97c4d86149cf371306ac23df0f581ec7e02611f58335126e1870980" - ] -} diff --git a/esy.lock/opam/stdune.3.2.0/opam b/esy.lock/opam/stdune.3.2.0/opam deleted file mode 100644 index 1ad3733f..00000000 --- a/esy.lock/opam/stdune.3.2.0/opam +++ /dev/null @@ -1,44 +0,0 @@ -opam-version: "2.0" -synopsis: "Dune's unstable standard library" -description: - "This library offers no backwards compatibility guarantees. Use at your own risk." -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08.0"} - "dyn" {= version} - "ordering" {= version} - "pp" {>= "1.1.0"} - "csexp" {>= "1.5.0"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/topkg.1.0.5/opam b/esy.lock/opam/topkg.1.0.5/opam deleted file mode 100644 index 3b2f63a0..00000000 --- a/esy.lock/opam/topkg.1.0.5/opam +++ /dev/null @@ -1,44 +0,0 @@ -opam-version: "2.0" -synopsis: """The transitory OCaml software packager""" -maintainer: ["Daniel Bünzli "] -authors: ["The topkg programmers"] -homepage: "https://erratique.ch/software/topkg" -doc: "https://erratique.ch/software/topkg/doc" -dev-repo: "git+https://erratique.ch/repos/topkg.git" -bug-reports: "https://github.com/dbuenzli/topkg/issues" -license: ["ISC"] -tags: ["packaging" "ocamlbuild" "org:erratique"] -depends: ["ocaml" {>= "4.05.0"} - "ocamlfind" {build & >= "1.6.1"} - "ocamlbuild"] -build: [["ocaml" "pkg/pkg.ml" "build" "--pkg-name" name - "--dev-pkg" "%{dev}%"]] -url { - src: "https://erratique.ch/software/topkg/releases/topkg-1.0.5.tbz" - checksum: "sha512=9450e9139209aacd8ddb4ba18e4225770837e526a52a56d94fd5c9c4c9941e83e0e7102e2292b440104f4c338fabab47cdd6bb51d69b41cc92cc7a551e6fefab"} -description: """ -Topkg is a packager for distributing OCaml software. It provides an -API to describe the files a package installs in a given build -configuration and to specify information about the package's -distribution, creation and publication procedures. - -The optional topkg-care package provides the `topkg` command line tool -which helps with various aspects of a package's life cycle: creating -and linting a distribution, releasing it on the WWW, publish its -documentation, add it to the OCaml opam repository, etc. - -Topkg is distributed under the ISC license and has **no** -dependencies. This is what your packages will need as a *build* -dependency. - -Topkg-care is distributed under the ISC license it depends on -[fmt][fmt], [logs][logs], [bos][bos], [cmdliner][cmdliner], -[webbrowser][webbrowser] and `opam-format`. - -[fmt]: http://erratique.ch/software/fmt -[logs]: http://erratique.ch/software/logs -[bos]: http://erratique.ch/software/bos -[cmdliner]: http://erratique.ch/software/cmdliner -[webbrowser]: http://erratique.ch/software/webbrowser - -Home page: http://erratique.ch/software/topkg""" \ No newline at end of file diff --git a/esy.lock/opam/uutf.1.0.3/opam b/esy.lock/opam/uutf.1.0.3/opam deleted file mode 100644 index e96cc4a4..00000000 --- a/esy.lock/opam/uutf.1.0.3/opam +++ /dev/null @@ -1,36 +0,0 @@ -opam-version: "2.0" -synopsis: """Non-blocking streaming Unicode codec for OCaml""" -maintainer: ["Daniel Bünzli "] -authors: ["The uutf programmers"] -homepage: "https://erratique.ch/software/uutf" -doc: "https://erratique.ch/software/uutf/doc/" -dev-repo: "git+https://erratique.ch/repos/uutf.git" -bug-reports: "https://github.com/dbuenzli/uutf/issues" -license: ["ISC"] -tags: ["unicode" "text" "utf-8" "utf-16" "codec" "org:erratique"] -depends: ["ocaml" {>= "4.03.0"} - "ocamlfind" {build} - "ocamlbuild" {build} - "topkg" {build & >= "1.0.3"}] -depopts: ["cmdliner"] -conflicts: ["cmdliner" {< "0.9.8"}] -build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%" - "--with-cmdliner" "%{cmdliner:installed}%"]] -url { - src: "https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz" - checksum: "sha512=50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8"} -description: """ -Uutf is a non-blocking streaming codec to decode and encode the UTF-8, -UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently -work character by character without blocking on IO. Decoders perform -character position tracking and support newline normalization. - -Functions are also provided to fold over the characters of UTF encoded -OCaml string values and to directly encode characters in OCaml -Buffer.t values. **Note** that since OCaml 4.14, that functionality -can be found in the Stdlib and you are encouraged to migrate to it. - -Uutf has no dependency and is distributed under the ISC license. - -Home page: http://erratique.ch/software/uutf -Contact: Daniel Bünzli ``""" \ No newline at end of file diff --git a/esy.lock/opam/xdg.3.2.0/opam b/esy.lock/opam/xdg.3.2.0/opam deleted file mode 100644 index ce23671f..00000000 --- a/esy.lock/opam/xdg.3.2.0/opam +++ /dev/null @@ -1,40 +0,0 @@ -opam-version: "2.0" -synopsis: "XDG Base Directory Specification" -description: - "https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html" -maintainer: ["Jane Street Group, LLC "] -authors: ["Jane Street Group, LLC "] -license: "MIT" -homepage: "https://github.com/ocaml/dune" -doc: "https://dune.readthedocs.io/" -bug-reports: "https://github.com/ocaml/dune/issues" -depends: [ - "dune" {>= "3.0"} - "ocaml" {>= "4.08"} - "odoc" {with-doc} -] -dev-repo: "git+https://github.com/ocaml/dune.git" -build: [ - ["dune" "subst"] {dev} - ["rm" "-rf" "vendor/csexp"] - ["rm" "-rf" "vendor/pp"] - [ - "dune" - "build" - "-p" - name - "-j" - jobs - "@install" - "@doc" {with-doc} - ] -] -url { - src: - "https://github.com/ocaml/dune/releases/download/3.2.0/chrome-trace-3.2.0.tbz" - checksum: [ - "sha256=bd1fbce6ae79ed1eb26fa89bb2e2e23978afceb3f53f5578cf1bdab08a1ad5bc" - "sha512=b99e82d7e2233a9dd8c1fae591a03f9470fcdf9750d0e428cee2d4c8bcfa4da1595e9e10af2f234279a6ca8a120a773b247d4761d2c39210fc6101076631690e" - ] -} -x-commit-hash: "43af00f79e41ce9101d42b36dab13e1f68d49a7a" diff --git a/esy.lock/opam/yojson.1.7.0/opam b/esy.lock/opam/yojson.1.7.0/opam deleted file mode 100644 index f5438059..00000000 --- a/esy.lock/opam/yojson.1.7.0/opam +++ /dev/null @@ -1,38 +0,0 @@ -opam-version: "2.0" -maintainer: "martin@mjambon.com" -authors: ["Martin Jambon"] -homepage: "https://github.com/ocaml-community/yojson" -bug-reports: "https://github.com/ocaml-community/yojson/issues" -dev-repo: "git+https://github.com/ocaml-community/yojson.git" -doc: "https://ocaml-community.github.io/yojson/" -build: [ - ["dune" "subst"] {dev} - ["dune" "build" "-p" name "-j" jobs] -] -run-test: [["dune" "runtest" "-p" name "-j" jobs]] -depends: [ - "ocaml" {>= "4.02.3"} - "dune" - "cppo" {build} - "easy-format" - "biniou" {>= "1.2.0"} - "alcotest" {with-test & >= "0.8.5"} -] -synopsis: - "Yojson is an optimized parsing and printing library for the JSON format" -description: """ -Yojson is an optimized parsing and printing library for the JSON format. - -It addresses a few shortcomings of json-wheel including 2x speedup, -polymorphic variants and optional syntax for tuples and variants. - -ydump is a pretty-printing command-line program provided with the -yojson package. - -The program atdgen can be used to derive OCaml-JSON serializers and -deserializers from type definitions.""" -url { - src: - "https://github.com/ocaml-community/yojson/releases/download/1.7.0/yojson-1.7.0.tbz" - checksum: "md5=b89d39ca3f8c532abe5f547ad3b8f84d" -} diff --git a/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/files/winpatch.patch b/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/files/winpatch.patch deleted file mode 100644 index bba9929f..00000000 --- a/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/files/winpatch.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./Makefile -+++ ./Makefile -@@ -271,7 +271,7 @@ - echo ' "ocamlbuild.byte" {"ocamlbuild.byte"}' >> ocamlbuild.install - ifeq ($(OCAML_NATIVE), true) - echo ' "ocamlbuild.native" {"ocamlbuild.native"}' >> ocamlbuild.install -- echo ' "ocamlbuild.native" {"ocamlbuild"}' >> ocamlbuild.install -+ echo " \"ocamlbuild.native\" {\"ocamlbuild${EXE}\"}" >> ocamlbuild.install - else - echo ' "ocamlbuild.byte" {"ocamlbuild"}' >> ocamlbuild.install - endif diff --git a/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/package.json b/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/package.json deleted file mode 100644 index b57a42cc..00000000 --- a/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.1_opam_override/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "build": [ - [ - "bash", - "-c", - "#{os == 'windows' ? 'patch -p1 < winpatch.patch' : 'true'}" - ], - [ - "make", - "-f", - "configure.make", - "all", - "OCAMLBUILD_PREFIX=#{self.install}", - "OCAMLBUILD_BINDIR=#{self.bin}", - "OCAMLBUILD_LIBDIR=#{self.lib}", - "OCAMLBUILD_MANDIR=#{self.man}", - "OCAMLBUILD_NATIVE=true", - "OCAMLBUILD_NATIVE_TOOLS=true", - "EXE=#{os == 'windows' ? '.exe': ''}" - ], - [ - "make", - "check-if-preinstalled", - "all", - "EXE=#{os == 'windows' ? '.exe': ''}", - "opam-install" - ] - ] -} diff --git a/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/files/findlib.patch b/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/files/findlib.patch deleted file mode 100644 index 3aa5aa69..00000000 --- a/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/files/findlib.patch +++ /dev/null @@ -1,485 +0,0 @@ ---- ./Makefile -+++ ./Makefile -@@ -57,16 +57,16 @@ - cat findlib.conf.in | \ - $(SH) tools/patch '@SITELIB@' '$(OCAML_SITELIB)' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ -- echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ -+ echo 'ocamlc="ocamlc.opt$(EXEC_SUFFIX)"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ -- echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ -+ echo 'ocamlopt="ocamlopt.opt$(EXEC_SUFFIX)"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ -- echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ -+ echo 'ocamldep="ocamldep.opt$(EXEC_SUFFIX)"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ -- echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ -+ echo 'ocamldoc="ocamldoc.opt$(EXEC_SUFFIX)"' >>findlib.conf; \ - fi - - .PHONY: install-doc ---- ./src/findlib/findlib_config.mlp -+++ ./src/findlib/findlib_config.mlp -@@ -24,3 +24,5 @@ - | "MacOS" -> "" (* don't know *) - | _ -> failwith "Unknown Sys.os_type" - ;; -+ -+let exec_suffix = "@EXEC_SUFFIX@";; ---- ./src/findlib/findlib.ml -+++ ./src/findlib/findlib.ml -@@ -28,15 +28,20 @@ - let conf_ldconf = ref "";; - let conf_ignore_dups_in = ref ([] : string list);; - --let ocamlc_default = "ocamlc";; --let ocamlopt_default = "ocamlopt";; --let ocamlcp_default = "ocamlcp";; --let ocamloptp_default = "ocamloptp";; --let ocamlmklib_default = "ocamlmklib";; --let ocamlmktop_default = "ocamlmktop";; --let ocamldep_default = "ocamldep";; --let ocamlbrowser_default = "ocamlbrowser";; --let ocamldoc_default = "ocamldoc";; -+let add_exec str = -+ match Findlib_config.exec_suffix with -+ | "" -> str -+ | a -> str ^ a ;; -+let ocamlc_default = add_exec "ocamlc";; -+let ocamlopt_default = add_exec "ocamlopt";; -+let ocamlcp_default = add_exec "ocamlcp";; -+let ocamloptp_default = add_exec "ocamloptp";; -+let ocamlmklib_default = add_exec "ocamlmklib";; -+let ocamlmktop_default = add_exec "ocamlmktop";; -+let ocamldep_default = add_exec "ocamldep";; -+let ocamlbrowser_default = add_exec "ocamlbrowser";; -+let ocamldoc_default = add_exec "ocamldoc";; -+ - - - let init_manually ---- ./src/findlib/fl_package_base.ml -+++ ./src/findlib/fl_package_base.ml -@@ -133,7 +133,15 @@ - List.find (fun def -> def.def_var = "exists_if") p.package_defs in - let files = Fl_split.in_words def.def_value in - List.exists -- (fun file -> Sys.file_exists (Filename.concat d' file)) -+ (fun file -> -+ let fln = Filename.concat d' file in -+ let e = Sys.file_exists fln in -+ (* necessary for ppx executables *) -+ if e || Sys.os_type <> "Win32" || Filename.check_suffix fln ".exe" then -+ e -+ else -+ Sys.file_exists (fln ^ ".exe") -+ ) - files - with Not_found -> true in - ---- ./src/findlib/fl_split.ml -+++ ./src/findlib/fl_split.ml -@@ -126,10 +126,17 @@ - | '/' | '\\' -> true - | _ -> false in - let norm_dir_win() = -- if l >= 1 && s.[0] = '/' then -- Buffer.add_char b '\\' else Buffer.add_char b s.[0]; -- if l >= 2 && s.[1] = '/' then -- Buffer.add_char b '\\' else Buffer.add_char b s.[1]; -+ if l >= 1 then ( -+ if s.[0] = '/' then -+ Buffer.add_char b '\\' -+ else -+ Buffer.add_char b s.[0] ; -+ if l >= 2 then -+ if s.[1] = '/' then -+ Buffer.add_char b '\\' -+ else -+ Buffer.add_char b s.[1]; -+ ); - for k = 2 to l - 1 do - let c = s.[k] in - if is_slash c then ( ---- ./src/findlib/frontend.ml -+++ ./src/findlib/frontend.ml -@@ -31,10 +31,18 @@ - else - Sys_error (arg ^ ": " ^ Unix.error_message code) - -+let is_win = Sys.os_type = "Win32" -+ -+let () = -+ match Findlib_config.system with -+ | "win32" | "win64" | "mingw" | "cygwin" | "mingw64" | "cygwin64" -> -+ (try set_binary_mode_out stdout true with _ -> ()); -+ (try set_binary_mode_out stderr true with _ -> ()); -+ | _ -> () - - let slashify s = - match Findlib_config.system with -- | "mingw" | "mingw64" | "cygwin" -> -+ | "win32" | "win64" | "mingw" | "cygwin" | "mingw64" | "cygwin64" -> - let b = Buffer.create 80 in - String.iter - (function -@@ -49,7 +57,7 @@ - - let out_path ?(prefix="") s = - match Findlib_config.system with -- | "mingw" | "mingw64" | "cygwin" -> -+ | "win32" | "win64" | "mingw" | "mingw64" | "cygwin" -> - let u = slashify s in - prefix ^ - (if String.contains u ' ' then -@@ -273,11 +281,9 @@ - - - let identify_dir d = -- match Sys.os_type with -- | "Win32" -> -- failwith "identify_dir" (* not available *) -- | _ -> -- let s = Unix.stat d in -+ if is_win then -+ failwith "identify_dir"; (* not available *) -+ let s = Unix.stat d in - (s.Unix.st_dev, s.Unix.st_ino) - ;; - -@@ -459,6 +465,96 @@ - ) - packages - -+let rewrite_cmd s = -+ if s = "" || not is_win then -+ s -+ else -+ let s = -+ let l = String.length s in -+ let b = Buffer.create l in -+ for i = 0 to pred l do -+ match s.[i] with -+ | '/' -> Buffer.add_char b '\\' -+ | x -> Buffer.add_char b x -+ done; -+ Buffer.contents b -+ in -+ if (Filename.is_implicit s && String.contains s '\\' = false) || -+ Filename.check_suffix (String.lowercase s) ".exe" then -+ s -+ else -+ let s' = s ^ ".exe" in -+ if Sys.file_exists s' then -+ s' -+ else -+ s -+ -+let rewrite_cmd s = -+ if s = "" || not is_win then s else -+ let s = -+ let l = String.length s in -+ let b = Buffer.create l in -+ for i = 0 to pred l do -+ match s.[i] with -+ | '/' -> Buffer.add_char b '\\' -+ | x -> Buffer.add_char b x -+ done; -+ Buffer.contents b -+ in -+ if (Filename.is_implicit s && String.contains s '\\' = false) || -+ Filename.check_suffix (String.lowercase s) ".exe" then -+ s -+ else -+ let s' = s ^ ".exe" in -+ if Sys.file_exists s' then -+ s' -+ else -+ s -+ -+let rewrite_pp cmd = -+ if not is_win then cmd else -+ let module T = struct exception Keep end in -+ let is_whitespace = function -+ | ' ' | '\011' | '\012' | '\n' | '\r' | '\t' -> true -+ | _ -> false in -+ (* characters that triggers special behaviour (cmd.exe, not unix shell) *) -+ let is_unsafe_char = function -+ | '(' | ')' | '%' | '!' | '^' | '<' | '>' | '&' -> true -+ | _ -> false in -+ let len = String.length cmd in -+ let buf = Buffer.create (len + 4) in -+ let buf_cmd = Buffer.create len in -+ let rec iter_ws i = -+ if i >= len then () else -+ let cur = cmd.[i] in -+ if is_whitespace cur then ( -+ Buffer.add_char buf cur; -+ iter_ws (succ i) -+ ) -+ else -+ iter_cmd i -+ and iter_cmd i = -+ if i >= len then add_buf_cmd () else -+ let cur = cmd.[i] in -+ if is_unsafe_char cur || cur = '"' || cur = '\'' then -+ raise T.Keep; -+ if is_whitespace cur then ( -+ add_buf_cmd (); -+ Buffer.add_substring buf cmd i (len - i) -+ ) -+ else ( -+ Buffer.add_char buf_cmd cur; -+ iter_cmd (succ i) -+ ) -+ and add_buf_cmd () = -+ if Buffer.length buf_cmd > 0 then -+ Buffer.add_string buf (rewrite_cmd (Buffer.contents buf_cmd)) -+ in -+ try -+ iter_ws 0; -+ Buffer.contents buf -+ with -+ | T.Keep -> cmd - - let process_pp_spec syntax_preds packages pp_opts = - (* Returns: pp_command *) -@@ -549,7 +645,7 @@ - None -> [] - | Some cmd -> - ["-pp"; -- cmd ^ " " ^ -+ (rewrite_cmd cmd) ^ " " ^ - String.concat " " (List.map Filename.quote pp_i_options) ^ " " ^ - String.concat " " (List.map Filename.quote pp_archives) ^ " " ^ - String.concat " " (List.map Filename.quote pp_opts)] -@@ -625,9 +721,11 @@ - in - try - let preprocessor = -+ rewrite_cmd ( - resolve_path - ~base ~explicit:true -- (package_property predicates pname "ppx") in -+ (package_property predicates pname "ppx") ) -+ in - ["-ppx"; String.concat " " (preprocessor :: options)] - with Not_found -> [] - ) -@@ -895,6 +993,14 @@ - switch (e.g. -L instead of -L ) - *) - -+(* We may need to remove files on which we do not have complete control. -+ On Windows, removing a read-only file fails so try to change the -+ mode of the file first. *) -+let remove_file fname = -+ try Sys.remove fname -+ with Sys_error _ when is_win -> -+ (try Unix.chmod fname 0o666 with Unix.Unix_error _ -> ()); -+ Sys.remove fname - - let ocamlc which () = - -@@ -1022,9 +1128,12 @@ - - "-intf", - Arg.String (fun s -> pass_files := !pass_files @ [ Intf(slashify s) ]); -- -+ - "-pp", -- Arg.String (fun s -> pp_specified := true; add_spec_fn "-pp" s); -+ Arg.String (fun s -> pp_specified := true; add_spec_fn "-pp" (rewrite_pp s)); -+ -+ "-ppx", -+ Arg.String (fun s -> add_spec_fn "-ppx" (rewrite_pp s)); - - "-thread", - Arg.Unit (fun _ -> threads := threads_default); -@@ -1237,7 +1346,7 @@ - with - any -> - close_out initl; -- Sys.remove initl_file_name; -+ remove_file initl_file_name; - raise any - end; - -@@ -1245,9 +1354,9 @@ - at_exit - (fun () -> - let tr f x = try f x with _ -> () in -- tr Sys.remove initl_file_name; -- tr Sys.remove (Filename.chop_extension initl_file_name ^ ".cmi"); -- tr Sys.remove (Filename.chop_extension initl_file_name ^ ".cmo"); -+ tr remove_file initl_file_name; -+ tr remove_file (Filename.chop_extension initl_file_name ^ ".cmi"); -+ tr remove_file (Filename.chop_extension initl_file_name ^ ".cmo"); - ); - - let exclude_list = [ stdlibdir; threads_dir; vmthreads_dir ] in -@@ -1493,7 +1602,9 @@ - [ "-v", Arg.Unit (fun () -> verbose := Verbose); - "-pp", Arg.String (fun s -> - pp_specified := true; -- options := !options @ ["-pp"; s]); -+ options := !options @ ["-pp"; rewrite_pp s]); -+ "-ppx", Arg.String (fun s -> -+ options := !options @ ["-ppx"; rewrite_pp s]); - ] - ) - ) -@@ -1672,7 +1783,9 @@ - Arg.String (fun s -> add_spec_fn "-I" (slashify (resolve_path s))); - - "-pp", Arg.String (fun s -> pp_specified := true; -- add_spec_fn "-pp" s); -+ add_spec_fn "-pp" (rewrite_pp s)); -+ "-ppx", Arg.String (fun s -> add_spec_fn "-ppx" (rewrite_pp s)); -+ - ] - ) - ) -@@ -1830,7 +1943,10 @@ - output_string ch_out append; - close_out ch_out; - close_in ch_in; -- Unix.utimes outpath s.Unix.st_mtime s.Unix.st_mtime; -+ (try Unix.utimes outpath s.Unix.st_mtime s.Unix.st_mtime -+ with Unix.Unix_error(e,_,_) -> -+ prerr_endline("Warning: setting utimes for " ^ outpath -+ ^ ": " ^ Unix.error_message e)); - - prerr_endline("Installed " ^ outpath); - with -@@ -1882,6 +1998,8 @@ - Unix.openfile (Filename.concat dir owner_file) [Unix.O_RDONLY] 0 in - let f = - Unix.in_channel_of_descr fd in -+ if is_win then -+ set_binary_mode_in f false; - try - let line = input_line f in - let is_my_file = (line = pkg) in -@@ -2208,7 +2326,7 @@ - let lines = read_ldconf !ldconf in - let dlldir_norm = Fl_split.norm_dir dlldir in - let dlldir_norm_lc = string_lowercase_ascii dlldir_norm in -- let ci_filesys = (Sys.os_type = "Win32") in -+ let ci_filesys = is_win in - let check_dir d = - let d' = Fl_split.norm_dir d in - (d' = dlldir_norm) || -@@ -2356,7 +2474,7 @@ - List.iter - (fun file -> - let absfile = Filename.concat dlldir file in -- Sys.remove absfile; -+ remove_file absfile; - prerr_endline ("Removed " ^ absfile) - ) - dll_files -@@ -2365,7 +2483,7 @@ - (* Remove the files from the package directory: *) - if Sys.file_exists pkgdir then begin - let files = Sys.readdir pkgdir in -- Array.iter (fun f -> Sys.remove (Filename.concat pkgdir f)) files; -+ Array.iter (fun f -> remove_file (Filename.concat pkgdir f)) files; - Unix.rmdir pkgdir; - prerr_endline ("Removed " ^ pkgdir) - end -@@ -2415,7 +2533,9 @@ - - - let print_configuration() = -+ let sl = slashify in - let dir s = -+ let s = sl s in - if Sys.file_exists s then - s - else -@@ -2453,27 +2573,27 @@ - if md = "" then "the corresponding package directories" else dir md - ); - Printf.printf "The standard library is assumed to reside in:\n %s\n" -- (Findlib.ocaml_stdlib()); -+ (sl (Findlib.ocaml_stdlib())); - Printf.printf "The ld.conf file can be found here:\n %s\n" -- (Findlib.ocaml_ldconf()); -+ (sl (Findlib.ocaml_ldconf())); - flush stdout - | Some "conf" -> -- print_endline (Findlib.config_file()) -+ print_endline (sl (Findlib.config_file())) - | Some "path" -> -- List.iter print_endline (Findlib.search_path()) -+ List.iter ( fun x -> print_endline (sl x)) (Findlib.search_path()) - | Some "destdir" -> -- print_endline (Findlib.default_location()) -+ print_endline ( sl (Findlib.default_location())) - | Some "metadir" -> -- print_endline (Findlib.meta_directory()) -+ print_endline ( sl (Findlib.meta_directory())) - | Some "metapath" -> - let mdir = Findlib.meta_directory() in - let ddir = Findlib.default_location() in -- print_endline -- (if mdir <> "" then mdir ^ "/META.%s" else ddir ^ "/%s/META") -+ print_endline ( sl -+ (if mdir <> "" then mdir ^ "/META.%s" else ddir ^ "/%s/META")) - | Some "stdlib" -> -- print_endline (Findlib.ocaml_stdlib()) -+ print_endline ( sl (Findlib.ocaml_stdlib())) - | Some "ldconf" -> -- print_endline (Findlib.ocaml_ldconf()) -+ print_endline ( sl (Findlib.ocaml_ldconf())) - | _ -> - assert false - ;; -@@ -2481,7 +2601,7 @@ - - let ocamlcall pkg cmd = - let dir = package_directory pkg in -- let path = Filename.concat dir cmd in -+ let path = rewrite_cmd (Filename.concat dir cmd) in - begin - try Unix.access path [ Unix.X_OK ] - with -@@ -2647,6 +2767,10 @@ - | Sys_error f -> - prerr_endline ("ocamlfind: " ^ f); - exit 2 -+ | Unix.Unix_error (e, fn, f) -> -+ prerr_endline ("ocamlfind: " ^ fn ^ " " ^ f -+ ^ ": " ^ Unix.error_message e); -+ exit 2 - | Findlib.No_such_package(pkg,info) -> - prerr_endline ("ocamlfind: Package `" ^ pkg ^ "' not found" ^ - (if info <> "" then " - " ^ info else "")); ---- ./src/findlib/Makefile -+++ ./src/findlib/Makefile -@@ -90,6 +90,7 @@ - cat findlib_config.mlp | \ - $(SH) $(TOP)/tools/patch '@CONFIGFILE@' '$(OCAMLFIND_CONF)' | \ - $(SH) $(TOP)/tools/patch '@STDLIB@' '$(OCAML_CORE_STDLIB)' | \ -+ $(SH) $(TOP)/tools/patch '@EXEC_SUFFIX@' '$(EXEC_SUFFIX)' | \ - sed -e 's;@AUTOLINK@;$(OCAML_AUTOLINK);g' \ - -e 's;@SYSTEM@;$(SYSTEM);g' \ - >findlib_config.ml ---- ./src/findlib/frontend.ml -+++ ./src/findlib/frontend.ml -@@ -281,10 +281,8 @@ - - - let identify_dir d = -- if is_win then -- failwith "identify_dir"; (* not available *) - let s = Unix.stat d in -- (s.Unix.st_dev, s.Unix.st_ino) -+ (s.Unix.st_dev, s.Unix.st_ino) - ;; - - diff --git a/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/package.json b/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/package.json deleted file mode 100644 index bf169e50..00000000 --- a/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.3_opam_override/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "build": [ - [ - "bash", - "-c", - "#{os == 'windows' ? 'patch -p1 < findlib.patch' : 'true'}" - ], - [ - "./configure", - "-bindir", - "#{self.bin}", - "-sitelib", - "#{self.lib}", - "-mandir", - "#{self.man}", - "-config", - "#{self.lib}/findlib.conf", - "-no-custom", - "-no-topfind" - ], - [ - "make", - "all" - ], - [ - "make", - "opt" - ] - ], - "install": [ - [ - "make", - "install" - ], - [ - "install", - "-m", - "0755", - "ocaml-stub", - "#{self.bin}/ocaml" - ], - [ - "mkdir", - "-p", - "#{self.toplevel}" - ], - [ - "install", - "-m", - "0644", - "src/findlib/topfind", - "#{self.toplevel}/topfind" - ] - ], - "exportedEnv": { - "OCAML_TOPLEVEL_PATH": { - "val": "#{self.toplevel}", - "scope": "global" - } - } -} diff --git a/graphql_ppx.opam b/graphql_ppx.opam index 20974fe6..e161b9a2 100644 --- a/graphql_ppx.opam +++ b/graphql_ppx.opam @@ -15,7 +15,14 @@ build: [ ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ - "dune" {>= "2.5"} "ocaml" {>= "4.06"} - "ppxlib" {>= "0.21.0"} + "dune" {>= "3.12"} + "melange" {>= "2.0.0"} + "reason" {>= "3.10.0"} + "ppxlib" {>= "0.31.0"} + "melange-jest" {with-test} + "ocaml-lsp-server" {with-test} + "odoc" {with-doc} + ] + diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..9cb21891 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,13 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +graphql@^15.5.0: + version "15.8.0" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" + integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== + +rescript@10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/rescript/-/rescript-10.0.1.tgz#5b2da8a8bcfb994bed1eb24820bf10cfb9d8c440" + integrity sha512-XwO1GPDtoEU4H03xQE5bp0/qtSVR6YLaJRPxWKrfFgKc+LI36ODOCie7o9UJfgzQdoMYkkZyiTGZ4N9OQEaiUw== From dd2152760c7b5eda337a1c508cbf848315d99b9a Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Fri, 19 Jan 2024 13:38:50 +0100 Subject: [PATCH 3/4] :camera_flash: - Update snapshots It seems these are just additional type information --- .../apollo/generate/argNamedQuery.re.txt | 18 ++++++--- .../expected/apollo/generate/comment.re.txt | 18 ++++++--- .../apollo/generate/customScalars.re.txt | 6 ++- .../expected/apollo/generate/enumInput.re.txt | 6 ++- .../apollo/generate/fragmentDefinition.re.txt | 6 ++- .../apollo/generate/hasuraRepro.re.txt | 6 ++- .../expected/apollo/generate/listsArgs.re.txt | 6 ++- .../apollo/generate/listsInput.re.txt | 12 ++++-- .../apollo/generate/mutationWithArgs.re.txt | 6 ++- .../mutationWithArgsAndNoRecords.re.txt | 6 ++- .../apollo/generate/nonrecursiveInput.re.txt | 36 ++++++++++++------ .../apollo/generate/pokedexScalars.re.txt | 12 ++++-- .../apollo/generate/recursiveInput.re.txt | 37 +++++++++++++------ .../apollo/generate/scalarsArgs.re.txt | 6 ++- .../apollo/generate/scalarsInput.re.txt | 12 ++++-- .../apollo/generate/skipDirectives.re.txt | 6 ++- .../native/generate/argNamedQuery.re.txt | 18 ++++++--- .../expected/native/generate/comment.re.txt | 18 ++++++--- .../native/generate/customScalars.re.txt | 6 ++- .../expected/native/generate/enumInput.re.txt | 6 ++- .../native/generate/fragmentDefinition.re.txt | 6 ++- .../native/generate/hasuraRepro.re.txt | 6 ++- .../expected/native/generate/listsArgs.re.txt | 6 ++- .../native/generate/listsInput.re.txt | 12 ++++-- .../native/generate/mutationWithArgs.re.txt | 6 ++- .../mutationWithArgsAndNoRecords.re.txt | 6 ++- .../native/generate/nonrecursiveInput.re.txt | 36 ++++++++++++------ .../native/generate/pokedexScalars.re.txt | 12 ++++-- .../native/generate/recursiveInput.re.txt | 37 +++++++++++++------ .../native/generate/scalarsArgs.re.txt | 6 ++- .../native/generate/scalarsInput.re.txt | 12 ++++-- .../native/generate/skipDirectives.re.txt | 6 ++- .../records/generate/argNamedQuery.re.txt | 18 ++++++--- .../expected/records/generate/comment.re.txt | 18 ++++++--- .../records/generate/customScalars.re.txt | 6 ++- .../records/generate/enumInput.re.txt | 6 ++- .../generate/fragmentDefinition.re.txt | 6 ++- .../records/generate/hasuraRepro.re.txt | 6 ++- .../records/generate/listsArgs.re.txt | 6 ++- .../records/generate/listsInput.re.txt | 12 ++++-- .../records/generate/mutationWithArgs.re.txt | 6 ++- .../mutationWithArgsAndNoRecords.re.txt | 6 ++- .../records/generate/nonrecursiveInput.re.txt | 36 ++++++++++++------ .../records/generate/pokedexScalars.re.txt | 12 ++++-- .../records/generate/recursiveInput.re.txt | 37 +++++++++++++------ .../records/generate/scalarsArgs.re.txt | 6 ++- .../records/generate/scalarsInput.re.txt | 12 ++++-- .../records/generate/skipDirectives.re.txt | 6 ++- .../template/generate/argNamedQuery.re.txt | 18 ++++++--- .../expected/template/generate/comment.re.txt | 18 ++++++--- .../template/generate/customScalars.re.txt | 6 ++- .../template/generate/enumInput.re.txt | 6 ++- .../generate/fragmentDefinition.re.txt | 6 ++- .../template/generate/hasuraRepro.re.txt | 6 ++- .../template/generate/listsArgs.re.txt | 6 ++- .../template/generate/listsInput.re.txt | 12 ++++-- .../template/generate/mutationWithArgs.re.txt | 6 ++- .../mutationWithArgsAndNoRecords.re.txt | 6 ++- .../generate/nonrecursiveInput.re.txt | 36 ++++++++++++------ .../template/generate/pokedexScalars.re.txt | 12 ++++-- .../template/generate/recursiveInput.re.txt | 37 +++++++++++++------ .../template/generate/scalarsArgs.re.txt | 6 ++- .../template/generate/scalarsInput.re.txt | 12 ++++-- .../template/generate/skipDirectives.re.txt | 6 ++- 64 files changed, 532 insertions(+), 264 deletions(-) diff --git a/snapshot_tests/operations/expected/apollo/generate/argNamedQuery.re.txt b/snapshot_tests/operations/expected/apollo/generate/argNamedQuery.re.txt index 4b440215..91b5d721 100644 --- a/snapshot_tests/operations/expected/apollo/generate/argNamedQuery.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/argNamedQuery.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -120,8 +122,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -175,8 +179,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/comment.re.txt b/snapshot_tests/operations/expected/apollo/generate/comment.re.txt index 0f7f5f9d..477b2223 100644 --- a/snapshot_tests/operations/expected/apollo/generate/comment.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/comment.re.txt @@ -120,15 +120,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -233,9 +235,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -247,7 +251,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/apollo/generate/customScalars.re.txt b/snapshot_tests/operations/expected/apollo/generate/customScalars.re.txt index 6eff76c6..4d9c75df 100644 --- a/snapshot_tests/operations/expected/apollo/generate/customScalars.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/customScalars.re.txt @@ -133,7 +133,7 @@ function back to the original JSON compatible data */ {customScalarField: customScalarField}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { opt: ( @@ -146,7 +146,9 @@ function back to the original JSON compatible data */ (inp: t_variables).opt, ), req: (a => a)((inp: t_variables).req), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~opt=?, ~req, ()): t_variables => {opt, req}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/enumInput.re.txt b/snapshot_tests/operations/expected/apollo/generate/enumInput.re.txt index 64cb2b5e..55ab3900 100644 --- a/snapshot_tests/operations/expected/apollo/generate/enumInput.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/enumInput.re.txt @@ -65,7 +65,7 @@ function back to the original JSON compatible data */ {enumInput: enumInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: ( @@ -78,7 +78,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg, ()): t_variables => {arg: arg}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/fragmentDefinition.re.txt b/snapshot_tests/operations/expected/apollo/generate/fragmentDefinition.re.txt index f7904967..1209e2c2 100644 --- a/snapshot_tests/operations/expected/apollo/generate/fragmentDefinition.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/fragmentDefinition.re.txt @@ -885,7 +885,7 @@ function back to the original JSON compatible data */ {l1, l2, l3, l4, l5}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg1: ( @@ -897,7 +897,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg1, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg1=?, ()): t_variables => {arg1: arg1}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/hasuraRepro.re.txt b/snapshot_tests/operations/expected/apollo/generate/hasuraRepro.re.txt index c4385688..8156e16f 100644 --- a/snapshot_tests/operations/expected/apollo/generate/hasuraRepro.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/hasuraRepro.re.txt @@ -160,7 +160,7 @@ function back to the original JSON compatible data */ {hasuraRepro: hasuraRepro}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { blockNumber: ( @@ -182,7 +182,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).type_, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~blockNumber=?, ~type_=?, ()): t_variables => { blockNumber, type_, diff --git a/snapshot_tests/operations/expected/apollo/generate/listsArgs.re.txt b/snapshot_tests/operations/expected/apollo/generate/listsArgs.re.txt index 0579da2d..d0512403 100644 --- a/snapshot_tests/operations/expected/apollo/generate/listsArgs.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/listsArgs.re.txt @@ -92,7 +92,7 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableOfNullable: ( @@ -156,7 +156,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables).nonNullableOfNonNullable, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableOfNullable=?, diff --git a/snapshot_tests/operations/expected/apollo/generate/listsInput.re.txt b/snapshot_tests/operations/expected/apollo/generate/listsInput.re.txt index 611202b4..684bc63c 100644 --- a/snapshot_tests/operations/expected/apollo/generate/listsInput.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/listsInput.re.txt @@ -99,12 +99,14 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectListsInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectListsInput: - t_variables_ListsInput => Raw.t_variables_ListsInput = + t_variables_ListsInput => Raw.t_variables_ListsInput = ( inp => { nullableOfNullable: ( @@ -168,7 +170,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables_ListsInput).nonNullableOfNonNullable, ), - }; + }: + t_variables_ListsInput => Raw.t_variables_ListsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectListsInput = ( diff --git a/snapshot_tests/operations/expected/apollo/generate/mutationWithArgs.re.txt b/snapshot_tests/operations/expected/apollo/generate/mutationWithArgs.re.txt index 7791db0d..bf472ab5 100644 --- a/snapshot_tests/operations/expected/apollo/generate/mutationWithArgs.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/mutationWithArgs.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/mutationWithArgsAndNoRecords.re.txt b/snapshot_tests/operations/expected/apollo/generate/mutationWithArgsAndNoRecords.re.txt index 7791db0d..bf472ab5 100644 --- a/snapshot_tests/operations/expected/apollo/generate/mutationWithArgsAndNoRecords.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/mutationWithArgsAndNoRecords.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/nonrecursiveInput.re.txt b/snapshot_tests/operations/expected/apollo/generate/nonrecursiveInput.re.txt index 0ecd12c9..bf83298d 100644 --- a/snapshot_tests/operations/expected/apollo/generate/nonrecursiveInput.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/nonrecursiveInput.re.txt @@ -120,15 +120,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -233,9 +235,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -247,7 +251,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( @@ -415,7 +421,7 @@ function back to the original JSON compatible data */ {scalarsInput, more}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( @@ -425,9 +431,11 @@ function back to the original JSON compatible data */ (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg2, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -532,9 +540,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -546,7 +556,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ~arg2, ()): t_variables => {arg, arg2} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/apollo/generate/pokedexScalars.re.txt b/snapshot_tests/operations/expected/apollo/generate/pokedexScalars.re.txt index 1c9fd9c9..40ead886 100644 --- a/snapshot_tests/operations/expected/apollo/generate/pokedexScalars.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/pokedexScalars.re.txt @@ -142,7 +142,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -164,7 +164,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; @@ -297,7 +299,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -319,7 +321,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/apollo/generate/recursiveInput.re.txt b/snapshot_tests/operations/expected/apollo/generate/recursiveInput.re.txt index ce51b1b9..05c8467a 100644 --- a/snapshot_tests/operations/expected/apollo/generate/recursiveInput.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/recursiveInput.re.txt @@ -94,13 +94,15 @@ function back to the original JSON compatible data */ {recursiveInput: recursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectRecursiveInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectRecursiveInput: - t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = ( inp => { otherField: ( @@ -147,7 +149,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_RecursiveInput).enum, ), - }; + }: + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectRecursiveInput = (~otherField=?, ~inner=?, ~enum=?, ()): t_variables_RecursiveInput => { @@ -258,15 +262,17 @@ function back to the original JSON compatible data */ {recursiveRepro: recursiveRepro}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { input: (a => serializeInputObjectproblem_input(a))( (inp: t_variables).input, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectproblem_input: - t_variables_problem_input => Raw.t_variables_problem_input = + t_variables_problem_input => Raw.t_variables_problem_input = ( inp => { the_problem: ( @@ -294,13 +300,18 @@ function back to the original JSON compatible data */ )( (inp: t_variables_problem_input).b, ), - } + }: + t_variables_problem_input => Raw.t_variables_problem_input + ) and serializeInputObjectthis_will_be_duplicated: t_variables_this_will_be_duplicated => - Raw.t_variables_this_will_be_duplicated = - inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)} + Raw.t_variables_this_will_be_duplicated = ( + inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)}: + t_variables_this_will_be_duplicated => + Raw.t_variables_this_will_be_duplicated + ) and serializeInputObjectnested_type: - t_variables_nested_type => Raw.t_variables_nested_type = + t_variables_nested_type => Raw.t_variables_nested_type = ( inp => { the_problem: ( @@ -315,7 +326,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_nested_type).the_problem, ), - }; + }: + t_variables_nested_type => Raw.t_variables_nested_type + ); let makeVariables = (~input, ()): t_variables => {input: input} and makeInputObjectproblem_input = (~the_problem=?, ~b=?, ()): t_variables_problem_input => { diff --git a/snapshot_tests/operations/expected/apollo/generate/scalarsArgs.re.txt b/snapshot_tests/operations/expected/apollo/generate/scalarsArgs.re.txt index 2c70fae4..b48f2ca7 100644 --- a/snapshot_tests/operations/expected/apollo/generate/scalarsArgs.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/scalarsArgs.re.txt @@ -122,7 +122,7 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableString: ( @@ -179,7 +179,9 @@ function back to the original JSON compatible data */ (inp: t_variables).nullableID, ), id: (a => a)((inp: t_variables).id), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableString=?, diff --git a/snapshot_tests/operations/expected/apollo/generate/scalarsInput.re.txt b/snapshot_tests/operations/expected/apollo/generate/scalarsInput.re.txt index b6feb9ac..bb5ece95 100644 --- a/snapshot_tests/operations/expected/apollo/generate/scalarsInput.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/scalarsInput.re.txt @@ -130,15 +130,17 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectVariousScalarsInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectVariousScalarsInput: - t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = ( inp => { nullableString: ( @@ -195,7 +197,9 @@ function back to the original JSON compatible data */ (inp: t_variables_VariousScalarsInput).nullableID, ), id: (a => a)((inp: t_variables_VariousScalarsInput).id), - }; + }: + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectVariousScalarsInput = ( diff --git a/snapshot_tests/operations/expected/apollo/generate/skipDirectives.re.txt b/snapshot_tests/operations/expected/apollo/generate/skipDirectives.re.txt index e7f8a6d8..e39ec592 100644 --- a/snapshot_tests/operations/expected/apollo/generate/skipDirectives.re.txt +++ b/snapshot_tests/operations/expected/apollo/generate/skipDirectives.re.txt @@ -210,8 +210,10 @@ function back to the original JSON compatible data */ {v1, v2}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {var: (a => a)((inp: t_variables).var)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {var: (a => a)((inp: t_variables).var)}: + t_variables => Raw.t_variables + ); let makeVariables = (~var, ()): t_variables => {var: var}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/argNamedQuery.re.txt b/snapshot_tests/operations/expected/native/generate/argNamedQuery.re.txt index edb04d1d..e37a0c4e 100644 --- a/snapshot_tests/operations/expected/native/generate/argNamedQuery.re.txt +++ b/snapshot_tests/operations/expected/native/generate/argNamedQuery.re.txt @@ -63,8 +63,10 @@ function back to the original JSON compatible data */ }; `Assoc([("argNamedQuery", argNamedQuery)]); }; - let serializeVariables: t_variables => Raw.t_variables = - inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]); + let serializeVariables: t_variables => Raw.t_variables = ( + inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]): + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; @@ -121,8 +123,10 @@ function back to the original JSON compatible data */ }; `Assoc([("argNamedQuery", argNamedQuery)]); }; - let serializeVariables: t_variables => Raw.t_variables = - inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]); + let serializeVariables: t_variables => Raw.t_variables = ( + inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]): + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; @@ -179,8 +183,10 @@ function back to the original JSON compatible data */ }; `Assoc([("argNamedQuery", argNamedQuery)]); }; - let serializeVariables: t_variables => Raw.t_variables = - inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]); + let serializeVariables: t_variables => Raw.t_variables = ( + inp => `Assoc([("query", (a => `Int(a))((inp: t_variables).query))]): + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/comment.re.txt b/snapshot_tests/operations/expected/native/generate/comment.re.txt index 42a6dbdf..4d5d203b 100644 --- a/snapshot_tests/operations/expected/native/generate/comment.re.txt +++ b/snapshot_tests/operations/expected/native/generate/comment.re.txt @@ -104,7 +104,7 @@ function back to the original JSON compatible data */ }; `Assoc([("nonrecursiveInput", nonrecursiveInput)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -113,9 +113,11 @@ function back to the original JSON compatible data */ (inp: t_variables).arg, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => `Assoc([ ( @@ -239,9 +241,11 @@ function back to the original JSON compatible data */ (inp: t_variables_NonrecursiveInput).custom, ), ), - ]) + ]): + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => `Assoc([ ( @@ -256,7 +260,9 @@ function back to the original JSON compatible data */ (inp: t_variables_EmbeddedInput).field, ), ), - ]); + ]): + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/native/generate/customScalars.re.txt b/snapshot_tests/operations/expected/native/generate/customScalars.re.txt index 0635d220..2594b02f 100644 --- a/snapshot_tests/operations/expected/native/generate/customScalars.re.txt +++ b/snapshot_tests/operations/expected/native/generate/customScalars.re.txt @@ -111,7 +111,7 @@ function back to the original JSON compatible data */ }; `Assoc([("customScalarField", customScalarField)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -127,7 +127,9 @@ function back to the original JSON compatible data */ ), ), ("req", (a => a)((inp: t_variables).req)), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~opt=?, ~req, ()): t_variables => {opt, req}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/enumInput.re.txt b/snapshot_tests/operations/expected/native/generate/enumInput.re.txt index 27e6fc23..3c9d593c 100644 --- a/snapshot_tests/operations/expected/native/generate/enumInput.re.txt +++ b/snapshot_tests/operations/expected/native/generate/enumInput.re.txt @@ -64,7 +64,7 @@ function back to the original JSON compatible data */ }; `Assoc([("enumInput", enumInput)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -80,7 +80,9 @@ function back to the original JSON compatible data */ (inp: t_variables).arg, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~arg, ()): t_variables => {arg: arg}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/fragmentDefinition.re.txt b/snapshot_tests/operations/expected/native/generate/fragmentDefinition.re.txt index 5d5ed219..c6b40d4d 100644 --- a/snapshot_tests/operations/expected/native/generate/fragmentDefinition.re.txt +++ b/snapshot_tests/operations/expected/native/generate/fragmentDefinition.re.txt @@ -791,7 +791,7 @@ function back to the original JSON compatible data */ ("l5", l5), ]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -806,7 +806,9 @@ function back to the original JSON compatible data */ (inp: t_variables).arg1, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~arg1=?, ()): t_variables => {arg1: arg1}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/hasuraRepro.re.txt b/snapshot_tests/operations/expected/native/generate/hasuraRepro.re.txt index 7e1f65de..698b891d 100644 --- a/snapshot_tests/operations/expected/native/generate/hasuraRepro.re.txt +++ b/snapshot_tests/operations/expected/native/generate/hasuraRepro.re.txt @@ -126,7 +126,7 @@ function back to the original JSON compatible data */ }; `Assoc([("hasuraRepro", hasuraRepro)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -153,7 +153,9 @@ function back to the original JSON compatible data */ (inp: t_variables).type_, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~blockNumber=?, ~type_=?, ()): t_variables => { blockNumber, type_, diff --git a/snapshot_tests/operations/expected/native/generate/listsArgs.re.txt b/snapshot_tests/operations/expected/native/generate/listsArgs.re.txt index 3f49cfda..e9212091 100644 --- a/snapshot_tests/operations/expected/native/generate/listsArgs.re.txt +++ b/snapshot_tests/operations/expected/native/generate/listsArgs.re.txt @@ -81,7 +81,7 @@ function back to the original JSON compatible data */ }; `Assoc([("listsInput", listsInput)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -173,7 +173,9 @@ function back to the original JSON compatible data */ (inp: t_variables).nonNullableOfNonNullable, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableOfNullable=?, diff --git a/snapshot_tests/operations/expected/native/generate/listsInput.re.txt b/snapshot_tests/operations/expected/native/generate/listsInput.re.txt index a44dccf7..a20e7d51 100644 --- a/snapshot_tests/operations/expected/native/generate/listsInput.re.txt +++ b/snapshot_tests/operations/expected/native/generate/listsInput.re.txt @@ -88,16 +88,18 @@ function back to the original JSON compatible data */ }; `Assoc([("listsInput", listsInput)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( "arg", (a => serializeInputObjectListsInput(a))((inp: t_variables).arg), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectListsInput: - t_variables_ListsInput => Raw.t_variables_ListsInput = + t_variables_ListsInput => Raw.t_variables_ListsInput = ( inp => `Assoc([ ( @@ -189,7 +191,9 @@ function back to the original JSON compatible data */ (inp: t_variables_ListsInput).nonNullableOfNonNullable, ), ), - ]); + ]): + t_variables_ListsInput => Raw.t_variables_ListsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectListsInput = ( diff --git a/snapshot_tests/operations/expected/native/generate/mutationWithArgs.re.txt b/snapshot_tests/operations/expected/native/generate/mutationWithArgs.re.txt index f922eb26..79267795 100644 --- a/snapshot_tests/operations/expected/native/generate/mutationWithArgs.re.txt +++ b/snapshot_tests/operations/expected/native/generate/mutationWithArgs.re.txt @@ -64,11 +64,13 @@ function back to the original JSON compatible data */ }; `Assoc([("optionalInputArgs", optionalInputArgs)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ("required", (a => `String(a))((inp: t_variables).required)), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/mutationWithArgsAndNoRecords.re.txt b/snapshot_tests/operations/expected/native/generate/mutationWithArgsAndNoRecords.re.txt index f922eb26..79267795 100644 --- a/snapshot_tests/operations/expected/native/generate/mutationWithArgsAndNoRecords.re.txt +++ b/snapshot_tests/operations/expected/native/generate/mutationWithArgsAndNoRecords.re.txt @@ -64,11 +64,13 @@ function back to the original JSON compatible data */ }; `Assoc([("optionalInputArgs", optionalInputArgs)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ("required", (a => `String(a))((inp: t_variables).required)), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/nonrecursiveInput.re.txt b/snapshot_tests/operations/expected/native/generate/nonrecursiveInput.re.txt index 8f9d24ad..d11a29b3 100644 --- a/snapshot_tests/operations/expected/native/generate/nonrecursiveInput.re.txt +++ b/snapshot_tests/operations/expected/native/generate/nonrecursiveInput.re.txt @@ -104,7 +104,7 @@ function back to the original JSON compatible data */ }; `Assoc([("nonrecursiveInput", nonrecursiveInput)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -113,9 +113,11 @@ function back to the original JSON compatible data */ (inp: t_variables).arg, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => `Assoc([ ( @@ -239,9 +241,11 @@ function back to the original JSON compatible data */ (inp: t_variables_NonrecursiveInput).custom, ), ), - ]) + ]): + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => `Assoc([ ( @@ -256,7 +260,9 @@ function back to the original JSON compatible data */ (inp: t_variables_EmbeddedInput).field, ), ), - ]); + ]): + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( @@ -396,7 +402,7 @@ function back to the original JSON compatible data */ }; `Assoc([("scalarsInput", scalarsInput), ("more", more)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -411,9 +417,11 @@ function back to the original JSON compatible data */ (inp: t_variables).arg2, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => `Assoc([ ( @@ -537,9 +545,11 @@ function back to the original JSON compatible data */ (inp: t_variables_NonrecursiveInput).custom, ), ), - ]) + ]): + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => `Assoc([ ( @@ -554,7 +564,9 @@ function back to the original JSON compatible data */ (inp: t_variables_EmbeddedInput).field, ), ), - ]); + ]): + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ~arg2, ()): t_variables => {arg, arg2} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/native/generate/pokedexScalars.re.txt b/snapshot_tests/operations/expected/native/generate/pokedexScalars.re.txt index 5230cfa6..698cec42 100644 --- a/snapshot_tests/operations/expected/native/generate/pokedexScalars.re.txt +++ b/snapshot_tests/operations/expected/native/generate/pokedexScalars.re.txt @@ -111,7 +111,7 @@ function back to the original JSON compatible data */ }; `Assoc([("pokemon", pokemon)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -138,7 +138,9 @@ function back to the original JSON compatible data */ (inp: t_variables).name, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; @@ -241,7 +243,7 @@ function back to the original JSON compatible data */ }; `Assoc([("pokemon", pokemon)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -268,7 +270,9 @@ function back to the original JSON compatible data */ (inp: t_variables).name, ), ), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/native/generate/recursiveInput.re.txt b/snapshot_tests/operations/expected/native/generate/recursiveInput.re.txt index 8255460c..e02635a8 100644 --- a/snapshot_tests/operations/expected/native/generate/recursiveInput.re.txt +++ b/snapshot_tests/operations/expected/native/generate/recursiveInput.re.txt @@ -86,7 +86,7 @@ function back to the original JSON compatible data */ }; `Assoc([("recursiveInput", recursiveInput)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -95,9 +95,11 @@ function back to the original JSON compatible data */ (inp: t_variables).arg, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectRecursiveInput: - t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = ( inp => `Assoc([ ( @@ -146,7 +148,9 @@ function back to the original JSON compatible data */ (inp: t_variables_RecursiveInput).enum, ), ), - ]); + ]): + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectRecursiveInput = (~otherField=?, ~inner=?, ~enum=?, ()): t_variables_RecursiveInput => { @@ -248,7 +252,7 @@ function back to the original JSON compatible data */ }; `Assoc([("recursiveRepro", recursiveRepro)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -257,9 +261,11 @@ function back to the original JSON compatible data */ (inp: t_variables).input, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectproblem_input: - t_variables_problem_input => Raw.t_variables_problem_input = + t_variables_problem_input => Raw.t_variables_problem_input = ( inp => `Assoc([ ( @@ -287,19 +293,24 @@ function back to the original JSON compatible data */ (inp: t_variables_problem_input).b, ), ), - ]) + ]): + t_variables_problem_input => Raw.t_variables_problem_input + ) and serializeInputObjectthis_will_be_duplicated: t_variables_this_will_be_duplicated => - Raw.t_variables_this_will_be_duplicated = + Raw.t_variables_this_will_be_duplicated = ( inp => `Assoc([ ( "id", (a => `String(a))((inp: t_variables_this_will_be_duplicated).id), ), - ]) + ]): + t_variables_this_will_be_duplicated => + Raw.t_variables_this_will_be_duplicated + ) and serializeInputObjectnested_type: - t_variables_nested_type => Raw.t_variables_nested_type = + t_variables_nested_type => Raw.t_variables_nested_type = ( inp => `Assoc([ ( @@ -315,7 +326,9 @@ function back to the original JSON compatible data */ (inp: t_variables_nested_type).the_problem, ), ), - ]); + ]): + t_variables_nested_type => Raw.t_variables_nested_type + ); let makeVariables = (~input, ()): t_variables => {input: input} and makeInputObjectproblem_input = (~the_problem=?, ~b=?, ()): t_variables_problem_input => { diff --git a/snapshot_tests/operations/expected/native/generate/scalarsArgs.re.txt b/snapshot_tests/operations/expected/native/generate/scalarsArgs.re.txt index 140df909..807f3b26 100644 --- a/snapshot_tests/operations/expected/native/generate/scalarsArgs.re.txt +++ b/snapshot_tests/operations/expected/native/generate/scalarsArgs.re.txt @@ -99,7 +99,7 @@ function back to the original JSON compatible data */ }; `Assoc([("scalarsInput", scalarsInput)]); }; - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -167,7 +167,9 @@ function back to the original JSON compatible data */ ), ), ("id", (a => `String(a))((inp: t_variables).id)), - ]); + ]): + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableString=?, diff --git a/snapshot_tests/operations/expected/native/generate/scalarsInput.re.txt b/snapshot_tests/operations/expected/native/generate/scalarsInput.re.txt index 1f2d256a..9433cb2f 100644 --- a/snapshot_tests/operations/expected/native/generate/scalarsInput.re.txt +++ b/snapshot_tests/operations/expected/native/generate/scalarsInput.re.txt @@ -107,7 +107,7 @@ function back to the original JSON compatible data */ }; `Assoc([("scalarsInput", scalarsInput)]); }; - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => `Assoc([ ( @@ -116,9 +116,11 @@ function back to the original JSON compatible data */ (inp: t_variables).arg, ), ), - ]) + ]): + t_variables => Raw.t_variables + ) and serializeInputObjectVariousScalarsInput: - t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = ( inp => `Assoc([ ( @@ -198,7 +200,9 @@ function back to the original JSON compatible data */ "id", (a => `String(a))((inp: t_variables_VariousScalarsInput).id), ), - ]); + ]): + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectVariousScalarsInput = ( diff --git a/snapshot_tests/operations/expected/native/generate/skipDirectives.re.txt b/snapshot_tests/operations/expected/native/generate/skipDirectives.re.txt index 7457f7f9..7511a39b 100644 --- a/snapshot_tests/operations/expected/native/generate/skipDirectives.re.txt +++ b/snapshot_tests/operations/expected/native/generate/skipDirectives.re.txt @@ -157,8 +157,10 @@ function back to the original JSON compatible data */ }; `Assoc([("v1", v1), ("v2", v2)]); }; - let serializeVariables: t_variables => Raw.t_variables = - inp => `Assoc([("var", (a => `Bool(a))((inp: t_variables).var))]); + let serializeVariables: t_variables => Raw.t_variables = ( + inp => `Assoc([("var", (a => `Bool(a))((inp: t_variables).var))]): + t_variables => Raw.t_variables + ); let makeVariables = (~var, ()): t_variables => {var: var}; external unsafe_fromJson: Graphql_ppx_runtime.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Graphql_ppx_runtime.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/argNamedQuery.re.txt b/snapshot_tests/operations/expected/records/generate/argNamedQuery.re.txt index 4b440215..91b5d721 100644 --- a/snapshot_tests/operations/expected/records/generate/argNamedQuery.re.txt +++ b/snapshot_tests/operations/expected/records/generate/argNamedQuery.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -120,8 +122,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -175,8 +179,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/comment.re.txt b/snapshot_tests/operations/expected/records/generate/comment.re.txt index 0f7f5f9d..477b2223 100644 --- a/snapshot_tests/operations/expected/records/generate/comment.re.txt +++ b/snapshot_tests/operations/expected/records/generate/comment.re.txt @@ -120,15 +120,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -233,9 +235,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -247,7 +251,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/records/generate/customScalars.re.txt b/snapshot_tests/operations/expected/records/generate/customScalars.re.txt index 25188f14..e0735c6f 100644 --- a/snapshot_tests/operations/expected/records/generate/customScalars.re.txt +++ b/snapshot_tests/operations/expected/records/generate/customScalars.re.txt @@ -121,7 +121,7 @@ function back to the original JSON compatible data */ {customScalarField: customScalarField}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { opt: ( @@ -134,7 +134,9 @@ function back to the original JSON compatible data */ (inp: t_variables).opt, ), req: (a => a)((inp: t_variables).req), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~opt=?, ~req, ()): t_variables => {opt, req}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/enumInput.re.txt b/snapshot_tests/operations/expected/records/generate/enumInput.re.txt index 64cb2b5e..55ab3900 100644 --- a/snapshot_tests/operations/expected/records/generate/enumInput.re.txt +++ b/snapshot_tests/operations/expected/records/generate/enumInput.re.txt @@ -65,7 +65,7 @@ function back to the original JSON compatible data */ {enumInput: enumInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: ( @@ -78,7 +78,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg, ()): t_variables => {arg: arg}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/fragmentDefinition.re.txt b/snapshot_tests/operations/expected/records/generate/fragmentDefinition.re.txt index a7524a8e..fcbf3f70 100644 --- a/snapshot_tests/operations/expected/records/generate/fragmentDefinition.re.txt +++ b/snapshot_tests/operations/expected/records/generate/fragmentDefinition.re.txt @@ -764,7 +764,7 @@ function back to the original JSON compatible data */ {l1, l2, l3, l4, l5}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg1: ( @@ -776,7 +776,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg1, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg1=?, ()): t_variables => {arg1: arg1}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/hasuraRepro.re.txt b/snapshot_tests/operations/expected/records/generate/hasuraRepro.re.txt index e191cd8f..191cd65c 100644 --- a/snapshot_tests/operations/expected/records/generate/hasuraRepro.re.txt +++ b/snapshot_tests/operations/expected/records/generate/hasuraRepro.re.txt @@ -140,7 +140,7 @@ function back to the original JSON compatible data */ {hasuraRepro: hasuraRepro}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { blockNumber: ( @@ -162,7 +162,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).type_, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~blockNumber=?, ~type_=?, ()): t_variables => { blockNumber, type_, diff --git a/snapshot_tests/operations/expected/records/generate/listsArgs.re.txt b/snapshot_tests/operations/expected/records/generate/listsArgs.re.txt index 0579da2d..d0512403 100644 --- a/snapshot_tests/operations/expected/records/generate/listsArgs.re.txt +++ b/snapshot_tests/operations/expected/records/generate/listsArgs.re.txt @@ -92,7 +92,7 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableOfNullable: ( @@ -156,7 +156,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables).nonNullableOfNonNullable, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableOfNullable=?, diff --git a/snapshot_tests/operations/expected/records/generate/listsInput.re.txt b/snapshot_tests/operations/expected/records/generate/listsInput.re.txt index 611202b4..684bc63c 100644 --- a/snapshot_tests/operations/expected/records/generate/listsInput.re.txt +++ b/snapshot_tests/operations/expected/records/generate/listsInput.re.txt @@ -99,12 +99,14 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectListsInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectListsInput: - t_variables_ListsInput => Raw.t_variables_ListsInput = + t_variables_ListsInput => Raw.t_variables_ListsInput = ( inp => { nullableOfNullable: ( @@ -168,7 +170,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables_ListsInput).nonNullableOfNonNullable, ), - }; + }: + t_variables_ListsInput => Raw.t_variables_ListsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectListsInput = ( diff --git a/snapshot_tests/operations/expected/records/generate/mutationWithArgs.re.txt b/snapshot_tests/operations/expected/records/generate/mutationWithArgs.re.txt index 7791db0d..bf472ab5 100644 --- a/snapshot_tests/operations/expected/records/generate/mutationWithArgs.re.txt +++ b/snapshot_tests/operations/expected/records/generate/mutationWithArgs.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/mutationWithArgsAndNoRecords.re.txt b/snapshot_tests/operations/expected/records/generate/mutationWithArgsAndNoRecords.re.txt index 7791db0d..bf472ab5 100644 --- a/snapshot_tests/operations/expected/records/generate/mutationWithArgsAndNoRecords.re.txt +++ b/snapshot_tests/operations/expected/records/generate/mutationWithArgsAndNoRecords.re.txt @@ -64,8 +64,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/nonrecursiveInput.re.txt b/snapshot_tests/operations/expected/records/generate/nonrecursiveInput.re.txt index 0ecd12c9..bf83298d 100644 --- a/snapshot_tests/operations/expected/records/generate/nonrecursiveInput.re.txt +++ b/snapshot_tests/operations/expected/records/generate/nonrecursiveInput.re.txt @@ -120,15 +120,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -233,9 +235,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -247,7 +251,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( @@ -415,7 +421,7 @@ function back to the original JSON compatible data */ {scalarsInput, more}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( @@ -425,9 +431,11 @@ function back to the original JSON compatible data */ (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg2, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -532,9 +540,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -546,7 +556,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ~arg2, ()): t_variables => {arg, arg2} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/records/generate/pokedexScalars.re.txt b/snapshot_tests/operations/expected/records/generate/pokedexScalars.re.txt index 43846e92..b518aeee 100644 --- a/snapshot_tests/operations/expected/records/generate/pokedexScalars.re.txt +++ b/snapshot_tests/operations/expected/records/generate/pokedexScalars.re.txt @@ -130,7 +130,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -152,7 +152,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; @@ -273,7 +275,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -295,7 +297,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/records/generate/recursiveInput.re.txt b/snapshot_tests/operations/expected/records/generate/recursiveInput.re.txt index ce51b1b9..05c8467a 100644 --- a/snapshot_tests/operations/expected/records/generate/recursiveInput.re.txt +++ b/snapshot_tests/operations/expected/records/generate/recursiveInput.re.txt @@ -94,13 +94,15 @@ function back to the original JSON compatible data */ {recursiveInput: recursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectRecursiveInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectRecursiveInput: - t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = ( inp => { otherField: ( @@ -147,7 +149,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_RecursiveInput).enum, ), - }; + }: + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectRecursiveInput = (~otherField=?, ~inner=?, ~enum=?, ()): t_variables_RecursiveInput => { @@ -258,15 +262,17 @@ function back to the original JSON compatible data */ {recursiveRepro: recursiveRepro}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { input: (a => serializeInputObjectproblem_input(a))( (inp: t_variables).input, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectproblem_input: - t_variables_problem_input => Raw.t_variables_problem_input = + t_variables_problem_input => Raw.t_variables_problem_input = ( inp => { the_problem: ( @@ -294,13 +300,18 @@ function back to the original JSON compatible data */ )( (inp: t_variables_problem_input).b, ), - } + }: + t_variables_problem_input => Raw.t_variables_problem_input + ) and serializeInputObjectthis_will_be_duplicated: t_variables_this_will_be_duplicated => - Raw.t_variables_this_will_be_duplicated = - inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)} + Raw.t_variables_this_will_be_duplicated = ( + inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)}: + t_variables_this_will_be_duplicated => + Raw.t_variables_this_will_be_duplicated + ) and serializeInputObjectnested_type: - t_variables_nested_type => Raw.t_variables_nested_type = + t_variables_nested_type => Raw.t_variables_nested_type = ( inp => { the_problem: ( @@ -315,7 +326,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_nested_type).the_problem, ), - }; + }: + t_variables_nested_type => Raw.t_variables_nested_type + ); let makeVariables = (~input, ()): t_variables => {input: input} and makeInputObjectproblem_input = (~the_problem=?, ~b=?, ()): t_variables_problem_input => { diff --git a/snapshot_tests/operations/expected/records/generate/scalarsArgs.re.txt b/snapshot_tests/operations/expected/records/generate/scalarsArgs.re.txt index 2c70fae4..b48f2ca7 100644 --- a/snapshot_tests/operations/expected/records/generate/scalarsArgs.re.txt +++ b/snapshot_tests/operations/expected/records/generate/scalarsArgs.re.txt @@ -122,7 +122,7 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableString: ( @@ -179,7 +179,9 @@ function back to the original JSON compatible data */ (inp: t_variables).nullableID, ), id: (a => a)((inp: t_variables).id), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableString=?, diff --git a/snapshot_tests/operations/expected/records/generate/scalarsInput.re.txt b/snapshot_tests/operations/expected/records/generate/scalarsInput.re.txt index b6feb9ac..bb5ece95 100644 --- a/snapshot_tests/operations/expected/records/generate/scalarsInput.re.txt +++ b/snapshot_tests/operations/expected/records/generate/scalarsInput.re.txt @@ -130,15 +130,17 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectVariousScalarsInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectVariousScalarsInput: - t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = ( inp => { nullableString: ( @@ -195,7 +197,9 @@ function back to the original JSON compatible data */ (inp: t_variables_VariousScalarsInput).nullableID, ), id: (a => a)((inp: t_variables_VariousScalarsInput).id), - }; + }: + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectVariousScalarsInput = ( diff --git a/snapshot_tests/operations/expected/records/generate/skipDirectives.re.txt b/snapshot_tests/operations/expected/records/generate/skipDirectives.re.txt index c21f5d4e..232610cc 100644 --- a/snapshot_tests/operations/expected/records/generate/skipDirectives.re.txt +++ b/snapshot_tests/operations/expected/records/generate/skipDirectives.re.txt @@ -186,8 +186,10 @@ function back to the original JSON compatible data */ {v1, v2}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {var: (a => a)((inp: t_variables).var)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {var: (a => a)((inp: t_variables).var)}: + t_variables => Raw.t_variables + ); let makeVariables = (~var, ()): t_variables => {var: var}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/argNamedQuery.re.txt b/snapshot_tests/operations/expected/template/generate/argNamedQuery.re.txt index 6fc5c5ae..c29552c6 100644 --- a/snapshot_tests/operations/expected/template/generate/argNamedQuery.re.txt +++ b/snapshot_tests/operations/expected/template/generate/argNamedQuery.re.txt @@ -66,8 +66,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -124,8 +126,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; @@ -181,8 +185,10 @@ function back to the original JSON compatible data */ {argNamedQuery: argNamedQuery}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {query: (a => a)((inp: t_variables).query)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {query: (a => a)((inp: t_variables).query)}: + t_variables => Raw.t_variables + ); let makeVariables = (~query, ()): t_variables => {query: query}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/comment.re.txt b/snapshot_tests/operations/expected/template/generate/comment.re.txt index 2a1ac981..a2fe1ef5 100644 --- a/snapshot_tests/operations/expected/template/generate/comment.re.txt +++ b/snapshot_tests/operations/expected/template/generate/comment.re.txt @@ -122,15 +122,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -235,9 +237,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -249,7 +253,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/template/generate/customScalars.re.txt b/snapshot_tests/operations/expected/template/generate/customScalars.re.txt index 40c1232f..35d81795 100644 --- a/snapshot_tests/operations/expected/template/generate/customScalars.re.txt +++ b/snapshot_tests/operations/expected/template/generate/customScalars.re.txt @@ -123,7 +123,7 @@ function back to the original JSON compatible data */ {customScalarField: customScalarField}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { opt: ( @@ -136,7 +136,9 @@ function back to the original JSON compatible data */ (inp: t_variables).opt, ), req: (a => a)((inp: t_variables).req), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~opt=?, ~req, ()): t_variables => {opt, req}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/enumInput.re.txt b/snapshot_tests/operations/expected/template/generate/enumInput.re.txt index 3ee424df..620fa786 100644 --- a/snapshot_tests/operations/expected/template/generate/enumInput.re.txt +++ b/snapshot_tests/operations/expected/template/generate/enumInput.re.txt @@ -67,7 +67,7 @@ function back to the original JSON compatible data */ {enumInput: enumInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: ( @@ -80,7 +80,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg, ()): t_variables => {arg: arg}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/fragmentDefinition.re.txt b/snapshot_tests/operations/expected/template/generate/fragmentDefinition.re.txt index b745b739..505aabad 100644 --- a/snapshot_tests/operations/expected/template/generate/fragmentDefinition.re.txt +++ b/snapshot_tests/operations/expected/template/generate/fragmentDefinition.re.txt @@ -773,7 +773,7 @@ function back to the original JSON compatible data */ {l1, l2, l3, l4, l5}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { arg1: ( @@ -785,7 +785,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).arg1, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~arg1=?, ()): t_variables => {arg1: arg1}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/hasuraRepro.re.txt b/snapshot_tests/operations/expected/template/generate/hasuraRepro.re.txt index 96f3548e..46f3da6b 100644 --- a/snapshot_tests/operations/expected/template/generate/hasuraRepro.re.txt +++ b/snapshot_tests/operations/expected/template/generate/hasuraRepro.re.txt @@ -145,7 +145,7 @@ function back to the original JSON compatible data */ {hasuraRepro: hasuraRepro}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { blockNumber: ( @@ -167,7 +167,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).type_, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~blockNumber=?, ~type_=?, ()): t_variables => { blockNumber, type_, diff --git a/snapshot_tests/operations/expected/template/generate/listsArgs.re.txt b/snapshot_tests/operations/expected/template/generate/listsArgs.re.txt index 5df6ee64..10aece40 100644 --- a/snapshot_tests/operations/expected/template/generate/listsArgs.re.txt +++ b/snapshot_tests/operations/expected/template/generate/listsArgs.re.txt @@ -94,7 +94,7 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableOfNullable: ( @@ -158,7 +158,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables).nonNullableOfNonNullable, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableOfNullable=?, diff --git a/snapshot_tests/operations/expected/template/generate/listsInput.re.txt b/snapshot_tests/operations/expected/template/generate/listsInput.re.txt index ecf8972d..74ef2fd7 100644 --- a/snapshot_tests/operations/expected/template/generate/listsInput.re.txt +++ b/snapshot_tests/operations/expected/template/generate/listsInput.re.txt @@ -101,12 +101,14 @@ function back to the original JSON compatible data */ {listsInput: listsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectListsInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectListsInput: - t_variables_ListsInput => Raw.t_variables_ListsInput = + t_variables_ListsInput => Raw.t_variables_ListsInput = ( inp => { nullableOfNullable: ( @@ -170,7 +172,9 @@ function back to the original JSON compatible data */ (a => Js.Array2.map(a, b => (a => a)(b)))( (inp: t_variables_ListsInput).nonNullableOfNonNullable, ), - }; + }: + t_variables_ListsInput => Raw.t_variables_ListsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectListsInput = ( diff --git a/snapshot_tests/operations/expected/template/generate/mutationWithArgs.re.txt b/snapshot_tests/operations/expected/template/generate/mutationWithArgs.re.txt index 36bdd008..59131505 100644 --- a/snapshot_tests/operations/expected/template/generate/mutationWithArgs.re.txt +++ b/snapshot_tests/operations/expected/template/generate/mutationWithArgs.re.txt @@ -66,8 +66,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/mutationWithArgsAndNoRecords.re.txt b/snapshot_tests/operations/expected/template/generate/mutationWithArgsAndNoRecords.re.txt index 36bdd008..59131505 100644 --- a/snapshot_tests/operations/expected/template/generate/mutationWithArgsAndNoRecords.re.txt +++ b/snapshot_tests/operations/expected/template/generate/mutationWithArgsAndNoRecords.re.txt @@ -66,8 +66,10 @@ function back to the original JSON compatible data */ {optionalInputArgs: optionalInputArgs}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {required: (a => a)((inp: t_variables).required)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {required: (a => a)((inp: t_variables).required)}: + t_variables => Raw.t_variables + ); let makeVariables = (~required, ()): t_variables => {required: required}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/nonrecursiveInput.re.txt b/snapshot_tests/operations/expected/template/generate/nonrecursiveInput.re.txt index 542ca75a..da8e02b7 100644 --- a/snapshot_tests/operations/expected/template/generate/nonrecursiveInput.re.txt +++ b/snapshot_tests/operations/expected/template/generate/nonrecursiveInput.re.txt @@ -122,15 +122,17 @@ function back to the original JSON compatible data */ {nonrecursiveInput: nonrecursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -235,9 +237,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -249,7 +253,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectNonrecursiveInput = ( @@ -419,7 +425,7 @@ function back to the original JSON compatible data */ {scalarsInput, more}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectNonrecursiveInput(a))( @@ -429,9 +435,11 @@ function back to the original JSON compatible data */ (a => serializeInputObjectNonrecursiveInput(a))( (inp: t_variables).arg2, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectNonrecursiveInput: - t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput = ( inp => { nonNullableField: (a => a)((inp: t_variables_NonrecursiveInput).nonNullableField), @@ -536,9 +544,11 @@ function back to the original JSON compatible data */ )( (inp: t_variables_NonrecursiveInput).custom, ), - } + }: + t_variables_NonrecursiveInput => Raw.t_variables_NonrecursiveInput + ) and serializeInputObjectEmbeddedInput: - t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput = ( inp => { field: ( @@ -550,7 +560,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_EmbeddedInput).field, ), - }; + }: + t_variables_EmbeddedInput => Raw.t_variables_EmbeddedInput + ); let makeVariables = (~arg, ~arg2, ()): t_variables => {arg, arg2} and makeInputObjectNonrecursiveInput = ( diff --git a/snapshot_tests/operations/expected/template/generate/pokedexScalars.re.txt b/snapshot_tests/operations/expected/template/generate/pokedexScalars.re.txt index 5484330f..43e8ad23 100644 --- a/snapshot_tests/operations/expected/template/generate/pokedexScalars.re.txt +++ b/snapshot_tests/operations/expected/template/generate/pokedexScalars.re.txt @@ -132,7 +132,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -154,7 +154,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; @@ -277,7 +279,7 @@ function back to the original JSON compatible data */ {pokemon: pokemon}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { id: ( @@ -299,7 +301,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables).name, ), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = (~id=?, ~name=?, ()): t_variables => {id, name}; let makeDefaultVariables = () => makeVariables(); external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; diff --git a/snapshot_tests/operations/expected/template/generate/recursiveInput.re.txt b/snapshot_tests/operations/expected/template/generate/recursiveInput.re.txt index ac8815be..3f8b3705 100644 --- a/snapshot_tests/operations/expected/template/generate/recursiveInput.re.txt +++ b/snapshot_tests/operations/expected/template/generate/recursiveInput.re.txt @@ -96,13 +96,15 @@ function back to the original JSON compatible data */ {recursiveInput: recursiveInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectRecursiveInput(a))((inp: t_variables).arg), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectRecursiveInput: - t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput = ( inp => { otherField: ( @@ -149,7 +151,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_RecursiveInput).enum, ), - }; + }: + t_variables_RecursiveInput => Raw.t_variables_RecursiveInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectRecursiveInput = (~otherField=?, ~inner=?, ~enum=?, ()): t_variables_RecursiveInput => { @@ -262,15 +266,17 @@ function back to the original JSON compatible data */ {recursiveRepro: recursiveRepro}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { input: (a => serializeInputObjectproblem_input(a))( (inp: t_variables).input, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectproblem_input: - t_variables_problem_input => Raw.t_variables_problem_input = + t_variables_problem_input => Raw.t_variables_problem_input = ( inp => { the_problem: ( @@ -298,13 +304,18 @@ function back to the original JSON compatible data */ )( (inp: t_variables_problem_input).b, ), - } + }: + t_variables_problem_input => Raw.t_variables_problem_input + ) and serializeInputObjectthis_will_be_duplicated: t_variables_this_will_be_duplicated => - Raw.t_variables_this_will_be_duplicated = - inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)} + Raw.t_variables_this_will_be_duplicated = ( + inp => {id: (a => a)((inp: t_variables_this_will_be_duplicated).id)}: + t_variables_this_will_be_duplicated => + Raw.t_variables_this_will_be_duplicated + ) and serializeInputObjectnested_type: - t_variables_nested_type => Raw.t_variables_nested_type = + t_variables_nested_type => Raw.t_variables_nested_type = ( inp => { the_problem: ( @@ -319,7 +330,9 @@ function back to the original JSON compatible data */ )( (inp: t_variables_nested_type).the_problem, ), - }; + }: + t_variables_nested_type => Raw.t_variables_nested_type + ); let makeVariables = (~input, ()): t_variables => {input: input} and makeInputObjectproblem_input = (~the_problem=?, ~b=?, ()): t_variables_problem_input => { diff --git a/snapshot_tests/operations/expected/template/generate/scalarsArgs.re.txt b/snapshot_tests/operations/expected/template/generate/scalarsArgs.re.txt index 092ea4fd..c74d97cc 100644 --- a/snapshot_tests/operations/expected/template/generate/scalarsArgs.re.txt +++ b/snapshot_tests/operations/expected/template/generate/scalarsArgs.re.txt @@ -124,7 +124,7 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = + let serializeVariables: t_variables => Raw.t_variables = ( inp => { nullableString: ( @@ -181,7 +181,9 @@ function back to the original JSON compatible data */ (inp: t_variables).nullableID, ), id: (a => a)((inp: t_variables).id), - }; + }: + t_variables => Raw.t_variables + ); let makeVariables = ( ~nullableString=?, diff --git a/snapshot_tests/operations/expected/template/generate/scalarsInput.re.txt b/snapshot_tests/operations/expected/template/generate/scalarsInput.re.txt index 95f0bd36..9ae6e309 100644 --- a/snapshot_tests/operations/expected/template/generate/scalarsInput.re.txt +++ b/snapshot_tests/operations/expected/template/generate/scalarsInput.re.txt @@ -132,15 +132,17 @@ function back to the original JSON compatible data */ {scalarsInput: scalarsInput}; }: Raw.t ); - let rec serializeVariables: t_variables => Raw.t_variables = + let rec serializeVariables: t_variables => Raw.t_variables = ( inp => { arg: (a => serializeInputObjectVariousScalarsInput(a))( (inp: t_variables).arg, ), - } + }: + t_variables => Raw.t_variables + ) and serializeInputObjectVariousScalarsInput: - t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput = ( inp => { nullableString: ( @@ -197,7 +199,9 @@ function back to the original JSON compatible data */ (inp: t_variables_VariousScalarsInput).nullableID, ), id: (a => a)((inp: t_variables_VariousScalarsInput).id), - }; + }: + t_variables_VariousScalarsInput => Raw.t_variables_VariousScalarsInput + ); let makeVariables = (~arg, ()): t_variables => {arg: arg} and makeInputObjectVariousScalarsInput = ( diff --git a/snapshot_tests/operations/expected/template/generate/skipDirectives.re.txt b/snapshot_tests/operations/expected/template/generate/skipDirectives.re.txt index 58a2d8ee..91ceba54 100644 --- a/snapshot_tests/operations/expected/template/generate/skipDirectives.re.txt +++ b/snapshot_tests/operations/expected/template/generate/skipDirectives.re.txt @@ -188,8 +188,10 @@ function back to the original JSON compatible data */ {v1, v2}; }: Raw.t ); - let serializeVariables: t_variables => Raw.t_variables = - inp => {var: (a => a)((inp: t_variables).var)}; + let serializeVariables: t_variables => Raw.t_variables = ( + inp => {var: (a => a)((inp: t_variables).var)}: + t_variables => Raw.t_variables + ); let makeVariables = (~var, ()): t_variables => {var: var}; external unsafe_fromJson: Js.Json.t => Raw.t = "%identity"; external toJson: Raw.t => Js.Json.t = "%identity"; From fab547af84e62a79a46e311d3bcbed990943486e Mon Sep 17 00:00:00 2001 From: Roland Peelen Date: Fri, 19 Jan 2024 13:50:19 +0100 Subject: [PATCH 4/4] :green_heart: - Fix CI Build. --- .github/workflows/pipeline.yml | 124 ++++++--------------------- .github/workflows/print_esy_cache.js | 13 --- Makefile | 18 ++-- yarn.lock | 13 --- 4 files changed, 40 insertions(+), 128 deletions(-) delete mode 100644 .github/workflows/print_esy_cache.js delete mode 100644 yarn.lock diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 202255b4..18a983c7 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -1,137 +1,67 @@ name: graphql-ppx-pipeline -on: [pull_request, push] +on: + pull_request: + types: [opened, synchronize] jobs: - test_and_build_linux: + test_and_build: name: ${{ matrix.os }}/node-${{ matrix.node-version }} runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [16.x] + node-version: + - 18.x + ocaml-compiler: + - 5.1.0 os: [ubuntu-latest] - container: - image: alexfedoseev/alpine-node-yarn-esy:0.0.4 + image: ocaml/opam:alpine-ocaml-5.1-afl steps: - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Add tar - run: apk add --no-cache tar - - name: Install - run: esy install - - - name: Print esy cache - id: print_esy_cache - run: node .github/workflows/print_esy_cache.js - - - name: Try to restore dependencies cache - uses: actions/cache@v2 - id: deps-cache - with: - path: ${{ steps.print_esy_cache.outputs.esy_cache }} - key: ${{ matrix.os }}-${{ hashFiles('**/index.json') }} - restore-keys: | - ${{ matrix.os }}- - - - name: build - run: esy b - - - name: native tests - run: | - esy b dune runtest -f - env: - CI: true - - - name: snapshot tests - env: - GRAPHQL_CI: true + - name: Install NPM + run: apk add --update nodejs npm + + - name: Install Deps run: | + make install npm ci --no-optional --ignore-scripts - esy test - esy release-static - - name: (only on release) Upload artifacts ${{ matrix.os }} - uses: actions/upload-artifact@master - with: - name: ${{ matrix.os }} - path: _build/default/src/bin/bin.exe + - name: Build + run: make build - test_and_build: - name: ${{ matrix.os }}/node-${{ matrix.node-version }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - node-version: [16.x] - os: [windows-latest, macOS-latest] - - steps: - - uses: actions/checkout@v1 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Install esy - run: | - npm install -g esy@0.6.12 - - - name: Install - run: esy install - - - name: Print esy cache - id: print_esy_cache - run: node .github/workflows/print_esy_cache.js - - - name: Try to restore dependencies cache - id: deps-cache - uses: actions/cache@v2 - with: - path: ${{ steps.print_esy_cache.outputs.esy_cache }} - key: ${{ matrix.os }}-${{ hashFiles('**/index.json') }} - - - name: build - run: esy b + - name: Native Tests + run: make native-tests + env: + CI: true - - name: test-native - run: | - esy b dune runtest -f + - name: Snapshot Tests + run: make snapshot-tests env: CI: true - - name: npm ci - if: runner.os != 'Windows' - run: | - npm ci --no-optional + - name: Release Static env: GRAPHQL_CI: true + run: make release-static - - name: snaphot tests - if: runner.os != 'Windows' - run: | - esy test - - - name: (only on release) Upload artifacts ${{ matrix.os }} + - name: Upload artifacts ${{ matrix.os }} (Only on release) uses: actions/upload-artifact@master with: name: ${{ matrix.os }} path: _build/default/src/bin/bin.exe publish: - needs: [test_and_build, test_and_build_linux] + needs: [test_and_build] name: (only on release) Publish runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: "12.x" + node-version: "18.x" registry-url: "https://registry.npmjs.org" - name: Download linux artifacts diff --git a/.github/workflows/print_esy_cache.js b/.github/workflows/print_esy_cache.js deleted file mode 100644 index 570c32ea..00000000 --- a/.github/workflows/print_esy_cache.js +++ /dev/null @@ -1,13 +0,0 @@ -const fs = require("fs"); -const os = require("os"); -const path = require("path"); - -const ESY_FOLDER = process.env.ESY__PREFIX - ? process.env.ESY__PREFIX - : path.join(os.homedir(), ".esy"); -const esy3 = fs - .readdirSync(ESY_FOLDER) - .filter((name) => name.length > 0 && name[0] === "3") - .sort() - .pop(); -console.log(`::set-output name=esy_cache::${path.join(ESY_FOLDER, esy3, "i")}`); diff --git a/Makefile b/Makefile index d2ed7d5a..23839829 100644 --- a/Makefile +++ b/Makefile @@ -23,18 +23,26 @@ install: ## Install development dependencies opam update opam install -y . --deps-only --with-test +.PHONY: native-tests +native-tests: ## Run native tests + $(DUNE) runtest -f + +.PHONY: snapshot-tests +snapshot-tests: ## Run snapshot tests + ./tests.sh + .PHONY: test test: ## Run tests using yest - $(DUNE) build - ./tests.sh + make native-tests + make snapshot-tests .PHONY: build build: ## Build the project $(DUNE) build -.PHONY: release_static -release_static: ## Release the project - $(DUNE) build --root . --only-packages '#{self.name}' --ignore-promoted-rules --no-config --profile release-static +.PHONY: release-static +release-static: ## Release the project + $(DUNE) build --root . --only-packages ${project_name} --ignore-promoted-rules --no-config --profile release-static .PHONY: build_verbose build_verbose: ## Build the project diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index 9cb21891..00000000 --- a/yarn.lock +++ /dev/null @@ -1,13 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -graphql@^15.5.0: - version "15.8.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" - integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== - -rescript@10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/rescript/-/rescript-10.0.1.tgz#5b2da8a8bcfb994bed1eb24820bf10cfb9d8c440" - integrity sha512-XwO1GPDtoEU4H03xQE5bp0/qtSVR6YLaJRPxWKrfFgKc+LI36ODOCie7o9UJfgzQdoMYkkZyiTGZ4N9OQEaiUw==