merge duplicate imports packages/cli/src subtask3 (#22056)

This commit is contained in:
nityam
2026-03-12 02:51:40 +05:30
committed by GitHub
parent 3bf4f885d8
commit 352bbc36c0
46 changed files with 192 additions and 127 deletions

View File

@@ -4,8 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import type { ColorsTheme } from '../theme.js';
import { Theme } from '../theme.js';
import { Theme, type ColorsTheme } from '../theme.js';
import type { SemanticColors } from '../semantic-tokens.js';
const noColorColorsTheme: ColorsTheme = {

View File

@@ -11,11 +11,10 @@ if (process.env['NO_COLOR'] !== undefined) {
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
import { themeManager, DEFAULT_THEME } from './theme-manager.js';
import type { CustomTheme } from '@google/gemini-cli-core';
import { debugLogger, type CustomTheme } from '@google/gemini-cli-core';
import * as fs from 'node:fs';
import * as os from 'node:os';
import type * as osActual from 'node:os';
import { debugLogger } from '@google/gemini-cli-core';
vi.mock('node:fs');
vi.mock('node:os', async (importOriginal) => {

View File

@@ -20,8 +20,7 @@ import { SolarizedLight } from './builtin/light/solarized-light.js';
import { XCode } from './builtin/light/xcode-light.js';
import * as fs from 'node:fs';
import * as path from 'node:path';
import type { Theme, ThemeType, ColorsTheme } from './theme.js';
import type { CustomTheme } from '@google/gemini-cli-core';
import type { Theme, ThemeType, ColorsTheme, CustomTheme } from './theme.js';
import {
createCustomTheme,
validateCustomTheme,