Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.148 #265

Merged
merged 1 commit into from
Dec 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .ansible/group_vars/all/work.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ tools_enabled:
- webpack-cli
- wkhtmltopdf
- wp-cli
- wscat
- yamllint
- yq
- zsh
Expand Down Expand Up @@ -691,6 +692,18 @@ tools_available:
5.3:
type: custom
pre: WPCLI_URL="https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar"
wscat:
disabled: []
check: wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false)
all:
type: npm
package: wscat
binary: wscat
version:
build_dep: []
run_dep: []
pre:
post:
yamllint:
disabled: []
check: yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false)
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
## Unreleased


## Release 0.148

### Added
- Added `wscat` to work with websockets


## Release 0.147

### Fixed
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-5.2
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,13 @@ RUN set -eux \
&& webpack-cli --version | grep -E '[0-9][.0-9]+' || (webpack-cli --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -724,6 +731,11 @@ RUN set -eux \
&& webpack-cli --version | grep -E '[0-9][.0-9]+' || (webpack-cli --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-5.3
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -817,6 +824,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-5.4
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -855,6 +862,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-5.5
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -942,6 +949,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-7.0
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-7.2
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-7.3
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-7.4
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-8.0
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-8.1
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -980,6 +987,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
12 changes: 12 additions & 0 deletions Dockerfiles/work/Dockerfile-8.2
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,13 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
Expand Down Expand Up @@ -906,6 +913,11 @@ RUN set -eux \
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
&& true

# -------------------- (npm) wscat --------------------
RUN set -eux \
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
&& true

# -------------------- (pip) yamllint --------------------
RUN set -eux \
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
Expand Down
2 changes: 2 additions & 0 deletions doc/available-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ Additionally to all of the `slim` tools shown above, the following PHP cli tools
| [webpack-cli][lnk_webpack-cli] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [wkhtmltopdf][lnk_wkhtmltopdf] | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [wp-cli][lnk_wp-cli] | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [wscat][lnk_wscat] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [yamllint][lnk_yamllint] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [**yarn**][lnk_**yarn**] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [yq][lnk_yq] | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Expand Down Expand Up @@ -467,6 +468,7 @@ Additionally to all of the `slim` tools shown above, the following PHP cli tools
[lnk_webpack-cli]: ../php_tools/webpack-cli
[lnk_wkhtmltopdf]: ../php_tools/wkhtmltopdf
[lnk_wp-cli]: ../php_tools/wp-cli
[lnk_wscat]: ../php_tools/wscat
[lnk_yamllint]: ../php_tools/yamllint
[lnk_**yarn**]: https://yarnpkg.com/cli/install
[lnk_yq]: ../php_tools/yq
Expand Down
Loading