@lando/laravel 1.3.1 → 1.5.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/5982cb1a-fbfc-436e-83b7-9b73951040b6.json +1 -0
- package/.nyc_output/processinfo/a339e8f3-b5f6-48f2-b8d6-5e6e82dc253a.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +15 -3
- package/README.md +6 -0
- package/builders/laravel.js +25 -5
- package/coverage/index.html +1 -1
- package/node_modules/@lando/mariadb/.eslintignore +3 -2
- package/node_modules/@lando/mariadb/CHANGELOG.md +13 -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/netlify.toml +19 -4
- package/node_modules/@lando/mariadb/package.json +12 -12
- package/node_modules/@lando/mariadb/tmpfile +0 -0
- package/node_modules/@lando/mariadb/utils/get-default-healthcheck.js +12 -5
- package/node_modules/@lando/mysql/.eslintignore +3 -2
- package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
- package/node_modules/@lando/mysql/netlify.toml +19 -4
- package/node_modules/@lando/mysql/package.json +11 -11
- package/node_modules/@lando/mysql/tmpfile +0 -0
- package/node_modules/@lando/mysql/utils/get-default-healthcheck.js +12 -5
- package/node_modules/@lando/postgres/.eslintignore +3 -2
- package/node_modules/@lando/postgres/.nyc_output/processinfo/3380cdae-4eeb-4e34-9b80-ce510e7ff922.json +1 -0
- package/node_modules/@lando/postgres/.nyc_output/processinfo/4a260cab-351e-4105-aba4-06e6f872bf12.json +1 -0
- package/node_modules/@lando/postgres/.nyc_output/processinfo/index.json +1 -1
- package/node_modules/@lando/postgres/CHANGELOG.md +5 -0
- package/node_modules/@lando/postgres/coverage/index.html +1 -1
- package/node_modules/@lando/postgres/netlify.toml +20 -5
- package/node_modules/@lando/postgres/package.json +13 -13
- package/node_modules/@lando/postgres/tmpfile +0 -0
- package/node_modules/@lando/postgres/utils/get-default-healthcheck.js +9 -4
- package/package.json +10 -10
- package/.nyc_output/processinfo/16689bc2-5921-4d0c-98df-ecf13f5ae64f.json +0 -1
- package/.nyc_output/processinfo/7f7842bc-1fdd-4513-9d7b-b6d734676407.json +0 -1
- package/node_modules/@lando/postgres/.nyc_output/processinfo/2687c51a-1087-45b1-b5dd-1c557d4a9030.json +0 -1
- package/node_modules/@lando/postgres/.nyc_output/processinfo/8b1ac11a-c036-44b8-8ee5-b34875c4541c.json +0 -1
- /package/.nyc_output/{16689bc2-5921-4d0c-98df-ecf13f5ae64f.json → 5982cb1a-fbfc-436e-83b7-9b73951040b6.json} +0 -0
- /package/.nyc_output/{7f7842bc-1fdd-4513-9d7b-b6d734676407.json → a339e8f3-b5f6-48f2-b8d6-5e6e82dc253a.json} +0 -0
- /package/node_modules/@lando/postgres/.nyc_output/{2687c51a-1087-45b1-b5dd-1c557d4a9030.json → 3380cdae-4eeb-4e34-9b80-ce510e7ff922.json} +0 -0
- /package/node_modules/@lando/postgres/.nyc_output/{8b1ac11a-c036-44b8-8ee5-b34875c4541c.json → 4a260cab-351e-4105-aba4-06e6f872bf12.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1962,"argv":["/opt/hostedtoolcache/node/18.20.2/x64/bin/node","/home/runner/work/laravel/laravel/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/laravel/laravel","time":1716837895833,"ppid":1951,"coverageFilename":"/home/runner/work/laravel/laravel/.nyc_output/5982cb1a-fbfc-436e-83b7-9b73951040b6.json","externalId":"","uuid":"5982cb1a-fbfc-436e-83b7-9b73951040b6","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1951,"argv":["/opt/hostedtoolcache/node/18.20.2/x64/bin/node","/home/runner/work/laravel/laravel/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/laravel/laravel","time":1716837895675,"ppid":1950,"coverageFilename":"/home/runner/work/laravel/laravel/.nyc_output/a339e8f3-b5f6-48f2-b8d6-5e6e82dc253a.json","externalId":"","uuid":"a339e8f3-b5f6-48f2-b8d6-5e6e82dc253a","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"5982cb1a-fbfc-436e-83b7-9b73951040b6":{"parent":null,"children":[]},"a339e8f3-b5f6-48f2-b8d6-5e6e82dc253a":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})
|
|
2
|
+
|
|
3
|
+
## v1.5.0 - [May 27, 2024](https://github.com/lando/laravel/releases/tag/v1.5.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
|
+
|
|
9
|
+
## v1.4.0 - [March 8, 2024](https://github.com/lando/laravel/releases/tag/v1.4.0)
|
|
10
|
+
|
|
11
|
+
* Updated to latest database services.
|
|
1
12
|
|
|
2
13
|
## v1.3.1 - [February 29, 2024](https://github.com/lando/laravel/releases/tag/v1.3.1)
|
|
3
14
|
|
|
4
15
|
### Fixes
|
|
5
16
|
|
|
6
|
-
* 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
|
|
7
18
|
|
|
8
19
|
## v1.3.0 - [February 27, 2024](https://github.com/lando/laravel/releases/tag/v1.3.0)
|
|
9
20
|
|
|
@@ -46,8 +57,9 @@
|
|
|
46
57
|
* Add compatibility for MySQL 8.x [lando/lando#1426](https://github.com/lando/lando/issues/1462)
|
|
47
58
|
|
|
48
59
|
## v0.7.0 - [December 12, 2022](https://github.com/lando/laravel/releases/tag/v0.7.0)
|
|
49
|
-
|
|
50
|
-
|
|
60
|
+
|
|
61
|
+
* Added bundle-dependencies to release process.
|
|
62
|
+
* Fixed bug in plugin dogfooding test.
|
|
51
63
|
|
|
52
64
|
## v0.6.0 - [September 8, 2022](https://github.com/lando/laravel/releases/tag/v0.6.0)
|
|
53
65
|
|
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/laravel/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/laravel/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/laravel/graphs/contributors">
|
package/builders/laravel.js
CHANGED
|
@@ -78,7 +78,20 @@ const toolingDefaults = {
|
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
//
|
|
81
|
+
// MariaDB cli commands
|
|
82
|
+
const mariadbCli = {
|
|
83
|
+
service: ':host',
|
|
84
|
+
description: 'Drops into a MariaDB shell on a database service',
|
|
85
|
+
cmd: 'mariadb -uroot',
|
|
86
|
+
options: {
|
|
87
|
+
host: {
|
|
88
|
+
description: 'The database service to use',
|
|
89
|
+
default: 'database',
|
|
90
|
+
alias: ['h'],
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
};
|
|
94
|
+
// MySQL cli commands
|
|
82
95
|
const mysqlCli = {
|
|
83
96
|
service: ':host',
|
|
84
97
|
description: 'Drops into a MySQL shell on a database service',
|
|
@@ -91,6 +104,7 @@ const mysqlCli = {
|
|
|
91
104
|
},
|
|
92
105
|
},
|
|
93
106
|
};
|
|
107
|
+
// Postgres cli commands
|
|
94
108
|
const postgresCli = {
|
|
95
109
|
service: ':host',
|
|
96
110
|
description: 'Drops into a psql shell on a database service',
|
|
@@ -171,13 +185,19 @@ const getServices = options => ({
|
|
|
171
185
|
*/
|
|
172
186
|
const getDbTooling = database => {
|
|
173
187
|
// Make sure we strip out any version number
|
|
174
|
-
|
|
188
|
+
const db = database.split(':')[0];
|
|
189
|
+
const ver = database.split(':')[1];
|
|
175
190
|
// Choose wisely
|
|
176
|
-
if (
|
|
191
|
+
if (db === 'mysql') {
|
|
192
|
+
return {mysql: mysqlCli};
|
|
193
|
+
} else if (db === 'mariadb' && ver < 10.4) {
|
|
194
|
+
// Use mysql command for MariaDB 10.3.x and below
|
|
177
195
|
return {mysql: mysqlCli};
|
|
178
|
-
} else if (
|
|
196
|
+
} else if (db === 'mariadb') {
|
|
197
|
+
return {mariadb: mariadbCli};
|
|
198
|
+
} else if (db === 'postgres') {
|
|
179
199
|
return {psql: postgresCli};
|
|
180
|
-
} else if (
|
|
200
|
+
} else if (db === 'mongo') {
|
|
181
201
|
return {mongo: {
|
|
182
202
|
service: 'database',
|
|
183
203
|
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:56.030Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
|
@@ -1,3 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
## v1.1.0 - [March 8, 2024](https://github.com/lando/mariadb/releases/tag/v1.1.0)
|
|
10
|
+
|
|
11
|
+
### Fixes
|
|
12
|
+
* Allow empty password and other creds fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
|
|
13
|
+
|
|
1
14
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/mariadb/releases/tag/v1.0.0)
|
|
2
15
|
|
|
3
16
|
* Dialed fully for `lando update`
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
[build]
|
|
2
2
|
base = "./"
|
|
3
|
-
publish = "docs/.
|
|
3
|
+
publish = "docs/.vitepress/dist"
|
|
4
4
|
command = "npm run docs:build"
|
|
5
5
|
|
|
6
6
|
# Sets our asset optimization
|
|
@@ -20,13 +20,28 @@
|
|
|
20
20
|
for = "/images/*"
|
|
21
21
|
[headers.values]
|
|
22
22
|
Cache-Control = "public, max-age=31536000"
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
# pluginz
|
|
25
|
+
# https://github.com/netlify/netlify-plugin-lighthouse#readme
|
|
26
|
+
[[plugins]]
|
|
27
|
+
package = "@netlify/plugin-lighthouse"
|
|
28
|
+
[plugins.inputs.audits]
|
|
29
|
+
output_path = "reports/lighthouse.html"
|
|
30
|
+
|
|
31
|
+
# https://github.com/munter/netlify-plugin-checklinks#readme
|
|
32
|
+
[[plugins]]
|
|
33
|
+
package = "netlify-plugin-checklinks"
|
|
34
|
+
[plugins.inputs]
|
|
35
|
+
todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
|
|
36
|
+
skipPatterns = [ ".rss", ".gif", ".jpg" ]
|
|
37
|
+
checkExternal = true
|
|
38
|
+
|
|
24
39
|
# We need this so preview environments and the base site look ok on their own
|
|
25
40
|
[[redirects]]
|
|
26
41
|
from = "/"
|
|
27
|
-
to = "/mariadb"
|
|
42
|
+
to = "/plugins/mariadb"
|
|
28
43
|
status = 200
|
|
29
44
|
[[redirects]]
|
|
30
|
-
from = "/mariadb/*"
|
|
45
|
+
from = "/plugins/mariadb/*"
|
|
31
46
|
to = "/:splat"
|
|
32
47
|
status = 200
|
|
@@ -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",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
36
|
-
"docs:dev": "
|
|
37
|
-
"docs:build": "
|
|
38
|
-
"docs:
|
|
39
|
-
"lint": "eslint --
|
|
36
|
+
"docs:dev": "vitepress dev docs",
|
|
37
|
+
"docs:build": "vitepress build docs",
|
|
38
|
+
"docs:preview": "vitepress preview docs",
|
|
39
|
+
"lint": "eslint . --ext .js --ext .mjs ",
|
|
40
40
|
"test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
|
|
41
41
|
"test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
42
42
|
"test": "npm run lint && npm run test:unit"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
49
|
-
"@lando/leia": "^0.
|
|
50
|
-
"@lando/
|
|
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",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"eslint-plugin-vue": "^8.0.3",
|
|
56
56
|
"mocha": "^9.1.2",
|
|
57
57
|
"nyc": "^15.1.0",
|
|
58
|
-
"
|
|
58
|
+
"vitepress": "^1.0.0-rc.42"
|
|
59
59
|
},
|
|
60
60
|
"bundledDependencies": [
|
|
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
|
}
|
|
File without changes
|
|
@@ -2,14 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
// checks to see if a setting is disabled
|
|
4
4
|
module.exports = options => {
|
|
5
|
-
|
|
5
|
+
let healthcheck = [
|
|
6
6
|
'mysql',
|
|
7
7
|
`--host=${options.name}`,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Only include whatever creds are available.
|
|
11
|
+
options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
|
|
12
|
+
options.creds.database ? healthcheck.push(`--database=${options.creds.database}`) : false;
|
|
13
|
+
options.creds.password ? healthcheck.push(`--password=${options.creds.password}`) : false;
|
|
14
|
+
|
|
15
|
+
healthcheck = healthcheck.concat([
|
|
11
16
|
'--silent',
|
|
12
17
|
'--execute',
|
|
13
18
|
'"SHOW TABLES;"',
|
|
14
|
-
]
|
|
19
|
+
]);
|
|
20
|
+
|
|
21
|
+
return healthcheck.join(' ');
|
|
15
22
|
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## v1.1.0 - [March 8, 2024](https://github.com/lando/mysql/releases/tag/v1.1.0)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
* Allow empty password and other creds fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
|
|
5
|
+
|
|
1
6
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/mysql/releases/tag/v1.0.0)
|
|
2
7
|
|
|
3
8
|
* Dialed fully for `lando update`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[build]
|
|
2
2
|
base = "./"
|
|
3
|
-
publish = "docs/.
|
|
3
|
+
publish = "docs/.vitepress/dist"
|
|
4
4
|
command = "npm run docs:build"
|
|
5
5
|
|
|
6
6
|
# Sets our asset optimization
|
|
@@ -20,13 +20,28 @@
|
|
|
20
20
|
for = "/images/*"
|
|
21
21
|
[headers.values]
|
|
22
22
|
Cache-Control = "public, max-age=31536000"
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
# pluginz
|
|
25
|
+
# https://github.com/netlify/netlify-plugin-lighthouse#readme
|
|
26
|
+
[[plugins]]
|
|
27
|
+
package = "@netlify/plugin-lighthouse"
|
|
28
|
+
[plugins.inputs.audits]
|
|
29
|
+
output_path = "reports/lighthouse.html"
|
|
30
|
+
|
|
31
|
+
# https://github.com/munter/netlify-plugin-checklinks#readme
|
|
32
|
+
[[plugins]]
|
|
33
|
+
package = "netlify-plugin-checklinks"
|
|
34
|
+
[plugins.inputs]
|
|
35
|
+
todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
|
|
36
|
+
skipPatterns = [ ".rss", ".gif", ".jpg" ]
|
|
37
|
+
checkExternal = true
|
|
38
|
+
|
|
24
39
|
# We need this so preview environments and the base site look ok on their own
|
|
25
40
|
[[redirects]]
|
|
26
41
|
from = "/"
|
|
27
|
-
to = "/mysql"
|
|
42
|
+
to = "/plugins/mysql"
|
|
28
43
|
status = 200
|
|
29
44
|
[[redirects]]
|
|
30
|
-
from = "/mysql/*"
|
|
45
|
+
from = "/plugins/mysql/*"
|
|
31
46
|
to = "/:splat"
|
|
32
47
|
status = 200
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/mysql",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with MySQL.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/mysql",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
36
|
-
"docs:dev": "
|
|
37
|
-
"docs:build": "
|
|
38
|
-
"docs:
|
|
39
|
-
"lint": "eslint --
|
|
36
|
+
"docs:dev": "vitepress dev docs",
|
|
37
|
+
"docs:build": "vitepress build docs",
|
|
38
|
+
"docs:preview": "vitepress preview docs",
|
|
39
|
+
"lint": "eslint . --ext .js --ext .mjs ",
|
|
40
40
|
"test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
|
|
41
41
|
"test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
42
42
|
"test": "npm run lint && npm run test:unit"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
49
49
|
"@lando/leia": "^0.6.5",
|
|
50
|
-
"@lando/
|
|
50
|
+
"@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
|
|
51
51
|
"chai": "^4.3.4",
|
|
52
52
|
"command-line-test": "^1.0.10",
|
|
53
53
|
"eslint": "^7.32.0",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"eslint-plugin-vue": "^8.0.3",
|
|
56
56
|
"mocha": "^9.1.2",
|
|
57
57
|
"nyc": "^15.1.0",
|
|
58
|
-
"
|
|
58
|
+
"vitepress": "^1.0.0-rc.42"
|
|
59
59
|
},
|
|
60
60
|
"bundledDependencies": [
|
|
61
61
|
"lodash"
|
|
62
62
|
],
|
|
63
63
|
"dist": {
|
|
64
|
-
"integrity": "sha512-
|
|
65
|
-
"shasum": "
|
|
66
|
-
"filename": "lando-mysql-1.
|
|
67
|
-
"unpackedSize":
|
|
64
|
+
"integrity": "sha512-lprclsoY/I5gMA6Qtq/n91EaWVdlrxbr5BG9CvyrZjl1xSUeoqGTB0NVDHUn33X+ozoCTO88i64iw3lFHFKMdQ==",
|
|
65
|
+
"shasum": "ce6a886ec27a86770b7981cf505849b053acf2e0",
|
|
66
|
+
"filename": "lando-mysql-1.1.0.tgz",
|
|
67
|
+
"unpackedSize": 1469005
|
|
68
68
|
}
|
|
69
69
|
}
|
|
File without changes
|
|
@@ -2,14 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
// checks to see if a setting is disabled
|
|
4
4
|
module.exports = options => {
|
|
5
|
-
|
|
5
|
+
let healthcheck = [
|
|
6
6
|
'mysql',
|
|
7
7
|
`--host=${options.name}`,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Only include whatever creds are available.
|
|
11
|
+
options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
|
|
12
|
+
options.creds.database ? healthcheck.push(`--database=${options.creds.database}`) : false;
|
|
13
|
+
options.creds.password ? healthcheck.push(`--password=${options.creds.password}`) : false;
|
|
14
|
+
|
|
15
|
+
healthcheck = healthcheck.concat([
|
|
11
16
|
'--silent',
|
|
12
17
|
'--execute',
|
|
13
18
|
'"SHOW TABLES;"',
|
|
14
|
-
]
|
|
19
|
+
]);
|
|
20
|
+
|
|
21
|
+
return healthcheck.join(' ');
|
|
15
22
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1879,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1709931699943,"ppid":1868,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/3380cdae-4eeb-4e34-9b80-ce510e7ff922.json","externalId":"","uuid":"3380cdae-4eeb-4e34-9b80-ce510e7ff922","files":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1868,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1709931699762,"ppid":1867,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/4a260cab-351e-4105-aba4-06e6f872bf12.json","externalId":"","uuid":"4a260cab-351e-4105-aba4-06e6f872bf12","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"3380cdae-4eeb-4e34-9b80-ce510e7ff922":{"parent":null,"children":[]},"4a260cab-351e-4105-aba4-06e6f872bf12":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## v1.1.0 - [March 8, 2024](https://github.com/lando/postgres/releases/tag/v1.1.0)
|
|
2
|
+
|
|
3
|
+
### Fixes
|
|
4
|
+
* Allow empty user/dbname fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
|
|
5
|
+
|
|
1
6
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/postgres/releases/tag/v1.0.0)
|
|
2
7
|
|
|
3
8
|
* Dialed fully for `lando update`.
|
|
@@ -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
|
|
89
|
+
at 2024-03-08T21:01:40.150Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[build]
|
|
2
2
|
base = "./"
|
|
3
|
-
publish = "docs/.
|
|
3
|
+
publish = "docs/.vitepress/dist"
|
|
4
4
|
command = "npm run docs:build"
|
|
5
5
|
|
|
6
6
|
# Sets our asset optimization
|
|
@@ -20,13 +20,28 @@
|
|
|
20
20
|
for = "/images/*"
|
|
21
21
|
[headers.values]
|
|
22
22
|
Cache-Control = "public, max-age=31536000"
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
# pluginz
|
|
25
|
+
# https://github.com/netlify/netlify-plugin-lighthouse#readme
|
|
26
|
+
[[plugins]]
|
|
27
|
+
package = "@netlify/plugin-lighthouse"
|
|
28
|
+
[plugins.inputs.audits]
|
|
29
|
+
output_path = "reports/lighthouse.html"
|
|
30
|
+
|
|
31
|
+
# https://github.com/munter/netlify-plugin-checklinks#readme
|
|
32
|
+
[[plugins]]
|
|
33
|
+
package = "netlify-plugin-checklinks"
|
|
34
|
+
[plugins.inputs]
|
|
35
|
+
todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
|
|
36
|
+
skipPatterns = [ ".rss", ".gif", ".jpg" ]
|
|
37
|
+
checkExternal = true
|
|
38
|
+
|
|
24
39
|
# We need this so preview environments and the base site look ok on their own
|
|
25
40
|
[[redirects]]
|
|
26
41
|
from = "/"
|
|
27
|
-
to = "/postgres"
|
|
42
|
+
to = "/plugins/postgres"
|
|
28
43
|
status = 200
|
|
29
44
|
[[redirects]]
|
|
30
|
-
from = "/postgres/*"
|
|
45
|
+
from = "/plugins/postgres/*"
|
|
31
46
|
to = "/:splat"
|
|
32
|
-
status = 200
|
|
47
|
+
status = 200
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/postgres",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with Postgres.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/postgres",
|
|
@@ -16,9 +16,6 @@
|
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18.0.0"
|
|
18
18
|
},
|
|
19
|
-
"bundledDependencies": [
|
|
20
|
-
"lodash"
|
|
21
|
-
],
|
|
22
19
|
"lando": {},
|
|
23
20
|
"main": "index.js",
|
|
24
21
|
"nyc": {
|
|
@@ -36,13 +33,13 @@
|
|
|
36
33
|
},
|
|
37
34
|
"scripts": {
|
|
38
35
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
39
|
-
"docs:dev": "
|
|
40
|
-
"docs:build": "
|
|
41
|
-
"docs:
|
|
42
|
-
"lint": "eslint --
|
|
36
|
+
"docs:dev": "vitepress dev docs",
|
|
37
|
+
"docs:build": "vitepress build docs",
|
|
38
|
+
"docs:preview": "vitepress preview docs",
|
|
39
|
+
"lint": "eslint . --ext .js --ext .mjs ",
|
|
43
40
|
"test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
|
|
44
|
-
"test:leia": "
|
|
45
|
-
"test": "
|
|
41
|
+
"test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
42
|
+
"test": "npm run lint && npm run test:unit"
|
|
46
43
|
},
|
|
47
44
|
"dependencies": {
|
|
48
45
|
"lodash": "^4.17.21"
|
|
@@ -50,7 +47,7 @@
|
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
52
49
|
"@lando/leia": "^0.6.5",
|
|
53
|
-
"@lando/
|
|
50
|
+
"@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
|
|
54
51
|
"chai": "^4.3.4",
|
|
55
52
|
"command-line-test": "^1.0.10",
|
|
56
53
|
"eslint": "^7.32.0",
|
|
@@ -58,6 +55,9 @@
|
|
|
58
55
|
"eslint-plugin-vue": "^8.0.3",
|
|
59
56
|
"mocha": "^9.1.2",
|
|
60
57
|
"nyc": "^15.1.0",
|
|
61
|
-
"
|
|
62
|
-
}
|
|
58
|
+
"vitepress": "^1.0.0-rc.42"
|
|
59
|
+
},
|
|
60
|
+
"bundledDependencies": [
|
|
61
|
+
"lodash"
|
|
62
|
+
]
|
|
63
63
|
}
|
|
File without changes
|
|
@@ -2,11 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
// checks to see if a setting is disabled
|
|
4
4
|
module.exports = options => {
|
|
5
|
-
|
|
5
|
+
let healthcheck = [
|
|
6
6
|
'psql',
|
|
7
7
|
`--host=${options.name}`,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
// Only include whatever creds are available.
|
|
11
|
+
options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
|
|
12
|
+
options.creds.database ? healthcheck.push(`--dbname=${options.creds.database}`) : false;
|
|
13
|
+
|
|
14
|
+
return healthcheck.concat([
|
|
10
15
|
'-c "\\\l"',
|
|
11
|
-
].join(' ');
|
|
16
|
+
]).join(' ');
|
|
12
17
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/laravel",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with Laravel.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/laravel",
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"test": "npm run lint && npm run test:unit"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lando/mariadb": "^1.
|
|
45
|
+
"@lando/mariadb": "^1.3.0",
|
|
46
46
|
"@lando/memcached": "^1.1.0",
|
|
47
47
|
"@lando/mssql": "^1.0.0",
|
|
48
|
-
"@lando/mysql": "^1.
|
|
48
|
+
"@lando/mysql": "^1.1.0",
|
|
49
49
|
"@lando/nginx": "^1.0.0",
|
|
50
50
|
"@lando/php": "^1.2.0",
|
|
51
|
-
"@lando/postgres": "^1.
|
|
51
|
+
"@lando/postgres": "^1.1.0",
|
|
52
52
|
"@lando/redis": "^1.0.0",
|
|
53
53
|
"lodash": "^4.17.21"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@babel/eslint-parser": "^7.23.10",
|
|
57
|
-
"@lando/leia": "^0.
|
|
58
|
-
"@lando/vitepress-theme-default-plus": "^1.0.
|
|
57
|
+
"@lando/leia": "^1.0.0-beta.3",
|
|
58
|
+
"@lando/vitepress-theme-default-plus": "^1.0.2",
|
|
59
59
|
"chai": "~4.3.4",
|
|
60
60
|
"command-line-test": "^1.0.10",
|
|
61
61
|
"eslint": "^8.56.0",
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"lodash"
|
|
78
78
|
],
|
|
79
79
|
"dist": {
|
|
80
|
-
"integrity": "sha512
|
|
81
|
-
"shasum": "
|
|
82
|
-
"filename": "lando-laravel-1.
|
|
83
|
-
"unpackedSize":
|
|
80
|
+
"integrity": "sha512-uq5WcLQKfNWhDXnpr6XSaujIVeWr6XV0B7ybjKImzxfI8bxY+5FUorq5yzhw0t2Pjm/q+OlvSG6XtYaxmKaw5w==",
|
|
81
|
+
"shasum": "618ca57cba75be3f9298446b28f8ca1181ae372d",
|
|
82
|
+
"filename": "lando-laravel-1.5.0.tgz",
|
|
83
|
+
"unpackedSize": 15129832
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1858,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/laravel/laravel/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/laravel/laravel","time":1709221105911,"ppid":1857,"coverageFilename":"/home/runner/work/laravel/laravel/.nyc_output/16689bc2-5921-4d0c-98df-ecf13f5ae64f.json","externalId":"","uuid":"16689bc2-5921-4d0c-98df-ecf13f5ae64f","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1869,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/laravel/laravel/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/laravel/laravel","time":1709221106073,"ppid":1858,"coverageFilename":"/home/runner/work/laravel/laravel/.nyc_output/7f7842bc-1fdd-4513-9d7b-b6d734676407.json","externalId":"","uuid":"7f7842bc-1fdd-4513-9d7b-b6d734676407","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1966,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1702582254499,"ppid":1955,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/2687c51a-1087-45b1-b5dd-1c557d4a9030.json","externalId":"","uuid":"2687c51a-1087-45b1-b5dd-1c557d4a9030","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1955,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1702582254328,"ppid":1954,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/8b1ac11a-c036-44b8-8ee5-b34875c4541c.json","externalId":"","uuid":"8b1ac11a-c036-44b8-8ee5-b34875c4541c","files":[]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|