@ideasonpurpose/build-tools-wordpress 2.8.0 → 2.8.1

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/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### v2.8.0
8
+
9
+ > 3 June 2026
10
+
11
+ - bump deps
12
+ - refactor format functions and improve tests
13
+ - boilerplate and README SVGo info
14
+
7
15
  #### v2.7.0
8
16
 
9
17
  > 6 May 2026
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ideasonpurpose/build-tools-wordpress
2
2
 
3
- #### Version 2.8.0
3
+ #### Version 2.8.1
4
4
 
5
5
  [![NPM Version](https://img.shields.io/npm/v/%40ideasonpurpose%2Fbuild-tools-wordpress?logo=npm)](https://www.npmjs.com/package/@ideasonpurpose/build-tools-wordpress)
6
6
  [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ideasonpurpose/build-tools-wordpress/npm-publish.yml?logo=github&logoColor=white)](https://github.com/ideasonpurpose/build-tools-wordpress#readme)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ideasonpurpose/build-tools-wordpress",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Build scripts and dependencies for IOP's WordPress development environments.",
5
5
  "homepage": "https://github.com/ideasonpurpose/build-tools-wordpress#readme",
6
6
  "bugs": {
@@ -173,7 +173,7 @@ services:
173
173
  command: |
174
174
  bash -c 'for i in {1..10}
175
175
  do echo -e "⏳ \033[33mWaiting for DB server...\033[0m" &&
176
- mysql --ssl-mode=DISABLED -s -h db -e "exit" && break || sleep 3
176
+ mysql --ssl-mode=DISABLED -s -h db -e "SELECT 1" && break || sleep 3
177
177
  done &&
178
178
  sleep 2 &&
179
179
  echo -e "✔️ \033[32mConnected to DB\033[0m" &&
@@ -197,7 +197,7 @@ services:
197
197
  command: |
198
198
  bash -c 'for i in {1..10}
199
199
  do echo -e "⏳ \033[33mWaiting for DB server...\033[0m" &&
200
- mysql --ssl-mode=DISABLED -s -h db -e "exit" && break || sleep 3
200
+ mysql --ssl-mode=DISABLED -s -h db -e "SELECT 1" && break || sleep 3
201
201
  done &&
202
202
  sleep 2 &&
203
203
  echo -e "✔️ \033[32mConnected to DB\033[0m" &&
@@ -205,7 +205,7 @@ services:
205
205
  mysqladmin --ssl-mode=DISABLED -hdb -v -f create $${MYSQL_DATABASE} &&
206
206
  echo Database \"$${MYSQL_DATABASE}\" created &&
207
207
  echo Reloading database from dumpfile &&
208
- mysql --ssl-mode=DISABLED -hdb $${MYSQL_DATABASE} < $$(ls /usr/src/dumpfiles/*.sql | tail -n1)'
208
+ mysql --ssl-mode=DISABLED -hdb $${MYSQL_DATABASE} < $$(ls -t /usr/src/dumpfiles/*.sql | head -n1)'
209
209
 
210
210
  # Activates the theme directly in the database
211
211
  theme-activate:
@@ -220,7 +220,7 @@ services:
220
220
  command: |
221
221
  bash -c 'for i in {1..10}
222
222
  do echo -e "⏳ \033[33mWaiting for DB server...\033[0m" &&
223
- mysql --ssl-mode=DISABLED -s -h db -e "exit" && break || sleep 3
223
+ mysql --ssl-mode=DISABLED -s -h db -e "SELECT 1" && break || sleep 3
224
224
  done &&
225
225
  sleep 2 &&
226
226
  echo -e "✔️ \033[32mConnected to DB\033[0m" &&