When this package is added as a dependency of another project, because it has not been published to opam, the behavior of dev variable is to become true and so dev dependencies will get installed as well. In jsoo-react case, this means reason gets installed, which means trouble with recent OCaml versions like 4.13.1.
dev: true if this is a development package, i.e. it was not built from a release archive
From @aantron in Discord:
yeah it seems that its best to use it for things that are actually necessary for the build of an unreleased package specifically, which is few things in ocaml these days (nothing for most projects), and is probably bad form
Ideally, there'd be a with-dev flag, but it doesn't seem to exist. So for now, i'm (ab)using with-test for this.
When this package is added as a dependency of another project, because it has not been published to opam, the behavior of
dev
variable is to become true and so dev dependencies will get installed as well. In jsoo-react case, this meansreason
gets installed, which means trouble with recent OCaml versions like 4.13.1.From opam docs:
From @aantron in Discord:
Ideally, there'd be a
with-dev
flag, but it doesn't seem to exist. So for now, i'm (ab)usingwith-test
for this.