@reason-native/pastel
Advanced tools
Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "@reason-native/console", | ||
"version": "0.0.0", | ||
"version": "0.0.2", | ||
"description": "No effort, universal logger", | ||
"license": "MIT", | ||
"esy": { | ||
"build": "refmterr dune build -p console", | ||
"build": "dune build -p console", | ||
"install": "esy-installer console.install" | ||
@@ -13,3 +13,4 @@ }, | ||
"buildJs": "esy x dune build --profile=release test/TestConsole.bc.js", | ||
"testJs": "node _build/default/test/TestConsole.bc.js" | ||
"testJs": "node _build/default/test/TestConsole.bc.js", | ||
"release": "node ./scripts/esy-prepublish.js console.json" | ||
}, | ||
@@ -19,3 +20,2 @@ "dependencies": { | ||
"@esy-ocaml/reason": "^3.3.0", | ||
"refmterr": "*", | ||
"ocaml": ">= 4.2.0 <= 4.7.0" | ||
@@ -22,0 +22,0 @@ }, |
{ | ||
"checksum": "66591a2ce64e95d75382e5a127e21df8", | ||
"checksum": "5c77cffa23ee807b6bf1ce29c80c7589", | ||
"root": "reason-native-dev@link:./esy.json", | ||
"node": { | ||
"refmterr@3.1.10": { | ||
"id": "refmterr@3.1.10", | ||
"refmterr@3.1.10@d41d8cd9": { | ||
"id": "refmterr@3.1.10@d41d8cd9", | ||
"name": "refmterr", | ||
@@ -17,4 +17,4 @@ "version": "3.1.10", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/re@opam:1.7.3@6a32f7dc", | ||
"@opam/dune@opam:1.5.1@e03be456", "@esy-ocaml/reason@3.3.3" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/re@opam:1.7.3@83095efd", | ||
"@opam/dune@opam:1.6.3@a7d7baed", "@esy-ocaml/reason@3.3.3@d41d8cd9" | ||
], | ||
@@ -30,11 +30,14 @@ "devDependencies": [] | ||
"dependencies": [ | ||
"refmterr@3.1.10", "ocaml@4.6.9", "@opam/yojson@opam:1.4.1@008b9b27", | ||
"@opam/re@opam:1.7.3@6a32f7dc", | ||
"@opam/ppx_deriving_yojson@opam:3.1@beac8c86", | ||
"@opam/dune@opam:1.5.1@e03be456", "@esy-ocaml/reason@3.3.3" | ||
"refmterr@3.1.10@d41d8cd9", "ocaml@4.6.9@d41d8cd9", | ||
"@opam/re@opam:1.7.3@83095efd", "@opam/dune@opam:1.6.3@a7d7baed", | ||
"@opam/atdgen@opam:2.0.0@5d912e07", | ||
"@esy-ocaml/reason@3.3.3@d41d8cd9" | ||
], | ||
"devDependencies": [ "@opam/merlin@opam:3.2.2@10612b59" ] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/merlin@opam:3.2.2@829ee6dd", | ||
"@esy-ocaml/reason@3.3.3@d41d8cd9" | ||
] | ||
}, | ||
"ocaml@4.6.9": { | ||
"id": "ocaml@4.6.9", | ||
"ocaml@4.6.9@d41d8cd9": { | ||
"id": "ocaml@4.6.9@d41d8cd9", | ||
"name": "ocaml", | ||
@@ -52,16 +55,16 @@ "version": "4.6.9", | ||
}, | ||
"@opam/yojson@opam:1.4.1@008b9b27": { | ||
"id": "@opam/yojson@opam:1.4.1@008b9b27", | ||
"@opam/yojson@opam:1.5.0@890db858": { | ||
"id": "@opam/yojson@opam:1.5.0@890db858", | ||
"name": "@opam/yojson", | ||
"version": "opam:1.4.1", | ||
"version": "opam:1.5.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/3e/3ea6e36422dd670e8ab880710d5f7398#md5:3ea6e36422dd670e8ab880710d5f7398", | ||
"archive:https://github.com/mjambon/yojson/archive/v1.4.1.tar.gz#md5:3ea6e36422dd670e8ab880710d5f7398" | ||
"archive:https://opam.ocaml.org/cache/md5/d8/d80de1bacdde292af42f7c78b323da7b#md5:d80de1bacdde292af42f7c78b323da7b", | ||
"archive:https://github.com/ocaml-community/yojson/releases/download/1.5.0/yojson-1.5.0.tbz#md5:d80de1bacdde292af42f7c78b323da7b" | ||
], | ||
"opam": { | ||
"name": "yojson", | ||
"version": "1.4.1", | ||
"path": "esy.lock/opam/yojson.1.4.1" | ||
"version": "1.5.0", | ||
"path": "esy.lock/opam/yojson.1.5.0" | ||
} | ||
@@ -71,11 +74,14 @@ }, | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@opam/easy-format@opam:1.3.1@85a6474a", | ||
"@opam/cppo@opam:1.6.5@b397a057", "@opam/biniou@opam:1.2.0@4e4a426f", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"@opam/dune@opam:1.6.3@a7d7baed", "@opam/cppo@opam:1.6.5@bec3dbd9", | ||
"@opam/biniou@opam:1.2.0@c8516f18", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"@opam/biniou@opam:1.2.0@c8516f18" | ||
] | ||
}, | ||
"@opam/result@opam:1.3@7af06772": { | ||
"id": "@opam/result@opam:1.3@7af06772", | ||
"@opam/result@opam:1.3@bee8bf2e": { | ||
"id": "@opam/result@opam:1.3@bee8bf2e", | ||
"name": "@opam/result", | ||
@@ -97,9 +103,9 @@ "version": "opam:1.3", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/re@opam:1.7.3@6a32f7dc": { | ||
"id": "@opam/re@opam:1.7.3@6a32f7dc", | ||
"@opam/re@opam:1.7.3@83095efd": { | ||
"id": "@opam/re@opam:1.7.3@83095efd", | ||
"name": "@opam/re", | ||
@@ -121,116 +127,9 @@ "version": "opam:1.7.3", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/ppx_tools@opam:5.1+4.06.0@69942666": { | ||
"id": "@opam/ppx_tools@opam:5.1+4.06.0@69942666", | ||
"name": "@opam/ppx_tools", | ||
"version": "opam:5.1+4.06.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/6b/6ba2e9690b1f579ba562b86022d1c308#md5:6ba2e9690b1f579ba562b86022d1c308", | ||
"archive:https://github.com/ocaml-ppx/ppx_tools/archive/5.1+4.06.0.tar.gz#md5:6ba2e9690b1f579ba562b86022d1c308" | ||
], | ||
"opam": { | ||
"name": "ppx_tools", | ||
"version": "5.1+4.06.0", | ||
"path": "esy.lock/opam/ppx_tools.5.1+4.06.0" | ||
} | ||
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@esy-ocaml/substs@0.0.1" | ||
], | ||
"devDependencies": [] | ||
}, | ||
"@opam/ppx_deriving_yojson@opam:3.1@beac8c86": { | ||
"id": "@opam/ppx_deriving_yojson@opam:3.1@beac8c86", | ||
"name": "@opam/ppx_deriving_yojson", | ||
"version": "opam:3.1", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/83/83128c06b0569309351886d9fd0dbb74#md5:83128c06b0569309351886d9fd0dbb74", | ||
"archive:https://github.com/ocaml-ppx/ppx_deriving_yojson/archive/v3.1.tar.gz#md5:83128c06b0569309351886d9fd0dbb74" | ||
], | ||
"opam": { | ||
"name": "ppx_deriving_yojson", | ||
"version": "3.1", | ||
"path": "esy.lock/opam/ppx_deriving_yojson.3.1" | ||
} | ||
}, | ||
"overrides": [ | ||
"path:esy.lock/opam-override/ppx_deriving_yojson.3.1/package.json" | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/yojson@opam:1.4.1@008b9b27", | ||
"@opam/result@opam:1.3@7af06772", | ||
"@opam/ppx_deriving@opam:4.2.1@bed76fc6", | ||
"@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocamlbuild@opam:0.12.0@bbe76db8", | ||
"@opam/cppo_ocamlbuild@opam:1.6.0@abd2de98", | ||
"@opam/cppo@opam:1.6.5@b397a057", "@esy-ocaml/substs@0.0.1" | ||
], | ||
"devDependencies": [] | ||
}, | ||
"@opam/ppx_deriving@opam:4.2.1@bed76fc6": { | ||
"id": "@opam/ppx_deriving@opam:4.2.1@bed76fc6", | ||
"name": "@opam/ppx_deriving", | ||
"version": "opam:4.2.1", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/21/2195fccf2a527c3ff9ec5b4e36e2f0a8#md5:2195fccf2a527c3ff9ec5b4e36e2f0a8", | ||
"archive:https://github.com/ocaml-ppx/ppx_deriving/archive/v4.2.1.tar.gz#md5:2195fccf2a527c3ff9ec5b4e36e2f0a8" | ||
], | ||
"opam": { | ||
"name": "ppx_deriving", | ||
"version": "4.2.1", | ||
"path": "esy.lock/opam/ppx_deriving.4.2.1" | ||
} | ||
}, | ||
"overrides": [ | ||
"path:esy.lock/opam-override/ppx_deriving.4.2.1/package.json" | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/result@opam:1.3@7af06772", | ||
"@opam/ppx_tools@opam:5.1+4.06.0@69942666", | ||
"@opam/ppx_derivers@opam:1.0@88931fec", | ||
"@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocamlbuild@opam:0.12.0@bbe76db8", | ||
"@opam/ocaml-migrate-parsetree@opam:1.1.0@48c1552a", | ||
"@opam/cppo_ocamlbuild@opam:1.6.0@abd2de98", | ||
"@opam/cppo@opam:1.6.5@b397a057", "@esy-ocaml/substs@0.0.1" | ||
], | ||
"devDependencies": [] | ||
}, | ||
"@opam/ppx_derivers@opam:1.0@88931fec": { | ||
"id": "@opam/ppx_derivers@opam:1.0@88931fec", | ||
"name": "@opam/ppx_derivers", | ||
"version": "opam:1.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/4d/4ddce8f43fdb9b0ef0ab6a7cbfebc3e3#md5:4ddce8f43fdb9b0ef0ab6a7cbfebc3e3", | ||
"archive:https://github.com/ocaml-ppx/ppx_derivers/archive/1.0.tar.gz#md5:4ddce8f43fdb9b0ef0ab6a7cbfebc3e3" | ||
], | ||
"opam": { | ||
"name": "ppx_derivers", | ||
"version": "1.0", | ||
"path": "esy.lock/opam/ppx_derivers.1.0" | ||
} | ||
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@esy-ocaml/substs@0.0.1" | ||
], | ||
"devDependencies": [] | ||
}, | ||
"@opam/ocamlfind@opam:1.8.0@6fa9aaf5": { | ||
"id": "@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocamlfind@opam:1.8.0@96572762": { | ||
"id": "@opam/ocamlfind@opam:1.8.0@96572762", | ||
"name": "@opam/ocamlfind", | ||
@@ -252,12 +151,15 @@ "version": "opam:1.8.0", | ||
"overrides": [ | ||
"path:esy.lock/opam-override/ocamlfind.1.8.0/package.json" | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__ocamlfind_opam__c__1.8.0_opam_override" | ||
} | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/conf-m4@opam:1@d4932910", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/conf-m4@opam:1@3279850f", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/ocamlbuild@opam:0.12.0@bbe76db8": { | ||
"id": "@opam/ocamlbuild@opam:0.12.0@bbe76db8", | ||
"@opam/ocamlbuild@opam:0.12.0@6c616094": { | ||
"id": "@opam/ocamlbuild@opam:0.12.0@6c616094", | ||
"name": "@opam/ocamlbuild", | ||
@@ -278,9 +180,14 @@ "version": "opam:0.12.0", | ||
"overrides": [ | ||
"path:esy.lock/opam-override/ocamlbuild.0.12.0/package.json" | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.12.0_opam_override" | ||
} | ||
], | ||
"dependencies": [ "ocaml@4.6.9", "@esy-ocaml/substs@0.0.1" ], | ||
"devDependencies": [] | ||
"dependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/ocaml-migrate-parsetree@opam:1.1.0@48c1552a": { | ||
"id": "@opam/ocaml-migrate-parsetree@opam:1.1.0@48c1552a", | ||
"@opam/ocaml-migrate-parsetree@opam:1.1.0@fc3908dc": { | ||
"id": "@opam/ocaml-migrate-parsetree@opam:1.1.0@fc3908dc", | ||
"name": "@opam/ocaml-migrate-parsetree", | ||
@@ -300,11 +207,18 @@ "version": "opam:1.1.0", | ||
}, | ||
"overrides": [], | ||
"overrides": [ | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__ocaml_migrate_parsetree_opam__c__1.1.0_opam_override" | ||
} | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/result@opam:1.3@7af06772", | ||
"@opam/dune@opam:1.5.1@e03be456", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/result@opam:1.3@bee8bf2e", | ||
"@opam/dune@opam:1.6.3@a7d7baed", "@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/result@opam:1.3@bee8bf2e" | ||
] | ||
}, | ||
"@opam/merlin-extend@opam:0.3@77408bd7": { | ||
"id": "@opam/merlin-extend@opam:0.3@77408bd7", | ||
"@opam/merlin-extend@opam:0.3@e1fc0d08": { | ||
"id": "@opam/merlin-extend@opam:0.3@e1fc0d08", | ||
"name": "@opam/merlin-extend", | ||
@@ -325,12 +239,15 @@ "version": "opam:0.3", | ||
"overrides": [ | ||
"path:esy.lock/opam-override/merlin-extend.0.3/package.json" | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override" | ||
} | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/cppo@opam:1.6.5@b397a057", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/ocamlfind@opam:1.8.0@96572762", | ||
"@opam/cppo@opam:1.6.5@bec3dbd9", "@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/merlin@opam:3.2.2@10612b59": { | ||
"id": "@opam/merlin@opam:3.2.2@10612b59", | ||
"@opam/merlin@opam:3.2.2@829ee6dd": { | ||
"id": "@opam/merlin@opam:3.2.2@829ee6dd", | ||
"name": "@opam/merlin", | ||
@@ -352,10 +269,13 @@ "version": "opam:3.2.2", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/yojson@opam:1.4.1@008b9b27", | ||
"@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/dune@opam:1.5.1@e03be456", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/ocamlfind@opam:1.8.0@96572762", | ||
"@opam/dune@opam:1.6.3@a7d7baed", "@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/ocamlfind@opam:1.8.0@96572762" | ||
] | ||
}, | ||
"@opam/menhir@opam:20171013@8c9fcad5": { | ||
"id": "@opam/menhir@opam:20171013@8c9fcad5", | ||
"@opam/menhir@opam:20171013@e2d3ef03": { | ||
"id": "@opam/menhir@opam:20171013@e2d3ef03", | ||
"name": "@opam/menhir", | ||
@@ -376,12 +296,18 @@ "version": "opam:20171013", | ||
"overrides": [ | ||
"path:esy.lock/opam-override/menhir.20171013/package.json" | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__menhir_opam__c__20171013_opam_override" | ||
} | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocamlbuild@opam:0.12.0@bbe76db8", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/ocamlfind@opam:1.8.0@96572762", | ||
"@opam/ocamlbuild@opam:0.12.0@6c616094", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/ocamlfind@opam:1.8.0@96572762" | ||
] | ||
}, | ||
"@opam/jbuilder@opam:transition@8c8ec590": { | ||
"id": "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@opam/jbuilder@opam:transition@58bdfe0a": { | ||
"id": "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"name": "@opam/jbuilder", | ||
@@ -400,9 +326,11 @@ "version": "opam:transition", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/dune@opam:1.5.1@e03be456", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/dune@opam:1.6.3@a7d7baed", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/dune@opam:1.6.3@a7d7baed" | ||
] | ||
}, | ||
"@opam/easy-format@opam:1.3.1@85a6474a": { | ||
"id": "@opam/easy-format@opam:1.3.1@85a6474a", | ||
"@opam/easy-format@opam:1.3.1@9abfd4ed": { | ||
"id": "@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"name": "@opam/easy-format", | ||
@@ -424,54 +352,41 @@ "version": "opam:1.3.1", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ "ocaml@4.6.9@d41d8cd9" ] | ||
}, | ||
"@opam/dune@opam:1.5.1@e03be456": { | ||
"id": "@opam/dune@opam:1.5.1@e03be456", | ||
"@opam/dune@opam:1.6.3@a7d7baed": { | ||
"id": "@opam/dune@opam:1.6.3@a7d7baed", | ||
"name": "@opam/dune", | ||
"version": "opam:1.5.1", | ||
"version": "opam:1.6.3", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/07/071ff387b85e08bdfd49dee728dc8358#md5:071ff387b85e08bdfd49dee728dc8358", | ||
"archive:https://github.com/ocaml/dune/releases/download/1.5.1/dune-1.5.1.tbz#md5:071ff387b85e08bdfd49dee728dc8358" | ||
"archive:https://opam.ocaml.org/cache/md5/12/1212a36547d25269675d767c38fecf5f#md5:1212a36547d25269675d767c38fecf5f", | ||
"archive:https://github.com/ocaml/dune/releases/download/1.6.3/dune-1.6.3.tbz#md5:1212a36547d25269675d767c38fecf5f" | ||
], | ||
"opam": { | ||
"name": "dune", | ||
"version": "1.5.1", | ||
"path": "esy.lock/opam/dune.1.5.1" | ||
"version": "1.6.3", | ||
"path": "esy.lock/opam/dune.1.6.3" | ||
} | ||
}, | ||
"overrides": [ "path:esy.lock/opam-override/dune.1.5.1/package.json" ], | ||
"dependencies": [ "ocaml@4.6.9", "@esy-ocaml/substs@0.0.1" ], | ||
"devDependencies": [] | ||
}, | ||
"@opam/cppo_ocamlbuild@opam:1.6.0@abd2de98": { | ||
"id": "@opam/cppo_ocamlbuild@opam:1.6.0@abd2de98", | ||
"name": "@opam/cppo_ocamlbuild", | ||
"version": "opam:1.6.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/ae/aee411b3546bc5d198c71ae9185cade4#md5:aee411b3546bc5d198c71ae9185cade4", | ||
"archive:https://github.com/mjambon/cppo/archive/v1.6.0.tar.gz#md5:aee411b3546bc5d198c71ae9185cade4" | ||
], | ||
"opam": { | ||
"name": "cppo_ocamlbuild", | ||
"version": "1.6.0", | ||
"path": "esy.lock/opam/cppo_ocamlbuild.1.6.0" | ||
"overrides": [ | ||
{ | ||
"opamoverride": | ||
"esy.lock/overrides/opam__s__dune_opam__c__1.6.3_opam_override" | ||
} | ||
}, | ||
"overrides": [], | ||
], | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocamlbuild@opam:0.12.0@bbe76db8", | ||
"@opam/jbuilder@opam:transition@8c8ec590", | ||
"@opam/cppo@opam:1.6.5@b397a057", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/base-unix@opam:base@87d0b2eb", | ||
"@opam/base-threads@opam:base@36803084", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/base-unix@opam:base@87d0b2eb", | ||
"@opam/base-threads@opam:base@36803084" | ||
] | ||
}, | ||
"@opam/cppo@opam:1.6.5@b397a057": { | ||
"id": "@opam/cppo@opam:1.6.5@b397a057", | ||
"@opam/cppo@opam:1.6.5@bec3dbd9": { | ||
"id": "@opam/cppo@opam:1.6.5@bec3dbd9", | ||
"name": "@opam/cppo", | ||
@@ -493,9 +408,12 @@ "version": "opam:1.6.5", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@opam/base-unix@opam:base@5229aaf3", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@opam/base-unix@opam:base@87d0b2eb", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/base-unix@opam:base@87d0b2eb" | ||
] | ||
}, | ||
"@opam/conf-which@opam:1@2dd0e651": { | ||
"id": "@opam/conf-which@opam:1@2dd0e651", | ||
"@opam/conf-which@opam:1@1da7b8cf": { | ||
"id": "@opam/conf-which@opam:1@1da7b8cf", | ||
"name": "@opam/conf-which", | ||
@@ -513,7 +431,7 @@ "version": "opam:1", | ||
"overrides": [], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1" ], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], | ||
"devDependencies": [] | ||
}, | ||
"@opam/conf-m4@opam:1@d4932910": { | ||
"id": "@opam/conf-m4@opam:1@d4932910", | ||
"@opam/conf-m4@opam:1@3279850f": { | ||
"id": "@opam/conf-m4@opam:1@3279850f", | ||
"name": "@opam/conf-m4", | ||
@@ -531,7 +449,7 @@ "version": "opam:1", | ||
"overrides": [], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1" ], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], | ||
"devDependencies": [] | ||
}, | ||
"@opam/biniou@opam:1.2.0@4e4a426f": { | ||
"id": "@opam/biniou@opam:1.2.0@4e4a426f", | ||
"@opam/biniou@opam:1.2.0@c8516f18": { | ||
"id": "@opam/biniou@opam:1.2.0@c8516f18", | ||
"name": "@opam/biniou", | ||
@@ -553,10 +471,13 @@ "version": "opam:1.2.0", | ||
"dependencies": [ | ||
"ocaml@4.6.9", "@opam/jbuilder@opam:transition@8c8ec590", | ||
"@opam/easy-format@opam:1.3.1@85a6474a", | ||
"@opam/conf-which@opam:1@2dd0e651", "@esy-ocaml/substs@0.0.1" | ||
"ocaml@4.6.9@d41d8cd9", "@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"@opam/conf-which@opam:1@1da7b8cf", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/easy-format@opam:1.3.1@9abfd4ed" | ||
] | ||
}, | ||
"@opam/base-unix@opam:base@5229aaf3": { | ||
"id": "@opam/base-unix@opam:base@5229aaf3", | ||
"@opam/base-unix@opam:base@87d0b2eb": { | ||
"id": "@opam/base-unix@opam:base@87d0b2eb", | ||
"name": "@opam/base-unix", | ||
@@ -574,7 +495,110 @@ "version": "opam:base", | ||
"overrides": [], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1" ], | ||
"dependencies": [ "@esy-ocaml/substs@0.0.1@d41d8cd9" ], | ||
"devDependencies": [] | ||
}, | ||
"@esy-ocaml/substs@0.0.1": { | ||
"id": "@esy-ocaml/substs@0.0.1", | ||
"@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/atdgen-runtime@opam:2.0.0@8a75c3bb": { | ||
"id": "@opam/atdgen-runtime@opam:2.0.0@8a75c3bb", | ||
"name": "@opam/atdgen-runtime", | ||
"version": "opam:2.0.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/14/14e47609397c524ea0eae7c3f14f7ccf#md5:14e47609397c524ea0eae7c3f14f7ccf", | ||
"archive:https://github.com/mjambon/atd/releases/download/2.0.0/atd-2.0.0.tbz#md5:14e47609397c524ea0eae7c3f14f7ccf" | ||
], | ||
"opam": { | ||
"name": "atdgen-runtime", | ||
"version": "2.0.0", | ||
"path": "esy.lock/opam/atdgen-runtime.2.0.0" | ||
} | ||
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@opam/biniou@opam:1.2.0@c8516f18", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/biniou@opam:1.2.0@c8516f18" | ||
] | ||
}, | ||
"@opam/atdgen@opam:2.0.0@5d912e07": { | ||
"id": "@opam/atdgen@opam:2.0.0@5d912e07", | ||
"name": "@opam/atdgen", | ||
"version": "opam:2.0.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/14/14e47609397c524ea0eae7c3f14f7ccf#md5:14e47609397c524ea0eae7c3f14f7ccf", | ||
"archive:https://github.com/mjambon/atd/releases/download/2.0.0/atd-2.0.0.tbz#md5:14e47609397c524ea0eae7c3f14f7ccf" | ||
], | ||
"opam": { | ||
"name": "atdgen", | ||
"version": "2.0.0", | ||
"path": "esy.lock/opam/atdgen.2.0.0" | ||
} | ||
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@opam/biniou@opam:1.2.0@c8516f18", | ||
"@opam/atdgen-runtime@opam:2.0.0@8a75c3bb", | ||
"@opam/atd@opam:2.0.0@087614b7", "@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/yojson@opam:1.5.0@890db858", | ||
"@opam/biniou@opam:1.2.0@c8516f18", | ||
"@opam/atdgen-runtime@opam:2.0.0@8a75c3bb", | ||
"@opam/atd@opam:2.0.0@087614b7" | ||
] | ||
}, | ||
"@opam/atd@opam:2.0.0@087614b7": { | ||
"id": "@opam/atd@opam:2.0.0@087614b7", | ||
"name": "@opam/atd", | ||
"version": "opam:2.0.0", | ||
"source": { | ||
"type": "install", | ||
"source": [ | ||
"archive:https://opam.ocaml.org/cache/md5/14/14e47609397c524ea0eae7c3f14f7ccf#md5:14e47609397c524ea0eae7c3f14f7ccf", | ||
"archive:https://github.com/mjambon/atd/releases/download/2.0.0/atd-2.0.0.tbz#md5:14e47609397c524ea0eae7c3f14f7ccf" | ||
], | ||
"opam": { | ||
"name": "atd", | ||
"version": "2.0.0", | ||
"path": "esy.lock/opam/atd.2.0.0" | ||
} | ||
}, | ||
"overrides": [], | ||
"dependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/menhir@opam:20171013@e2d3ef03", | ||
"@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@opam/easy-format@opam:1.3.1@9abfd4ed", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9" | ||
], | ||
"devDependencies": [ | ||
"ocaml@4.6.9@d41d8cd9", "@opam/easy-format@opam:1.3.1@9abfd4ed" | ||
] | ||
}, | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9": { | ||
"id": "@esy-ocaml/substs@0.0.1@d41d8cd9", | ||
"name": "@esy-ocaml/substs", | ||
@@ -592,4 +616,4 @@ "version": "0.0.1", | ||
}, | ||
"@esy-ocaml/reason@3.3.3": { | ||
"id": "@esy-ocaml/reason@3.3.3", | ||
"@esy-ocaml/reason@3.3.3@d41d8cd9": { | ||
"id": "@esy-ocaml/reason@3.3.3@d41d8cd9", | ||
"name": "@esy-ocaml/reason", | ||
@@ -605,14 +629,15 @@ "version": "3.3.3", | ||
"dependencies": [ | ||
"@opam/result@opam:1.3@7af06772", | ||
"@opam/ocamlfind@opam:1.8.0@6fa9aaf5", | ||
"@opam/ocaml-migrate-parsetree@opam:1.1.0@48c1552a", | ||
"@opam/merlin-extend@opam:0.3@77408bd7", | ||
"@opam/menhir@opam:20171013@8c9fcad5", | ||
"@opam/jbuilder@opam:transition@8c8ec590", "@esy-ocaml/substs@0.0.1", | ||
"@esy-ocaml/esy-installer@0.0.0" | ||
"@opam/result@opam:1.3@bee8bf2e", | ||
"@opam/ocamlfind@opam:1.8.0@96572762", | ||
"@opam/ocaml-migrate-parsetree@opam:1.1.0@fc3908dc", | ||
"@opam/merlin-extend@opam:0.3@e1fc0d08", | ||
"@opam/menhir@opam:20171013@e2d3ef03", | ||
"@opam/jbuilder@opam:transition@58bdfe0a", | ||
"@esy-ocaml/substs@0.0.1@d41d8cd9", | ||
"@esy-ocaml/esy-installer@0.0.0@d41d8cd9" | ||
], | ||
"devDependencies": [] | ||
}, | ||
"@esy-ocaml/esy-installer@0.0.0": { | ||
"id": "@esy-ocaml/esy-installer@0.0.0", | ||
"@esy-ocaml/esy-installer@0.0.0@d41d8cd9": { | ||
"id": "@esy-ocaml/esy-installer@0.0.0@d41d8cd9", | ||
"name": "@esy-ocaml/esy-installer", | ||
@@ -619,0 +644,0 @@ "version": "0.0.0", |
{ | ||
"name": "@reason-native/file-context-printer", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A utility for pretty printing source code", | ||
@@ -14,7 +14,9 @@ "repository": { | ||
}, | ||
"scripts": {}, | ||
"scripts": { | ||
"release": "node ./scripts/esy-prepublish.js file-context-printer.json" | ||
}, | ||
"dependencies": { | ||
"@opam/dune": "*", | ||
"@esy-ocaml/reason": "*", | ||
"ocaml": ">= 4.2.0 <= 4.7.0", | ||
"ocaml": "^4.2.0", | ||
"@opam/re": "*", | ||
@@ -21,0 +23,0 @@ "@reason-native/pastel": "*" |
{ | ||
"name": "@reason-native/pastel", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Native Reason ANSI terminal styling with an awesome API", | ||
@@ -12,22 +12,22 @@ "repository": { | ||
"color", | ||
"colour", | ||
"colors", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"str", | ||
"ansi", | ||
"style", | ||
"styles", | ||
"tty", | ||
"formatting", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"log", | ||
"logging", | ||
"command-line", | ||
"text", | ||
"colour", | ||
"colors", | ||
"terminal", | ||
"console", | ||
"cli", | ||
"string", | ||
"str", | ||
"ansi", | ||
"style", | ||
"styles", | ||
"tty", | ||
"formatting", | ||
"rgb", | ||
"256", | ||
"shell", | ||
"xterm", | ||
"log", | ||
"logging", | ||
"command-line", | ||
"text", | ||
"reason", | ||
@@ -42,7 +42,8 @@ "facebook", | ||
"esy": { | ||
"build": "refmterr dune build -p pastel", | ||
"build": "dune build -p pastel", | ||
"install": "esy-installer pastel.install" | ||
}, | ||
"scripts": { | ||
"test": "esy x TestPastel.exe" | ||
"test": "esy x TestPastel.exe", | ||
"release": "node ./scripts/esy-prepublish.js pastel.json" | ||
}, | ||
@@ -52,4 +53,3 @@ "dependencies": { | ||
"@esy-ocaml/reason": "*", | ||
"refmterr": "*", | ||
"ocaml": ">= 4.2.0 <= 4.7.0" | ||
"ocaml": "^4.2.0" | ||
}, | ||
@@ -56,0 +56,0 @@ "devDependencies": { |
@@ -10,3 +10,4 @@ { | ||
"scripts": { | ||
"test": "esy x TestPastelConsole.exe" | ||
"test": "esy x TestPastelConsole.exe", | ||
"release": "node ./scripts/esy-prepublish.js pastel-console.json" | ||
}, | ||
@@ -19,3 +20,3 @@ "dependencies": { | ||
"refmterr": "*", | ||
"ocaml": ">= 4.2.0 <= 4.7.0" | ||
"ocaml": "^4.2.0" | ||
}, | ||
@@ -22,0 +23,0 @@ "devDependencies": { |
@@ -11,4 +11,3 @@ { | ||
"@reason-native/pastel": "*", | ||
"@opam/yojson": "*", | ||
"@opam/ppx_deriving_yojson": "*", | ||
"@opam/atdgen": "*", | ||
"@reason-native/console": "*" | ||
@@ -25,8 +24,9 @@ }, | ||
"esy": { | ||
"build": "refmterr dune build -p refmterr", | ||
"build": "dune build -p refmterr", | ||
"install": "esy-installer refmterr.install" | ||
}, | ||
"scripts": { | ||
"test": "esy src/refmterr/runTests.sh" | ||
"test": "esy src/refmterr/runTests.cmd", | ||
"release": "node ./scripts/esy-prepublish.js refmterr.json" | ||
} | ||
} |
{ | ||
"name": "@reason-native/rely", | ||
"version": "0.0.0", | ||
"version": "1.0.1", | ||
"description": "A native Reason test runner that is heavily inspired by Jest", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
"scripts": { | ||
"test": "esy x TestRely.exe" | ||
"release": "node ./scripts/esy-prepublish.js rely.json" | ||
}, | ||
@@ -34,3 +34,3 @@ "dependencies": { | ||
"refmterr": "*", | ||
"ocaml": ">= 4.2.0 <= 4.7.0", | ||
"ocaml": "^4.4.0", | ||
"@reason-native/pastel": "*", | ||
@@ -37,0 +37,0 @@ "@reason-native/file-context-printer": "*" |
@@ -0,6 +1,13 @@ | ||
/** | ||
* Copyright 2004-present Facebook. All Rights Reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
//this file was copied from https://github.com/facebook/reason/blob/master/scripts/esy-prepublish.js | ||
// | ||
// Usage: Run from the repo root: | ||
// | ||
// node scripts/esy-prepublish.js relative/path/to/some-package-name.json | ||
// | ||
// The script will copy relative/path/to/some-package-name.json into | ||
@@ -54,8 +61,2 @@ // ./package.json and delete any remaining esy.json at the root. It will also | ||
let releaseRoot = path.resolve(projectRoot, '_release'); | ||
if (fs.existsSync(releaseRoot)) { | ||
console.log('YOU NEED TO REMOVE THE ' + releaseRoot + ' DIR FIRST!'); | ||
process.exit(1); | ||
} | ||
const head = | ||
@@ -78,4 +79,4 @@ cp.spawnSync('git', ['rev-parse', '--verify', 'HEAD']).stdout.toString(); | ||
// if (tarErr !== '') { | ||
// console.log('ERROR: Could not create template npm pack for prepublish'); | ||
// throw new Error('Error:' + tarErr); | ||
// console.log('ERROR: Could not create template npm pack for prepublish'); | ||
// throw new Error('Error:' + tarErr); | ||
// } | ||
@@ -85,3 +86,2 @@ | ||
let _releaseDir = path.resolve(projectRoot, '_release'); | ||
cp.spawnSync('mkdir', ['-p', _releaseDir]); | ||
@@ -95,17 +95,21 @@ // For each subpackage, we release the entire source code for all packages, but | ||
let jsonResolvedPath = path.resolve(projectRoot, jsonRelativePath); | ||
let subpackageReleaseDir = path.resolve(_releaseDir, jsonRelativePath); | ||
if (fs.existsSync(subpackageReleaseDir)) { | ||
console.log('YOU NEED TO REMOVE THE ' + subpackageReleaseDir + ' DIR FIRST!'); | ||
process.exit(1); | ||
} | ||
if (!fs.existsSync(_releaseDir)) { | ||
fs.mkdirSync(_releaseDir); | ||
} | ||
fs.mkdirSync(subpackageReleaseDir); | ||
let subpackageReleasePrepDir = path.resolve(_releaseDir, path.join(jsonRelativePath), '_prep'); | ||
cp.spawnSync('mkdir', ['-p', subpackageReleaseDir]); | ||
cp.spawnSync('mkdir', ['-p', subpackageReleasePrepDir]); | ||
cp.spawnSync( | ||
'cp', | ||
[ | ||
path.join(projectRoot, 'template.tar'), | ||
path.join(subpackageReleasePrepDir, 'template.tar') | ||
] | ||
fs.mkdirSync(subpackageReleasePrepDir); | ||
fs.copyFileSync( | ||
path.join(projectRoot, 'template.tar'), | ||
path.join(subpackageReleasePrepDir, 'template.tar') | ||
); | ||
process.chdir(subpackageReleasePrepDir); | ||
cp.spawnSync('tar', ['-xvf', 'template.tar']); | ||
cp.spawnSync('rm', [path.join(subpackageReleasePrepDir, 'template.tar')]); | ||
fs.unlinkSync(path.join(subpackageReleasePrepDir, 'template.tar')); | ||
const packageJson = require(jsonResolvedPath); | ||
@@ -119,9 +123,9 @@ const packageName = packageJson.name; | ||
subpackageReleasePrepDir, | ||
path.basename(jsonRelativePath, '.json') + '.README.md' | ||
path.join('src', path.basename(jsonRelativePath, '.json'), 'README.md') | ||
); | ||
let readmeResolvedPath = | ||
fs.existsSync(readmePkgPath) ? readmePkgPath : | ||
fs.existsSync(readmePath) ? readmePath : | ||
null; | ||
fs.existsSync(readmePath) ? readmePath : | ||
null; | ||
let toCopy = [ | ||
@@ -140,9 +144,4 @@ { | ||
let destPath = toCopy[i].destPath; | ||
if (originPath !== null && fs.existsSync(originPath)) { | ||
let cpResult = cp.spawnSync('mv', [originPath, destPath]); | ||
let mvErr = cpResult.stderr.toString(); | ||
if (mvErr !== '') { | ||
console.log('ERROR: Could not move ' + originPath + ' - ' + mvErr); | ||
process.exit(1); | ||
} | ||
if (originPath !== null && fs.existsSync(originPath) && destPath !== originPath) { | ||
fs.renameSync(originPath, destPath); | ||
} | ||
@@ -157,8 +156,3 @@ } | ||
if (fs.existsSync(esyFile)) { | ||
let rmResult = cp.spawnSync('rm', [esyFile]); | ||
let rmErr = rmResult.stderr.toString(); | ||
if (rmErr !== '') { | ||
console.log('ERROR: Could not rm ' + esyFile + ' - ' + rmErr); | ||
process.exit(1); | ||
} | ||
fs.unlinkSync(esyFile); | ||
} | ||
@@ -172,18 +166,13 @@ | ||
// Npm pack is just a convenient way to strip out any unnecessary files. | ||
let packResult = cp.spawnSync('npm', ['pack']); | ||
let packErr = packResult.stderr.toString(); | ||
if (packErr !== '') { | ||
const packResult = cp.spawnSync(process.platform === 'win32' ? 'npm.cmd' : 'npm', ['pack']); | ||
if (packResult.status !== 0) { | ||
console.log('ERROR: Could not create npm pack for ' + subpackageReleasePrepDir); | ||
throw new Error('Error:' + packErr); | ||
throw new Error('Error:' + packResult.stderr.toString()); | ||
} | ||
let mvFrom = '*.tgz'; | ||
let mvTo = subpackageReleaseDir; | ||
let mvResult = cp.spawnSync('mv', [mvFrom, mvTo], {shell: true}); | ||
var mvErr = mvResult.stderr.toString(); | ||
if (mvErr !== '') { | ||
console.log('ERROR: Could not move from ' + mvFrom + ' to ' + mvTo); | ||
throw new Error('Error:' + mvErr); | ||
} | ||
const mvTo = subpackageReleaseDir; | ||
fs.readdirSync(subpackageReleasePrepDir).filter(fn => fn.endsWith('.tgz')).forEach(fn => { | ||
fs.renameSync(fn, path.join(mvTo, fn)); | ||
}); | ||
process.chdir(mvTo); | ||
let tarResult = cp.spawnSync('tar', ['-xvf', '*.tgz'], {shell: true}); | ||
const tarResult = cp.spawnSync('tar', ['-xvf', '*.tgz'], { shell: true }); | ||
if (tarResult.error) { | ||
@@ -203,3 +192,3 @@ console.log('ERROR: Could not untar in ' + mvTo); | ||
} finally { | ||
cp.spawnSync('rm', [ path.join(projectRoot, 'template.tar')]); | ||
fs.unlinkSync(path.join(projectRoot, 'template.tar')); | ||
} |
@@ -53,7 +53,7 @@ # Console: No effort, universal logger. | ||
### `Console.log(anything)` | ||
Output a string or object to standard output. Suitable for writing to logs, or | ||
for outputting user messaging in command line applications. If you pass a | ||
string, it will not be wrapped in quotes. If you pass an object, `Console.log` | ||
will attempt to print the object dynamically. Strings deep in objects will be | ||
wrapped in quotes. | ||
Output a string or object to standard output followed by a newline. Suitable | ||
for writing to logs, or for outputting user messaging in command line | ||
applications. If you pass a string, it will not be wrapped in quotes. If you | ||
pass an object, `Console.log` will attempt to print the object dynamically. | ||
Strings deep in objects will be wrapped in quotes. | ||
@@ -66,3 +66,5 @@ ```reason | ||
Same as `Console.log` but does not append a newline. | ||
Same as `Console.log` but attempts to avoid printing a final newline. Not all | ||
backends will support omitting the newline (such as in the browser where | ||
`console` only supports outputting with final newlines.) | ||
@@ -74,4 +76,6 @@ ```reason | ||
### `Console.debug(anything)` | ||
Outputs developer-only messaging to standard out. Suitable for writing to log | ||
files. In production mode, would typically be suppressed entirely. | ||
Same as `Console.log` but used for developer-facing messaging to standard out. | ||
Suitable for writing to log files. In production mode, would typically be | ||
suppressed entirely. Custom `Console.t` implementations may implement custom | ||
behavior for `Console.debug` that behaves differently from `Console.log`. | ||
@@ -78,0 +82,0 @@ ```reason |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Floating dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
1826527
3
250
3858
3
47
+ Addedocaml@4.11.20004.14.1000(transitive)
- Removedrefmterr@*
- Removed@reason-native/console@0.1.0(transitive)
- Removedocaml@4.7.0(transitive)
- Removedrefmterr@3.3.2(transitive)
Updatedocaml@^4.2.0