Updated to `Node 21.5.0`

This commit is contained in:
LoryPelli 2024-01-15 14:58:00 +01:00
parent b46690de06
commit fc8f813d35
6 changed files with 20 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
curl "https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz" -o node.tar.xz
curl "https://nodejs.org/dist/v21.5.0/node-v21.5.0-linux-x64.tar.xz" -o node.tar.xz
tar xf node.tar.xz --strip-components=1
rm node.tar.xz

4
packages/node/21.5.0/build.sh vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
curl "https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-x64.tar.xz" -o node.tar.xz
tar xf node.tar.xz --strip-components=1
rm node.tar.xz

1
packages/node/21.5.0/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

10
packages/node/21.5.0/metadata.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"language": "node",
"version": "21.5.0",
"provides": [
{
"language": "javascript",
"aliases": ["node-javascript", "node-js", "javascript", "js"]
}
]
}

3
packages/node/21.5.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
node "$@"

1
packages/node/21.5.0/test.js vendored Normal file
View File

@ -0,0 +1 @@
console.log('OK');