mddd-cli 1.0.7 → 1.0.8
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/bin/cli.js +1 -4
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -4,9 +4,6 @@ import { Command } from 'commander';
|
|
|
4
4
|
import fs from 'fs';
|
|
5
5
|
import path from 'path';
|
|
6
6
|
import pc from 'picocolors';
|
|
7
|
-
import { createRequire } from 'module';
|
|
8
|
-
const require = createRequire(import.meta.url);
|
|
9
|
-
const pkg = require('./package.json');
|
|
10
7
|
|
|
11
8
|
const program = new Command();
|
|
12
9
|
|
|
@@ -34,7 +31,7 @@ function findClosestMacro(currentDir) {
|
|
|
34
31
|
program
|
|
35
32
|
.name('md')
|
|
36
33
|
.description('Manager for co-located specifications for Mermaid Diagram Driven Development (MDDD)')
|
|
37
|
-
.version(
|
|
34
|
+
.version('1.0.8');
|
|
38
35
|
|
|
39
36
|
// ==========================================
|
|
40
37
|
// COMMAND: md init
|