@vlandoss/run-run 0.0.22-git-9445806.0 → 0.0.22-git-06df4ba.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.
Files changed (3) hide show
  1. package/bin.ts +3 -1
  2. package/dist/bin.mjs +3 -2
  3. package/package.json +4 -4
package/bin.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env bun
2
+ import { dirname } from "node:path";
3
+ import { fileURLToPath } from "node:url";
2
4
  import { main } from "./src/main";
3
5
 
4
6
  main({
5
- binDir: __dirname,
7
+ binDir: dirname(fileURLToPath(import.meta.url)),
6
8
  });
package/dist/bin.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from "node:module";
3
+ import path, { dirname } from "node:path";
4
+ import { fileURLToPath } from "node:url";
3
5
  import { colorIsSupported, colorize, createPkgService, createShellService, cwd, getVersion, palette, run } from "@vlandoss/clibuddy";
4
6
  import { Option, createCommand } from "commander";
5
7
  import fs from "node:fs";
@@ -10,7 +12,6 @@ import { glob } from "glob";
10
12
  import { rimraf } from "rimraf";
11
13
  import isCI from "is-ci";
12
14
  import memoize from "memoize";
13
- import path from "node:path";
14
15
  //#region \0rolldown/runtime.js
15
16
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
16
17
  //#endregion
@@ -594,6 +595,6 @@ async function main(options) {
594
595
  }
595
596
  //#endregion
596
597
  //#region bin.ts
597
- main({ binDir: __dirname });
598
+ main({ binDir: dirname(fileURLToPath(import.meta.url)) });
598
599
  //#endregion
599
600
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/run-run",
3
- "version": "0.0.22-git-9445806.0",
3
+ "version": "0.0.22-git-06df4ba.0",
4
4
  "description": "The CLI toolbox to fullstack common scripts in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/run-run#readme",
6
6
  "bugs": {
@@ -57,8 +57,8 @@
57
57
  "rimraf": "6.1.3",
58
58
  "tsdown": "0.21.10",
59
59
  "typescript": "5.9.3",
60
- "@vlandoss/clibuddy": "0.0.11-git-9445806.0",
61
- "@vlandoss/loggy": "0.0.8-git-9445806.0"
60
+ "@vlandoss/loggy": "0.0.8-git-06df4ba.0",
61
+ "@vlandoss/clibuddy": "0.0.11-git-06df4ba.0"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public"
@@ -68,7 +68,7 @@
68
68
  "bun": ">=1.0.0"
69
69
  },
70
70
  "devDependencies": {
71
- "@vlandoss/tsdown-config": "^0.0.2-git-9445806.0"
71
+ "@vlandoss/tsdown-config": "^0.0.2-git-06df4ba.0"
72
72
  },
73
73
  "scripts": {
74
74
  "build": "tsdown",