Merge pull request #32943 from woocommerce/update/bash-zip
Update commands to use Nx
This commit is contained in:
commit
4c707a27d6
|
@ -11,13 +11,13 @@ mkdir -p "$DEST_PATH"
|
|||
|
||||
echo "Installing PHP and JS dependencies..."
|
||||
pnpm install
|
||||
composer install || exit "$?"
|
||||
pnpm nx composer-install woocommerce || exit "$?"
|
||||
echo "Running JS Build..."
|
||||
pnpm run build || exit "$?"
|
||||
pnpm nx build woocommerce || exit "$?"
|
||||
echo "Cleaning up PHP dependencies..."
|
||||
composer install --no-dev || exit "$?"
|
||||
pnpm nx composer-install-no-dev woocommerce || exit "$?"
|
||||
echo "Run makepot..."
|
||||
composer run-script makepot || exit "$?"
|
||||
pnpm nx makepot woocommerce || exit "$?"
|
||||
echo "Syncing files..."
|
||||
rsync -rc --exclude-from="$PROJECT_PATH/.distignore" "$PROJECT_PATH/" "$DEST_PATH/" --delete --delete-excluded
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
Updating scripts to use pnpm/Nx commands
|
Loading…
Reference in New Issue