@htyf-mp/cli 0.0.8 → 0.0.10

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 +2 -4
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -119,7 +119,7 @@ async function main() {
119
119
  value: repoUrl,
120
120
  },
121
121
  {
122
- name: 'github(最快)',
122
+ name: 'coding(最快)',
123
123
  value: codingRepoUrl,
124
124
  },
125
125
  ]
@@ -144,12 +144,10 @@ async function main() {
144
144
  try {
145
145
  if (tempType === 'taro') {
146
146
  appRootPath = `${appName}/${taroTempPath}`
147
- await execa('rm', ['-r', `${appName}/${expoTempPath}`])
148
147
  await execa('rm', ['-r', `${appName}/${gameTempPath}`])
149
148
  }
150
149
  if (tempType === 'expo') {
151
150
  appRootPath = `${appName}/${expoTempPath}`
152
- await execa('rm', ['-r', `${appName}/${taroTempPath}`])
153
151
  await execa('rm', ['-r', `${appName}/${gameTempPath}`])
154
152
  }
155
153
  if (tempType === 'game-cocos') {
@@ -162,7 +160,7 @@ async function main() {
162
160
  } catch (err) {}
163
161
  const __TEMP_PATH__ = path.join(appRootPath, '__TEMP__');
164
162
  const pkg_path = path.join(appRootPath, './package.json');
165
- const dgzJosn = path.join(`${appRootPath}`, project.dgz.json)
163
+ const dgzJosn = path.join(`${appRootPath}`, 'project.dgz.json')
166
164
  if (tempType === 'taro') {
167
165
  fse.closeSync(
168
166
  path.join(__TEMP_PATH__, 'taro_src'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htyf-mp/cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "红糖云服app小程序模板-cli",
5
5
  "type": "module",
6
6
  "bin": "cli.js",