kumquat-buildroot/package/nodejs/Config.in.host
Thomas Claveirole 7c73f93218 package/nodejs: introduce BR2_PACKAGE_HOST_NODEJS_COREPACK
Corepack is a zero-runtime-dependency Node.js script that acts as a
bridge between Node.js projects and the package managers.  It ships
with Node.js but is disabled by default.

Some JavaScript packages, such as vuejs and vuejs-router can benefit
from having Corepack installed on the host.  Therefore, add an option
to enable Corepack with host-nodejs.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-04-16 21:41:27 +02:00

32 lines
891 B
Plaintext

comment "host nodejs needs a host gcc >= 8"
depends on !BR2_HOST_GCC_AT_LEAST_8
config BR2_PACKAGE_HOST_NODEJS
bool "host nodejs"
depends on BR2_HOST_GCC_AT_LEAST_8
select BR2_PACKAGE_HOST_PYTHON3
select BR2_PACKAGE_HOST_PYTHON3_BZIP2
select BR2_PACKAGE_HOST_PYTHON3_SSL
help
Event-driven I/O server-side JavaScript environment based on
V8.
http://nodejs.org/
if BR2_PACKAGE_HOST_NODEJS
config BR2_PACKAGE_HOST_NODEJS_COREPACK
bool "Corepack"
help
Enable Corepack with host nodejs.
Corepack is a zero-runtime-dependency Node.js script that
acts as a bridge between Node.js projects and the package
managers they are intended to be used with during
development. In practical terms, Corepack will let you use
Yarn and pnpm without having to install them - just like
what currently happens with npm, which is shipped by Node.js
by default.
endif