pkg(node-20.11.0) Added Node 20.11.0 (#646)

This commit is contained in:
Kodie 2024-04-18 23:38:20 +12:00 committed by GitHub
parent 647bc3a7c7
commit 684b47d2a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 19 additions and 0 deletions

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

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

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

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

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

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

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

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

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

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