diff --git a/packages/node/18.15.0/build.sh b/packages/node/18.15.0/build.sh index 08da7798..77a778dd 100644 --- a/packages/node/18.15.0/build.sh +++ b/packages/node/18.15.0/build.sh @@ -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 \ No newline at end of file diff --git a/packages/node/21.5.0/build.sh b/packages/node/21.5.0/build.sh new file mode 100644 index 00000000..08da7798 --- /dev/null +++ b/packages/node/21.5.0/build.sh @@ -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 \ No newline at end of file diff --git a/packages/node/21.5.0/environment b/packages/node/21.5.0/environment new file mode 100644 index 00000000..bd0ff98f --- /dev/null +++ b/packages/node/21.5.0/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/node/21.5.0/metadata.json b/packages/node/21.5.0/metadata.json new file mode 100644 index 00000000..ee029793 --- /dev/null +++ b/packages/node/21.5.0/metadata.json @@ -0,0 +1,10 @@ +{ + "language": "node", + "version": "21.5.0", + "provides": [ + { + "language": "javascript", + "aliases": ["node-javascript", "node-js", "javascript", "js"] + } + ] +} \ No newline at end of file diff --git a/packages/node/21.5.0/run b/packages/node/21.5.0/run new file mode 100644 index 00000000..6d1fdee5 --- /dev/null +++ b/packages/node/21.5.0/run @@ -0,0 +1,3 @@ +#!/bin/bash + +node "$@" \ No newline at end of file diff --git a/packages/node/21.5.0/test.js b/packages/node/21.5.0/test.js new file mode 100644 index 00000000..c9638433 --- /dev/null +++ b/packages/node/21.5.0/test.js @@ -0,0 +1 @@ +console.log('OK'); \ No newline at end of file