feat(extensions): Allow replacing editors using extensions (#37499)

This commit is contained in:
Michael S. Molina
2026-01-29 08:22:32 -03:00
committed by GitHub
parent 675a4c7a66
commit 6cb3cea960
46 changed files with 2706 additions and 477 deletions

View File

@@ -27,6 +27,11 @@ const { existsSync } = require("node:fs");
const { chdir, cwd } = require("node:process");
const { createRequire } = require("node:module");
// Increase memory limit for TypeScript compiler
if (!process.env.NODE_OPTIONS?.includes("--max-old-space-size")) {
process.env.NODE_OPTIONS = `${process.env.NODE_OPTIONS || ""} --max-old-space-size=8192`.trim();
}
const SUPERSET_ROOT = dirname(__dirname);
const PACKAGE_ARG_REGEX = /^package=/;
const EXCLUDE_DECLARATION_DIR_REGEX = /^excludeDeclarationDir=/;