@vlandoss/localproxy 0.1.1-git-f48b7a0.0 → 0.1.1-git-344cd29.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/dist/bin.mjs CHANGED
@@ -298,10 +298,10 @@ var FileService = class {
298
298
  };
299
299
  //#endregion
300
300
  //#region src/commands/setup.ts
301
+ const debug = logger.subdebug("setup");
301
302
  async function exists(p) {
302
303
  return fs$1.access(p).then(() => true).catch(() => false);
303
304
  }
304
- const debug = logger.subdebug("setup");
305
305
  async function checkInternalTools() {
306
306
  const { $ } = quietShell;
307
307
  const caddyVersion = await $`caddy --version`.nothrow();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/localproxy",
3
- "version": "0.1.1-git-f48b7a0.0",
3
+ "version": "0.1.1-git-344cd29.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": {
@@ -33,8 +33,8 @@
33
33
  "dependencies": {
34
34
  "@inquirer/prompts": "8.3.0",
35
35
  "commander": "14.0.3",
36
- "@vlandoss/clibuddy": "0.1.1-git-f48b7a0.0",
37
- "@vlandoss/loggy": "0.1.1-git-f48b7a0.0"
36
+ "@vlandoss/loggy": "0.1.1-git-344cd29.0",
37
+ "@vlandoss/clibuddy": "0.1.1-git-344cd29.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
@@ -1,13 +1,5 @@
1
1
  import * as fs from "node:fs/promises";
2
2
  import path from "node:path";
3
-
4
- async function exists(p: string): Promise<boolean> {
5
- return fs
6
- .access(p)
7
- .then(() => true)
8
- .catch(() => false);
9
- }
10
-
11
3
  import { editor as editorPrompt } from "@inquirer/prompts";
12
4
  import { createCommand } from "commander";
13
5
  import { CaddyService } from "#/services/caddy";
@@ -24,6 +16,13 @@ type CommandOptions = {
24
16
 
25
17
  const debug = logger.subdebug("setup");
26
18
 
19
+ async function exists(p: string): Promise<boolean> {
20
+ return fs
21
+ .access(p)
22
+ .then(() => true)
23
+ .catch(() => false);
24
+ }
25
+
27
26
  async function checkInternalTools() {
28
27
  const { $ } = quietShell;
29
28