Version reported is incorrect
willosborne opened this issue · comments
Will Osborne commented
Bug Report
--version always prints 0.1.0 because it's hard coded. This should report current version (without hard coding)
Steps to Reproduce:
- Install version 0.1.4
- Run --version
- See output
Expected Result:
0.1.4
Actual Result:
0.1.0
Proposed solution
Use the following code in index.ts:
import {version} from './package.json';
and then print that instead of a hardcoded string.