@lando/wordpress 1.3.0 → 1.4.0
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/.nyc_output/processinfo/0298b2c4-77fd-4b4a-83d3-e81717e44301.json +1 -0
- package/.nyc_output/processinfo/4778d34a-15d5-4032-993f-a2c190116380.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +11 -2
- package/README.md +6 -0
- package/builders/wordpress.js +25 -5
- package/coverage/index.html +1 -1
- package/node_modules/@lando/mariadb/CHANGELOG.md +8 -0
- package/node_modules/@lando/mariadb/README.md +6 -0
- package/node_modules/@lando/mariadb/builders/mariadb.js +12 -2
- package/node_modules/@lando/mariadb/package.json +7 -7
- package/package.json +8 -8
- package/.nyc_output/processinfo/d1a99336-ffa8-468c-9f51-a97cbf5fcb97.json +0 -1
- package/.nyc_output/processinfo/e4d96d13-bd8f-4d2e-828d-f8afd21e4fbb.json +0 -1
- /package/.nyc_output/{d1a99336-ffa8-468c-9f51-a97cbf5fcb97.json → 0298b2c4-77fd-4b4a-83d3-e81717e44301.json} +0 -0
- /package/.nyc_output/{e4d96d13-bd8f-4d2e-828d-f8afd21e4fbb.json → 4778d34a-15d5-4032-993f-a2c190116380.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":2014,"argv":["/opt/hostedtoolcache/node/18.20.2/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1716837857253,"ppid":2003,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/0298b2c4-77fd-4b4a-83d3-e81717e44301.json","externalId":"","uuid":"0298b2c4-77fd-4b4a-83d3-e81717e44301","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":2003,"argv":["/opt/hostedtoolcache/node/18.20.2/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1716837857098,"ppid":2002,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/4778d34a-15d5-4032-993f-a2c190116380.json","externalId":"","uuid":"4778d34a-15d5-4032-993f-a2c190116380","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"0298b2c4-77fd-4b4a-83d3-e81717e44301":{"parent":null,"children":[]},"4778d34a-15d5-4032-993f-a2c190116380":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
+
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
|
+
|
|
3
|
+
## v1.4.0 - [May 27, 2024](https://github.com/lando/wordpress/releases/tag/v1.4.0)
|
|
4
|
+
|
|
5
|
+
* Updated mariadb plugin [#51](https://github.com/lando/mariadb/issues/51)
|
|
6
|
+
* Use mysql command for MariaDB 10.3.x and below
|
|
7
|
+
* Cleaned up test comments
|
|
8
|
+
|
|
1
9
|
## v1.3.0 - [March 8, 2024](https://github.com/lando/wordpress/releases/tag/v1.3.0)
|
|
2
|
-
|
|
10
|
+
|
|
11
|
+
* Updated to latest database services.
|
|
3
12
|
|
|
4
13
|
## v1.2.1 - [March 4, 2024](https://github.com/lando/wordpress/releases/tag/v1.2.1)
|
|
5
14
|
|
|
6
15
|
### Fixes
|
|
7
16
|
|
|
8
|
-
* Improved `database` selection for purposes of `config` loading, fixes some `database` bootup issues when the `database` type is
|
|
17
|
+
* Improved `database` selection for purposes of `config` loading, fixes some `database` bootup issues when the `database` type is overridden downstream
|
|
9
18
|
|
|
10
19
|
## v1.2.0 - [February 22, 2024](https://github.com/lando/wordpress/releases/tag/v1.2.0)
|
|
11
20
|
|
package/README.md
CHANGED
|
@@ -40,6 +40,12 @@ If you'd like to report a bug or submit a feature request then please [use the i
|
|
|
40
40
|
|
|
41
41
|
We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/wordpress/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/wordpress/releases).
|
|
42
42
|
|
|
43
|
+
|
|
44
|
+
## Maintainers
|
|
45
|
+
|
|
46
|
+
* [@pirog](https://github.com/pirog)
|
|
47
|
+
* [@reynoldsalec](https://github.com/reynoldsalec)
|
|
48
|
+
|
|
43
49
|
## Contributors
|
|
44
50
|
|
|
45
51
|
<a href="https://github.com/lando/wordpress/graphs/contributors">
|
package/builders/wordpress.js
CHANGED
|
@@ -117,7 +117,20 @@ const toolingDefaults = {
|
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
//
|
|
120
|
+
// MariaDB cli commands
|
|
121
|
+
const mariadbCli = {
|
|
122
|
+
service: ':host',
|
|
123
|
+
description: 'Drops into a MariaDB shell on a database service',
|
|
124
|
+
cmd: 'mariadb -uroot',
|
|
125
|
+
options: {
|
|
126
|
+
host: {
|
|
127
|
+
description: 'The database service to use',
|
|
128
|
+
default: 'database',
|
|
129
|
+
alias: ['h'],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
// MySQL DB cli commands
|
|
121
134
|
const mysqlCli = {
|
|
122
135
|
service: ':host',
|
|
123
136
|
description: 'Drops into a MySQL shell on a database service',
|
|
@@ -130,6 +143,7 @@ const mysqlCli = {
|
|
|
130
143
|
},
|
|
131
144
|
},
|
|
132
145
|
};
|
|
146
|
+
// Postgres DB cli commands
|
|
133
147
|
const postgresCli = {
|
|
134
148
|
service: ':host',
|
|
135
149
|
description: 'Drops into a psql shell on a database service',
|
|
@@ -149,13 +163,19 @@ const postgresCli = {
|
|
|
149
163
|
*/
|
|
150
164
|
const getDbTooling = database => {
|
|
151
165
|
// Make sure we strip out any version number
|
|
152
|
-
|
|
166
|
+
const db = database.split(':')[0];
|
|
167
|
+
const ver = database.split(':')[1];
|
|
153
168
|
// Choose wisely
|
|
154
|
-
if (
|
|
169
|
+
if (db === 'mysql') {
|
|
170
|
+
return {mysql: mysqlCli};
|
|
171
|
+
} else if (db === 'mariadb' && ver < 10.4) {
|
|
172
|
+
// Use mysql command for MariaDB 10.3.x and below
|
|
155
173
|
return {mysql: mysqlCli};
|
|
156
|
-
} else if (
|
|
174
|
+
} else if (db === 'mariadb') {
|
|
175
|
+
return {mariadb: mariadbCli};
|
|
176
|
+
} else if (db === 'postgres') {
|
|
157
177
|
return {psql: postgresCli};
|
|
158
|
-
} else if (
|
|
178
|
+
} else if (db === 'mongo') {
|
|
159
179
|
return {mongo: {
|
|
160
180
|
service: 'database',
|
|
161
181
|
description: 'Drop into the mongo shell',
|
package/coverage/index.html
CHANGED
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
87
87
|
Code coverage generated by
|
|
88
88
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
89
|
-
at 2024-
|
|
89
|
+
at 2024-05-27T19:24:17.446Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## v1.3.0 - [April 11, 2024](https://github.com/lando/mariadb/releases/tag/v1.3.0)
|
|
2
|
+
|
|
3
|
+
* Updated available version of Mariadb to 11.3. [#53](https://github.com/lando/mariadb/pull/53)
|
|
4
|
+
|
|
5
|
+
## v1.2.0 - [March 19, 2024](https://github.com/lando/mariadb/releases/tag/v1.2.0)
|
|
6
|
+
|
|
7
|
+
* Updated available version of Mariadb. [#45](https://github.com/lando/mariadb/pull/45)
|
|
8
|
+
|
|
1
9
|
## v1.1.0 - [March 8, 2024](https://github.com/lando/mariadb/releases/tag/v1.1.0)
|
|
2
10
|
|
|
3
11
|
### Fixes
|
|
@@ -33,6 +33,12 @@ If you'd like to report a bug or submit a feature request then please [use the i
|
|
|
33
33
|
|
|
34
34
|
We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/mariadb/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/mariadb/releases).
|
|
35
35
|
|
|
36
|
+
|
|
37
|
+
## Maintainers
|
|
38
|
+
|
|
39
|
+
* [@pirog](https://github.com/pirog)
|
|
40
|
+
* [@reynoldsalec](https://github.com/reynoldsalec)
|
|
41
|
+
|
|
36
42
|
## Contributors
|
|
37
43
|
|
|
38
44
|
<a href="https://github.com/lando/mariadb/graphs/contributors">
|
|
@@ -9,9 +9,19 @@ module.exports = {
|
|
|
9
9
|
name: 'mariadb',
|
|
10
10
|
config: {
|
|
11
11
|
version: '10.3',
|
|
12
|
-
supported: ['
|
|
13
|
-
|
|
12
|
+
supported: ['11.3', '11.2', '11.1', '11.0', '10.11', '10.10', '10.9',
|
|
13
|
+
'10.8', '10.7', '10.6', '10.5', '10.4', '10.3', '10.2', '10.1'],
|
|
14
|
+
legacy: ['10.10', '10.9', '10.8', '10.7', '10.3', '10.2', '10.1'],
|
|
14
15
|
pinPairs: {
|
|
16
|
+
'11.3': 'bitnami/mariadb:11.3.2-debian-12-r1',
|
|
17
|
+
'11.2': 'bitnami/mariadb:11.2.3-debian-12-r4',
|
|
18
|
+
'11.1': 'bitnami/mariadb:11.1.4-debian-12-r4',
|
|
19
|
+
'11.0': 'bitnami/mariadb:11.0.5-debian-12-r5',
|
|
20
|
+
'10.11': 'bitnami/mariadb:10.11.7-debian-12-r6',
|
|
21
|
+
'10.10': 'bitnami/mariadb:10.10.7-debian-11-r6',
|
|
22
|
+
'10.9': 'bitnami/mariadb:10.9.8-debian-11-r22',
|
|
23
|
+
'10.8': 'bitnami/mariadb:10.8.8-debian-11-r5',
|
|
24
|
+
'10.7': 'bitnami/mariadb:10.7.8-debian-11-r6',
|
|
15
25
|
'10.6': 'bitnami/mariadb:10.6.5-debian-10-r30',
|
|
16
26
|
'10.5': 'bitnami/mariadb:10.5.8-debian-10-r74',
|
|
17
27
|
'10.4': 'bitnami/mariadb:10.4.17-debian-10-r84',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/mariadb",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with mariadb.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/mariadb",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
49
|
-
"@lando/leia": "^0.
|
|
50
|
-
"@lando/vitepress-theme-default-plus": "^1.0.
|
|
49
|
+
"@lando/leia": "^1.0.0-beta.3",
|
|
50
|
+
"@lando/vitepress-theme-default-plus": "^1.0.1",
|
|
51
51
|
"chai": "^4.3.4",
|
|
52
52
|
"command-line-test": "^1.0.10",
|
|
53
53
|
"eslint": "^7.32.0",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"lodash"
|
|
62
62
|
],
|
|
63
63
|
"dist": {
|
|
64
|
-
"integrity": "sha512-
|
|
65
|
-
"shasum": "
|
|
66
|
-
"filename": "lando-mariadb-1.
|
|
67
|
-
"unpackedSize":
|
|
64
|
+
"integrity": "sha512-KS+XSsRaPbNKzzIqFgWeqzrZdW1u9687rDNby+ubOXHiIswReyil+lXOkQ6qYIl13kF3zINihEKzlMpWU/e+YQ==",
|
|
65
|
+
"shasum": "ddda15f427edcd3c39c6c0de143c04eda6eb48d9",
|
|
66
|
+
"filename": "lando-mariadb-1.3.0.tgz",
|
|
67
|
+
"unpackedSize": 1470246
|
|
68
68
|
}
|
|
69
69
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/wordpress",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with WordPress.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/wordpress",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@lando/apache": "^1.0.0",
|
|
46
|
-
"@lando/mariadb": "^1.
|
|
46
|
+
"@lando/mariadb": "^1.3.0",
|
|
47
47
|
"@lando/mssql": "^1.0.0",
|
|
48
48
|
"@lando/mysql": "^1.1.0",
|
|
49
49
|
"@lando/nginx": "^0.11.0",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@babel/eslint-parser": "^7.16.0",
|
|
56
|
-
"@lando/leia": "^0.
|
|
57
|
-
"@lando/vitepress-theme-default-plus": "^1.0.
|
|
56
|
+
"@lando/leia": "^1.0.0-beta.3",
|
|
57
|
+
"@lando/vitepress-theme-default-plus": "^1.0.2",
|
|
58
58
|
"chai": "^4.3.4",
|
|
59
59
|
"command-line-test": "^1.0.10",
|
|
60
60
|
"eslint": "^7.32.0",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"lodash"
|
|
76
76
|
],
|
|
77
77
|
"dist": {
|
|
78
|
-
"integrity": "sha512-
|
|
79
|
-
"shasum": "
|
|
80
|
-
"filename": "lando-wordpress-1.
|
|
81
|
-
"unpackedSize":
|
|
78
|
+
"integrity": "sha512-EZmZ3qN6NBItq62Q5+d3XyWi/aQwj4CoHR5pZ4gOT8Q1/ihQlM5dyTKrorFYyQLfd2mBDpAyoqVE07IugZz6kQ==",
|
|
79
|
+
"shasum": "9e5b97eb43e1613cc2a50caecabda86030c95bdf",
|
|
80
|
+
"filename": "lando-wordpress-1.4.0.tgz",
|
|
81
|
+
"unpackedSize": 13717578
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1872,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1710179882228,"ppid":1861,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/d1a99336-ffa8-468c-9f51-a97cbf5fcb97.json","externalId":"","uuid":"d1a99336-ffa8-468c-9f51-a97cbf5fcb97","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1861,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1710179882077,"ppid":1860,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/e4d96d13-bd8f-4d2e-828d-f8afd21e4fbb.json","externalId":"","uuid":"e4d96d13-bd8f-4d2e-828d-f8afd21e4fbb","files":[]}
|
|
File without changes
|
|
File without changes
|