Skip to content

Commit f63097f

Browse files
authored
Merge pull request #105 from liip/feat/wp-60
feat(): WordPress 6.0
2 parents 50e0381 + 83d5a0d commit f63097f

27 files changed

+9839
-11785
lines changed

.github/workflows/lint-test-deploy.yml

Lines changed: 41 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313

1414
- name: Use Node.js 16
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v3
1616
with:
1717
node-version: 16
1818

@@ -39,10 +39,10 @@ jobs:
3939
wp: [ '5.7', '5.8', '5.9' ]
4040

4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v3
4343

4444
- name: Use Node.js 16
45-
uses: actions/setup-node@v1
45+
uses: actions/setup-node@v3
4646
with:
4747
node-version: 16
4848

@@ -66,18 +66,51 @@ jobs:
6666
- name: Running PHP unit tests
6767
run: npm run test:unit:php:ci
6868

69+
tests-wp-60:
70+
name: Tests WordPress 6.0
71+
72+
runs-on: ubuntu-latest
73+
74+
steps:
75+
- uses: actions/checkout@v3
76+
77+
- name: Use Node.js 16
78+
uses: actions/setup-node@v3
79+
with:
80+
node-version: 16
81+
82+
- name: Install dependencies
83+
run: |
84+
npm ci
85+
composer install
86+
87+
- name: "Configure environment with WP 6.0"
88+
run: |
89+
echo -e '{\n\t"core": "https://wordpress.org/wordpress-6.0-RC2.zip"\n}' > ./.wp-env.override.json
90+
91+
- name: Install WordPress
92+
run: |
93+
chmod -R 767 ./ # TODO: Possibly integrate in wp-env
94+
npm run wp-env start
95+
96+
- name: Running JavaScript E2E tests
97+
run: npm run test:e2e
98+
99+
- name: Running PHP unit tests
100+
run: npm run test:unit:php:ci
101+
69102
deploy-dry-run:
70103
name: '[DRY RUN] Deploy'
71104

72105
# only run on master but not tags
73106
if: ${{ github.ref == 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/') }}
74107

75-
needs: [ lint, tests ]
108+
needs: [ lint, tests, 'tests-wp-60' ]
76109

77110
runs-on: ubuntu-latest
78111

79112
steps:
80-
- uses: actions/checkout@v2
113+
- uses: actions/checkout@v3
81114

82115
- shell: bash
83116
env:
@@ -91,12 +124,12 @@ jobs:
91124
# only run on tags
92125
if: startsWith(github.ref, 'refs/tags/')
93126

94-
needs: [ lint, tests ]
127+
needs: [ lint, tests, 'tests-wp-60' ]
95128

96129
runs-on: ubuntu-latest
97130

98131
steps:
99-
- uses: actions/checkout@v2
132+
- uses: actions/checkout@v3
100133

101134
- shell: bash
102135
env:

.stylelintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@wordpress/stylelint-config",
2+
"extends": "@wordpress/stylelint-config/scss",
33
"rules": {
44
"at-rule-empty-line-before": null,
55
"at-rule-no-unknown": null,
@@ -9,6 +9,10 @@
99
"no-descending-specificity": null,
1010
"rule-empty-line-before": null,
1111
"selector-class-pattern": null,
12-
"value-keyword-case": null
12+
"value-keyword-case": null,
13+
"scss/at-import-partial-extension": null,
14+
"scss/no-global-function-names": null,
15+
"scss/at-if-closing-brace-newline-after": null,
16+
"scss/at-if-closing-brace-space-after": null
1317
}
1418
}

.wp-env.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"core": "WordPress/WordPress#5.9",
2+
"core": "https://wordpress.org/wordpress-6.0-RC2.zip",
33
"plugins": [ "." ],
44
"themes": [
55
"./test-themes/bootstrap"

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '33f83f64c509950d43b63849629d0712');
1+
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '0eaff1ea1cf672b436eda066b043570f');

