Monorepo: zips build script update (frozen lock files) (#49640)
This commit is contained in:
parent
83e7730f95
commit
c4584bd6df
|
@ -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 "$?"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).
|
|
@ -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 "$?"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).
|
|
@ -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
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: dev
|
||||||
|
|
||||||
|
Monorepo: minor tweaks in zip building script (use frozen lock file when installing dependecies).
|
Loading…
Reference in New Issue