@vlandoss/localproxy 0.1.2 → 0.1.3-git-c3e109d.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.
- package/{bin.ts → bin.mjs} +1 -1
- package/dist/{bin.mjs → main.mjs} +1 -10
- package/package.json +4 -4
package/{bin.ts → bin.mjs}
RENAMED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { homedir } from "node:os";
|
|
3
1
|
import path from "node:path";
|
|
4
|
-
import { fileURLToPath } from "node:url";
|
|
5
2
|
import { createPkgService, createShellService, getVersion, palette } from "@vlandoss/clibuddy";
|
|
6
3
|
import { createCommand } from "commander";
|
|
7
4
|
import * as fs$2 from "node:fs";
|
|
@@ -410,10 +407,4 @@ async function main(options) {
|
|
|
410
407
|
}
|
|
411
408
|
}
|
|
412
409
|
//#endregion
|
|
413
|
-
|
|
414
|
-
main({
|
|
415
|
-
binDir: path.dirname(fileURLToPath(import.meta.url)),
|
|
416
|
-
installDir: path.join(homedir(), ".localproxy")
|
|
417
|
-
});
|
|
418
|
-
//#endregion
|
|
419
|
-
export {};
|
|
410
|
+
export { main };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vlandoss/localproxy",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-git-c3e109d.0",
|
|
4
4
|
"description": "Simple local development proxy automation",
|
|
5
5
|
"homepage": "https://github.com/variableland/dx/tree/main/packages/localproxy#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"#/*": "./src/*"
|
|
19
19
|
},
|
|
20
20
|
"bin": {
|
|
21
|
-
"localproxy": "./
|
|
22
|
-
"localp": "./
|
|
21
|
+
"localproxy": "./bin.mjs",
|
|
22
|
+
"localp": "./bin.mjs"
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
|
-
"bin.
|
|
25
|
+
"bin.mjs",
|
|
26
26
|
"dist",
|
|
27
27
|
"src",
|
|
28
28
|
"!src/**/__tests__",
|