-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229692 from ehllie/nest-cli
nest-cli: repackage using buildNpmPackage
- Loading branch information
Showing
7 changed files
with
16,005 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ buildNpmPackage | ||
, fetchFromGitHub | ||
, lib | ||
}: | ||
|
||
buildNpmPackage rec { | ||
pname = "nest-cli"; | ||
version = "9.4.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "nestjs"; | ||
repo = pname; | ||
rev = version; | ||
hash = "sha256-9I6ez75byOPVKvX93Yv1qSM3JaWlmmvZCTjNB++cmw0="; | ||
}; | ||
|
||
# Generated a new package-lock.json by running `npm upgrade` | ||
# The upstream lockfile is using an old version of `fsevents`, | ||
# which does not build on Darwin | ||
postPatch = '' | ||
cp ${./package-lock.json} ./package-lock.json | ||
''; | ||
|
||
npmDepsHash = "sha256-QA2ZgbXiG84HuutJ2ZCGMrnqpwrPlHL/Bur7Pak8WcQ="; | ||
|
||
meta = with lib; { | ||
description = "CLI tool for Nest applications 🍹"; | ||
homepage = "https://nestjs.com"; | ||
license = licenses.mit; | ||
maintainers = [ maintainers.ehllie ]; | ||
}; | ||
} |
Oops, something went wrong.