@soybeanjs/cli 1.4.0-beta.3 → 1.4.0
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.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import cac from "cac";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
|
-
import
|
|
5
|
+
import enquirer from "enquirer";
|
|
6
6
|
import { bgRed, green, red, yellow } from "kolorist";
|
|
7
7
|
import { rimraf } from "rimraf";
|
|
8
8
|
import { generateChangelog, generateTotalChangelog } from "@soybeanjs/changelog";
|
|
@@ -11,7 +11,7 @@ import process from "node:process";
|
|
|
11
11
|
import { loadConfig } from "c12";
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "1.4.0
|
|
14
|
+
var version = "1.4.0";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/shared/index.ts
|
|
@@ -115,7 +115,7 @@ async function gitCommit(lang = "en-us") {
|
|
|
115
115
|
name: value,
|
|
116
116
|
message: `${value.padEnd(30)} (${msg})`
|
|
117
117
|
}));
|
|
118
|
-
const result = await prompt([
|
|
118
|
+
const result = await enquirer.prompt([
|
|
119
119
|
{
|
|
120
120
|
name: "types",
|
|
121
121
|
type: "select",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.0
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"description": "SoybeanJS's command line tools",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Soybean",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@soybeanjs/changelog": "0.3.
|
|
40
|
+
"@soybeanjs/changelog": "0.3.25-beta.1",
|
|
41
41
|
"bumpp": "10.2.3",
|
|
42
42
|
"c12": "3.2.0",
|
|
43
43
|
"cac": "6.7.14",
|