@htyf-mp/cli 0.2.5 → 0.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htyf-mp/cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "红糖云服app小程序模板-cli",
5
5
  "type": "module",
6
6
  "bin": {
@@ -192,7 +192,7 @@ export class ProjectInitializer {
192
192
  const appid = this.config.generateAppId();
193
193
  const projectConfig = this.config.createProjectConfig(appName, displayName, appid);
194
194
  // 写入配置文件
195
- const configPath = path.join(appRootPath, template.tempPath, 'app.json');
195
+ const configPath = path.join(appRootPath, 'app.json');
196
196
  let existingConfig = {};
197
197
 
198
198
  // 检查 app.json 是否存在