wisdom 17.2.0 → 17.2.2
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/ChangeLog +14 -0
- package/lib/prompts.js +6 -1
- package/lib/wisdom.js +1 -1
- package/package.json +6 -6
package/ChangeLog
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
2026.02.18, v17.2.2
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 1ed5712 wisdom: putout v42.0.5
|
|
5
|
+
- c005475 wisdom: madrun v13.0.0
|
|
6
|
+
- 29204de wisdom: eslint-plugin-putout v31.0.0
|
|
7
|
+
- 6fd737b wisdom: rendy v5.0.0
|
|
8
|
+
- 0f907e0 wisdom: eslint v10.0.0
|
|
9
|
+
|
|
10
|
+
2026.02.05, v17.2.1
|
|
11
|
+
|
|
12
|
+
fix:
|
|
13
|
+
- a4fb95a wisdom: promps: crash after cancel
|
|
14
|
+
|
|
1
15
|
2026.02.03, v17.2.0
|
|
2
16
|
|
|
3
17
|
feature:
|
package/lib/prompts.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import enquirer from 'enquirer';
|
|
2
2
|
import {tryToCatch} from 'try-to-catch';
|
|
3
3
|
import {choose as chooseCLI} from '@putout/cli-choose';
|
|
4
|
+
import {initKeypressListen} from '@putout/cli-choose/keypress';
|
|
4
5
|
|
|
5
6
|
const {Confirm} = enquirer;
|
|
6
7
|
|
|
8
|
+
initKeypressListen();
|
|
9
|
+
|
|
7
10
|
export const choose = async () => {
|
|
8
11
|
const choices = [
|
|
9
12
|
'patch',
|
|
@@ -20,7 +23,9 @@ export const ask = async (name, version) => {
|
|
|
20
23
|
message: `Are you sure that you want to publish major version of '${name}': v${version}?`,
|
|
21
24
|
});
|
|
22
25
|
|
|
23
|
-
|
|
26
|
+
const [, answer] = await tryToCatch(run, prompt);
|
|
27
|
+
|
|
28
|
+
return answer;
|
|
24
29
|
};
|
|
25
30
|
|
|
26
31
|
async function run(prompt) {
|
package/lib/wisdom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import {EventEmitter} from 'node:events';
|
|
3
3
|
import changelog from 'changelog-io';
|
|
4
|
-
import rendy from 'rendy';
|
|
4
|
+
import {rendy} from 'rendy';
|
|
5
5
|
import minor from 'minor';
|
|
6
6
|
import {readPackageUp} from 'read-package-up';
|
|
7
7
|
import {fullstore} from 'fullstore';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wisdom",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.2",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "configurable publish releases to github and npm",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/wisdom",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"read-package-up": "^12.0.0",
|
|
46
46
|
"readjson": "^2.2.2",
|
|
47
47
|
"redrun": "^13.0.0",
|
|
48
|
-
"rendy": "^
|
|
48
|
+
"rendy": "^5.0.0",
|
|
49
49
|
"try-catch": "^4.0.6",
|
|
50
50
|
"try-to-catch": "^4.0.2",
|
|
51
51
|
"version-io": "^6.0.0"
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"c8": "^10.1.2",
|
|
59
|
-
"eslint": "^
|
|
60
|
-
"eslint-plugin-putout": "^
|
|
61
|
-
"madrun": "^
|
|
59
|
+
"eslint": "^10.0.0",
|
|
60
|
+
"eslint-plugin-putout": "^31.0.0",
|
|
61
|
+
"madrun": "^13.0.0",
|
|
62
62
|
"montag": "^1.2.1",
|
|
63
|
-
"putout": "^
|
|
63
|
+
"putout": "^42.0.5",
|
|
64
64
|
"supertape": "^12.0.0"
|
|
65
65
|
}
|
|
66
66
|
}
|