build/index.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/settings.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array(), 'version' => 'cb9f31fac5fa80527366aec813051fc1');
1+
<?php return array('dependencies' => array(), 'version' => 'f0104b60f4e97fe8fc9db16e1886cf55');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation-revision-date":"2020-10-18 22:25+0200","generator":"WP-CLI\/2.5.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de_CH","plural-forms":"nplurals=2; plural=(n != 1);"},"Button":["Button"],"Bootstrap Button":["Bootstrap Button"],"Bootstrap":["Bootstrap"],"Primary":["Primary"],"Secondary":["Secondary"],"Add text...":["Text hinzuf\u00fcgen..."],"Style":["Stil"],"Link settings":["Link-Einstellungen"],"Open in new tab":["In einem neuen Tab \u00f6ffnen"],"Link rel":["Link rel"],"Change button alignment":["\u00c4ndere die Positionierung des Buttons"],"Apply":["\u00dcbernehmen"],"Column":["Column"],"Bootstrap Column":["Bootstrap Column"],"Align content top":["Inhalt oben positionieren"],"Align content center":["Inhalt zentrieren"],"Align content bottom":["Inhalt unten positionieren"],"None":["Deaktiviert"],"Small":["Klein"],"Medium":["Mittel"],"Large":["Gross"],"Column size":["Anzahl Spalten"],"Xs Column count":["Xs Anzahl Spalten"],"Xs equal-width":["Xs gleiche Breite (equal-width)"],"Sm Column count":["Sm Anzahl Spalten"],"Sm equal-width":["Sm gleiche Breite (equal-width)"],"Md Column count":["Md Anzahl Spalten"],"Md equal-width":["Md gleiche Breite (equal-width)"],"Lg Column count":["Lg Anzahl Spalten"],"Lg equal-width":["Lg gleiche Breite (equal-width)"],"Xl Column count":["Xl Anzahl Spalten"],"Xl equal-width":["Xl gleiche Breite (equal-width)"],"Xxl Column count":["Xxl Anzahl Spalten"],"Xxl equal-width":["Xxl gleiche Breite (equal-width)"],"Background color":["Hintergrundfarbe"],"Padding (inside column)":["Padding (innerhalb der Spalte)"],"Size":["Gr\u00f6sse"],"Change vertical alignment of content":["\u00c4ndere die vertikale Positionierung des Inhaltes"],"Container":["Container"],"Bootstrap Container":["Bootstrap Container"],"Xl":["Xl"],"Lg":["Lg"],"Md":["Md"],"Sm":["Sm"],"Xxl":["Xxl"],"No breakpoint selected":["Kein Breakpoint ausgew\u00e4hlt"],"Fluid":["Fluid"],"Fluid Breakpoint":["Fluid Breakpoint"],"Fluid breakpoints only work with Bootstrap v4.4+. The container will be 100% wide until the specified breakpoint is reached, after which max-widths for each of the higher breakpoints will be applied.":["Fluid Breakpoints werden erst ab Bootstrap v4.4+ unterst\u00fctzt. Wenn die Option aktiviert ist, nimmt der Container 100% der Breite ein bis zum gew\u00e4hlten Breakpoint. Ab diesem Breakpoint gilt die jeweilige maximale Breite (max-width) des Containers."],"Margin":["Margin"],"Margin After":["Margin unterhalb vom Block"],"Row":["Row"],"Bootstrap Row":["Bootstrap Row"],"2 Columns (1:1)":["2 Spalten (1:1)"],"2 Columns (1:2)":["2 Spalten (1:2)"],"2 Columns (2:1)":["2 Spalten (2:1)"],"3 Columns (1:1:1)":["3 Spalten (1:1:1)"],"Custom":["Benutzerdefiniert"],"Bootstrap Default":["Bootstrap Standardwert"],"Bootstrap Default (None)":["Bootstrap Standardwert (Kein Abstand)"],"Align columns left":["Spalten links positionieren"],"Align columns center":["Spalten zentrieren"],"Align columns right":["Spalten rechts positionieren"],"Align columns top":["Spalten oben positionieren"],"Align columns bottom":["Spalten unten positionieren"],"Editor: Display columns stacked":["Editor: Spalten untereinander darstellen"],"Displays stacked columns in editor to enhance readability of block content. This option is only used in the editor and won't affect the output of the row.":["Stellt die Spalten untereinander dar um die Lesbarkeit der Block-Inhalte zu verbessern. Diese Option wird lediglich f\u00fcr den Editor verwendet und ver\u00e4ndert die Ausgabe des Blocks nicht."],"Change layout":["Layout \u00e4ndern"],"Row options":["Zeilen Optionen"],"No Gutters":["Keine Abst\u00e4nde zwischen Spalten (No Gutters)"],"Gutters":["Abst\u00e4nde zwischen Spalten"],"Horizontal Gutters":["Horizontale Abst\u00e4nde zwischen Spalten"],"Vertical Gutters":["Vertikale Abst\u00e4nde zwischen Spalten"],"Change horizontal alignment of columns":["\u00c4ndere die horizontale Positionierung der Spalten"],"Change vertical alignment of columns":["\u00c4ndere die vertikale Positionierung der Spalten"]}}}
1+
{"translation-revision-date":"2020-10-18 22:25+0200","generator":"WP-CLI\/2.6.0","source":"build\/index.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de_CH","plural-forms":"nplurals=2; plural=(n != 1);"},"Bootstrap Button":["Bootstrap Button"],"Button":["Button"],"Bootstrap":["Bootstrap"],"Primary":["Primary"],"Secondary":["Secondary"],"Add text...":["Text hinzuf\u00fcgen..."],"Style":["Stil"],"Link settings":["Link-Einstellungen"],"Open in new tab":["In einem neuen Tab \u00f6ffnen"],"Link rel":["Link rel"],"Change button alignment":["\u00c4ndere die Positionierung des Buttons"],"Apply":["\u00dcbernehmen"],"Bootstrap Column":["Bootstrap Column"],"Column":["Column"],"Align content top":["Inhalt oben positionieren"],"Align content center":["Inhalt zentrieren"],"Align content bottom":["Inhalt unten positionieren"],"None":["Deaktiviert"],"Small":["Klein"],"Medium":["Mittel"],"Large":["Gross"],"Column size":["Anzahl Spalten"],"Xs Column count":["Xs Anzahl Spalten"],"Xs equal-width":["Xs gleiche Breite (equal-width)"],"Sm Column count":["Sm Anzahl Spalten"],"Sm equal-width":["Sm gleiche Breite (equal-width)"],"Md Column count":["Md Anzahl Spalten"],"Md equal-width":["Md gleiche Breite (equal-width)"],"Lg Column count":["Lg Anzahl Spalten"],"Lg equal-width":["Lg gleiche Breite (equal-width)"],"Xl Column count":["Xl Anzahl Spalten"],"Xl equal-width":["Xl gleiche Breite (equal-width)"],"Xxl Column count":["Xxl Anzahl Spalten"],"Xxl equal-width":["Xxl gleiche Breite (equal-width)"],"Background color":["Hintergrundfarbe"],"Padding (inside column)":["Padding (innerhalb der Spalte)"],"Size":["Gr\u00f6sse"],"Change vertical alignment of content":["\u00c4ndere die vertikale Positionierung des Inhaltes"],"Bootstrap Container":["Bootstrap Container"],"Container":["Container"],"Xl":["Xl"],"Lg":["Lg"],"Md":["Md"],"Sm":["Sm"],"Xxl":["Xxl"],"No breakpoint selected":["Kein Breakpoint ausgew\u00e4hlt"],"Fluid":["Fluid"],"Fluid Breakpoint":["Fluid Breakpoint"],"Fluid breakpoints only work with Bootstrap v4.4+. The container will be 100% wide until the specified breakpoint is reached, after which max-widths for each of the higher breakpoints will be applied.":["Fluid Breakpoints werden erst ab Bootstrap v4.4+ unterst\u00fctzt. Wenn die Option aktiviert ist, nimmt der Container 100% der Breite ein bis zum gew\u00e4hlten Breakpoint. Ab diesem Breakpoint gilt die jeweilige maximale Breite (max-width) des Containers."],"Margin":["Margin"],"Margin After":["Margin unterhalb vom Block"],"Bootstrap Row":["Bootstrap Row"],"Row":["Row"],"2 Columns (1:1)":["2 Spalten (1:1)"],"2 Columns (1:2)":["2 Spalten (1:2)"],"2 Columns (2:1)":["2 Spalten (2:1)"],"3 Columns (1:1:1)":["3 Spalten (1:1:1)"],"Custom":["Benutzerdefiniert"],"Bootstrap Default":["Bootstrap Standardwert"],"Bootstrap Default (None)":["Bootstrap Standardwert (Kein Abstand)"],"Align columns left":["Spalten links positionieren"],"Align columns center":["Spalten zentrieren"],"Align columns right":["Spalten rechts positionieren"],"Align columns top":["Spalten oben positionieren"],"Align columns bottom":["Spalten unten positionieren"],"Editor: Display columns stacked":["Editor: Spalten untereinander darstellen"],"Displays stacked columns in editor to enhance readability of block content. This option is only used in the editor and won't affect the output of the row.":["Stellt die Spalten untereinander dar um die Lesbarkeit der Block-Inhalte zu verbessern. Diese Option wird lediglich f\u00fcr den Editor verwendet und ver\u00e4ndert die Ausgabe des Blocks nicht."],"Change layout":["Layout \u00e4ndern"],"Row options":["Zeilen Optionen"],"No Gutters":["Keine Abst\u00e4nde zwischen Spalten (No Gutters)"],"Gutters":["Abst\u00e4nde zwischen Spalten"],"Horizontal Gutters":["Horizontale Abst\u00e4nde zwischen Spalten"],"Vertical Gutters":["Vertikale Abst\u00e4nde zwischen Spalten"],"Change horizontal alignment of columns":["\u00c4ndere die horizontale Positionierung der Spalten"],"Change vertical alignment of columns":["\u00c4ndere die vertikale Positionierung der Spalten"]}}}
0 Bytes
Binary file not shown.

