Skip to content

Commit 15d0b31

Browse files
committed
fix(cli): remove get package info
1 parent d92c7fc commit 15d0b31

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

apps/cli/src/index.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ import { init } from '@/src/commands/init';
44

55
import { Command } from 'commander';
66

7-
import { getPackageInfo } from './utils/get-package-info';
8-
97
process.on('SIGINT', () => process.exit(0));
108
process.on('SIGTERM', () => process.exit(0));
119

1210
async function main() {
13-
const packageInfo = await getPackageInfo();
14-
1511
const program = new Command()
16-
.name('rnr-cli')
17-
.description('add components and dependencies to your project')
18-
.version(packageInfo.version || '0.0.0-rc.0', '-v, --version', 'display the version number');
12+
.name('@react-native-reusables/cli')
13+
.description('add components and dependencies to your project');
1914

2015
program.addCommand(add);
2116
program.addCommand(init);

apps/cli/src/utils/get-package-info.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)