MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / createProjectConfig

Function createProjectConfig

src/core/projectGenerator.js:68–80  ·  view source on GitHub ↗

* 生成项目配置 * @param {string} name 项目名称 * @returns {Object} 项目配置对象

(name = "project")

Source from the content-addressed store, hash-verified

66 packages: 'packages',
67 name,
68 id: uuidUtils.decodeUuid(uuidUtils.generateUuid()),
69 version,
70 isNew: false,
71 };
72 },
73
74 /**
75 * 获取项目版本号
76 * @returns {string}
77 */
78 getProjectVersion() {
79 if (global.cocosVersion === '2.4.x') {
80 return '2.4.13';
81 }
82 return '2.3.4';
83 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected