@optique/clack 1.2.0-dev.0 → 1.2.0-dev.2192

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.cjs CHANGED
@@ -77,7 +77,7 @@ function getConfigDefault(config) {
77
77
  }
78
78
  async function executePromptRaw(config) {
79
79
  const cfg = config;
80
- const type = config.type;
80
+ const type = cfg.type;
81
81
  if (!isPromptType(type)) throw new TypeError(`Unsupported prompt type: ${String(type)}.`);
82
82
  const prompts = getPromptFunctions();
83
83
  if ("prompter" in cfg && cfg.prompter != null) {
package/dist/index.js CHANGED
@@ -54,7 +54,7 @@ function getConfigDefault(config) {
54
54
  }
55
55
  async function executePromptRaw(config) {
56
56
  const cfg = config;
57
- const type = config.type;
57
+ const type = cfg.type;
58
58
  if (!isPromptType(type)) throw new TypeError(`Unsupported prompt type: ${String(type)}.`);
59
59
  const prompts = getPromptFunctions();
60
60
  if ("prompter" in cfg && cfg.prompter != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/clack",
3
- "version": "1.2.0-dev.0",
3
+ "version": "1.2.0-dev.2192",
4
4
  "description": "Interactive prompt support for Optique via Clack",
5
5
  "keywords": [
6
6
  "CLI",
@@ -30,7 +30,7 @@
30
30
  "https://github.com/sponsors/dahlia"
31
31
  ],
32
32
  "engines": {
33
- "node": ">=20.0.0",
33
+ "node": ">=20.12.0",
34
34
  "bun": ">=1.2.0",
35
35
  "deno": ">=2.3.0"
36
36
  },
@@ -62,16 +62,16 @@
62
62
  "sideEffects": false,
63
63
  "dependencies": {
64
64
  "@clack/prompts": "^1.6.0",
65
- "@optique/core": "1.2.0",
66
- "@optique/prompt": "1.2.0"
65
+ "@optique/core": "1.2.0-dev.2192+fbd9db90",
66
+ "@optique/prompt": "1.2.0-dev.2192+fbd9db90"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "^24.0.0",
70
70
  "fast-check": "^4.7.0",
71
71
  "tsdown": "^0.13.0",
72
72
  "typescript": "^5.8.3",
73
- "@optique/run": "1.2.0",
74
- "@optique/env": "1.2.0"
73
+ "@optique/run": "1.2.0-dev.2192+fbd9db90",
74
+ "@optique/env": "1.2.0-dev.2192+fbd9db90"
75
75
  },
76
76
  "scripts": {
77
77
  "build": "tsdown",