@vlandoss/run-run 0.1.3 → 0.1.4-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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { dirname } from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- import { main } from "./src/main.ts";
4
+ import { main } from "./dist/main.mjs";
5
5
 
6
6
  main({
7
7
  binDir: dirname(fileURLToPath(import.meta.url)),
@@ -1,7 +1,4 @@
1
- #!/usr/bin/env node
2
1
  import { createRequire } from "node:module";
3
- import path, { dirname } from "node:path";
4
- import { fileURLToPath } from "node:url";
5
2
  import { colorIsSupported, colorize, createPkgService, createShellService, cwd, getVersion, palette, run } from "@vlandoss/clibuddy";
6
3
  import { Option, createCommand } from "commander";
7
4
  import fs from "node:fs";
@@ -12,6 +9,7 @@ import { glob } from "glob";
12
9
  import { rimraf } from "rimraf";
13
10
  import isCI from "is-ci";
14
11
  import memoize from "memoize";
12
+ import path from "node:path";
15
13
  //#region \0rolldown/runtime.js
16
14
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
17
15
  //#endregion
@@ -597,7 +595,4 @@ async function main(options) {
597
595
  }, logger);
598
596
  }
599
597
  //#endregion
600
- //#region bin.ts
601
- main({ binDir: dirname(fileURLToPath(import.meta.url)) });
602
- //#endregion
603
- export {};
598
+ export { main };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/run-run",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-git-c3e109d.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": {
@@ -29,15 +29,15 @@
29
29
  }
30
30
  },
31
31
  "bin": {
32
- "rr": "./dist/bin.mjs",
33
- "run-run": "./dist/bin.mjs",
32
+ "rr": "./bin.mjs",
33
+ "run-run": "./bin.mjs",
34
34
  "biome": "./tools/biome",
35
35
  "oxfmt": "./tools/oxfmt",
36
36
  "oxlint": "./tools/oxlint",
37
37
  "tsdown": "./tools/tsdown"
38
38
  },
39
39
  "files": [
40
- "bin.ts",
40
+ "bin.mjs",
41
41
  "dist",
42
42
  "src",
43
43
  "!src/**/__tests__",