* 生成项目配置 * @param {string} name 项目名称 * @returns {Object} 项目配置对象
(name = "project")
| 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 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected