Skip to content

Commit fe21073

Browse files
committed
refactor(@inquirerer/utils): remove legacy aliases
Keep only the new naming convention (getPackageJson, getPackageVersion, getPackageName)
1 parent c087ac8 commit fe21073

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Re-export core CLI utilities from inquirerer for backwards compatibility
1+
// Re-export core CLI utilities from inquirerer
22
export {
33
extractFirst,
44
cliExitWithError,
@@ -8,12 +8,6 @@ export {
88
} from 'inquirerer';
99
export type { ParsedArgs, CliExitOptions, PackageJson } from 'inquirerer';
1010

11-
// Legacy aliases for backwards compatibility
12-
export { getPackageJson as getSelfPackageJson } from 'inquirerer';
13-
export { getPackageVersion as getSelfVersion } from 'inquirerer';
14-
export { getPackageName as getSelfName } from 'inquirerer';
15-
export type { PackageJson as PackageJsonInfo } from 'inquirerer';
16-
1711
// Update checking (requires appstash, not available in inquirerer)
1812
export { checkForUpdates, shouldSkipUpdateCheck } from './update-check';
1913
export type { UpdateCheckOptions, UpdateCheckResult } from './update-check';

0 commit comments

Comments
 (0)