languages/wp-bootstrap-blocks-de_CH.po

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the same license as the Bootstrap Blocks plugin.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Bootstrap Blocks 4.0.1\n"
5+
"Project-Id-Version: Bootstrap Blocks 4.1.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bootstrap-"
77
"blocks\n"
8-
"POT-Creation-Date: 2021-12-09T20:17:11+00:00\n"
8+
"POT-Creation-Date: 2022-05-11T07:32:45+00:00\n"
99
"PO-Revision-Date: 2020-10-18 22:25+0200\n"
1010
"Last-Translator: \n"
1111
"Language-Team: \n"
@@ -101,14 +101,14 @@ msgstr "Die Option ist in der folgenden Konstante definiert: %s"
101101
msgid "%s does not exist."
102102
msgstr "%s existiert nicht."
103103

104-
#: build/index.js:30 build/index.js:35 build/index.js:15 build/index.js:19
105-
msgid "Button"
106-
msgstr "Button"
107-
108-
#: build/index.js:35 build/index.js:20
104+
#: build/index.js:30 build/index.js:35 build/index.js:15 build/index.js:20
109105
msgid "Bootstrap Button"
110106
msgstr "Bootstrap Button"
111107

108+
#: build/index.js:35 build/index.js:19
109+
msgid "Button"
110+
msgstr "Button"
111+
112112
#: build/index.js:35 build/index.js:272 build/index.js:702 build/index.js:1168
113113
#: build/index.js:21 build/index.js:212 build/index.js:682 build/index.js:1044
114114
msgid "Bootstrap"
@@ -150,14 +150,14 @@ msgstr "Ändere die Positionierung des Buttons"
150150
msgid "Apply"
151151
msgstr "Übernehmen"
152152

