@vlandoss/localproxy 0.0.11-git-9445806.0 → 0.0.11-git-4147190.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 +2 -1
- package/dist/bin.mjs +2 -1
- package/package.json +10 -5
package/bin.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
4
5
|
import { main } from "./src/main";
|
|
5
6
|
|
|
6
7
|
main({
|
|
7
|
-
binDir:
|
|
8
|
+
binDir: path.dirname(fileURLToPath(import.meta.url)),
|
|
8
9
|
installDir: path.join(homedir(), ".localproxy"),
|
|
9
10
|
});
|
package/dist/bin.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { homedir } from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
4
5
|
import { createPkgService, createShellService, getVersion, palette } from "@vlandoss/clibuddy";
|
|
5
6
|
import { createCommand } from "commander";
|
|
6
7
|
import * as fs$2 from "node:fs";
|
|
@@ -408,7 +409,7 @@ async function main(options) {
|
|
|
408
409
|
//#endregion
|
|
409
410
|
//#region bin.ts
|
|
410
411
|
main({
|
|
411
|
-
binDir:
|
|
412
|
+
binDir: path.dirname(fileURLToPath(import.meta.url)),
|
|
412
413
|
installDir: path.join(homedir(), ".localproxy")
|
|
413
414
|
});
|
|
414
415
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vlandoss/localproxy",
|
|
3
|
-
"version": "0.0.11-git-
|
|
3
|
+
"version": "0.0.11-git-4147190.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": {
|
|
@@ -14,6 +14,10 @@
|
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": "rcrd <rcrd@variable.land>",
|
|
16
16
|
"type": "module",
|
|
17
|
+
"imports": {
|
|
18
|
+
"#/*": "./src/*",
|
|
19
|
+
"#test/*": "./test/*"
|
|
20
|
+
},
|
|
17
21
|
"bin": {
|
|
18
22
|
"localproxy": "./dist/bin.mjs",
|
|
19
23
|
"localp": "./dist/bin.mjs"
|
|
@@ -30,8 +34,8 @@
|
|
|
30
34
|
"dependencies": {
|
|
31
35
|
"@inquirer/prompts": "8.3.0",
|
|
32
36
|
"commander": "14.0.3",
|
|
33
|
-
"@vlandoss/clibuddy": "0.0.11-git-
|
|
34
|
-
"@vlandoss/loggy": "0.0.8-git-
|
|
37
|
+
"@vlandoss/clibuddy": "0.0.11-git-4147190.0",
|
|
38
|
+
"@vlandoss/loggy": "0.0.8-git-4147190.0"
|
|
35
39
|
},
|
|
36
40
|
"publishConfig": {
|
|
37
41
|
"access": "public"
|
|
@@ -41,11 +45,12 @@
|
|
|
41
45
|
"bun": ">=1.0.0"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
|
-
"@vlandoss/tsdown-config": "^0.0.2-git-
|
|
48
|
+
"@vlandoss/tsdown-config": "^0.0.2-git-4147190.0"
|
|
45
49
|
},
|
|
46
50
|
"scripts": {
|
|
47
51
|
"build": "tsdown",
|
|
48
|
-
"test": "
|
|
52
|
+
"test": "vitest run",
|
|
53
|
+
"test:unit": "vitest run --project unit",
|
|
49
54
|
"test:types": "rr tsc"
|
|
50
55
|
}
|
|
51
56
|
}
|