chore: add CODEOWNERS for SDK TypeScript package and remove legacy CLI path alias

This commit is contained in:
mingholy.lmh 2026-01-11 21:24:45 +08:00
parent 7f15256eba
commit 7d40e1470c
3 changed files with 3 additions and 10 deletions

3
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1,3 @@
* @tanzhenxin @DennisYu07 @gwinthis @LaZzyMan @pomelo-nwu @Mingholy
# SDK TypeScript package changes require review from Mingholy
packages/sdk-typescript/** @Mingholy

View file

@ -370,6 +370,3 @@ export function prepareSpawnInfo(executableSpec?: string): SpawnInfo {
originalInput: executableSpec,
};
}
// Legacy export for backward compatibility
export { findBundledCliPath as findNativeCliPath };

View file

@ -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', () => {