Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny 2025-09-19 13:05:51 -07:00 committed by GitHub
commit 40eaf078cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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'];