在工作区元数据中实时展示 NodeJS 和 pnpm 版本
This commit is contained in:
16
main.tf
16
main.tf
@@ -146,6 +146,22 @@ EOF
|
|||||||
interval = 10
|
interval = 10
|
||||||
timeout = 1
|
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
|
# See https://registry.coder.com/modules/code-server
|
||||||
|
|||||||
Reference in New Issue
Block a user