diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..70992d5c6 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +* @tanzhenxin @DennisYu07 @gwinthis @LaZzyMan @pomelo-nwu @Mingholy +# SDK TypeScript package changes require review from Mingholy +packages/sdk-typescript/** @Mingholy diff --git a/packages/sdk-typescript/src/utils/cliPath.ts b/packages/sdk-typescript/src/utils/cliPath.ts index a13ac926a..96a2c8194 100644 --- a/packages/sdk-typescript/src/utils/cliPath.ts +++ b/packages/sdk-typescript/src/utils/cliPath.ts @@ -370,6 +370,3 @@ export function prepareSpawnInfo(executableSpec?: string): SpawnInfo { originalInput: executableSpec, }; } - -// Legacy export for backward compatibility -export { findBundledCliPath as findNativeCliPath }; diff --git a/packages/sdk-typescript/test/unit/cliPath.test.ts b/packages/sdk-typescript/test/unit/cliPath.test.ts index 942ec07ea..9cbabc16c 100644 --- a/packages/sdk-typescript/test/unit/cliPath.test.ts +++ b/packages/sdk-typescript/test/unit/cliPath.test.ts @@ -16,7 +16,6 @@ import { execSync } from 'node:child_process'; import { prepareSpawnInfo, findBundledCliPath, - findNativeCliPath, } from '../../src/utils/cliPath.js'; // Mock fs module @@ -63,12 +62,6 @@ describe('CLI Path Utilities', () => { }); }); - describe('findNativeCliPath (legacy alias)', () => { - it('should be an alias for findBundledCliPath', () => { - expect(findNativeCliPath).toBe(findBundledCliPath); - }); - }); - describe('prepareSpawnInfo', () => { describe('auto-detection (no spec provided)', () => { it('should auto-detect bundled CLI when no spec provided', () => {