45 lines
828 B
YAML
45 lines
828 B
YAML
ref: core.nodejs
|
|
pack_ref: core
|
|
name: Node.js
|
|
description: Node.js runtime for JavaScript-based actions and sensors
|
|
|
|
distributions:
|
|
verification:
|
|
commands:
|
|
- binary: node
|
|
args:
|
|
- "--version"
|
|
exit_code: 0
|
|
pattern: "v\\d+\\.\\d+\\.\\d+"
|
|
priority: 1
|
|
min_version: "16.0.0"
|
|
recommended_version: "20.0.0"
|
|
|
|
installation:
|
|
package_managers:
|
|
- npm
|
|
- yarn
|
|
- pnpm
|
|
module_support: true
|
|
|
|
execution_config:
|
|
interpreter:
|
|
binary: node
|
|
args: []
|
|
file_extension: ".js"
|
|
environment:
|
|
env_type: node_modules
|
|
dir_name: node_modules
|
|
create_command:
|
|
- npm
|
|
- init
|
|
- "-y"
|
|
interpreter_path: null
|
|
dependencies:
|
|
manifest_file: package.json
|
|
install_command:
|
|
- npm
|
|
- install
|
|
- "--prefix"
|
|
- "{pack_dir}"
|