Skip to content

Commit 9068e5e

Browse files
authored
Merge pull request #355 from IONOS-WordPress/develop
release 1.0.7
2 parents 9644946 + c30b7f4 commit 9068e5e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+9935
-147243
lines changed

.changeset/rare-rockets-sink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@ionos-wordpress/essentials': patch
3+
---
4+
5+
updated localisation

.github/dependabot.yml

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,52 @@ updates:
33
- package-ecosystem: 'npm'
44
directories:
55
- '/'
6-
- '/packages/npm/*'
7-
- '/packages/wp-plugin/*'
6+
- '/packages/npm/*/*'
7+
- '/packages/wp-plugin/*/*'
88
schedule:
99
interval: 'weekly'
10+
groups:
11+
npm:
12+
patterns:
13+
- '*'
14+
1015
- package-ecosystem: 'docker'
1116
directories:
12-
- '/packages/docker/*'
17+
- '/packages/docker/*/*'
1318
schedule:
1419
interval: 'weekly'
20+
groups:
21+
docker:
22+
patterns:
23+
- '*'
24+
25+
- package-ecosystem: 'composer'
26+
directories:
27+
- '/packages/docker/**/*'
28+
schedule:
29+
interval: 'weekly'
30+
groups:
31+
composer:
32+
patterns:
33+
- '*'
34+
1535
- package-ecosystem: 'github-actions'
1636
directories:
17-
- '/.github/workflows/*'
37+
# "For GitHub Actions, use the value /. Dependabot will search the /.github/workflows directory, as well as the action.yml/action.yaml file from the root directory."
38+
- '/'
39+
schedule:
40+
interval: 'weekly'
41+
groups:
42+
actions:
43+
patterns:
44+
- '*'
45+
46+
- package-ecosystem: 'devcontainers'
47+
directories:
48+
- '/.devcontainer'
1849
schedule:
1950
interval: 'weekly'
51+
groups:
52+
devcontainers:
53+
patterns:
54+
- '*'

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
exit 1
2525
2626
- name: Checkout code
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
ref: '${{ github.ref_name }}'

.lintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# additionally to the paths listed in .gitignore
33

44
pnpm-lock.yaml
5+
composer.lock
56
docs/packages/
67
packages/wp-plugin/ionos-essentials/inc/dashboard/data/ionos
78
packages/wp-plugin/ionos-essentials/inc/dashboard/data/twentytwentyfive-global-styles.json

docs/8-update-dependencies.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# update-dependencies
2+
3+
`pnpm update-dependencies` will scan all monorepo dependencies for updates.
4+
5+
It does much more than dependabot. Dependabot will only scan for npm and composer updates.
6+
7+
`pnpm update-dependencies` will additionally scan for updates of :
8+
9+
- NodeJS
10+
- pnpm
11+
- Docker
12+
- PHP versionn
13+
14+
Running `pnpm update-dependencies` will update npm dependencies automatically.
15+
16+
All other dependency updates will be spit out to console and must be applied manually.
17+
Follow the console output to do all manually steps.
18+
19+
> If `pnpm update-dependencies` lists updates of `pnpm` or PHP versions you should really be careful test if everything runs fine afterwards.
20+
> If you are unsure wwhat to do - leave the current `pnpm` and PHP versions as is.
21+
22+
> To update the node dependencies including minor and major changes you can start the update-dependencies script with an additional switch : `pnpm update-dependencies --pnpm-opts "--latest"`
23+
24+
After finishing all update steps you need to
25+
26+
- increment manually the version property of the `package.json` files of each workspace package containing composer.json dependencies or python dependencies.
27+
28+
- call `pnpm build` to get the `composer.lock` files updated
29+
30+
- call `pnpm test` to check if the updates did not broke something
31+
32+
- in case of tool updates (like `prettier` or `eslint`) you should also try if the tool already works.
33+
34+
After all you can create a PR of all changes.

packages/docker/ecs-php/.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
ECS_VERSION=12.5.16
21
PHP_VERSION=8.3
3-
WORDPRESS_CODING_STANDARDS_VERSION=3.1.0

packages/docker/ecs-php/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ ARG WORDPRESS_CODING_STANDARDS_VERSION
1313
ENV COMPOSER_HOME=/composer
1414
ENV COMPOSER_ALLOW_SUPERUSER=1
1515

16+
COPY packages/docker/ecs-php/composer.json /composer/
17+
COPY packages/docker/ecs-php/composer.lock /composer/
18+
1619
RUN <<EOF
1720
# install apk packages to create a user
1821
# install i18n support into php
1922
apk add --no-cache icu-dev shadow && docker-php-ext-install intl
2023

21-
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
22-
composer global require --dev symplify/easy-coding-standard:${ECS_VERSION} --with-dependencies
23-
composer global require --dev wp-coding-standards/wpcs:${WORDPRESS_CODING_STANDARDS_VERSION}
24+
composer global install
2425

2526
# tell phpcs dependency of easy-coding-standard where to find the used standards
2627
/composer/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs \
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"require-dev": {
3+
"symplify/easy-coding-standard": "12.5.18",
4+
"wp-coding-standards/wpcs": "3.1.0"
5+
},
6+
"config": {
7+
"allow-plugins": {
8+
"dealerdirect/phpcodesniffer-composer-installer": true
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)