Skip to content

Commit c43abef

Browse files
committed
dx: fix report-libraries script with new sodium-native
1 parent 3c5ae24 commit c43abef

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"pull-stream": "3.6.14",
3333
"rimraf": "~3.0.2",
3434
"secret-stack": "6.4.1",
35-
"sodium-chloride-native-nodejs-mobile": "1.7.0",
35+
"sodium-chloride-native-nodejs-mobile": "1.7.1",
3636
"ssb-about-self": "1.1.0",
3737
"ssb-blobs": "2.0.1",
3838
"ssb-blobs-blurhash": "0.0.3",

tools/report-libraries.mjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22

3-
// SPDX-FileCopyrightText: 2021-2022 The Manyverse Authors
3+
// SPDX-FileCopyrightText: 2021-2023 The Manyverse Authors
44
//
55
// SPDX-License-Identifier: CC0-1.0
66

@@ -96,7 +96,13 @@ async function runAndReport(label, task) {
9696
await runAndReport(
9797
'Collect all licenses for backend dependencies',
9898
async () => {
99-
await exec('npm install', {cwd: backendFolder});
99+
await exec('npm install --ignore-scripts', {
100+
cwd: backendFolder,
101+
env: {
102+
DONT_COMPILE: '1',
103+
...process.env,
104+
},
105+
});
100106
await exec(
101107
[
102108
'$(npm bin)/license-ls',

0 commit comments

Comments
 (0)