Add build for node-canvas
@@ -11,22 +11,33 @@ source:
build:
number: 0
- skip: true # [win]
+ skip: true # [not osx]
+ ignore_run_exports:
+ # node-canvas is built but not installed, so ignore its dependencies
+ - cairo
+ - giflib
+ - libglib
+ - libjpeg-turbo
+ - pango
+ - pixman
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host:
- - nodejs 12
+ - nodejs 12 # [not (osx and arm64)]
+ - nodejs 15 # [osx and arm64]
- code-server >=3.9
+ # As part of the build, we are compiling node-canvas from source
+ - pixman
+ - giflib
+ - glib
+ - cairo
+ - pango
+ - libjpeg-turbo
run:
- code-server >=3.9
- - python >=2.7
- - jedi <0.18
- - pygls # [py>=36]
- - jedi-language-server <0.22 # [py>=36]
- - isort 5.7.0 # [py>=36]
test:
commands:
