Monorepo: zips build script update (frozen lock files) (#49640)

This commit is contained in:
Vladimir Reznichenko 2024-07-19 13:07:48 +02:00 committed by GitHub
parent 83e7730f95
commit c4584bd6df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 15 additions and 3 deletions

View File

@ -10,7 +10,7 @@ rm -rf "$BUILD_PATH"
mkdir -p "$DEST_PATH" mkdir -p "$DEST_PATH"
echo "Installing PHP and JS dependencies..." echo "Installing PHP and JS dependencies..."
pnpm install pnpm install --frozen-lockfile
echo "Running JS Build..." echo "Running JS Build..."
pnpm --filter='@woocommerce/plugin-woo-ai' build || exit "$?" pnpm --filter='@woocommerce/plugin-woo-ai' build || exit "$?"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).

View File

@ -10,7 +10,7 @@ rm -rf "$BUILD_PATH"
mkdir -p "$DEST_PATH" mkdir -p "$DEST_PATH"
echo "Installing PHP and JS dependencies..." echo "Installing PHP and JS dependencies..."
pnpm install pnpm install --frozen-lockfile
echo "Running JS Build..." echo "Running JS Build..."
pnpm --filter='@woocommerce/plugin-woocommerce-beta-tester' build || exit "$?" pnpm --filter='@woocommerce/plugin-woocommerce-beta-tester' build || exit "$?"

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).

View File

@ -14,7 +14,7 @@ echo "Cleaning up assets..."
find "$PROJECT_PATH/assets/css/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/client/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/js/." ! -name '.gitkeep' -type f -exec rm -f {} + find "$PROJECT_PATH/assets/css/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/client/." ! -name '.gitkeep' -type f -exec rm -f {} + && find "$PROJECT_PATH/assets/js/." ! -name '.gitkeep' -type f -exec rm -f {} +
echo "Installing PHP and JS dependencies..." echo "Installing PHP and JS dependencies..."
pnpm install pnpm install --frozen-lockfile
echo "Running JS Build..." echo "Running JS Build..."
if [ -z "${NODE_ENV}" ]; then if [ -z "${NODE_ENV}" ]; then

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).