@dx-pkg/mksymlink 1.0.2 → 1.0.4

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/README.md CHANGED
@@ -15,7 +15,7 @@ Cross-platform symbolic link creation tool for macOS, Windows, and Linux.
15
15
  ## Installation
16
16
 
17
17
  ```bash
18
- npm install @dx-pkg/mksymlink
18
+ npm install -g @dx-pkg/mksymlink
19
19
  ```
20
20
 
21
21
  ## Quick Start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dx-pkg/mksymlink",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Create symbolic links across platforms (macOS, Windows)",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",
@@ -4,11 +4,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const commander_1 = require("commander");
5
5
  const mksymlink_command_factory_1 = require("./create/mksymlink.command-factory");
6
6
  const config_command_factory_1 = require("./config/config.command-factory");
7
+ const { version } = require('../../package.json');
7
8
  const program = new commander_1.Command();
8
9
  program
9
10
  .name('mksymlink')
10
11
  .description('Create symbolic links across platforms (macOS, Windows, Linux)')
11
- .version('1.0.0');
12
+ .version(version);
12
13
  program
13
14
  .command('create')
14
15
  .description('Create a symbolic link')