pre-release: fix ci (#1)

* fix aoneci

* remove codeql

* sync version to 0.0.1-alpha.7

* renaming org to qwen-code
This commit is contained in:
Fan
2025-07-23 00:27:14 +08:00
committed by GitHub
parent 13c0b24110
commit daad04613e
74 changed files with 147 additions and 156 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { AuthType } from '@qwen/qwen-code-core';
import { AuthType } from '@qwen-code/qwen-code-core';
import { vi } from 'vitest';
import { validateAuthMethod } from './auth.js';

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { AuthType } from '@qwen/qwen-code-core';
import { AuthType } from '@qwen-code/qwen-code-core';
import { loadEnvironment } from './settings.js';
export const validateAuthMethod = (authMethod: string): string | null => {

View File

@@ -12,7 +12,7 @@ import {
Config,
ConfigParameters,
ContentGeneratorConfig,
} from '@qwen/qwen-code-core';
} from '@qwen-code/qwen-code-core';
const TEST_CONTENT_GENERATOR_CONFIG: ContentGeneratorConfig = {
apiKey: 'test-key',
@@ -21,8 +21,8 @@ const TEST_CONTENT_GENERATOR_CONFIG: ContentGeneratorConfig = {
};
// Mock file discovery service and tool registry
vi.mock('@qwen/qwen-code-core', async () => {
const actual = await vi.importActual('@qwen/qwen-code-core');
vi.mock('@qwen-code/qwen-code-core', async () => {
const actual = await vi.importActual('@qwen-code/qwen-code-core');
return {
...actual,
FileDiscoveryService: vi.fn().mockImplementation(() => ({

View File

@@ -9,12 +9,12 @@ import * as os from 'os';
import { loadCliConfig, parseArguments } from './config.js';
import { Settings } from './settings.js';
import { Extension } from './extension.js';
import * as ServerConfig from '@qwen/qwen-code-core';
import * as ServerConfig from '@qwen-code/qwen-code-core';
import {
TelemetryTarget,
ConfigParameters,
DEFAULT_TELEMETRY_TARGET,
} from '@qwen/qwen-code-core';
} from '@qwen-code/qwen-code-core';
vi.mock('os', async (importOriginal) => {
const actualOs = await importOriginal<typeof os>();
@@ -34,9 +34,9 @@ vi.mock('read-package-up', () => ({
),
}));
vi.mock('@qwen/qwen-code-core', async () => {
vi.mock('@qwen-code/qwen-code-core', async () => {
const actualServer = await vi.importActual<typeof ServerConfig>(
'@qwen/qwen-code-core',
'@qwen-code/qwen-code-core',
);
return {
...actualServer,

View File

@@ -18,7 +18,7 @@ import {
FileDiscoveryService,
TelemetryTarget,
MCPServerConfig,
} from '@qwen/qwen-code-core';
} from '@qwen-code/qwen-code-core';
import { Settings } from './settings.js';
import { Extension, filterActiveExtensions } from './extension.js';

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { MCPServerConfig } from '@qwen/qwen-code-core';
import { MCPServerConfig } from '@qwen-code/qwen-code-core';
import * as fs from 'fs';
import * as path from 'path';
import * as os from 'os';

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { SandboxConfig } from '@qwen/qwen-code-core';
import { SandboxConfig } from '@qwen-code/qwen-code-core';
import commandExists from 'command-exists';
import * as os from 'node:os';
import { getPackageJson } from '../utils/package.js';

View File

@@ -15,7 +15,7 @@ import {
BugCommandSettings,
TelemetrySettings,
AuthType,
} from '@qwen/qwen-code-core';
} from '@qwen-code/qwen-code-core';
import stripJsonComments from 'strip-json-comments';
import { DefaultLight } from '../ui/themes/default-light.js';
import { DefaultDark } from '../ui/themes/default.js';