@openpkg-ts/cli 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @openpkg-ts/cli
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - pull version from package.json instead of hardcoding
8
+
3
9
  ## 0.2.1
4
10
 
5
11
  ### Patch Changes
package/bin/openpkg.ts CHANGED
@@ -5,13 +5,14 @@ import { Command } from 'commander';
5
5
  import { createDiffCommand } from '../src/commands/diff';
6
6
  import { createDocsCommand } from '../src/commands/docs';
7
7
  import { createSnapshotCommand } from '../src/commands/snapshot';
8
+ import pkg from '../package.json';
8
9
 
9
10
  const program = new Command();
10
11
 
11
12
  program
12
13
  .name('openpkg')
13
14
  .description('OpenPkg CLI - TypeScript API extraction primitives')
14
- .version('0.1.0');
15
+ .version(pkg.version);
15
16
 
16
17
  program
17
18
  .command('list')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpkg-ts/cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "CLI for OpenPkg TypeScript API extraction and documentation generation",
5
5
  "homepage": "https://github.com/ryanwaits/openpkg-ts#readme",
6
6
  "repository": {