@vlandoss/clibuddy 0.0.11-git-06df4ba.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vlandoss/clibuddy",
3
- "version": "0.0.11-git-06df4ba.0",
3
+ "version": "0.0.11-git-4147190.0",
4
4
  "description": "A helper library to create CLIs in Variable Land",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/packages/clibuddy#readme",
6
6
  "bugs": {
@@ -42,7 +42,7 @@
42
42
  "bun": ">=1.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vlandoss/tsdown-config": "^0.0.2-git-06df4ba.0"
45
+ "@vlandoss/tsdown-config": "^0.0.2-git-4147190.0"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsdown",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./colors";
2
- export * from "./run";
3
- export * from "./services";
4
- export * from "./version";
1
+ export * from "./colors.ts";
2
+ export * from "./run.ts";
3
+ export * from "./services/index.ts";
4
+ export * from "./version.ts";
package/src/run.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { isProcessOutput } from "./services/shell/utils";
1
+ import { isProcessOutput } from "./services/shell/utils.ts";
2
2
 
3
3
  function hasMessage(error: unknown): error is { message: string } {
4
4
  return (
@@ -1,2 +1,2 @@
1
- export * from "./pkg";
2
- export * from "./shell";
1
+ export * from "./pkg.ts";
2
+ export * from "./shell/index.ts";
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
- import { ShellService } from "./shell";
3
- import type { CreateOptions } from "./types";
4
- import { getPreferLocal } from "./utils";
2
+ import { ShellService } from "./shell.ts";
3
+ import type { CreateOptions } from "./types.ts";
4
+ import { getPreferLocal } from "./utils.ts";
5
5
 
6
6
  export const cwd = fs.realpathSync(process.cwd());
7
7
 
@@ -1,4 +1,4 @@
1
- export * from "./create";
2
- export * from "./shell";
3
- export * from "./types";
4
- export * from "./utils";
1
+ export * from "./create.ts";
2
+ export * from "./shell.ts";
3
+ export * from "./types.ts";
4
+ export * from "./utils.ts";
@@ -1,6 +1,6 @@
1
1
  import { $ as make$ } from "zx";
2
- import type { Shell, ShellOptions } from "./types";
3
- import { getPreferLocal } from "./utils";
2
+ import type { Shell, ShellOptions } from "./types.ts";
3
+ import { getPreferLocal } from "./utils.ts";
4
4
 
5
5
  export class ShellService {
6
6
  #shell: Shell;
package/src/version.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { PkgService } from "./services";
1
+ import type { PkgService } from "./services/index.ts";
2
2
 
3
3
  export function getVersion(pkg: PkgService) {
4
4
  return process.env.VERSION || pkg.packageJson.version;