From 684b47d2a2e3c7aa9c1c3af0e5482888ba5bee76 Mon Sep 17 00:00:00 2001 From: Kodie Date: Thu, 18 Apr 2024 23:38:20 +1200 Subject: [PATCH] pkg(node-20.11.0) Added Node 20.11.0 (#646) --- packages/node/20.11.1/build.sh | 4 ++++ packages/node/20.11.1/environment | 1 + packages/node/20.11.1/metadata.json | 10 ++++++++++ packages/node/20.11.1/run | 3 +++ packages/node/20.11.1/test.js | 1 + 5 files changed, 19 insertions(+) create mode 100644 packages/node/20.11.1/build.sh create mode 100644 packages/node/20.11.1/environment create mode 100644 packages/node/20.11.1/metadata.json create mode 100644 packages/node/20.11.1/run create mode 100644 packages/node/20.11.1/test.js diff --git a/packages/node/20.11.1/build.sh b/packages/node/20.11.1/build.sh new file mode 100644 index 0000000..4c7a3af --- /dev/null +++ b/packages/node/20.11.1/build.sh @@ -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 \ No newline at end of file diff --git a/packages/node/20.11.1/environment b/packages/node/20.11.1/environment new file mode 100644 index 0000000..bd0ff98 --- /dev/null +++ b/packages/node/20.11.1/environment @@ -0,0 +1 @@ +export PATH=$PWD/bin:$PATH \ No newline at end of file diff --git a/packages/node/20.11.1/metadata.json b/packages/node/20.11.1/metadata.json new file mode 100644 index 0000000..d401ad5 --- /dev/null +++ b/packages/node/20.11.1/metadata.json @@ -0,0 +1,10 @@ +{ + "language": "node", + "version": "20.11.1", + "provides": [ + { + "language": "javascript", + "aliases": ["node-javascript", "node-js", "javascript", "js"] + } + ] +} \ No newline at end of file diff --git a/packages/node/20.11.1/run b/packages/node/20.11.1/run new file mode 100644 index 0000000..6d1fdee --- /dev/null +++ b/packages/node/20.11.1/run @@ -0,0 +1,3 @@ +#!/bin/bash + +node "$@" \ No newline at end of file diff --git a/packages/node/20.11.1/test.js b/packages/node/20.11.1/test.js new file mode 100644 index 0000000..c963843 --- /dev/null +++ b/packages/node/20.11.1/test.js @@ -0,0 +1 @@ +console.log('OK'); \ No newline at end of file