From e72777d6fdcc6a3f73ce71f44092a1dc0810ed90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=B5=A9?= <3116737282@qq.com> Date: Thu, 1 May 2025 11:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=B7=A5=E4=BD=9C=E5=8C=BA=E5=85=83?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=AD=E5=AE=9E=E6=97=B6=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=20NodeJS=20=E5=92=8C=20pnpm=20=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/main.tf b/main.tf index 5efcab3..5d35853 100644 --- a/main.tf +++ b/main.tf @@ -146,6 +146,22 @@ EOF interval = 10 timeout = 1 } + + metadata { + display_name = "NodeJS Version" + key = "8_nodejs_version" + script = "node -v" + interval = 1800 + timeout = 1 + } + + metadata { + display_name = "pnpm Version" + key = "9_pnpm_version" + script = "pnpm -v" + interval = 1800 + timeout = 1 + } } # See https://registry.coder.com/modules/code-server