use npm
This commit is contained in:
parent
1991882a3b
commit
3e0e61e50c
1 changed files with 4 additions and 5 deletions
|
@ -196,8 +196,7 @@ prepare() {
|
|||
done
|
||||
|
||||
msg "Installing signal-desktop JS dependencies"
|
||||
echo 'ignore-engines true' > .yarnrc
|
||||
yarn --ignore-scripts --frozen-lockfile
|
||||
npm ci --ignore-scripts
|
||||
|
||||
(
|
||||
cd "$srcdir"/webrtc-$_webrtcver
|
||||
|
@ -284,7 +283,7 @@ prepare() {
|
|||
cd "$srcdir"/ringrtc-$_ringrtcver/src/node
|
||||
|
||||
msg "Installing ringrtc js dependencies"
|
||||
yarn --frozen-lockfile --ignore-scripts
|
||||
npm ci --ignore-scripts
|
||||
)
|
||||
|
||||
(
|
||||
|
@ -294,7 +293,7 @@ prepare() {
|
|||
sed -i 's/unknown-linux-gnu/alpine-linux-musl/g' binding.gyp
|
||||
|
||||
msg "Installing libsignal js dependencies"
|
||||
yarn --ignore-scripts --frozen-lockfile
|
||||
npm ci --ignore-scripts
|
||||
)
|
||||
|
||||
# remove shipped fonts for system-provided (part 1)
|
||||
|
@ -407,7 +406,7 @@ build() {
|
|||
yarn build:dev
|
||||
|
||||
# purge non-production deps
|
||||
yarn install --ignore-scripts --frozen-lockfile --production
|
||||
npm ci --ignore-scripts --omit=dev
|
||||
|
||||
# XXX: the previous step undoes the patches. and removes the patch applier.
|
||||
# please force me to just implement packaging without dev modules in tasje. -lnl
|
||||
|
|
Loading…
Reference in a new issue