This makes examples/now-lambda-reason a separate esy package.
The following works:
% cd examples/now-lambda-reason
% esy i
info install 0.4.3
info fetching: done
info installing: done
% esy b
info esy build 0.4.3
info building @opam/lambda-runtime@link:../../lambda-runtime.opam
info building @opam/lambda-runtime@link:../../lambda-runtime.opam: done
info building @opam/now-lambda@link:../../now-lambda.opam
info building @opam/now-lambda@link:../../now-lambda.opam: done
% esy x basic
Fatal error: exception Failure("Could not find runtime API env var: AWS_LAMBDA_RUNTIME_API")
This also removes the devDependency on @opam/reason at the root esy.json.
This makes
examples/now-lambda-reason
a separate esy package.The following works:
This also removes the devDependency on
@opam/reason
at the rootesy.json
.