lakutata 0.1.17 → 0.1.18
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 +5 -3
- package/package.json +1 -1
package/CLI.js
CHANGED
|
@@ -59434,13 +59434,15 @@ var ProjectInformationCompleter = class extends _chunkVZLDHNU6js.BaseObject {
|
|
|
59434
59434
|
projectQuestions.push({
|
|
59435
59435
|
name: "description",
|
|
59436
59436
|
type: "input",
|
|
59437
|
-
message: "Please enter the application description:"
|
|
59437
|
+
message: "Please enter the application description:",
|
|
59438
|
+
default: "No description"
|
|
59438
59439
|
});
|
|
59439
59440
|
if (!options.author)
|
|
59440
59441
|
projectQuestions.push({
|
|
59441
59442
|
name: "author",
|
|
59442
59443
|
type: "input",
|
|
59443
|
-
message: "Please enter the application author's name:"
|
|
59444
|
+
message: "Please enter the application author's name:",
|
|
59445
|
+
default: "Anonymous"
|
|
59444
59446
|
});
|
|
59445
59447
|
if (!options.license)
|
|
59446
59448
|
projectQuestions.push({
|
|
@@ -59526,7 +59528,7 @@ var ProjectInformationUpdater = class extends _chunkVZLDHNU6js.BaseObject {
|
|
|
59526
59528
|
* @protected
|
|
59527
59529
|
*/
|
|
59528
59530
|
setLicense(license) {
|
|
59529
|
-
this.packageJson = _chunkTC35FNWQjs.TextTemplate.call(void 0, this.packageJson, { license }, { ignoreMissing: true });
|
|
59531
|
+
this.packageJson = _chunkTC35FNWQjs.TextTemplate.call(void 0, this.packageJson, { license: license.toUpperCase() }, { ignoreMissing: true });
|
|
59530
59532
|
}
|
|
59531
59533
|
/**
|
|
59532
59534
|
* 将项目信息进行保存
|