From 44b46cb4e620babf1e264077503d87a1503bbb94 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Wed, 31 May 2023 14:15:21 +0200 Subject: [PATCH] Ensure `bundle:js` command is not executed if `clean` fails --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 17d3f947eb..8e444e9dd3 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "i18n:check-cache": "./bin/i18n-check-cache.sh jetpack wp-plugins/jetpack layout-grid wp-plugins/layout-grid jetpack-videopress-pkg wp-plugins/jetpack", "i18n:update": "./bin/i18n-update.sh jetpack wp-plugins/jetpack ./jetpack/projects/plugins/jetpack/extensions layout-grid wp-plugins/layout-grid ./block-experiments/blocks/layout-grid jetpack-videopress-pkg wp-plugins/jetpack ./jetpack/projects/packages/videopress", "i18n:update:test": "./bin/i18n-update.sh --path i18n-test jetpack wp-plugins/jetpack ./jetpack/projects/plugins/jetpack/extensions layout-grid wp-plugins/layout-grid ./block-experiments/blocks/layout-grid jetpack-videopress-pkg wp-plugins/jetpack ./jetpack/projects/packages/videopress", - "bundle": "npm run clean; npm run bundle:js", + "bundle": "npm run clean && npm run bundle:js", "prebundle:js": "npm run i18n:update", "bundle:js": "npm run bundle:android && npm run bundle:ios", "bundle:android": "npm run bundle:android:text && npm run bundle:android:bytecode",