lakutata 0.1.17 → 0.1.19
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/CLI.js +6 -5
- package/package.json +1 -1
package/CLI.js
CHANGED
|
@@ -53595,8 +53595,7 @@ var _path2 = require('path'); var _path3 = _interopRequireDefault(_path2);
|
|
|
53595
53595
|
var ProjectType = /* @__PURE__ */ ((ProjectType2) => {
|
|
53596
53596
|
ProjectType2["plain"] = "plain";
|
|
53597
53597
|
ProjectType2["cli"] = "cli";
|
|
53598
|
-
ProjectType2["
|
|
53599
|
-
ProjectType2["embed"] = "embed";
|
|
53598
|
+
ProjectType2["api"] = "api";
|
|
53600
53599
|
return ProjectType2;
|
|
53601
53600
|
})(ProjectType || {});
|
|
53602
53601
|
|
|
@@ -59434,13 +59433,15 @@ var ProjectInformationCompleter = class extends _chunkVZLDHNU6js.BaseObject {
|
|
|
59434
59433
|
projectQuestions.push({
|
|
59435
59434
|
name: "description",
|
|
59436
59435
|
type: "input",
|
|
59437
|
-
message: "Please enter the application description:"
|
|
59436
|
+
message: "Please enter the application description:",
|
|
59437
|
+
default: "No description"
|
|
59438
59438
|
});
|
|
59439
59439
|
if (!options.author)
|
|
59440
59440
|
projectQuestions.push({
|
|
59441
59441
|
name: "author",
|
|
59442
59442
|
type: "input",
|
|
59443
|
-
message: "Please enter the application author's name:"
|
|
59443
|
+
message: "Please enter the application author's name:",
|
|
59444
|
+
default: "Anonymous"
|
|
59444
59445
|
});
|
|
59445
59446
|
if (!options.license)
|
|
59446
59447
|
projectQuestions.push({
|
|
@@ -59526,7 +59527,7 @@ var ProjectInformationUpdater = class extends _chunkVZLDHNU6js.BaseObject {
|
|
|
59526
59527
|
* @protected
|
|
59527
59528
|
*/
|
|
59528
59529
|
setLicense(license) {
|
|
59529
|
-
this.packageJson = _chunkTC35FNWQjs.TextTemplate.call(void 0, this.packageJson, { license }, { ignoreMissing: true });
|
|
59530
|
+
this.packageJson = _chunkTC35FNWQjs.TextTemplate.call(void 0, this.packageJson, { license: license.toUpperCase() }, { ignoreMissing: true });
|
|
59530
59531
|
}
|
|
59531
59532
|
/**
|
|
59532
59533
|
* 将项目信息进行保存
|