Qualify CJS-only module imports

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2025-09-19 23:25:57 -05:00
committed by GitHub
parent 3f839434b2
commit acbe5d0735
401 changed files with 1278 additions and 593 deletions

View File

@@ -7,15 +7,14 @@ const { join } = require('node:path');
const pMap = require('p-map');
const prettier = require('prettier');
const { default: packageJson } = require('./packageJson.js');
// During development, you might use local versions of dependencies which are missing
// acknowledgment files. In this case we'll skip rebuilding the acknowledgment files.
// Enable this flag to throw an error.
const REQUIRE_SIGNAL_LIB_FILES = Boolean(process.env.REQUIRE_SIGNAL_LIB_FILES);
const {
dependencies = {},
optionalDependencies = {},
} = require('../package.json');
const { dependencies = {}, optionalDependencies = {} } = packageJson;
const SIGNAL_LIBS = ['@signalapp/libsignal-client', '@signalapp/ringrtc'];