@leverege/build-tools 2.96.0-quinn.5 → 2.96.0

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": "@leverege/build-tools",
3
- "version": "2.96.0-quinn.5",
3
+ "version": "2.96.0",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -214,8 +214,8 @@ try {
214
214
  const deployType = CHANNEL ? `hosting:channel:deploy ${CHANNEL.name} ${CHANNEL.expiration ? `--expires ${CHANNEL.expiration}` : ''}`.split( ' ' ) : 'deploy'
215
215
  const hostingPrefix = CHANNEL ? '' : 'hosting:'
216
216
 
217
- const cleanCommand = isYarnProject ? 'yarn clean' : 'npm run clean'
218
- const buildCommand = isYarnProject ? 'yarn build' : 'npm run build'
217
+ const cleanCommand = isYarnProject ? [ 'yarn', 'clean' ] : [ 'npm', 'run', 'clean' ]
218
+ const buildCommand = isYarnProject ? [ 'yarn', 'build' ] : [ 'npm', 'run', 'build' ]
219
219
 
220
220
  await $( { ac } )`${cleanCommand} && DOTENV_CONFIG_PATH=${path.join( process.cwd(), '.env.temp' )} DEPLOYMENT_TARGET=${TARGET.siteId} ${buildCommand} && firebase use ${TARGET.projectId} && firebase ${deployType} --only ${hostingPrefix}${TARGET.siteId}`
221
221
  } catch ( err ) {