diff --git a/debian/control b/debian/control index 70d8557b..5b03e9b0 100644 --- a/debian/control +++ b/debian/control @@ -6,12 +6,14 @@ Homepage: https://www.sipwise.com/ Standards-Version: 4.5.1 Build-Depends: debhelper-compat (= 13), - yarnpkg | nodejs (>= 12.19.0~), - yarnpkg | yarn, + nodejs (>= 18), + python3, + yarnpkg, Package: ngcp-csc-ui Architecture: all Depends: + nodejs (>= 18), ${misc:Depends}, ${shlibs:Depends}, Description: Customer Self-Care Web UI diff --git a/debian/rules b/debian/rules index d095225a..dadec24b 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,11 @@ # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 +export NODE_PATH=/usr/lib/nodejs:/usr/share/nodejs + +# webpack 4.x compatibility, remove it when @quasar/app is upgraded and it uses webpack 5.x +export NODE_OPTIONS=--openssl-legacy-provider + # if yarnpkg is available use it, otherwise fall back to yarn YARN_BIN := $(shell which yarnpkg || echo yarn)