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.
Files changed (2) hide show
  1. package/CLI.js +5 -3
  2. 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
  * 将项目信息进行保存
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lakutata",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "An IoC-based universal application framework.",
5
5
  "main": "./Lakutata.js",
6
6
  "types": "./Lakutata.d.ts",