mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-15 14:23:02 -07:00
perf: use tsgo and parallelize builds, excluding a2a-server
This commit is contained in:
@@ -23,7 +23,6 @@ if (!existsSync(join(root, 'node_modules'))) {
|
||||
const workspaces = [
|
||||
'@google/gemini-cli-test-utils',
|
||||
'@google/gemini-cli-core',
|
||||
'@google/gemini-cli-a2a-server',
|
||||
'@google/gemini-cli',
|
||||
'gemini-cli-vscode-ide-companion',
|
||||
];
|
||||
|
||||
@@ -29,7 +29,7 @@ if (!process.cwd().includes('packages')) {
|
||||
const packageName = basename(process.cwd());
|
||||
|
||||
// build typescript files
|
||||
execSync('tsc --build', { stdio: 'inherit' });
|
||||
execSync('tsgo --build', { stdio: 'inherit' });
|
||||
|
||||
// Run package-specific bundling if the script exists
|
||||
const bundleScript = join(process.cwd(), 'scripts', 'bundle-browser-mcp.mjs');
|
||||
|
||||
Reference in New Issue
Block a user