@tooee/ask 0.1.3 → 0.1.4

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { Ask } from "./Ask.jsx";
2
- export { launch } from "./launch.jsx";
3
- export type { AskLaunchOptions } from "./launch.jsx";
1
+ export { Ask } from "./Ask.js";
2
+ export { launch } from "./launch.js";
3
+ export type { AskLaunchOptions } from "./launch.js";
4
4
  export type { AskOptions } from "./types.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AACpD,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACnD,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { Ask } from "./Ask.jsx";
2
- export { launch } from "./launch.jsx";
1
+ export { Ask } from "./Ask.js";
2
+ export { launch } from "./launch.js";
3
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA"}
package/dist/launch.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "@opentui/react/jsx-runtime";
2
2
  import { launchCli } from "@tooee/shell";
3
- import { Ask } from "./Ask.jsx";
3
+ import { Ask } from "./Ask.js";
4
4
  export async function launch(options) {
5
5
  await launchCli(_jsx(Ask, { prompt: options.prompt, placeholder: options.placeholder, defaultValue: options.defaultValue, actions: options.actions }));
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"launch.js","sourceRoot":"","sources":["../src/launch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAO/B,MAAM,CAAC,KAAK,UAAU,MAAM,CAAC,OAAyB;IACpD,MAAM,SAAS,CACb,KAAC,GAAG,IACF,MAAM,EAAE,OAAO,CAAC,MAAM,EACtB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,YAAY,EAAE,OAAO,CAAC,YAAY,EAClC,OAAO,EAAE,OAAO,CAAC,OAAO,GACxB,CACH,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"launch.js","sourceRoot":"","sources":["../src/launch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAO9B,MAAM,CAAC,KAAK,UAAU,MAAM,CAAC,OAAyB;IACpD,MAAM,SAAS,CACb,KAAC,GAAG,IACF,MAAM,EAAE,OAAO,CAAC,MAAM,EACtB,WAAW,EAAE,OAAO,CAAC,WAAW,EAChC,YAAY,EAAE,OAAO,CAAC,YAAY,EAClC,OAAO,EAAE,OAAO,CAAC,OAAO,GACxB,CACH,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tooee/ask",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Terminal text input gathering",
5
5
  "license": "MIT",
6
6
  "author": "Gareth Andrew",
@@ -36,9 +36,9 @@
36
36
  "typecheck": "tsc --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@tooee/commands": "0.1.3",
40
- "@tooee/themes": "0.1.3",
41
- "@tooee/shell": "0.1.3"
39
+ "@tooee/commands": "0.1.4",
40
+ "@tooee/themes": "0.1.4",
41
+ "@tooee/shell": "0.1.4"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@opentui/core": "^0.1.67",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { Ask } from "./Ask.jsx"
2
- export { launch } from "./launch.jsx"
3
- export type { AskLaunchOptions } from "./launch.jsx"
1
+ export { Ask } from "./Ask.js"
2
+ export { launch } from "./launch.js"
3
+ export type { AskLaunchOptions } from "./launch.js"
4
4
  export type { AskOptions } from "./types.js"
package/src/launch.tsx CHANGED
@@ -1,6 +1,6 @@
1
1
  import { launchCli } from "@tooee/shell"
2
2
  import type { ActionDefinition } from "@tooee/commands"
3
- import { Ask } from "./Ask.jsx"
3
+ import { Ask } from "./Ask.js"
4
4
  import type { AskOptions } from "./types.js"
5
5
 
6
6
  export interface AskLaunchOptions extends AskOptions {