shipvo 0.0.1 → 0.0.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/bin/shipvo.js +2 -1
- package/package.json +2 -2
package/bin/shipvo.js
CHANGED
|
@@ -5,4 +5,5 @@ import { pathToFileURL } from "node:url";
|
|
|
5
5
|
const require = createRequire(import.meta.url);
|
|
6
6
|
const pkg = require.resolve("@shipvo/cli/package.json");
|
|
7
7
|
const bin = require("@shipvo/cli/package.json").bin.shipvo;
|
|
8
|
-
|
|
8
|
+
// Import the file URL itself. Its path part is "/C:/..." on Windows, and pathToFileURL made that C:/C:/... (#573).
|
|
9
|
+
await import(new URL(bin, pathToFileURL(pkg)).href);
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"url": "git+https://github.com/shipvo/shipvo.git",
|
|
19
19
|
"directory": "packages/shipvo"
|
|
20
20
|
},
|
|
21
|
-
"version": "0.0.
|
|
21
|
+
"version": "0.0.2",
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"type": "module",
|
|
24
24
|
"homepage": "https://shipvo.dev",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"node": ">=20"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@shipvo/cli": "^0.1.
|
|
40
|
+
"@shipvo/cli": "^0.1.6"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"test": "node --test test/bin.test.mjs"
|