How to properly install deno as a runtime with pnpm? #30140
-
|
I want to add devEngines support to pnpm. This will allow users to declare their runtime. For instance: {
"devEngines": {
"runtime": {
"name": "deno",
"version": "^1.0.0"
}
}
}For Node.js we install the artifact directly from their website. The integrity that we add to the pnpm lockfile is calculated from the shasums file that every version ships. For instance: https://nodejs.org/download/release/v22.13.1/SHASUMS256.txt What would be the best way to install deno? I see that there's a npm package called deno: https://www.npmjs.com/package/deno. So, is it OK if we just install it as a regular npm dependency? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Hi Zoltan. The most reliable way would be to download Deno from the GH releases page, where you'll find binaries along the integrity files, eg. here's the latest 2.4.2 version: https://github.com/denoland/deno/releases/tag/v2.4.2 |
Beta Was this translation helpful? Give feedback.
Hi Zoltan. The most reliable way would be to download Deno from the GH releases page, where you'll find binaries along the integrity files, eg. here's the latest 2.4.2 version: https://github.com/denoland/deno/releases/tag/v2.4.2