Unverified Commit 2fe3f8a3 authored by Ryan Mulligan's avatar Ryan Mulligan Committed by GitHub
Browse files

graphqurl: add updateScript and testVersion (#336950)

parents 047b035a ed11dd9d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
  lib,
  buildNpmPackage,
  fetchFromGitHub,
  nix-update-script,
  testers,
  graphqurl,
}:

buildNpmPackage rec {
@@ -19,6 +22,15 @@ buildNpmPackage rec {

  dontNpmBuild = true;

  passthru = {
    updateScript = nix-update-script { };
    tests = {
      graphqurl-version = testers.testVersion {
        package = graphqurl;
      };
    };
  };

  meta = {
    description = "CLI and JS library for making GraphQL queries";
    homepage = "https://github.com/hasura/graphqurl";