@tooee/ask 0.1.0 → 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 +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/launch.js +1 -1
- package/dist/launch.js.map +1 -1
- package/package.json +16 -6
- package/src/index.ts +3 -3
- package/src/launch.tsx +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Ask } from "./Ask.
|
|
2
|
-
export { launch } from "./launch.
|
|
3
|
-
export type { AskLaunchOptions } from "./launch.
|
|
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,
|
|
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.
|
|
2
|
-
export { launch } from "./launch.
|
|
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,
|
|
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.
|
|
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
|
}
|
package/dist/launch.js.map
CHANGED
|
@@ -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,
|
|
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
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Terminal text input gathering",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Gareth Andrew",
|
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://github.com/gingerhendrix/tooee",
|
|
13
13
|
"bugs": "https://github.com/gingerhendrix/tooee/issues",
|
|
14
|
-
"keywords": [
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tui",
|
|
16
|
+
"terminal",
|
|
17
|
+
"cli",
|
|
18
|
+
"opentui",
|
|
19
|
+
"input",
|
|
20
|
+
"prompt"
|
|
21
|
+
],
|
|
15
22
|
"type": "module",
|
|
16
23
|
"exports": {
|
|
17
24
|
".": {
|
|
@@ -21,14 +28,17 @@
|
|
|
21
28
|
}
|
|
22
29
|
}
|
|
23
30
|
},
|
|
24
|
-
"files": [
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"src"
|
|
34
|
+
],
|
|
25
35
|
"scripts": {
|
|
26
36
|
"typecheck": "tsc --noEmit"
|
|
27
37
|
},
|
|
28
38
|
"dependencies": {
|
|
29
|
-
"@tooee/commands": "0.
|
|
30
|
-
"@tooee/themes": "0.
|
|
31
|
-
"@tooee/shell": "0.
|
|
39
|
+
"@tooee/commands": "0.1.4",
|
|
40
|
+
"@tooee/themes": "0.1.4",
|
|
41
|
+
"@tooee/shell": "0.1.4"
|
|
32
42
|
},
|
|
33
43
|
"devDependencies": {
|
|
34
44
|
"@opentui/core": "^0.1.67",
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Ask } from "./Ask.
|
|
2
|
-
export { launch } from "./launch.
|
|
3
|
-
export type { AskLaunchOptions } from "./launch.
|
|
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.
|
|
3
|
+
import { Ask } from "./Ask.js"
|
|
4
4
|
import type { AskOptions } from "./types.js"
|
|
5
5
|
|
|
6
6
|
export interface AskLaunchOptions extends AskOptions {
|