tt-ide-cli
Advanced tools
Comparing version 0.0.14-beta4 to 0.0.14-beta5
@@ -27,4 +27,4 @@ const archiver = require('archiver'); | ||
const appJsonPath = path.join(sourcePath, 'app.json'); | ||
console.log('获取appjson的path是:::', appJsonPath); | ||
const isMiniProgram = await fs.pathExists(appJsonPath); | ||
console.log('获取appjson的path是:::', appJsonPath, isMiniProgram); | ||
const subpackageInfoPath = path.join(sourcePath, `${isMiniProgram ? 'app.json' : 'game.json'}`); | ||
@@ -31,0 +31,0 @@ const projectConfigJson = fs.readJSONSync(subpackageInfoPath); |
{ | ||
"name": "tt-ide-cli", | ||
"version": "0.0.14-beta4", | ||
"version": "0.0.14-beta5", | ||
"description": "Command line interface for micro app development", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
111237