Set 1.22.22 as default yarn version for the repo
Change-Id: Iea323c46ff0f44cab81be3a1fa5748d93f983b5b
(cherry picked from commit 24cda522b6)
(cherry picked from commit 60f9f71d93)
yarnpkg is no longer available in Debian/bookworm, while we already
Build-Depend on nodejs >= 18 (also for Debian/bullseye), so instead lets
ship a bundled yarnpkg, like we do also in e.g. ngcp-rest-api.
Related to git commit 4b03168df1
Change-Id: I5098f2f188a36eb72e0f01b49da7472f2c53b83f
* debian/rules:
- set explit NODE_PATH env to correctly locate
system node pacakages that are installed by yarnpkg
during the build stage
- add NODE_OPTIONS=--openssl-legacy-provider
as quasar v2 uses webpack v4 atm and this option is for
backward-compatibility until webpack is upgraded to v5
* debian/control
- add dependency on node (>= 18) to avoid this
package to be run on older node versions for consistency
- add dependency on python3 as otherwise the built-in
'multiprocessing' module is not there (required by gyp build)
Change-Id: Ie8b3bb1914ecf012e653c8b9e81b75c457995ef0
AC:
* align config approach with AUI application
* apply the standard way of injecting configuration through boot files.
* removed some files which are already part of RTC CDK and not used in CSC anymore
Note: you have to move your personal "src/config.js" to "src/config/app.js" manually in your working folder.
Change-Id: If5a615f0691631e4410e6780a025fed54133147b
Debian/buster provides yarnpkg, but as of Debian/bullseye
it's named yarn (as provided by upstream).
Recent yarn versions also depend on node.js:
| Yarn requires Node.js 4.0 or higher to be installed.
Correspondingly Build-Depend on yarnpkg | nodejs (>= 12.19.0~) (to
support buster + bullseye at the same time), using the nodejs package
version as present in current Debian/testing (bullseye) as base.
Change-Id: I311e814beb3ca3f606b543e6116476f222276d78