153-
#: build/index.js:266 build/index.js:272 build/index.js:206 build/index.js:210
154-
msgid "Column"
155-
msgstr "Column"
156-
157-
#: build/index.js:272 build/index.js:211
153+
#: build/index.js:266 build/index.js:272 build/index.js:206 build/index.js:211
158154
msgid "Bootstrap Column"
159155
msgstr "Bootstrap Column"
160156

157+
#: build/index.js:272 build/index.js:210
158+
msgid "Column"
159+
msgstr "Column"
160+
161161
#: build/index.js:399 build/index.js:320
162162
msgid "Align content top"
163163
msgstr "Inhalt oben positionieren"
@@ -261,14 +261,14 @@ msgstr "Grösse"
261261
msgid "Change vertical alignment of content"
262262
msgstr "Ändere die vertikale Positionierung des Inhaltes"
263263

264-
#: build/index.js:697 build/index.js:702 build/index.js:676 build/index.js:680
265-
msgid "Container"
266-
msgstr "Container"
267-
268-
#: build/index.js:702 build/index.js:681
264+
#: build/index.js:697 build/index.js:702 build/index.js:676 build/index.js:681
269265
msgid "Bootstrap Container"
270266
msgstr "Bootstrap Container"
271267

268+
#: build/index.js:702 build/index.js:680
269+
msgid "Container"
270+
msgstr "Container"
271+
272272
#: build/index.js:789 build/index.js:745
273273
msgid "Xl"
274274
msgstr "Xl"
@@ -321,14 +321,14 @@ msgid "Margin After"
321321
msgstr "Margin unterhalb vom Block"
322322

323323
#: build/index.js:1162 build/index.js:1168 build/index.js:1038
324-
#: build/index.js:1042
325-
msgid "Row"
326-
msgstr "Row"
327-
328-
#: build/index.js:1168 build/index.js:1043
324+
#: build/index.js:1043
329325
msgid "Bootstrap Row"
330326
msgstr "Bootstrap Row"
331327

328+
#: build/index.js:1168 build/index.js:1042
329+
msgid "Row"
330+
msgstr "Row"
331+
332332
#: build/index.js:1274 build/index.js:1115
333333
msgid "2 Columns (1:1)"
334334
msgstr "2 Spalten (1:1)"

0 commit comments

Comments
 (0)