@lando/drupal 1.1.0 → 1.3.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/01d8ff22-9438-4554-b087-ab7603b629f0.json +1 -0
- package/.nyc_output/processinfo/f814aa13-2c41-4f20-8996-54b86b27fa3e.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +10 -0
- package/config/drupal10/default.conf.tpl +2 -0
- package/config/drupal10/mysql.cnf +3 -2
- package/config/drupal10/mysql8.cnf +3 -2
- package/config/drupal10/php.ini +3 -2
- package/config/drupal6/default.conf.tpl +9 -7
- package/config/drupal6/mysql.cnf +4 -3
- package/config/drupal6/mysql8.cnf +3 -2
- package/config/drupal6/php.ini +3 -5
- package/config/drupal7/default.conf.tpl +2 -0
- package/config/drupal7/mysql.cnf +3 -2
- package/config/drupal7/mysql8.cnf +3 -2
- package/config/drupal7/php.ini +3 -2
- package/config/drupal8/default.conf.tpl +2 -0
- package/config/drupal8/mysql.cnf +4 -3
- package/config/drupal8/mysql8.cnf +3 -2
- package/config/drupal8/php.ini +3 -2
- package/config/drupal9/default.conf.tpl +2 -0
- package/config/drupal9/mysql.cnf +3 -2
- package/config/drupal9/mysql8.cnf +3 -2
- package/config/drupal9/php.ini +3 -2
- package/coverage/index.html +1 -1
- package/coverage/utils.js.html +1 -1
- package/coverage/warnings.js.html +1 -1
- package/netlify.toml +2 -4
- package/node_modules/@lando/mariadb/.eslintignore +3 -2
- package/node_modules/@lando/mariadb/CHANGELOG.md +5 -0
- package/node_modules/@lando/mariadb/netlify.toml +19 -4
- package/node_modules/@lando/mariadb/package.json +11 -11
- 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/php/.eslintignore +3 -2
- package/node_modules/@lando/php/.nyc_output/processinfo/927b5cd6-2a94-4b26-ac08-3ff93f5da197.json +1 -0
- package/node_modules/@lando/php/.nyc_output/processinfo/b107e51d-27b5-4645-90dd-ca6c345830fa.json +1 -0
- package/node_modules/@lando/php/.nyc_output/processinfo/index.json +1 -1
- package/node_modules/@lando/php/CHANGELOG.md +14 -7
- package/node_modules/@lando/php/builders/php.js +2 -2
- package/node_modules/@lando/php/coverage/index.html +1 -1
- package/node_modules/@lando/php/images/8.3-apache/Dockerfile +83 -0
- package/node_modules/@lando/php/images/8.3-fpm/Dockerfile +84 -0
- package/node_modules/@lando/php/netlify.toml +20 -5
- package/node_modules/@lando/php/package.json +11 -11
- package/node_modules/@lando/php/tmpfile +0 -0
- 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/2fa3fbd3-7ca0-4e2e-8cf3-3e35a2ba8f22.json +0 -1
- package/.nyc_output/processinfo/53e67f35-dbc9-471d-b81e-ec93eb363afe.json +0 -1
- package/node_modules/@lando/php/.nyc_output/processinfo/0d3f9936-7351-4e73-b720-0191b83fa2ed.json +0 -1
- package/node_modules/@lando/php/.nyc_output/processinfo/ce923446-2865-4698-835b-17780656b791.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/{2fa3fbd3-7ca0-4e2e-8cf3-3e35a2ba8f22.json → 01d8ff22-9438-4554-b087-ab7603b629f0.json} +0 -0
- /package/.nyc_output/{53e67f35-dbc9-471d-b81e-ec93eb363afe.json → f814aa13-2c41-4f20-8996-54b86b27fa3e.json} +0 -0
- /package/node_modules/@lando/php/.nyc_output/{0d3f9936-7351-4e73-b720-0191b83fa2ed.json → 927b5cd6-2a94-4b26-ac08-3ff93f5da197.json} +0 -0
- /package/node_modules/@lando/php/.nyc_output/{ce923446-2865-4698-835b-17780656b791.json → b107e51d-27b5-4645-90dd-ca6c345830fa.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
|
@@ -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
|
};
|
package/node_modules/@lando/php/.nyc_output/processinfo/927b5cd6-2a94-4b26-ac08-3ff93f5da197.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1834,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1708112026734,"ppid":1833,"coverageFilename":"/home/runner/work/php/php/.nyc_output/927b5cd6-2a94-4b26-ac08-3ff93f5da197.json","externalId":"","uuid":"927b5cd6-2a94-4b26-ac08-3ff93f5da197","files":[]}
|
package/node_modules/@lando/php/.nyc_output/processinfo/b107e51d-27b5-4645-90dd-ca6c345830fa.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1845,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1708112026952,"ppid":1834,"coverageFilename":"/home/runner/work/php/php/.nyc_output/b107e51d-27b5-4645-90dd-ca6c345830fa.json","externalId":"","uuid":"b107e51d-27b5-4645-90dd-ca6c345830fa","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"927b5cd6-2a94-4b26-ac08-3ff93f5da197":{"parent":null,"children":[]},"b107e51d-27b5-4645-90dd-ca6c345830fa":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
+
## v1.2.0 - [February 16, 2024](https://github.com/lando/php/releases/tag/v1.2.0)
|
|
2
|
+
* Get PHP image builds working to make PHP 8.3 images available. **Note Imagick is [temporarily unavailable](https://github.com/Imagick/imagick/pull/641)!**
|
|
3
|
+
* Stable version of xdebug for PHP 8.3. [#91](https://github.com/lando/php/pull/91)
|
|
4
|
+
|
|
5
|
+
## v1.1.0 - [January 29, 2024](https://github.com/lando/php/releases/tag/v1.1.0)
|
|
6
|
+
* Add support for PHP 8.3. [#77](https://github.com/lando/php/issues/77)
|
|
7
|
+
|
|
1
8
|
## v1.0.0 - [December 7, 2023](https://github.com/lando/php/releases/tag/v1.0.0)
|
|
2
|
-
|
|
9
|
+
* Dialed fully for `lando update`
|
|
3
10
|
|
|
4
11
|
## v0.10.2 - [November 28, 2023](https://github.com/lando/php/releases/tag/v0.10.2)
|
|
5
|
-
* Added option to override the image powering the service.
|
|
6
|
-
* Removed apparmor step from image building.
|
|
12
|
+
* Added option to override the image powering the service.
|
|
13
|
+
* Removed apparmor step from image building.
|
|
7
14
|
|
|
8
15
|
## v0.10.1 - [November 27, 2023](https://github.com/lando/php/releases/tag/v0.10.1)
|
|
9
|
-
* Removed relative references to dependencies.
|
|
10
|
-
* Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
|
|
16
|
+
* Removed relative references to dependencies.
|
|
17
|
+
* Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
|
|
11
18
|
|
|
12
19
|
## v0.10.0 - [November 21, 2023](https://github.com/lando/php/releases/tag/v0.10.0)
|
|
13
|
-
* Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
|
|
14
|
-
* Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
|
|
20
|
+
* Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
|
|
21
|
+
* Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
|
|
15
22
|
|
|
16
23
|
## v0.9.0 - [July 3, 2023](https://github.com/lando/php/releases/tag/v0.9.0)
|
|
17
24
|
* Removed bundle-dependencies and version-bump-prompt from plugin.
|
|
@@ -91,7 +91,7 @@ module.exports = {
|
|
|
91
91
|
name: 'php',
|
|
92
92
|
config: {
|
|
93
93
|
version: '7.4',
|
|
94
|
-
supported: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
94
|
+
supported: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
95
95
|
legacy: ['7.2', '7.1', '7.0', '5.6', '5.5', '5.4', '5.3'],
|
|
96
96
|
gen2: ['5.5', '5.4', '5.3'],
|
|
97
97
|
gen3: ['7.2', '7.1', '7.0', '5.6'],
|
|
@@ -109,7 +109,7 @@ module.exports = {
|
|
|
109
109
|
],
|
|
110
110
|
confSrc: path.resolve(__dirname, '..', 'config'),
|
|
111
111
|
command: ['sh -c \'a2enmod rewrite && apache2-foreground\''],
|
|
112
|
-
composer_version: '2.2.
|
|
112
|
+
composer_version: '2.2.22',
|
|
113
113
|
phpServer: 'apache',
|
|
114
114
|
defaultFiles: {
|
|
115
115
|
_php: 'php.ini',
|
|
@@ -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-02-16T19:33:47.229Z
|
|
90
90
|
</div>
|
|
91
91
|
<script src="prettify.js"></script>
|
|
92
92
|
<script>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.3-apache-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.3-apache-bullseye
|
|
4
|
+
|
|
5
|
+
# Install dependencies we need
|
|
6
|
+
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
|
+
&& apt -y update && apt-get install -y \
|
|
8
|
+
gnupg2 \
|
|
9
|
+
wget \
|
|
10
|
+
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
|
|
11
|
+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
|
12
|
+
&& apt-get update && apt-get install -y \
|
|
13
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install memcached \
|
|
46
|
+
&& pecl install oauth \
|
|
47
|
+
&& pecl install redis-6.0.2 \
|
|
48
|
+
&& pecl install xdebug-3.3.1 \
|
|
49
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
50
|
+
&& docker-php-ext-enable apcu \
|
|
51
|
+
&& docker-php-ext-enable memcached \
|
|
52
|
+
&& docker-php-ext-enable oauth \
|
|
53
|
+
&& docker-php-ext-enable redis \
|
|
54
|
+
&& docker-php-ext-install bcmath \
|
|
55
|
+
&& docker-php-ext-install bz2 \
|
|
56
|
+
&& docker-php-ext-install calendar \
|
|
57
|
+
&& docker-php-ext-install exif \
|
|
58
|
+
&& docker-php-ext-install gettext \
|
|
59
|
+
&& docker-php-ext-install intl \
|
|
60
|
+
&& docker-php-ext-install ldap \
|
|
61
|
+
&& docker-php-ext-install mbstring \
|
|
62
|
+
&& docker-php-ext-install mysqli \
|
|
63
|
+
&& docker-php-ext-install opcache \
|
|
64
|
+
&& docker-php-ext-install pcntl \
|
|
65
|
+
&& docker-php-ext-install pdo \
|
|
66
|
+
&& docker-php-ext-install pdo_mysql \
|
|
67
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
68
|
+
&& docker-php-ext-install soap \
|
|
69
|
+
&& docker-php-ext-install zip \
|
|
70
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
71
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.22 \
|
|
72
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
73
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
74
|
+
&& apt-get -y clean \
|
|
75
|
+
&& apt-get -y autoclean \
|
|
76
|
+
&& apt-get -y autoremove \
|
|
77
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
78
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
79
|
+
&& docker-php-ext-install imap \
|
|
80
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
81
|
+
&& docker-php-ext-install gd
|
|
82
|
+
|
|
83
|
+
RUN curl https://dl.yarnpkg.com
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# docker build -t devwithlando/php:8.3-fpm-4 .
|
|
2
|
+
|
|
3
|
+
FROM php:8.3-fpm-bullseye
|
|
4
|
+
|
|
5
|
+
# Install dependencies we need
|
|
6
|
+
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
7
|
+
&& apt -y update && apt-get install -y \
|
|
8
|
+
gnupg2 \
|
|
9
|
+
wget \
|
|
10
|
+
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' >> /etc/apt/sources.list.d/pgdg.list \
|
|
11
|
+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
|
12
|
+
&& apt-get update && apt-get install -y \
|
|
13
|
+
bzip2 \
|
|
14
|
+
default-mysql-client \
|
|
15
|
+
exiftool \
|
|
16
|
+
git-core \
|
|
17
|
+
imagemagick \
|
|
18
|
+
libbz2-dev \
|
|
19
|
+
libc-client-dev \
|
|
20
|
+
libfreetype6-dev \
|
|
21
|
+
libicu-dev \
|
|
22
|
+
libjpeg62-turbo-dev \
|
|
23
|
+
libkrb5-dev \
|
|
24
|
+
libldap2-dev \
|
|
25
|
+
libmagickwand-dev \
|
|
26
|
+
libmemcached-dev \
|
|
27
|
+
libpng-dev \
|
|
28
|
+
libpq-dev \
|
|
29
|
+
libssl-dev \
|
|
30
|
+
libwebp-dev \
|
|
31
|
+
libxml2-dev \
|
|
32
|
+
libzip-dev \
|
|
33
|
+
libonig-dev \
|
|
34
|
+
openssl \
|
|
35
|
+
postgresql-client-10 \
|
|
36
|
+
pv \
|
|
37
|
+
rsync \
|
|
38
|
+
ssh \
|
|
39
|
+
unzip \
|
|
40
|
+
wget \
|
|
41
|
+
xfonts-75dpi \
|
|
42
|
+
xfonts-base \
|
|
43
|
+
zlib1g-dev \
|
|
44
|
+
&& pecl install apcu \
|
|
45
|
+
&& pecl install memcached \
|
|
46
|
+
&& pecl install oauth \
|
|
47
|
+
&& pecl install redis-6.0.2 \
|
|
48
|
+
&& pecl install xdebug-3.3.1 \
|
|
49
|
+
&& docker-php-ext-configure ldap --with-libdir=lib/$(uname -m)-linux-gnu/ \
|
|
50
|
+
&& docker-php-ext-enable apcu \
|
|
51
|
+
&& docker-php-ext-enable memcached \
|
|
52
|
+
&& docker-php-ext-enable oauth \
|
|
53
|
+
&& docker-php-ext-enable redis \
|
|
54
|
+
&& docker-php-ext-install bcmath \
|
|
55
|
+
&& docker-php-ext-install bz2 \
|
|
56
|
+
&& docker-php-ext-install calendar \
|
|
57
|
+
&& docker-php-ext-install exif \
|
|
58
|
+
&& docker-php-ext-install gettext \
|
|
59
|
+
&& docker-php-ext-install intl \
|
|
60
|
+
&& docker-php-ext-install ldap \
|
|
61
|
+
&& docker-php-ext-install mbstring \
|
|
62
|
+
&& docker-php-ext-install mysqli \
|
|
63
|
+
&& docker-php-ext-install opcache \
|
|
64
|
+
&& docker-php-ext-install pcntl \
|
|
65
|
+
&& docker-php-ext-install pdo \
|
|
66
|
+
&& docker-php-ext-install pdo_mysql \
|
|
67
|
+
&& docker-php-ext-install pdo_pgsql \
|
|
68
|
+
&& docker-php-ext-install soap \
|
|
69
|
+
&& docker-php-ext-install zip \
|
|
70
|
+
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
71
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.22 \
|
|
72
|
+
&& php -r "unlink('composer-setup.php');" \
|
|
73
|
+
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
74
|
+
&& apt-get -y clean \
|
|
75
|
+
&& apt-get -y autoclean \
|
|
76
|
+
&& apt-get -y autoremove \
|
|
77
|
+
&& rm -rf /var/lib/apt/lists/* && rm -rf && rm -rf /var/lib/cache/* && rm -rf /var/lib/log/* && rm -rf /tmp/* \
|
|
78
|
+
&& PHP_OPENSSL=yes docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
|
|
79
|
+
&& docker-php-ext-install imap \
|
|
80
|
+
&& docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype \
|
|
81
|
+
&& docker-php-ext-install gd
|
|
82
|
+
|
|
83
|
+
# Tests
|
|
84
|
+
RUN curl https://dl.yarnpkg.com
|
|
@@ -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
|
|
@@ -19,14 +19,29 @@
|
|
|
19
19
|
[[headers]]
|
|
20
20
|
for = "/images/*"
|
|
21
21
|
[headers.values]
|
|
22
|
-
|
|
22
|
+
Cache-Control = "public, max-age=31536000"
|
|
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
|
|
23
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 = "/php"
|
|
42
|
+
to = "/plugins/php"
|
|
28
43
|
status = 200
|
|
29
44
|
[[redirects]]
|
|
30
|
-
from = "/php/*"
|
|
45
|
+
from = "/plugins/php/*"
|
|
31
46
|
to = "/:splat"
|
|
32
|
-
status = 200
|
|
47
|
+
status = 200
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lando/php",
|
|
3
3
|
"description": "A Lando plugin that provides a tight integration with PHP.",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"author": "Mike Pirog @pirog",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/php",
|
|
@@ -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": "npm run leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
|
|
42
42
|
"test": "npm run lint && npm run test:unit"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@babel/eslint-parser": "^7.16.0",
|
|
51
51
|
"@lando/leia": "0.6.5",
|
|
52
|
-
"@lando/
|
|
52
|
+
"@lando/vitepress-theme-default-plus": "^1.0.0-beta.38",
|
|
53
53
|
"chai": "^4.3.4",
|
|
54
54
|
"command-line-test": "^1.0.10",
|
|
55
55
|
"eslint": "^7.32.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"eslint-plugin-vue": "^8.0.3",
|
|
58
58
|
"mocha": "^9.1.2",
|
|
59
59
|
"nyc": "^15.1.0",
|
|
60
|
-
"
|
|
60
|
+
"vitepress": "^1.0.0-rc.42"
|
|
61
61
|
},
|
|
62
62
|
"bundledDependencies": [
|
|
63
63
|
"@lando/nginx",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"semver"
|
|
66
66
|
],
|
|
67
67
|
"dist": {
|
|
68
|
-
"integrity": "sha512-
|
|
69
|
-
"shasum": "
|
|
70
|
-
"filename": "lando-php-1.
|
|
71
|
-
"unpackedSize":
|
|
68
|
+
"integrity": "sha512-UbRjL15ddWwA9xxILYArknEF9agqPtjunUpYsR5temHjpaJQ7bLcK2yf9rIGwHM5uQ4LHiKOAawpazVNZk9DNw==",
|
|
69
|
+
"shasum": "de5b3dd280d6543627ecd80209e03c9a38528d19",
|
|
70
|
+
"filename": "lando-php-1.2.0.tgz",
|
|
71
|
+
"unpackedSize": 3238623
|
|
72
72
|
}
|
|
73
73
|
}
|
|
File without changes
|
|
@@ -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
|