Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/json-document/tests/smoke/package-smoke.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ const repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..", "..");
const monorepoRoot = resolve(repoRoot, "..", "..");
const workspace = await mkdtemp(join(tmpdir(), "json-document-package-"));
const npmCache = join(workspace, ".npm-cache");
const npmEnv = { ...process.env, npm_config_cache: npmCache, npm_config_package_lock: "false" };
const npmEnv = {
...process.env,
npm_config_cache: npmCache,
npm_config_dry_run: "false",
npm_config_package_lock: "false",
};
const lockfilePath = join(monorepoRoot, "package-lock.json");
const lockfileSnapshot = existsSync(lockfilePath) ? await readFile(lockfilePath) : null;
const packageJson = JSON.parse(await readFile(join(repoRoot, "package.json"), "utf8"));
Expand Down