Commit 51cf315
unknown
fix(codegen): use getPackageJson for --version instead of hardcoded '0.0.1'
Uses getPackageJson(__dirname) from inquirerer to read the actual
package.json version at runtime, matching the pattern used by cnc
and pgpm CLIs.1 parent 64cb55d commit 51cf315
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments