2020-05-06 12:39:49 +02:00
|
|
|
{ lib, yarn2nix-moretea }:
|
2019-06-04 18:50:29 +02:00
|
|
|
|
|
|
|
let
|
2020-05-06 12:39:49 +02:00
|
|
|
version = lib.fileContents ../../../VERSION;
|
2020-07-01 21:45:39 +02:00
|
|
|
yarnLock = ../../../yarn.lock;
|
|
|
|
packageJSON = ../../../package.json;
|
2020-04-22 19:05:18 +02:00
|
|
|
packageJSONContent = lib.importJSON packageJSON;
|
2020-05-04 21:41:00 +02:00
|
|
|
in
|
|
|
|
# Create a yarn package for our project that contains all the dependecies.
|
|
|
|
yarn2nix-moretea.mkYarnModules rec {
|
|
|
|
pname = "status-react";
|
|
|
|
name = "${pname}-node-deps-${version}";
|
|
|
|
inherit version packageJSON yarnLock;
|
|
|
|
}
|