universal-dev-standards 3.1.0 → 3.2.0

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.
Files changed (2) hide show
  1. package/bin/uds.js +5 -1
  2. package/package.json +1 -1
package/bin/uds.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import { createRequire } from 'node:module';
3
4
  import { program } from 'commander';
4
5
  import { listCommand } from '../src/commands/list.js';
5
6
  import { initCommand } from '../src/commands/init.js';
@@ -7,10 +8,13 @@ import { checkCommand } from '../src/commands/check.js';
7
8
  import { updateCommand } from '../src/commands/update.js';
8
9
  import { configureCommand } from '../src/commands/configure.js';
9
10
 
11
+ const require = createRequire(import.meta.url);
12
+ const pkg = require('../package.json');
13
+
10
14
  program
11
15
  .name('uds')
12
16
  .description('CLI tool for adopting Universal Development Standards')
13
- .version('3.0.0');
17
+ .version(pkg.version);
14
18
 
15
19
  program
16
20
  .command('list')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-dev-standards",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "CLI tool for adopting Universal Development Standards",
5
5
  "keywords": [
6
6
  "documentation",