-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2ba64a
commit a096e9a
Showing
1 changed file
with
33 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
description = "pnpm is a package manager for JavaScript and Node.js projects. It is an alternative package manager to the widely used npm (Node Package Manager) and Yarn." | ||
test = "pnpm --version" | ||
binaries = ["pnpm"] | ||
|
||
version "8.14.1" { | ||
platform "linux" "amd64" { | ||
source = "https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-${os}-x64" | ||
on unpack { | ||
rename { from = "${root}/pnpm-${os}-x64" to = "${root}/pnpm" } | ||
} | ||
} | ||
|
||
platform "linux" "arm64" { | ||
source = "https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-${os}-${arch}" | ||
on unpack { | ||
rename { from = "${root}/pnpm-${os}-arm64" to = "${root}/pnpm" } | ||
} | ||
} | ||
|
||
platform "darwin" "amd64" { | ||
source = "https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-macos-x64" | ||
on unpack { | ||
rename { from = "${root}/pnpm-macos-x64" to = "${root}/pnpm" } | ||
} | ||
} | ||
|
||
platform "darwin" "arm64" { | ||
source = "https://github.com/pnpm/pnpm/releases/download/v${version}/pnpm-macos-${arch}" | ||
on unpack { | ||
rename { from = "${root}/pnpm-macos-${arch}" to = "${root}/pnpm" } | ||
} | ||
} | ||
} |