devlyn-cli 4.2.0 → 4.2.1
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/README.md +4 -2
- package/bin/devlyn.js +170 -143
- package/bin/skill-history.json +140 -0
- package/bin/skill-ownership.js +67 -0
- package/node_modules/@inquirer/ansi/LICENSE +22 -0
- package/node_modules/@inquirer/ansi/README.md +121 -0
- package/node_modules/@inquirer/ansi/dist/index.d.ts +14 -0
- package/node_modules/@inquirer/ansi/dist/index.js +21 -0
- package/node_modules/@inquirer/ansi/package.json +79 -0
- package/node_modules/@inquirer/checkbox/LICENSE +22 -0
- package/node_modules/@inquirer/checkbox/README.md +265 -0
- package/node_modules/@inquirer/checkbox/dist/index.d.ts +67 -0
- package/node_modules/@inquirer/checkbox/dist/index.js +210 -0
- package/node_modules/@inquirer/checkbox/package.json +93 -0
- package/node_modules/@inquirer/core/LICENSE +22 -0
- package/node_modules/@inquirer/core/README.md +424 -0
- package/node_modules/@inquirer/core/dist/index.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/index.js +12 -0
- package/node_modules/@inquirer/core/dist/lib/Separator.d.ts +10 -0
- package/node_modules/@inquirer/core/dist/lib/Separator.js +21 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p1.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p1.js +4 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p2.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p2.js +3 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p3.d.ts +9 -0
- package/node_modules/@inquirer/core/dist/lib/__probe/p3.js +5 -0
- package/node_modules/@inquirer/core/dist/lib/create-prompt.d.ts +11 -0
- package/node_modules/@inquirer/core/dist/lib/create-prompt.js +185 -0
- package/node_modules/@inquirer/core/dist/lib/errors.d.ts +20 -0
- package/node_modules/@inquirer/core/dist/lib/errors.js +21 -0
- package/node_modules/@inquirer/core/dist/lib/hook-engine.d.ts +17 -0
- package/node_modules/@inquirer/core/dist/lib/hook-engine.js +109 -0
- package/node_modules/@inquirer/core/dist/lib/key.d.ts +15 -0
- package/node_modules/@inquirer/core/dist/lib/key.js +34 -0
- package/node_modules/@inquirer/core/dist/lib/make-theme.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/lib/make-theme.js +33 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.d.ts +15 -0
- package/node_modules/@inquirer/core/dist/lib/pagination/use-pagination.js +121 -0
- package/node_modules/@inquirer/core/dist/lib/screen-manager.d.ts +14 -0
- package/node_modules/@inquirer/core/dist/lib/screen-manager.js +84 -0
- package/node_modules/@inquirer/core/dist/lib/theme.d.ts +166 -0
- package/node_modules/@inquirer/core/dist/lib/theme.js +29 -0
- package/node_modules/@inquirer/core/dist/lib/use-effect.d.ts +2 -0
- package/node_modules/@inquirer/core/dist/lib/use-effect.js +11 -0
- package/node_modules/@inquirer/core/dist/lib/use-keypress.d.ts +3 -0
- package/node_modules/@inquirer/core/dist/lib/use-keypress.js +20 -0
- package/node_modules/@inquirer/core/dist/lib/use-memo.d.ts +1 -0
- package/node_modules/@inquirer/core/dist/lib/use-memo.js +14 -0
- package/node_modules/@inquirer/core/dist/lib/use-prefix.d.ts +5 -0
- package/node_modules/@inquirer/core/dist/lib/use-prefix.js +35 -0
- package/node_modules/@inquirer/core/dist/lib/use-ref.d.ts +6 -0
- package/node_modules/@inquirer/core/dist/lib/use-ref.js +4 -0
- package/node_modules/@inquirer/core/dist/lib/use-state.d.ts +7 -0
- package/node_modules/@inquirer/core/dist/lib/use-state.js +28 -0
- package/node_modules/@inquirer/core/dist/lib/utils.d.ts +13 -0
- package/node_modules/@inquirer/core/dist/lib/utils.js +25 -0
- package/node_modules/@inquirer/core/package.json +98 -0
- package/node_modules/@inquirer/figures/LICENSE +22 -0
- package/node_modules/@inquirer/figures/dist/index.d.ts +275 -0
- package/node_modules/@inquirer/figures/dist/index.js +315 -0
- package/node_modules/@inquirer/figures/package.json +81 -0
- package/node_modules/@inquirer/select/LICENSE +22 -0
- package/node_modules/@inquirer/select/README.md +258 -0
- package/node_modules/@inquirer/select/dist/index.d.ts +42 -0
- package/node_modules/@inquirer/select/dist/index.js +191 -0
- package/node_modules/@inquirer/select/package.json +93 -0
- package/node_modules/@inquirer/type/LICENSE +22 -0
- package/node_modules/@inquirer/type/dist/index.d.ts +2 -0
- package/node_modules/@inquirer/type/dist/index.js +2 -0
- package/node_modules/@inquirer/type/dist/inquirer.d.ts +35 -0
- package/node_modules/@inquirer/type/dist/inquirer.js +1 -0
- package/node_modules/@inquirer/type/dist/utils.d.ts +45 -0
- package/node_modules/@inquirer/type/dist/utils.js +16 -0
- package/node_modules/@inquirer/type/package.json +88 -0
- package/node_modules/cli-width/LICENSE +13 -0
- package/node_modules/cli-width/README.md +71 -0
- package/node_modules/cli-width/index.d.ts +13 -0
- package/node_modules/cli-width/index.js +49 -0
- package/node_modules/cli-width/package.json +40 -0
- package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/index.js +111 -0
- package/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
- package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
- package/node_modules/fast-string-truncated-width/license +21 -0
- package/node_modules/fast-string-truncated-width/package.json +35 -0
- package/node_modules/fast-string-truncated-width/readme.md +59 -0
- package/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-width/dist/index.js +14 -0
- package/node_modules/fast-string-width/license +21 -0
- package/node_modules/fast-string-width/package.json +34 -0
- package/node_modules/fast-string-width/readme.md +42 -0
- package/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/node_modules/fast-wrap-ansi/README.md +26 -0
- package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/node_modules/fast-wrap-ansi/lib/main.js +218 -0
- package/node_modules/fast-wrap-ansi/package.json +51 -0
- package/node_modules/mute-stream/LICENSE +15 -0
- package/node_modules/mute-stream/README.md +68 -0
- package/node_modules/mute-stream/lib/index.js +142 -0
- package/node_modules/mute-stream/package.json +54 -0
- package/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/signal-exit/README.md +74 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/node_modules/signal-exit/package.json +106 -0
- package/package.json +16 -2
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { createPrompt, useState, useKeypress, usePrefix, usePagination, useMemo, makeTheme, isUpKey, isDownKey, isSpaceKey, isNumberKey, isEnterKey, ValidationError, Separator, } from '@inquirer/core';
|
|
2
|
+
import { cursorHide } from '@inquirer/ansi';
|
|
3
|
+
import { styleText } from 'node:util';
|
|
4
|
+
import figures from '@inquirer/figures';
|
|
5
|
+
const checkboxTheme = {
|
|
6
|
+
icon: {
|
|
7
|
+
checked: styleText('green', figures.circleFilled),
|
|
8
|
+
unchecked: figures.circle,
|
|
9
|
+
cursor: figures.pointer,
|
|
10
|
+
disabledChecked: styleText('green', figures.circleDouble),
|
|
11
|
+
disabledUnchecked: '-',
|
|
12
|
+
},
|
|
13
|
+
style: {
|
|
14
|
+
disabled: (text) => styleText('dim', text),
|
|
15
|
+
renderSelectedChoices: (selectedChoices) => selectedChoices.map((choice) => choice.short).join(', '),
|
|
16
|
+
description: (text) => styleText('cyan', text),
|
|
17
|
+
keysHelpTip: (keys) => keys
|
|
18
|
+
.map(([key, action]) => `${styleText('bold', key)} ${styleText('dim', action)}`)
|
|
19
|
+
.join(styleText('dim', ' • ')),
|
|
20
|
+
},
|
|
21
|
+
i18n: { disabledError: 'This option is disabled and cannot be toggled.' },
|
|
22
|
+
};
|
|
23
|
+
function isSelectable(item) {
|
|
24
|
+
return !Separator.isSeparator(item) && !item.disabled;
|
|
25
|
+
}
|
|
26
|
+
function isNavigable(item) {
|
|
27
|
+
return !Separator.isSeparator(item);
|
|
28
|
+
}
|
|
29
|
+
function isChecked(item) {
|
|
30
|
+
return !Separator.isSeparator(item) && item.checked;
|
|
31
|
+
}
|
|
32
|
+
function toggle(item) {
|
|
33
|
+
return isSelectable(item) ? { ...item, checked: !item.checked } : item;
|
|
34
|
+
}
|
|
35
|
+
function check(checked) {
|
|
36
|
+
return function (item) {
|
|
37
|
+
return isSelectable(item) ? { ...item, checked } : item;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function normalizeChoices(choices) {
|
|
41
|
+
return choices.map((choice) => {
|
|
42
|
+
if (Separator.isSeparator(choice))
|
|
43
|
+
return choice;
|
|
44
|
+
if (typeof choice !== 'object' || choice === null || !('value' in choice)) {
|
|
45
|
+
const name = String(choice);
|
|
46
|
+
return {
|
|
47
|
+
value: choice,
|
|
48
|
+
name,
|
|
49
|
+
short: name,
|
|
50
|
+
checkedName: name,
|
|
51
|
+
disabled: false,
|
|
52
|
+
checked: false,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
const name = choice.name ?? String(choice.value);
|
|
56
|
+
const normalizedChoice = {
|
|
57
|
+
value: choice.value,
|
|
58
|
+
name,
|
|
59
|
+
short: choice.short ?? name,
|
|
60
|
+
checkedName: choice.checkedName ?? name,
|
|
61
|
+
disabled: choice.disabled ?? false,
|
|
62
|
+
checked: choice.checked ?? false,
|
|
63
|
+
};
|
|
64
|
+
if (choice.description) {
|
|
65
|
+
normalizedChoice.description = choice.description;
|
|
66
|
+
}
|
|
67
|
+
return normalizedChoice;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
export default createPrompt((config, done) => {
|
|
71
|
+
const { pageSize = 7, loop = true, required, validate = () => true } = config;
|
|
72
|
+
const shortcuts = { all: 'a', invert: 'i', ...config.shortcuts };
|
|
73
|
+
const theme = makeTheme(checkboxTheme, config.theme);
|
|
74
|
+
const { keybindings } = theme;
|
|
75
|
+
const [status, setStatus] = useState('idle');
|
|
76
|
+
const prefix = usePrefix({ status, theme });
|
|
77
|
+
const [items, setItems] = useState(normalizeChoices(config.choices));
|
|
78
|
+
const bounds = useMemo(() => {
|
|
79
|
+
const first = items.findIndex(isNavigable);
|
|
80
|
+
const last = items.findLastIndex(isNavigable);
|
|
81
|
+
if (first === -1) {
|
|
82
|
+
throw new ValidationError('[checkbox prompt] No selectable choices. All choices are disabled.');
|
|
83
|
+
}
|
|
84
|
+
return { first, last };
|
|
85
|
+
}, [items]);
|
|
86
|
+
const [active, setActive] = useState(bounds.first);
|
|
87
|
+
const [errorMsg, setError] = useState();
|
|
88
|
+
useKeypress(async (key) => {
|
|
89
|
+
if (isEnterKey(key)) {
|
|
90
|
+
const selection = items.filter(isChecked);
|
|
91
|
+
const isValid = await validate([...selection]);
|
|
92
|
+
if (required && !selection.length) {
|
|
93
|
+
setError('At least one choice must be selected');
|
|
94
|
+
}
|
|
95
|
+
else if (isValid === true) {
|
|
96
|
+
setStatus('done');
|
|
97
|
+
done(selection.map((choice) => choice.value));
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
setError(isValid || 'You must select a valid value');
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
else if (isUpKey(key, keybindings) || isDownKey(key, keybindings)) {
|
|
104
|
+
if (errorMsg) {
|
|
105
|
+
setError(undefined);
|
|
106
|
+
}
|
|
107
|
+
if (loop ||
|
|
108
|
+
(isUpKey(key, keybindings) && active !== bounds.first) ||
|
|
109
|
+
(isDownKey(key, keybindings) && active !== bounds.last)) {
|
|
110
|
+
const offset = isUpKey(key, keybindings) ? -1 : 1;
|
|
111
|
+
let next = active;
|
|
112
|
+
do {
|
|
113
|
+
next = (next + offset + items.length) % items.length;
|
|
114
|
+
} while (!isNavigable(items[next]));
|
|
115
|
+
setActive(next);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
else if (isSpaceKey(key)) {
|
|
119
|
+
const activeItem = items[active];
|
|
120
|
+
if (activeItem && !Separator.isSeparator(activeItem)) {
|
|
121
|
+
if (activeItem.disabled) {
|
|
122
|
+
setError(theme.i18n.disabledError);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
setError(undefined);
|
|
126
|
+
setItems(items.map((choice, i) => (i === active ? toggle(choice) : choice)));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
else if (key.name === shortcuts.all) {
|
|
131
|
+
const selectAll = items.some((choice) => isSelectable(choice) && !choice.checked);
|
|
132
|
+
setItems(items.map(check(selectAll)));
|
|
133
|
+
}
|
|
134
|
+
else if (key.name === shortcuts.invert) {
|
|
135
|
+
setItems(items.map(toggle));
|
|
136
|
+
}
|
|
137
|
+
else if (isNumberKey(key)) {
|
|
138
|
+
const selectedIndex = Number(key.name) - 1;
|
|
139
|
+
// Find the nth item (ignoring separators)
|
|
140
|
+
let selectableIndex = -1;
|
|
141
|
+
const position = items.findIndex((item) => {
|
|
142
|
+
if (Separator.isSeparator(item))
|
|
143
|
+
return false;
|
|
144
|
+
selectableIndex++;
|
|
145
|
+
return selectableIndex === selectedIndex;
|
|
146
|
+
});
|
|
147
|
+
const selectedItem = items[position];
|
|
148
|
+
if (selectedItem && isSelectable(selectedItem)) {
|
|
149
|
+
setActive(position);
|
|
150
|
+
setItems(items.map((choice, i) => (i === position ? toggle(choice) : choice)));
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
const message = theme.style.message(config.message, status);
|
|
155
|
+
let description;
|
|
156
|
+
const page = usePagination({
|
|
157
|
+
items,
|
|
158
|
+
active,
|
|
159
|
+
renderItem({ item, isActive }) {
|
|
160
|
+
if (Separator.isSeparator(item)) {
|
|
161
|
+
return ` ${item.separator}`;
|
|
162
|
+
}
|
|
163
|
+
const cursor = isActive ? theme.icon.cursor : ' ';
|
|
164
|
+
if (item.disabled) {
|
|
165
|
+
const disabledLabel = typeof item.disabled === 'string' ? item.disabled : '(disabled)';
|
|
166
|
+
const checkbox = item.checked
|
|
167
|
+
? theme.icon.disabledChecked
|
|
168
|
+
: theme.icon.disabledUnchecked;
|
|
169
|
+
return theme.style.disabled(`${cursor}${checkbox} ${item.name} ${disabledLabel}`);
|
|
170
|
+
}
|
|
171
|
+
if (isActive) {
|
|
172
|
+
description = item.description;
|
|
173
|
+
}
|
|
174
|
+
const checkbox = item.checked ? theme.icon.checked : theme.icon.unchecked;
|
|
175
|
+
const name = item.checked ? item.checkedName : item.name;
|
|
176
|
+
const color = isActive ? theme.style.highlight : (x) => x;
|
|
177
|
+
return color(`${cursor}${checkbox} ${name}`);
|
|
178
|
+
},
|
|
179
|
+
pageSize,
|
|
180
|
+
loop,
|
|
181
|
+
});
|
|
182
|
+
if (status === 'done') {
|
|
183
|
+
const selection = items.filter(isChecked);
|
|
184
|
+
const answer = theme.style.answer(theme.style.renderSelectedChoices(selection, items));
|
|
185
|
+
return [prefix, message, answer].filter(Boolean).join(' ');
|
|
186
|
+
}
|
|
187
|
+
const keys = [
|
|
188
|
+
['↑↓', 'navigate'],
|
|
189
|
+
['space', 'select'],
|
|
190
|
+
];
|
|
191
|
+
if (shortcuts.all)
|
|
192
|
+
keys.push([shortcuts.all, 'all']);
|
|
193
|
+
if (shortcuts.invert)
|
|
194
|
+
keys.push([shortcuts.invert, 'invert']);
|
|
195
|
+
keys.push(['⏎', 'submit']);
|
|
196
|
+
const helpLine = theme.style.keysHelpTip(keys);
|
|
197
|
+
const lines = [
|
|
198
|
+
[prefix, message].filter(Boolean).join(' '),
|
|
199
|
+
page,
|
|
200
|
+
' ',
|
|
201
|
+
description ? theme.style.description(description) : '',
|
|
202
|
+
errorMsg ? theme.style.error(errorMsg) : '',
|
|
203
|
+
helpLine,
|
|
204
|
+
]
|
|
205
|
+
.filter(Boolean)
|
|
206
|
+
.join('\n')
|
|
207
|
+
.trimEnd();
|
|
208
|
+
return `${lines}${cursorHide}`;
|
|
209
|
+
});
|
|
210
|
+
export { Separator } from '@inquirer/core';
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@inquirer/checkbox",
|
|
3
|
+
"version": "5.2.6",
|
|
4
|
+
"description": "Inquirer checkbox prompt",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"answer",
|
|
7
|
+
"answers",
|
|
8
|
+
"ask",
|
|
9
|
+
"base",
|
|
10
|
+
"cli",
|
|
11
|
+
"command",
|
|
12
|
+
"command-line",
|
|
13
|
+
"confirm",
|
|
14
|
+
"enquirer",
|
|
15
|
+
"generate",
|
|
16
|
+
"generator",
|
|
17
|
+
"hyper",
|
|
18
|
+
"input",
|
|
19
|
+
"inquire",
|
|
20
|
+
"inquirer",
|
|
21
|
+
"interface",
|
|
22
|
+
"iterm",
|
|
23
|
+
"javascript",
|
|
24
|
+
"menu",
|
|
25
|
+
"node",
|
|
26
|
+
"nodejs",
|
|
27
|
+
"prompt",
|
|
28
|
+
"promptly",
|
|
29
|
+
"prompts",
|
|
30
|
+
"question",
|
|
31
|
+
"readline",
|
|
32
|
+
"scaffold",
|
|
33
|
+
"scaffolder",
|
|
34
|
+
"scaffolding",
|
|
35
|
+
"stdin",
|
|
36
|
+
"stdout",
|
|
37
|
+
"terminal",
|
|
38
|
+
"tty",
|
|
39
|
+
"ui",
|
|
40
|
+
"yeoman",
|
|
41
|
+
"yo",
|
|
42
|
+
"zsh"
|
|
43
|
+
],
|
|
44
|
+
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/checkbox/README.md",
|
|
45
|
+
"license": "MIT",
|
|
46
|
+
"author": "Simon Boudrias <admin@simonboudrias.com>",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://github.com/SBoudrias/Inquirer.js.git"
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist"
|
|
53
|
+
],
|
|
54
|
+
"type": "module",
|
|
55
|
+
"sideEffects": false,
|
|
56
|
+
"exports": {
|
|
57
|
+
".": {
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"default": "./dist/index.js"
|
|
60
|
+
},
|
|
61
|
+
"./package.json": "./package.json"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"tsc": "tsc"
|
|
68
|
+
},
|
|
69
|
+
"dependencies": {
|
|
70
|
+
"@inquirer/ansi": "^2.0.9",
|
|
71
|
+
"@inquirer/core": "^12.0.4",
|
|
72
|
+
"@inquirer/figures": "^2.0.9",
|
|
73
|
+
"@inquirer/type": "4.2.0"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@repo/tsconfig": "0.0.0",
|
|
77
|
+
"typescript": "^6.0.2"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"@types/node": ">=18"
|
|
81
|
+
},
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"@types/node": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"engines": {
|
|
88
|
+
"node": ">=23.5.0 || ^22.13.0 || ^20.17.0"
|
|
89
|
+
},
|
|
90
|
+
"main": "./dist/index.js",
|
|
91
|
+
"types": "./dist/index.d.ts",
|
|
92
|
+
"gitHead": "a9436bd94d55a439df308f50e77a7cd0b2078e98"
|
|
93
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2025 Simon Boudrias
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person
|
|
4
|
+
obtaining a copy of this software and associated documentation
|
|
5
|
+
files (the "Software"), to deal in the Software without
|
|
6
|
+
restriction, including without limitation the rights to use,
|
|
7
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
copies of the Software, and to permit persons to whom the
|
|
9
|
+
Software is furnished to do so, subject to the following
|
|
10
|
+
conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be
|
|
13
|
+
included in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
17
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
19
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
20
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|